reportlab/platypus/paraparser.py
changeset 1683 7fa753e4420a
parent 1677 1450177dd19e
child 1736 dafc17db33d2
--- a/reportlab/platypus/paraparser.py	Wed Jul 24 19:22:17 2002 +0000
+++ b/reportlab/platypus/paraparser.py	Wed Jul 24 19:56:39 2002 +0000
@@ -1,8 +1,8 @@
 #copyright ReportLab Inc. 2000
 #see license.txt for license details
 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/platypus/paraparser.py?cvsroot=reportlab
-#$Header: /tmp/reportlab/reportlab/platypus/paraparser.py,v 1.46 2002/07/17 22:46:24 andy_robinson Exp $
-__version__=''' $Id: paraparser.py,v 1.46 2002/07/17 22:46:24 andy_robinson Exp $ '''
+#$Header: /tmp/reportlab/reportlab/platypus/paraparser.py,v 1.47 2002/07/24 19:56:38 andy_robinson Exp $
+__version__=''' $Id: paraparser.py,v 1.47 2002/07/24 19:56:38 andy_robinson Exp $ '''
 import string
 import re
 from types import TupleType
@@ -171,7 +171,7 @@
 #       <font name=fontfamily/fontname color=colorname size=float>
 #       < bullet > </bullet> - bullet text (at head of para only)
 #       <onDraw name=callable label="a label">
-#   
+#
 #       The whole may be surrounded by <para> </para> tags
 #
 # It will also be able to handle any MathML specified Greek characters.
@@ -308,7 +308,7 @@
 
 
     #---------------------------------------------------------------
-        
+
     def start_seqdefault(self, attr):
         try:
             default = attr['id']
@@ -318,7 +318,7 @@
 
     def end_seqdefault(self):
         pass
-    
+
     def start_seqreset(self, attr):
         try:
             id = attr['id']
@@ -340,14 +340,14 @@
 
     def end_seqDefault(self):
         self.end_seqdefault()
-        
+
     def start_seqReset(self, attr):
         self.start_seqreset(attr)
 
     def end_seqReset(self):
         self.end_seqreset()
 
-    
+
     def start_seq(self, attr):
         #if it has a template, use that; otherwise try for id;
         #otherwise take default sequence
@@ -357,11 +357,11 @@
             return
         elif attr.has_key('id'):
             id = attr['id']
-        else: 
+        else:
             id = None
         output = self._seq.nextf(id)
         self.handle_data(output)
-        
+
     def end_seq(self):
         pass
 
@@ -433,7 +433,7 @@
             for item in greeks.keys():
                 self.entitydefs[item] = '<%s/>' % item
 
-        
+
 
     def _iReset(self):
         self.fragList = []
@@ -637,4 +637,4 @@
 his lyre, while two tumblers went about performing in the midst of
 them when the man struck up with his tune.]''')
     check_text('''<onDraw name="myFunc" label="aaa   bbb">A paragraph''')
-    check_text('''<para><onDraw name="myFunc" label="aaa   bbb">B paragraph</para>''')
+    check_text('''<para><onDraw name="myFunc" label="aaa   bbb">B paragraph</para>''')
\ No newline at end of file