A formatter which does nothing.
If the writer parameter is omitted, a NullWriter instance is created.
No methods of the writer are called by NullFormatter instances.
Implementations should inherit from this class if implementing a
writer interface but don't need to inherit any implementation.
|
|
| __init__(self,
writer=None) |
|
|
|
|
| end_paragraph(self,
blankline) |
|
|
|
|
|
|
|
| add_hor_rule(self,
*args,
**kw) |
|
|
|
|
| add_label_data(self,
format,
counter,
blankline=None) |
|
|
|
|
| add_flowing_data(self,
data) |
|
|
|
|
| add_literal_data(self,
data) |
|
|
|
|
|
|
|
| push_alignment(self,
align) |
|
|
|
|
|
|
|
|
|
|
|
|
|
| push_margin(self,
margin) |
|
|
|
|
|
|
|
| set_spacing(self,
spacing) |
|
|
|
|
| push_style(self,
*styles) |
|
|
|
|
|
|
|
| assert_line_data(self,
flag=1) |
|
|