Logo Search packages:      
Sourcecode: ocrfeeder version File versions  Download package

def odf::odf2xhtml::ODF2XHTML::s_text_p (   self,
  tag,
  attrs 
)

Paragraph

Definition at line 1024 of file odf2xhtml.py.

01024                                   :
        """ Paragraph
        """
        c = attrs.get( (TEXTNS,'style-name'), None)
        htmlattrs = {}
        if c:
            c = c.replace(".","_")
            special = special_styles.get("P-"+c)
            if special is None:
                htmlattrs['class'] = "P-%s" % c
        self.opentag('p', htmlattrs)
        self.purgedata()

    def e_text_p(self, tag, attrs):


Generated by  Doxygen 1.6.0   Back to index