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

def AttachmentField::PortalTransformsAttachment::PortalTransformsAttachment::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 180 of file PortalTransformsAttachment.py.

00180                                                                      :
        """
        convertStringToPreview(self, content) => Utility to convert a string to HTML
        using the converter stuff.
        """
        # Return the previewable string
        preview = self._convertStringToMime(content, content_type, instance, "text/html")
        return self._convertOutput(preview, "html")


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


Generated by  Doxygen 1.6.0   Back to index