-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redo LibreOffice support using UNO #47
Comments
After some trail and error, which did not work out ... It appears that the API required to do this might not even be available. So, instead we might need to retrieve the information from an XML layout dump. This might work by exporting twice (embedding metainformation in hidden text) and then retrieving first metadata, and later layout information from the XML files. We might be able to embed all the metadata using hidden text to begin with. That way we don't need styles at all. Though I do not know how to nicely switch between having the text visible/hidden and such. |
https://github.com/mstamy2/PyPDF2
That should do it! |
Quite likely, I am going to drop support for ODT for SDAPS 2.x for a start. Don't want this to become a roadblock in the whole project, and moving to Python 3 would make sense at the same time. |
Support has been removed now. |
The current LibreOffice support is not very nice for a couple of reasons:
The idea is to move over to use python-uno (either as a macro, or launching libreoffice externally). Using a macro would have the advantage that one might be able to extend the LibreOffice UI to simplify questionnaire creation.
The text was updated successfully, but these errors were encountered: