Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Public Member Functions | |
def | __init__ (self, processor, project_title, file_prefix) |
def | make_section_url (self, section) |
def | make_block_url (self, block) |
def | make_html_words (self, words) |
def | make_html_word (self, word) |
def | make_html_para (self, words) |
def | make_html_code (self, lines) |
def | make_html_items (self, items) |
def | print_html_items (self, items) |
def | print_html_field (self, field) |
def | html_source_quote (self, line, block_name=None) |
def | print_html_field_list (self, fields) |
def | print_html_markup (self, markup) |
def | index_enter (self) |
def | index_name_enter (self, name) |
def | index_exit (self) |
def | index_dump (self, index_filename=None) |
def | toc_enter (self) |
def | toc_chapter_enter (self, chapter) |
def | toc_section_enter (self, section) |
def | toc_section_exit (self, section) |
def | toc_chapter_exit (self, chapter) |
def | toc_index (self, index_filename) |
def | toc_exit (self) |
def | toc_dump (self, toc_filename=None, index_filename=None) |
def | section_enter (self, section) |
def | block_enter (self, block) |
def | markup_enter (self, markup, block) |
def | markup_exit (self, markup, block) |
def | block_exit (self, block) |
def | section_exit (self, section) |
def | section_dump_all (self) |
Public Member Functions inherited from formatter.Formatter | |
def | __init__ (self, processor) |
def | add_identifier (self, name, block) |
def | toc_enter (self) |
def | toc_chapter_enter (self, chapter) |
def | toc_section_enter (self, section) |
def | toc_section_exit (self, section) |
def | toc_chapter_exit (self, chapter) |
def | toc_index (self, index_filename) |
def | toc_exit (self) |
def | toc_dump (self, toc_filename=None, index_filename=None) |
def | index_enter (self) |
def | index_name_enter (self, name) |
def | index_name_exit (self, name) |
def | index_exit (self) |
def | index_dump (self, index_filename=None) |
def | section_enter (self, section) |
def | block_enter (self, block) |
def | markup_enter (self, markup, block=None) |
def | field_enter (self, field, markup=None, block=None) |
def | field_exit (self, field, markup=None, block=None) |
def | markup_exit (self, markup, block=None) |
def | block_exit (self, block) |
def | section_exit (self, section) |
def | section_dump (self, section, section_filename=None) |
def | section_dump_all (self) |
Public Attributes | |
headers | |
project_title | |
file_prefix | |
html_header | |
html_index_header | |
html_toc_header | |
html_footer | |
columns | |
index_items | |
Public Attributes inherited from formatter.Formatter | |
processor | |
identifiers | |
chapters | |
sections | |
block_index | |
blocks | |
def tohtml.HtmlFormatter.__init__ | ( | self, | |
processor, | |||
project_title, | |||
file_prefix | |||
) |
def tohtml.HtmlFormatter.block_enter | ( | self, | |
block | |||
) |
Definition at line 538 of file tohtml.py.
References tohtml.HtmlFormatter.headers, content.ContentProcessor.headers, and tohtml.HtmlFormatter.html_source_quote().
def tohtml.HtmlFormatter.block_exit | ( | self, | |
block | |||
) |
Definition at line 581 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix.
def tohtml.HtmlFormatter.html_source_quote | ( | self, | |
line, | |||
block_name = None |
|||
) |
Definition at line 334 of file tohtml.py.
References tohtml.html_quote(), formatter.Formatter.identifiers, and tohtml.HtmlFormatter.make_block_url().
Referenced by tohtml.HtmlFormatter.block_enter().
def tohtml.HtmlFormatter.index_dump | ( | self, | |
index_filename = None |
|||
) |
Definition at line 438 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix.
def tohtml.HtmlFormatter.index_enter | ( | self | ) |
Definition at line 400 of file tohtml.py.
References tohtml.HtmlFormatter.html_index_header.
def tohtml.HtmlFormatter.index_exit | ( | self | ) |
Definition at line 409 of file tohtml.py.
References formatter.Formatter.block_index, tohtml.HtmlFormatter.columns, tohtml.HtmlFormatter.file_prefix, tohtml.HtmlFormatter.html_footer, and tohtml.HtmlFormatter.index_items.
def tohtml.HtmlFormatter.index_name_enter | ( | self, | |
name | |||
) |
Definition at line 404 of file tohtml.py.
References formatter.Formatter.identifiers, tohtml.HtmlFormatter.index_items, and tohtml.HtmlFormatter.make_block_url().
def tohtml.HtmlFormatter.make_block_url | ( | self, | |
block | |||
) |
Definition at line 242 of file tohtml.py.
References tohtml.HtmlFormatter.make_section_url().
Referenced by tohtml.HtmlFormatter.html_source_quote(), tohtml.HtmlFormatter.index_name_enter(), and tohtml.HtmlFormatter.make_html_word().
def tohtml.HtmlFormatter.make_html_code | ( | self, | |
lines | |||
) |
convert a code sequence to HTML
Definition at line 303 of file tohtml.py.
References tohtml.html_quote().
Referenced by tohtml.HtmlFormatter.make_html_items().
def tohtml.HtmlFormatter.make_html_items | ( | self, | |
items | |||
) |
convert a field's content into some valid HTML
Definition at line 311 of file tohtml.py.
References tohtml.HtmlFormatter.make_html_code(), and tohtml.HtmlFormatter.make_html_para().
Referenced by tohtml.HtmlFormatter.print_html_field(), tohtml.HtmlFormatter.print_html_items(), and tohtml.HtmlFormatter.section_enter().
def tohtml.HtmlFormatter.make_html_para | ( | self, | |
words | |||
) |
convert words of a paragraph into tagged HTML text, handle xrefs
Definition at line 287 of file tohtml.py.
References tohtml.HtmlFormatter.make_html_word().
Referenced by tohtml.HtmlFormatter.make_html_items(), and tohtml.HtmlFormatter.toc_section_enter().
def tohtml.HtmlFormatter.make_html_word | ( | self, | |
word | |||
) |
analyze a simple word to detect cross-references and styling
Definition at line 255 of file tohtml.py.
References tohtml.html_quote(), formatter.Formatter.identifiers, and tohtml.HtmlFormatter.make_block_url().
Referenced by tohtml.HtmlFormatter.make_html_para().
def tohtml.HtmlFormatter.make_html_words | ( | self, | |
words | |||
) |
convert a series of simple words into some HTML text
Definition at line 245 of file tohtml.py.
References tohtml.html_quote().
def tohtml.HtmlFormatter.make_section_url | ( | self, | |
section | |||
) |
Definition at line 239 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix.
Referenced by tohtml.HtmlFormatter.make_block_url(), and tohtml.HtmlFormatter.toc_section_enter().
def tohtml.HtmlFormatter.markup_enter | ( | self, | |
markup, | |||
block | |||
) |
Definition at line 567 of file tohtml.py.
References tohtml.HtmlFormatter.print_html_markup().
def tohtml.HtmlFormatter.markup_exit | ( | self, | |
markup, | |||
block | |||
) |
def tohtml.HtmlFormatter.print_html_field | ( | self, | |
field | |||
) |
Definition at line 325 of file tohtml.py.
References tohtml.HtmlFormatter.make_html_items().
def tohtml.HtmlFormatter.print_html_field_list | ( | self, | |
fields | |||
) |
Definition at line 364 of file tohtml.py.
References tohtml.HtmlFormatter.print_html_items().
Referenced by tohtml.HtmlFormatter.print_html_markup().
def tohtml.HtmlFormatter.print_html_items | ( | self, | |
items | |||
) |
Definition at line 322 of file tohtml.py.
References tohtml.HtmlFormatter.make_html_items().
Referenced by tohtml.HtmlFormatter.print_html_field_list(), and tohtml.HtmlFormatter.print_html_markup().
def tohtml.HtmlFormatter.print_html_markup | ( | self, | |
markup | |||
) |
Definition at line 378 of file tohtml.py.
References tohtml.HtmlFormatter.print_html_field_list(), and tohtml.HtmlFormatter.print_html_items().
Referenced by tohtml.HtmlFormatter.markup_enter().
def tohtml.HtmlFormatter.section_dump_all | ( | self | ) |
Definition at line 589 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix, formatter.Formatter.section_dump(), formatter.Formatter.sections, content.DocChapter.sections, and content.ContentProcessor.sections.
def tohtml.HtmlFormatter.section_enter | ( | self, | |
section | |||
) |
Definition at line 493 of file tohtml.py.
References tohtml.HtmlFormatter.html_header, and tohtml.HtmlFormatter.make_html_items().
def tohtml.HtmlFormatter.toc_chapter_enter | ( | self, | |
chapter | |||
) |
def tohtml.HtmlFormatter.toc_chapter_exit | ( | self, | |
chapter | |||
) |
def tohtml.HtmlFormatter.toc_dump | ( | self, | |
toc_filename = None , |
|||
index_filename = None |
|||
) |
Definition at line 481 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix.
def tohtml.HtmlFormatter.toc_enter | ( | self | ) |
Definition at line 447 of file tohtml.py.
References tohtml.HtmlFormatter.html_toc_header.
def tohtml.HtmlFormatter.toc_exit | ( | self | ) |
Definition at line 474 of file tohtml.py.
References tohtml.HtmlFormatter.file_prefix, and tohtml.HtmlFormatter.html_footer.
def tohtml.HtmlFormatter.toc_index | ( | self, | |
index_filename | |||
) |
def tohtml.HtmlFormatter.toc_section_enter | ( | self, | |
section | |||
) |
Definition at line 455 of file tohtml.py.
References tohtml.HtmlFormatter.make_html_para(), and tohtml.HtmlFormatter.make_section_url().
def tohtml.HtmlFormatter.toc_section_exit | ( | self, | |
section | |||
) |
tohtml.HtmlFormatter.columns |
Definition at line 237 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.index_exit().
tohtml.HtmlFormatter.file_prefix |
Definition at line 213 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.block_exit(), tohtml.HtmlFormatter.index_dump(), tohtml.HtmlFormatter.index_exit(), tohtml.HtmlFormatter.make_section_url(), tohtml.HtmlFormatter.section_dump_all(), tohtml.HtmlFormatter.toc_dump(), and tohtml.HtmlFormatter.toc_exit().
tohtml.HtmlFormatter.headers |
Definition at line 211 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.block_enter().
tohtml.HtmlFormatter.html_footer |
Definition at line 233 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.index_exit(), and tohtml.HtmlFormatter.toc_exit().
tohtml.HtmlFormatter.html_header |
Definition at line 214 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.section_enter().
tohtml.HtmlFormatter.html_index_header |
Definition at line 221 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.index_enter().
tohtml.HtmlFormatter.html_toc_header |
Definition at line 227 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.toc_enter().
tohtml.HtmlFormatter.index_items |
Definition at line 402 of file tohtml.py.
Referenced by tohtml.HtmlFormatter.index_exit(), and tohtml.HtmlFormatter.index_name_enter().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:45:02.
© Copyright Michele Bosi. All rights reserved.