Module formatter :: Class AbstractFormatter
[show private | hide private]
[frames | no frames]

Class AbstractFormatter


The standard formatter.

This implementation has demonstrated wide applicability to many writers, and may be used directly in most circumstances. It has been used to implement a full-featured World Wide Web browser.
Method Summary
  __init__(self, writer)
  add_flowing_data(self, data)
  add_hor_rule(self, *args, **kw)
  add_label_data(self, format, counter, blankline)
  add_line_break(self)
  add_literal_data(self, data)
  assert_line_data(self, flag)
  end_paragraph(self, blankline)
  flush_softspace(self)
  format_counter(self, format, counter)
  format_letter(self, case, counter)
  format_roman(self, case, counter)
  pop_alignment(self)
  pop_font(self)
  pop_margin(self)
  pop_style(self, n)
  push_alignment(self, align)
  push_font(self, (size, i, b, tt))
  push_margin(self, margin)
  push_style(self, *styles)
  set_spacing(self, spacing)

Generated by Epydoc 2.1 on Sun Apr 22 21:30:28 2007 http://epydoc.sf.net