70 self.tr("Export source"), |
70 self.tr("Export source"), |
71 self.tr( |
71 self.tr( |
72 """<p>The source could not be exported to""" """ <b>{0}</b>.</p>""" |
72 """<p>The source could not be exported to""" """ <b>{0}</b>.</p>""" |
73 ).format(filename), |
73 ).format(filename), |
74 ) |
74 ) |
|
75 |
|
76 |
|
77 def createExporter(editor, parent=None): |
|
78 """ |
|
79 Function to instantiate an exporter object. |
|
80 |
|
81 @param editor reference to the editor object |
|
82 @type QScintilla.Editor.Editor |
|
83 @param parent parent object of the exporter (defaults to None) |
|
84 @type QObject (optional) |
|
85 @return exporter object |
|
86 @rtype ExporterODT |
|
87 """ |
|
88 return ExporterODT(editor, parent=parent) |