reportlab/platypus/paraparser.py
changeset 2742 8edd54153201
parent 2694 dd0ea6474ea0
child 2744 9472eedb9702
equal deleted inserted replaced
2740:5417e3e44724 2742:8edd54153201
   324 #               size/fontSize=num
   324 #               size/fontSize=num
   325 #               name/face/fontName=name
   325 #               name/face/fontName=name
   326 #               fg/textColor/color=color
   326 #               fg/textColor/color=color
   327 #               backcolor/backColor/bgcolor=color
   327 #               backcolor/backColor/bgcolor=color
   328 #               dest/destination/target/href/link=target
   328 #               dest/destination/target/href/link=target
       
   329 #       <a> alias for link
   329 #       <unichar name="unicode character name"/>
   330 #       <unichar name="unicode character name"/>
   330 #       <unichar value="unicode code point"/>
   331 #       <unichar value="unicode code point"/>
   331 #       <greek> - </greek>
   332 #       <greek> - </greek>
   332 #
   333 #
   333 #       The whole may be surrounded by <para> </para> tags
   334 #       The whole may be surrounded by <para> </para> tags
   403 
   404 
   404     def end_link(self):
   405     def end_link(self):
   405         frag = self._stack[-1]
   406         frag = self._stack[-1]
   406         del self._stack[-1]
   407         del self._stack[-1]
   407         assert frag.link!=None
   408         assert frag.link!=None
       
   409 
       
   410     start_a = start_link
       
   411     end_a = end_link
   408 
   412 
   409     #### super script
   413     #### super script
   410     def start_super( self, attributes ):
   414     def start_super( self, attributes ):
   411         self._push(super=1)
   415         self._push(super=1)
   412 
   416