eric6.QScintilla.Exporters.ExporterHTML
Module implementing an exporter for HTML.
Global Attributes
Classes
ExporterHTML |
Class implementing an exporter for HTML. |
HTMLGenerator |
Class implementing an HTML generator for exporting source code. |
Functions
ExporterHTML
Class implementing an exporter for HTML.
Derived from
ExporterBase
Class Attributes
Class Methods
Methods
Static Methods
ExporterHTML (Constructor)
ExporterHTML(editor, parent=None)
Constructor
- editor
-
reference to the editor object (QScintilla.Editor.Editor)
- parent
-
parent object of the exporter (QObject)
ExporterHTML.exportSource
exportSource()
Public method performing the export.
HTMLGenerator
Class implementing an HTML generator for exporting source code.
Derived from
object
Class Attributes
Class Methods
Methods
Static Methods
HTMLGenerator (Constructor)
HTMLGenerator(editor)
Constructor
- editor
-
reference to the editor object (QScintilla.Editor.Editor)
HTMLGenerator.generate
generate(tabSize=4, useTabs=False, wysiwyg=True, folding=False, onlyStylesUsed=False, titleFullPath=False)
Public method to generate HTML for the source editor.
- tabSize=
-
size of tabs (integer)
- useTabs=
-
flag indicating the use of tab characters (boolean)
- wysiwyg=
-
flag indicating colorization (boolean)
- folding=
-
flag indicating usage of fold markers
- onlyStylesUsed=
-
flag indicating to include only style
definitions for styles used in the source (boolean)
- titleFullPath=
-
flag indicating to include the full file path
in the title tag (boolean)
- Returns:
-
generated HTML text (string)