Global Package
Inheritance Tree
Inheritance Graph
Name Index
module
Synopsis
.
Formatters
.
HTML
.
View
class Template
File:
../Synopsis/Formatters/HTML/View.py
Format subclass that uses a template file to define the HTML header and footer for each view.
Class attributes Summary:
template
copy_files
Methods Summary:
init
(
self
,
processor
,
prefix
)
load_file
(
self
)
write
(
self
,
os
,
text
)
view_header
(
self
,
os
,
title
,
body
,
headextra
,
view
)
view_footer
(
self
,
os
,
body
)
Methods Details:
load_file
(
self
)
Loads and parses the template file
write
(
self
,
os
,
text
)
Writes the text to the output stream, replaceing @PREFIX@ with the prefix for this file
view_header
(
self
,
os
,
title
,
body
,
headextra
,
view
)
Formats the header using the template file
view_footer
(
self
,
os
,
body
)
Formats the footer using the template file
Generated on Thu Apr 16 16:27:01 2009 by
synopsis
(version devel)