src/eric7/QScintilla/Exporters/ExporterODT.py

branch
eric7
changeset 9487
78cb053591c9
parent 9473
3f23dbf37dbe
child 9573
9960d19d66b5
equal deleted inserted replaced
9486:5a8179763e38 9487:78cb053591c9
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)

eric ide

mercurial