eelbrain.fmtxt
Document model for formatted text documents
This module defines classes for the abstract representation of a document, which can be rendered into different formats. Currently (incomplete) support for str, RTF, TeX, PDF (through TeX) and HTML.
Documents are represented with classes inheriting from two base classes:
|
A text element along with formatting specification |
|
List of |
Subclasses for specific purposes:
|
A table |
|
Represent an image file |
|
Represent a figure with figure caption |
|
Document section containing a title and content |
|
Document consisting of several sections plus a title |
Functions for export:
|
Copy an FMText object to the clipboard as PDF |
|
Copy an FMText object to the clipboard as tex code |
|
Save an FMText object in HTML format |
|
Save an FMText object as a PDF (requires LaTeX installation) |
|
Save an FMText object in Rich Text format |
|
Save an FMText object as TeX code |