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

def AttachmentField::OOAttachment::OOAttachment::convertStringToPreview (   self,
  content,
  content_type,
  instance 
)

convertStringToPreview(self, content) => Utility to convert a string to HTML
using the converter stuff.

Reimplemented from AttachmentField::AttachmentHandler::AbstractHandler.

Definition at line 120 of file OOAttachment.py.

00120                                                                      :
        """
        convertStringToPreview(self, content) => Utility to convert a string to HTML
        using the converter stuff.
        """
        Log(LOG_DEBUG, "convert...")
        cnv = oo_to_html()
        return self._convertOutput(cnv.convert_(content,), "html")


##    def _convertStringToMime(self, content, content_type, instance, output_mime):


Generated by  Doxygen 1.6.0   Back to index