Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Functions | Variables
tohtml Namespace Reference

Classes

class  HtmlFormatter
 

Functions

def html_quote (line)
 
def html_quote0 (line)
 
def dump_html_code (lines, prefix="")
 

Variables

string html_header_1
 
string html_header_2
 
string html_header_3
 
string html_header_3i
 
string html_header_4
 
string html_header_5
 
string html_header_5t
 
string html_header_6
 
string html_footer
 
string section_title_header = "<center><h1>"
 
string section_title_footer = "</h1></center>"
 
string code_header = '<pre class="colored">'
 
string code_footer = '</pre>'
 
string para_header = "<p>"
 
string para_footer = "</p>"
 
string block_header = '<table align=center width="75%"><tr><td>'
 
string block_footer_start
 
string block_footer_middle
 
string block_footer_end
 
string description_header = '<table align=center width="87%"><tr><td>'
 
string description_footer = "</td></tr></table><br>"
 
string marker_header = '<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>'
 
string marker_inter = "</b></em></td></tr><tr><td>"
 
string marker_footer = "</td></tr></table>"
 
string header_location_header = '<table align=center width="87%"><tr><td>'
 
string header_location_footer = "</td></tr></table><br>"
 
string source_header = '<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>\n'
 
string source_footer = "\n</pre></table><br>"
 
string chapter_header = '<br><table align=center width="75%"><tr><td><h2>'
 
string chapter_inter = '</h2><ul class="empty"><li>'
 
string chapter_footer = '</li></ul></td></tr></table>'
 
string index_footer_start
 
string index_footer_end
 
string toc_footer_start
 
string toc_footer_end
 
string keyword_prefix = '<span class="keyword">'
 
string keyword_suffix = '</span>'
 
string section_synopsis_header = '<h2>Synopsis</h2>'
 
string section_synopsis_footer = ''
 

Function Documentation

◆ dump_html_code()

def tohtml.dump_html_code (   lines,
  prefix = "" 
)

Definition at line 183 of file tohtml.py.

References html_quote().

◆ html_quote()

def tohtml.html_quote (   line)

◆ html_quote0()

def tohtml.html_quote0 (   line)

Definition at line 179 of file tohtml.py.

Variable Documentation

◆ block_footer_end

string tohtml.block_footer_end
Initial value:
1 = """\
2 ">TOC</a>]</font></td></tr></table>
3 """

Definition at line 113 of file tohtml.py.

◆ block_footer_middle

string tohtml.block_footer_middle
Initial value:
1 = """\
2 ">Index</a>]</font></td>
3 <td width="100%"></td>
4 <td><font size=-2>[<a href="\
5 """

Definition at line 108 of file tohtml.py.

◆ block_footer_start

string tohtml.block_footer_start
Initial value:
1 = """\
2 </td></tr></table>
3 <hr width="75%">
4 <table align=center width="75%"><tr><td><font size=-2>[<a href="\
5 """

Definition at line 103 of file tohtml.py.

◆ block_header

string tohtml.block_header = '<table align=center width="75%"><tr><td>'

Definition at line 102 of file tohtml.py.

◆ chapter_footer

string tohtml.chapter_footer = '</li></ul></td></tr></table>'

Definition at line 137 of file tohtml.py.

◆ chapter_header

string tohtml.chapter_header = '<br><table align=center width="75%"><tr><td><h2>'

Definition at line 135 of file tohtml.py.

◆ chapter_inter

string tohtml.chapter_inter = '</h2><ul class="empty"><li>'

Definition at line 136 of file tohtml.py.

◆ code_footer

string tohtml.code_footer = '</pre>'

Definition at line 95 of file tohtml.py.

◆ code_header

string tohtml.code_header = '<pre class="colored">'

Definition at line 94 of file tohtml.py.

◆ description_footer

string tohtml.description_footer = "</td></tr></table><br>"

Definition at line 119 of file tohtml.py.

◆ description_header

string tohtml.description_header = '<table align=center width="87%"><tr><td>'

Definition at line 118 of file tohtml.py.

◆ header_location_footer

string tohtml.header_location_footer = "</td></tr></table><br>"

Definition at line 128 of file tohtml.py.

◆ header_location_header

string tohtml.header_location_header = '<table align=center width="87%"><tr><td>'

Definition at line 127 of file tohtml.py.

◆ html_footer

string tohtml.html_footer
Initial value:
1 = """\
2 </body>
3 </html>\
4 """

Definition at line 84 of file tohtml.py.

◆ html_header_1

string tohtml.html_header_1
Initial value:
1 = """\
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3 "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>\
8 """

Definition at line 12 of file tohtml.py.

◆ html_header_2

string tohtml.html_header_2
Initial value:
1 = """\
2  API Reference</title>
3 <style type="text/css">
4  body { font-family: Verdana, Geneva, Arial, Helvetica, serif;
5  color: #000000;
6  background: #FFFFFF; }
7 
8  p { text-align: justify; }
9  h1 { text-align: center; }
10  li { text-align: justify; }
11  td { padding: 0 0.5em 0 0.5em; }
12  td.left { padding: 0 0.5em 0 0.5em;
13  text-align: left; }
14 
15  a:link { color: #0000EF; }
16  a:visited { color: #51188E; }
17  a:hover { color: #FF0000; }
18 
19  span.keyword { font-family: monospace;
20  text-align: left;
21  white-space: pre;
22  color: darkblue; }
23 
24  pre.colored { color: blue; }
25 
26  ul.empty { list-style-type: none; }
27 </style>
28 </head>
29 <body>
30 """

Definition at line 21 of file tohtml.py.

◆ html_header_3

string tohtml.html_header_3
Initial value:
1 = """
2 <table align=center><tr><td><font size=-1>[<a href="\
3 """

Definition at line 52 of file tohtml.py.

◆ html_header_3i

string tohtml.html_header_3i
Initial value:
1 = """
2 <table align=center><tr><td width="100%"></td>
3 <td><font size=-1>[<a href="\
4 """

Definition at line 56 of file tohtml.py.

◆ html_header_4

string tohtml.html_header_4
Initial value:
1 = """\
2 ">Index</a>]</font></td>
3 <td width="100%"></td>
4 <td><font size=-1>[<a href="\
5 """

Definition at line 61 of file tohtml.py.

◆ html_header_5

string tohtml.html_header_5
Initial value:
1 = """\
2 ">TOC</a>]</font></td></tr></table>
3 <center><h1>\
4 """

Definition at line 67 of file tohtml.py.

◆ html_header_5t

string tohtml.html_header_5t
Initial value:
1 = """\
2 ">Index</a>]</font></td>
3 <td width="100%"></td></tr></table>
4 <center><h1>\
5 """

Definition at line 72 of file tohtml.py.

◆ html_header_6

string tohtml.html_header_6
Initial value:
1 = """\
2  API Reference</h1></center>
3 """

Definition at line 78 of file tohtml.py.

◆ index_footer_end

string tohtml.index_footer_end
Initial value:
1 = """\
2 ">TOC</a>]</font></td></tr></table>
3 """

Definition at line 145 of file tohtml.py.

◆ index_footer_start

string tohtml.index_footer_start
Initial value:
1 = """\
2 <hr>
3 <table><tr><td width="100%"></td>
4 <td><font size=-2>[<a href="\
5 """

Definition at line 140 of file tohtml.py.

◆ keyword_prefix

string tohtml.keyword_prefix = '<span class="keyword">'

Definition at line 162 of file tohtml.py.

◆ keyword_suffix

string tohtml.keyword_suffix = '</span>'

Definition at line 163 of file tohtml.py.

◆ marker_footer

string tohtml.marker_footer = "</td></tr></table>"

Definition at line 124 of file tohtml.py.

◆ marker_header

string tohtml.marker_header = '<table align=center width="87%" cellpadding=5><tr bgcolor="#EEEEFF"><td><em><b>'

Definition at line 122 of file tohtml.py.

◆ marker_inter

string tohtml.marker_inter = "</b></em></td></tr><tr><td>"

Definition at line 123 of file tohtml.py.

◆ para_footer

string tohtml.para_footer = "</p>"

Definition at line 99 of file tohtml.py.

◆ para_header

string tohtml.para_header = "<p>"

Definition at line 98 of file tohtml.py.

◆ section_synopsis_footer

string tohtml.section_synopsis_footer = ''

Definition at line 166 of file tohtml.py.

◆ section_synopsis_header

string tohtml.section_synopsis_header = '<h2>Synopsis</h2>'

Definition at line 165 of file tohtml.py.

◆ section_title_footer

string tohtml.section_title_footer = "</h1></center>"

Definition at line 91 of file tohtml.py.

◆ section_title_header

string tohtml.section_title_header = "<center><h1>"

Definition at line 90 of file tohtml.py.

◆ source_footer

string tohtml.source_footer = "\n</pre></table><br>"

Definition at line 132 of file tohtml.py.

◆ source_header

string tohtml.source_header = '<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>\n'

Definition at line 131 of file tohtml.py.

◆ toc_footer_end

string tohtml.toc_footer_end
Initial value:
1 = """\
2 ">Index</a>]</font></td>
3 <td width="100%"></td>
4 </tr></table>
5 """

Definition at line 154 of file tohtml.py.

◆ toc_footer_start

string tohtml.toc_footer_start
Initial value:
1 = """\
2 <hr>
3 <table><tr><td><font size=-2>[<a href="\
4 """

Definition at line 150 of file tohtml.py.