CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 19 of file beamerCreator.py.

Constructor & Destructor Documentation

def beamerCreator.Out.__init__ (   self)

Definition at line 21 of file beamerCreator.py.

21 
22  def __init__(self):
23  self.text = ""

Member Function Documentation

def beamerCreator.Out.add (   self,
  text 
)

Definition at line 40 of file beamerCreator.py.

References beamerCreator.Out.text.

Referenced by counter.Counter.register(), SequenceTypes.Task.remove(), and SequenceTypes.Task.replace().

40 
41  def add(self, text):
42  self.text += text + "\n"
43 
def beamerCreator.Out.addSlide (   self,
  head,
  text 
)

Definition at line 24 of file beamerCreator.py.

References beamerCreator.Out.text.

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

Definition at line 32 of file beamerCreator.py.

References beamerCreator.Out.text.

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

Member Data Documentation

beamerCreator.Out.text

Definition at line 22 of file beamerCreator.py.

Referenced by BeautifulSoup.SoupStrainer.__str__(), beamerCreator.Out.add(), beamerCreator.Out.addSlide(), beamerCreator.Out.addSlide_fragile(), and BeautifulSoup.SoupStrainer.search().