class documentation
class TextWriter(BaseWriter): (source)
Format layouts as text (ReStructured inspiration but not totally handled yet).
Method | __init__ |
Undocumented |
Method | default |
Format a table. |
Method | visit |
Display an evaluation section as a text. |
Method | visit |
Enter a paragraph. |
Method | visit |
Display a section as text. |
Method | visit |
Display a table as text. |
Method | visit |
Add some text. |
Method | visit |
Undocumented |
Method | visit |
Display a verbatim layout as text (so difficult ;). |
Instance Variable | list |
Undocumented |
Inherited from BaseWriter
:
Method | begin |
Begin to format a layout. |
Method | compute |
Trick to compute the formatting of children layout before actually writing it. |
Method | end |
Finished formatting a layout. |
Method | format |
Format and write the given layout into the stream object. |
Method | format |
Recurse on the layout children and call their accept method (see the Visitor pattern). |
Method | get |
Trick to get table content without actually writing it. |
Method | write |
Write a string in the output buffer. |
Method | writeln |
Write a line in the output buffer. |
Instance Variable | encoding |
Undocumented |
Instance Variable | out |
Undocumented |
Instance Variable | section |
Undocumented |