|
|
__init__(self,
output_file=sys.stdout,
width=78,
indent_size=2,
indent=0,
list_bullet="-")
Create a new HTML formatter.
|
|
End(self)
End the processed text document.
|
|
WriteText(self,
text)
Write ordinary text.
|
|
StartList(self,
type)
Start a list environment of type 'type'.
|
|
EndList(self,
type)
End a list environment of type 'type'.
|
|
StartItem(self,
type,
label=None)
Begin an element to the environment of type 'type'.
|
|
FinishDefinedTerm(self)
Finish the definition of a term in a definition list.
|
|
EndItem(self,
type)
End an element in the environment of type 'type'.
|
|
StartStyle(self,
style)
Start a new text style 'style'.
|
|
EndStyle(self,
style)
End the text style 'style'.
|
|
StartLink(self,
target)
Being a hyperlink to 'target'.
|
|
EndLink(self)
End a hyperlink.
|
|
__IndentTo(self,
col)
|
|
__Write(self,
text)
|
|
__NextLine(self)
|