reportlab/platypus/paraparser.py
changeset 267 52a348f6c4c3
parent 266 081154da1a78
child 279 e7d8b3631d5c
equal deleted inserted replaced
266:081154da1a78 267:52a348f6c4c3
    29 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    29 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    30 # PERFORMANCE OF THIS SOFTWARE. 
    30 # PERFORMANCE OF THIS SOFTWARE. 
    31 #
    31 #
    32 ###############################################################################
    32 ###############################################################################
    33 #	$Log: paraparser.py,v $
    33 #	$Log: paraparser.py,v $
       
    34 #	Revision 1.23  2000/06/13 04:11:49  aaron_watters
       
    35 #	noted replication of XML markup comment between paraparser.py and paragraph.py
       
    36 #
    34 #	Revision 1.22  2000/06/12 11:27:17  andy_robinson
    37 #	Revision 1.22  2000/06/12 11:27:17  andy_robinson
    35 #	Added Sequencer and associated XML tags
    38 #	Added Sequencer and associated XML tags
    36 #
    39 #	
    37 #	Revision 1.21  2000/06/01 15:23:06  rgbecker
    40 #	Revision 1.21  2000/06/01 15:23:06  rgbecker
    38 #	Platypus re-organisation
    41 #	Platypus re-organisation
    39 #	
    42 #	
    40 #	Revision 1.20  2000/05/31 10:12:20  rgbecker
    43 #	Revision 1.20  2000/05/31 10:12:20  rgbecker
    41 #	<bullet> xml tag added
    44 #	<bullet> xml tag added
    59 #	Use reportlab.lib.xmllib
    62 #	Use reportlab.lib.xmllib
    60 #	
    63 #	
    61 #	Revision 1.13  2000/04/25 13:07:57  rgbecker
    64 #	Revision 1.13  2000/04/25 13:07:57  rgbecker
    62 #	Added license
    65 #	Added license
    63 #	
    66 #	
    64 __version__=''' $Id: paraparser.py,v 1.22 2000/06/12 11:27:17 andy_robinson Exp $ '''
    67 __version__=''' $Id: paraparser.py,v 1.23 2000/06/13 04:11:49 aaron_watters Exp $ '''
    65 import string
    68 import string
    66 import re
    69 import re
    67 from types import TupleType
    70 from types import TupleType
    68 import sys
    71 import sys
    69 import os
    72 import os
   221 		n = apply(ParaFrag,(),self.__dict__)
   224 		n = apply(ParaFrag,(),self.__dict__)
   222 		if attr != {}: apply(ParaFrag.__init__,(n,),attr)
   225 		if attr != {}: apply(ParaFrag.__init__,(n,),attr)
   223 		return n
   226 		return n
   224 
   227 
   225 #------------------------------------------------------------------
   228 #------------------------------------------------------------------
       
   229 # !!! NOTE !!! THIS TEXT IS NOW REPLICATED IN PARAGRAPH.PY !!!
   226 # The ParaFormatter will be able to format the following xml
   230 # The ParaFormatter will be able to format the following xml
   227 # tags:
   231 # tags:
   228 #	   < b > < /b > - bold
   232 #	   < b > < /b > - bold
   229 #	   < i > < /i > - italics
   233 #	   < i > < /i > - italics
   230 #	   < u > < /u > - underline
   234 #	   < u > < /u > - underline