Loading [MathJax]/extensions/TeX/AMSmath.js
LALInference 4.1.9.1-00ddc7f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lalinference.bayespputils.htmlPage Class Reference

Detailed Description

A concrete class for generating an XHTML(1) document.

Inherits from htmlChunk.

Definition at line 2969 of file bayespputils.py.

Inherits lalinference.bayespputils.htmlChunk.

Public Member Functions

def __init__ (self, title=None, css=None, javascript=None, toc=False)
 
def __str__ (self)
 
def add_section (self, section_name, legend=None)
 
def add_collapse_section (self, section_name, legend=None, innertable_id=None, start_closed=True)
 Create a section embedded into a table that can be collapsed with a button. More...
 
def add_section_to_element (self, section_name, parent)
 Create a section which is not appended to the body of html, but to the parent Element. More...
 
def body (self)
 
def head (self)
 
- Public Member Functions inherited from lalinference.bayespputils.htmlChunk
def __init__ (self, tag, attrib=None, parent=None)
 
def toprettyxml (self)
 Return a pretty-printed XML string of the htmlPage. More...
 
def __str__ (self)
 
def write (self, string)
 
def p (self, pstring)
 
def h1 (self, h1string)
 
def h5 (self, h1string)
 
def h2 (self, h2string)
 
def h3 (self, h1string)
 
def br (self)
 
def hr (self)
 
def a (self, url, linktext)
 
def tab (self, idtable=None)
 
def insert_row (self, tab, label=None)
 Insert row in table tab. More...
 
def insert_td (self, row, td, label=None, legend=None)
 Insert cell td into row row. More...
 
def append (self, element)
 

Data Fields

 doctype_str
 

Constructor & Destructor Documentation

◆ __init__()

def lalinference.bayespputils.htmlPage.__init__ (   self,
  title = None,
  css = None,
  javascript = None,
  toc = False 
)

Reimplemented from lalinference.bayespputils.htmlChunk.

Definition at line 2970 of file bayespputils.py.

Member Function Documentation

◆ __str__()

def lalinference.bayespputils.htmlPage.__str__ (   self)

Reimplemented from lalinference.bayespputils.htmlChunk.

Definition at line 2992 of file bayespputils.py.

◆ add_section()

def lalinference.bayespputils.htmlPage.add_section (   self,
  section_name,
  legend = None 
)

Definition at line 2995 of file bayespputils.py.

◆ add_collapse_section()

def lalinference.bayespputils.htmlPage.add_collapse_section (   self,
  section_name,
  legend = None,
  innertable_id = None,
  start_closed = True 
)

Create a section embedded into a table that can be collapsed with a button.

Definition at line 3006 of file bayespputils.py.

◆ add_section_to_element()

def lalinference.bayespputils.htmlPage.add_section_to_element (   self,
  section_name,
  parent 
)

Create a section which is not appended to the body of html, but to the parent Element.

Definition at line 3017 of file bayespputils.py.

◆ body()

def lalinference.bayespputils.htmlPage.body (   self)

Definition at line 3024 of file bayespputils.py.

◆ head()

def lalinference.bayespputils.htmlPage.head (   self)

Definition at line 3028 of file bayespputils.py.

Field Documentation

◆ doctype_str

lalinference.bayespputils.htmlPage.doctype_str

Definition at line 2972 of file bayespputils.py.