Logo Search packages:      
Sourcecode: zope-attachmentfield version File versions  Download package

def AttachmentField::ooconverter::oo_to_html::convert_ (   self,

special converter for AF

Definition at line 157 of file ooconverter.py.

00157                                       :
        special converter for AF
        # create the document dynzip extraction context
        document = DynZip(zip=data, caching=0)

        # read encoding
        encoding = kwargs.get('encoding', 'UTF-8')

        # cook it
        headers, styles, body, images = self.cook(document, encoding)

        # return it
        return body

    def convert(self, data, cache, **kwargs):

Generated by  Doxygen 1.6.0   Back to index