Package: mlreportgen.dom
Superclasses:
Document container
Create mlreportgen.dom.Document
object that
defines:
The type of output: HTML, Microsoft® Word, or PDF.
Where and how to store the output.
The template to use to format the document.
creates
an HTML document named documentObj
= Document()Untitled.htmx
in the current
directory, using the default HTML template.
Append content and use a corresponding close
command
to generate the document.
creates
an HTML document at the specified location.documentObj
= Document(outputPath
)
creates
a document of the specified type (for example, Word), using the default
template for that type.documentObj
= Document(outputPath
,type
)
creates
a document, using the specified document type and Word, PDF, or HTML
template corresponding to the documentObj
= Document(outputPath
,type
,templatePath
)type
setting.
Method | Purpose |
---|---|
Append HTML text to document | |
Append HTML file contents to document | |
Append document element to the document | |
Close this document. You cannot close a document if it has not been opened or was previously closed | |
Create automatically generated numbering stream | |
Create document template | |
Fill document hole | |
Get the automated numbering stream | |
Get core properties of document | |
Get image folder of document | |
Get generated image name prefix | |
Get relative path of main part of output document | |
Get full path of main part of output document | |
Move to next template hole | |
Open this document. You cannot open a document if it was previously opened or closed | |
Append file to OPC package of document | |
Set core properties of document element |