Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
contrib
csv2ods
examples
mailodf
odf
odf2mht
odf2xhtml
odf2xml
odfimgimport
odflint
odfmeta
odfoutline
odfuserfield
tests
xml2odf
APACHE-LICENSE-2.0.txt
PKG-INFO
README
api-for-odfpy.odt
setup.py

README

This is a collection of utility programs written in Python to manipulate
OpenDocument files.

How to proceed: Each application has its own directory. In there, look
at the manual pages. The Python-based tools need the odf library. Just
make a symbolic link like this: ln -s ../odf odf
... or type: make

For your own use of the odf library, see api-for-odfpy.odt

                             -o- INSTALLATION -o-

First you get the package.

$ svn export https://svn.forge.osor.eu/svn/odfpy/trunk odfpy

$ python setup.py build
$ su
# python setup.py install

The library is incompatible with PyXML.

                            -o- TODO / IDEAS -o-

* html2odf
  Alex Hudson has been contracted to produce a command-line html2odf 
  converter. It should include support for images, tables, CSS, etc.
  He will provide a C# version first, and later a C version.

* odf2pdf
  A valuable tool, but one that is hard to do. PDF is an immensely
  popular format, but it's tricky to make PDFs. With an odf2pdf tool
  available, many developers would use ODF purely for the purpose of
  generating a PDF later. The latest idea is to hire KOffice 
  developers and get them to trim down KOffice into a converter.

* pdf2odf
  This conversion is less likely to produce good results, but it 
  might be worth a shot. Poppler is a pdf library that can convert 
  PDF into XML. Maybe we can convert that XML to ODF.
  http://webcvs.freedesktop.org/poppler/poppler/

* odfclean
  A command-line program that removes unused automatic styles, 
  metadata and track-changes. Some companies might like to send all
  out-going files through odfclean to remove any information they
  don't want others to see.

* odf2xliff
  Create XLIFF extraction and merge application. XLIFF is a OASIS file
  for translations. You extract the text strings, send them to the translator
  and then import them. It allows you to work on the document in the
  meantime and only retranslate the changed parts.

* odfdiff
  A program that can generate a diff between two ODF files. Useful for 
  SVN commit messages. This is very difficult to do. But see:
  http://www.manageability.org/blog/stuff/open-source-xml-diff-in-java/view
  http://freshmeat.net/projects/xmldiff/

* odfsign
  Sign and verify the signature(s) of an ODF document.
Something went wrong with that request. Please try again.