diff options
Diffstat (limited to 'sandbox/pobrien/OpenOffice/rest2ooxml.py')
-rwxr-xr-x | sandbox/pobrien/OpenOffice/rest2ooxml.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sandbox/pobrien/OpenOffice/rest2ooxml.py b/sandbox/pobrien/OpenOffice/rest2ooxml.py deleted file mode 100755 index 671052845..000000000 --- a/sandbox/pobrien/OpenOffice/rest2ooxml.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python - -"""Generates the OpenOffice.org content.xml file outside of a .swx zip -file. Useful for debugging the OOwriter.""" - -__author__ = "Patrick K. O'Brien <pobrien@orbtech.com>" -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - -import locale -try: - locale.setlocale(locale.LC_ALL, '') -except: - pass - -from docutils.core import publish_cmdline, default_description - -from OOwriter import Writer - - -def main(): - description = ("Generates OpenOffice.org XML. " + default_description) - publish_cmdline(writer=Writer(), description=description) - - -if __name__ == '__main__': - main() |