Package: unoconv
Version: 0.4-1
Severity: normal

Dear Maintainer,

while libreoffice support the docx and the fodt format, unoconv is not
able to call libreoffice with the appropriate options.

The attached minimal patch adds support for these formats.

A list of filters can be found at
http://wiki.services.openoffice.org/wiki/Framework/Article/Filter/FilterList_OOo_3_0
I'm not sure where to find the corresponding list for libreoffice, but
the OOo list did the trick.

I'd be happy if these small updates get incorporated...

Cheers
Christian

-- System Information:
Debian Release: wheezy/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'oldstable'), 
(400, 'stable'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unoconv depends on:
ii  python      2.7.2-10
ii  python-uno  1:3.4.5-2

Versions of packages unoconv recommends:
ii  libreoffice-core         1:3.4.5-2
ii  libreoffice-java-common  1:3.4.5-2

Versions of packages unoconv suggests:
ii  libreoffice  1:3.4.5-2

-- no debconf information
--- /usr/bin/unoconv.orig	2011-03-05 11:59:39.000000000 +0100
+++ /usr/bin/unoconv	2012-02-14 14:53:13.187257557 +0100
@@ -187,6 +187,8 @@
 fmts.add('document', 'docbook', 'xml', 'DocBook', 'DocBook File') ### 39
 fmts.add('document', 'html', 'html', 'HTML Document (OpenOffice.org Writer)', 'HTML (StarWriter)') ### 3
 fmts.add('document', 'odt', 'odt', 'ODF Text Document', 'writer8') ### 10
+fmts.add('document', 'fodt', 'fodt', 'OpenDocument Text (Flat XML)', 'OpenDocument Text Flat XML')
+fmts.add('document', 'docx', 'docx', 'Microsoft Word 2007 XML docx', 'MS Word 2007 XML')
 fmts.add('document', 'ott', 'ott', 'Open Document Text', 'writer8_template') ### 21
 fmts.add('document', 'ooxml', 'xml', 'Microsoft Office Open XML', 'MS Word 2003 XML') ### 11
 #fmts.add('document', 'pdb', 'pdb', 'AportisDoc (Palm)', 'AportisDoc Palm DB')

Reply via email to