test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
beamerCreator.Out Class Reference

Public Member Functions

def __init__
 
def add
 
def addSlide
 
def addSlide_fragile
 

Public Attributes

 text
 

Detailed Description

Definition at line 22 of file beamerCreator.py.

Constructor & Destructor Documentation

def beamerCreator.Out.__init__ (   self)

Definition at line 24 of file beamerCreator.py.

24 
25  def __init__(self):
26  self.text = ""

Member Function Documentation

def beamerCreator.Out.add (   self,
  text 
)

Definition at line 43 of file beamerCreator.py.

References beamerCreator.Out.text.

Referenced by counter.Counter.register().

43 
44  def add(self, text):
45  self.text += text + "\n"
46 
def beamerCreator.Out.addSlide (   self,
  head,
  text 
)

Definition at line 27 of file beamerCreator.py.

References beamerCreator.Out.text.

27 
28  def addSlide(self, head, text):
29  self.text += "\\begin{{frame}}[t]{{{0}}}\n".format(head)
30  self.text += text
31  self.text += """\\vfill
32  \\rule{0.9\paperwidth}{1pt}
33  \insertnavigation{0.89\paperwidth}
34  \\end{frame}\n"""
def beamerCreator.Out.addSlide_fragile (   self,
  head,
  text 
)

Definition at line 35 of file beamerCreator.py.

References beamerCreator.Out.text.

35 
36  def addSlide_fragile(self, head, text):
37  self.text += "\\begin{{frame}}[fragile=singleslide]{{{0}}}\n".format(head)
38  self.text += text
39  self.text += """\\vfill
40  \\rule{0.9\paperwidth}{1pt}
41  \insertnavigation{0.89\paperwidth}
42  \\end{frame}\n"""

Member Data Documentation

beamerCreator.Out.text

Definition at line 25 of file beamerCreator.py.

Referenced by Vispa.Views.TableView.TableWidgetItem.__lt__(), BeautifulSoup.SoupStrainer.__str__(), beamerCreator.Out.add(), beamerCreator.Out.addSlide(), beamerCreator.Out.addSlide_fragile(), and BeautifulSoup.SoupStrainer.search().