zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
tohtml Namespace Reference

Classes

class  HtmlFormatter
 

Functions

def dump_html_code
 
def html_quote
 
def html_quote0
 

Variables

string block_footer_end
 
string block_footer_middle
 
string block_footer_start
 
string block_header = '<table align=center width="75%"><tr><td>'
 
string chapter_footer = '</li></ul></td></tr></table>'
 
string chapter_header = '<br><table align=center width="75%"><tr><td><h2>'
 
string chapter_inter = '</h2><ul class="empty"><li>'
 
string code_footer = '</pre>'
 
string code_header = '<pre class="colored">'
 
string description_footer = "</td></tr></table><br>"
 
string description_header = '<table align=center width="87%"><tr><td>'
 
string header_location_footer = "</td></tr></table><br>"
 
string header_location_header = '<table align=center width="87%"><tr><td>'
 
string html_footer
 
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 index_footer_end
 
string index_footer_start
 
string keyword_prefix = '<span class="keyword">'
 
string keyword_suffix = '</span>'
 
string marker_footer = "</td></tr></table>"
 
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 para_footer = "</p>"
 
string para_header = "<p>"
 
string section_synopsis_footer = ''
 
string section_synopsis_header = '<h2>Synopsis</h2>'
 
string section_title_footer = "</h1></center>"
 
string section_title_header = "<center><h1>"
 
string source_footer = "\n</pre></table><br>"
 
string source_header = '<table align=center width="87%"><tr bgcolor="#D6E8FF"><td><pre>\n'
 
string toc_footer_end
 
string toc_footer_start
 

Function Documentation

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

Definition at line 183 of file tohtml.py.

References html_quote().

def tohtml.html_quote0 (   line)

Definition at line 179 of file tohtml.py.

Variable Documentation

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

Definition at line 113 of file tohtml.py.

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.

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.

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

Definition at line 102 of file tohtml.py.

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

Definition at line 137 of file tohtml.py.

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

Definition at line 135 of file tohtml.py.

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

Definition at line 136 of file tohtml.py.

string tohtml.code_footer = '</pre>'

Definition at line 95 of file tohtml.py.

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

Definition at line 94 of file tohtml.py.

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

Definition at line 119 of file tohtml.py.

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

Definition at line 118 of file tohtml.py.

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

Definition at line 128 of file tohtml.py.

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

Definition at line 127 of file tohtml.py.

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

Definition at line 84 of file tohtml.py.

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.

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.

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.

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.

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.

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.

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.

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

Definition at line 78 of file tohtml.py.

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

Definition at line 145 of file tohtml.py.

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.

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

Definition at line 162 of file tohtml.py.

string tohtml.keyword_suffix = '</span>'

Definition at line 163 of file tohtml.py.

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

Definition at line 124 of file tohtml.py.

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.

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

Definition at line 123 of file tohtml.py.

string tohtml.para_footer = "</p>"

Definition at line 99 of file tohtml.py.

string tohtml.para_header = "<p>"

Definition at line 98 of file tohtml.py.

string tohtml.section_synopsis_footer = ''

Definition at line 166 of file tohtml.py.

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

Definition at line 165 of file tohtml.py.

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

Definition at line 91 of file tohtml.py.

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

Definition at line 90 of file tohtml.py.

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

Definition at line 132 of file tohtml.py.

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

Definition at line 131 of file tohtml.py.

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.

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.