| |
- AbstractFormatter
- NullFormatter
- NullWriter
-
- AbstractWriter
- DumbWriter
class AbstractFormatter |
|
no doc string |
| |
- __init__(self, writer)
- # Space handling policy: blank spaces at the boundary between elements
- # are handled by the outermost context. "Literal" data is not checked
- # to determine context, so spaces in literal data are handled directly
- # in all circumstances.
- add_flowing_data(self, data, whitespace='\011\012\013\014\015 ', join=<built-in function join>, split=<built-in function split>)
- no doc string
- add_hor_rule(self, *args, **kw)
- no doc string
- add_label_data(self, format, counter, blankline=None)
- no doc string
- add_line_break(self)
- no doc string
- add_literal_data(self, data)
- no doc string
- assert_line_data(self, flag=1)
- no doc string
- end_paragraph(self, blankline)
- no doc string
- flush_softspace(self)
- no doc string
- format_counter(self, format, counter)
- no doc string
- format_letter(self, case, counter)
- no doc string
- format_roman(self, case, counter)
- no doc string
- pop_alignment(self)
- no doc string
- pop_font(self)
- no doc string
- pop_margin(self)
- no doc string
- pop_style(self, n=1)
- no doc string
- push_alignment(self, align)
- no doc string
- push_font(self, (size, i, b, tt))
- no doc string
- push_margin(self, margin)
- no doc string
- push_style(self, *styles)
- no doc string
- set_spacing(self, spacing)
- no doc string
|
class AbstractWriter(NullWriter) |
|
no doc string |
| |
- __init__(self)
- no doc string
- new_alignment(self, align)
- no doc string
- new_font(self, font)
- no doc string
- new_margin(self, margin, level)
- no doc string
- new_spacing(self, spacing)
- no doc string
- new_styles(self, styles)
- no doc string
- send_flowing_data(self, data)
- no doc string
- send_hor_rule(self, *args, **kw)
- no doc string
- send_label_data(self, data)
- no doc string
- send_line_break(self)
- no doc string
- send_literal_data(self, data)
- no doc string
- send_paragraph(self, blankline)
- no doc string
|
class NullFormatter |
|
no doc string |
| |
- __init__(self, writer=None)
- no doc string
- add_flowing_data(self, data)
- no doc string
- add_hor_rule(self, *args, **kw)
- no doc string
- add_label_data(self, format, counter, blankline=None)
- no doc string
- add_line_break(self)
- no doc string
- add_literal_data(self, data)
- no doc string
- assert_line_data(self, flag=1)
- no doc string
- end_paragraph(self, blankline)
- no doc string
- flush_softspace(self)
- no doc string
- pop_alignment(self)
- no doc string
- pop_font(self)
- no doc string
- pop_margin(self)
- no doc string
- pop_style(self, n=1)
- no doc string
- push_alignment(self, align)
- no doc string
- push_font(self, x)
- no doc string
- push_margin(self, margin)
- no doc string
- push_style(self, *styles)
- no doc string
- set_spacing(self, spacing)
- no doc string
|
class NullWriter |
|
Minimal writer interface to use in testing & inheritance.
|
| |
- __init__(self)
- no doc string
- flush(self)
- no doc string
- new_alignment(self, align)
- no doc string
- new_font(self, font)
- no doc string
- new_margin(self, margin, level)
- no doc string
- new_spacing(self, spacing)
- no doc string
- new_styles(self, styles)
- no doc string
- send_flowing_data(self, data)
- no doc string
- send_hor_rule(self, *args, **kw)
- no doc string
- send_label_data(self, data)
- no doc string
- send_line_break(self)
- no doc string
- send_literal_data(self, data)
- no doc string
- send_paragraph(self, blankline)
- no doc string
| |