Package logilab-common-0 :: Package 36 :: Package 1 :: Package ureports :: Module html_writer :: Class HTMLWriter
[frames] | no frames]

Class HTMLWriter

source code


format layouts as HTML

Instance Methods
 
__init__(self, snipet=None) source code
 
handle_attrs(self, layout)
get an attribute string from layout member attributes
source code
 
begin_format(self, layout)
begin to format a layout
source code
 
end_format(self, layout)
finished to format a layout
source code
 
visit_section(self, layout)
display a section as html, using div + h[section level]
source code
 
visit_title(self, layout)
display a title using <hX>
source code
 
visit_table(self, layout)
display a table as html
source code
 
visit_list(self, layout)
display a list as html
source code
 
visit_paragraph(self, layout)
display links (using <p>)
source code
 
visit_span(self, layout)
display links (using <p>)
source code
 
visit_link(self, layout)
display links (using <a>)
source code
 
visit_verbatimtext(self, layout)
display verbatim text (using <pre>)
source code
 
visit_text(self, layout)
add some text
source code