QScintilla/Exporters/__init__.py

changeset 532
a3c0f1e2594a
parent 13
1af94a91f439
child 791
9ec2ac20e54e
--- a/QScintilla/Exporters/__init__.py	Mon Aug 30 12:30:29 2010 +0200
+++ b/QScintilla/Exporters/__init__.py	Mon Aug 30 15:24:28 2010 +0200
@@ -22,6 +22,7 @@
         "RTF"  : QApplication.translate('Exporters', "RTF"), 
         "PDF"  : QApplication.translate('Exporters', "PDF"), 
         "TeX"  : QApplication.translate('Exporters', "TeX"), 
+        "ODT"  : QApplication.translate('Exporters', "ODT"), 
     }
     
     return supportedFormats
@@ -47,5 +48,8 @@
         elif format == "TeX":
             from .ExporterTEX import ExporterTEX
             return ExporterTEX(editor)
+        elif format == "ODT":
+            from .ExporterODT import ExporterODT
+            return ExporterODT(editor)
     except ImportError:
         return None

eric ide

mercurial