It is much more see-through code than using pyuno magic. I used "Abiword converter template"
Tested and working Mac OS 10.7 Server; Ubuntu 12.10
I order to make this all work you need to set in settings.py:
WEBODT_CONVERTER = 'webodt.converters.openofficebin.OpenOfficeBinODFConverter'
WEBODT_OOBIN_COMMAND = '/Applications/LibreOffice.app/Contents/MacOS/soffice'
Also on Mac OS it is needed to set a temp folder OUTSIDE /var e.g.
WEBODT_TMP_DIR = "/Users/kosta/git/my_project/resources/tmp_webodt"
(OO has problems with rights)
Hi, I enhanced your library with a lot simpler convertor using OO. Why did i do it since we have OO converter already?
Tested and working Mac OS 10.7 Server; Ubuntu 12.10
I order to make this all work you need to set in settings.py: WEBODT_CONVERTER = 'webodt.converters.openofficebin.OpenOfficeBinODFConverter' WEBODT_OOBIN_COMMAND = '/Applications/LibreOffice.app/Contents/MacOS/soffice'
Also on Mac OS it is needed to set a temp folder OUTSIDE /var e.g. WEBODT_TMP_DIR = "/Users/kosta/git/my_project/resources/tmp_webodt" (OO has problems with rights)