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

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

First tag in the content.xml file

Definition at line 642 of file odf2xhtml.py.

00642                                                    :
        """ First tag in the content.xml file"""
        self.writeout('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ')
        self.writeout('"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n')
        self.opentag('html', {'xmlns':"http://www.w3.org/1999/xhtml"})
        self.opentag('head')
        self.emptytag('meta', { 'http-equiv':"Content-Type", 'content':"text/html;charset=UTF-8"})
        for metaline in self.metatags:
            self.writeout(metaline)

    def e_office_document_content(self, tag, attrs):


Generated by  Doxygen 1.6.0   Back to index