Openoffice pdf convertor3/1/2023 ![]() ![]() # a) 'Reduce / enlarge printout': 'Scaling factor' "FilterName": "Text - txt - csv (StarCalc)",įAMILY_TEXT: ![]() # most formats are auto-detected only those requiring options are defined here task import ErrorCodeIOExceptionįrom com. path import abspath, isfile, splitextįrom com. # connecting to an instance via Python-UNO bridge.įrom os. # This script converts a document from one office format to another by # PyODConverter (Python OpenDocument Converter) v1.1. Supported document formats include Open Document Format (.odt), MS Word (.doc), MS Office Open/MS OOXML (.xml), Portable Document Format (.pdf), HTML, XHTML, RTF, Docbook (.xml), and more. It uses OpenOffice's UNO bindings for non-interactive conversion of documents. Unoconv converts between any document format that OpenOffice understands. Rebuilding from source on leopoard required pyconfig.h hacking, after runing. Os.system('DYLD_LIBRARY_PATH="/Applications//Contents/program/" /usr/bin/python2.3 ooextract.py -pdf test.odt')ĭepends on Python 2.3, which I'd deleted from my machine following TiddlyWeb dependency issues. $ export DYLD_LIBRARY_PATH="/Applications//Contents/program/" $ /Applications//Contents/soffice.bin -headless -invisible -nofirststartwizard -accept="socket,port=8100 urp " Experiments in running a headless OpenOffice as a document convertor for TiddlyDocs, etc. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |