Class EmailRenditionConverter
java.lang.Object
com.flowable.rendition.BaseContentConverter
com.flowable.platform.rendition.converter.PlatformRenditionConverter
com.flowable.platform.rendition.converter.EmailRenditionConverter
- All Implemented Interfaces:
RenditionConverter
- Author:
- Jose Antonio Alvarez
-
Field Summary
Fields inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
asposeLicenseInitialized, asposeProducts, MAX_WIDTH_HEIGHT
Fields inherited from class com.flowable.rendition.BaseContentConverter
PDF_RENDITION_MIME_TYPE, PDF_RENDITION_PREFIX, PDF_RENDITION_SUFFIX, THUMBNAIL_RENDITION_MIME_TYPE, THUMBNAIL_RENDITION_PREFIX, THUMBNAIL_RENDITION_SUFFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSupportedContentType
(String contentType) protected void
createPDFRendition
(InputStream is, OutputStream renditionOutputStream) protected void
createThumbnailRendition
(InputStream is, OutputStream renditionOutputStream) boolean
boolean
protected void
scaleImagesToPageSize
(com.aspose.words.Document mhtmlDocument) void
setSupportedContentTypes
(List<String> supportedContentTypes) Methods inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
getScaledDimension, getWordThumbnailSaveOptions, initLicenses
Methods inherited from class com.flowable.rendition.BaseContentConverter
generatePDF, generateThumbnail, getPdfRenditionMimeType, getThumbnailRenditionMimeType, handlesContentType
-
Field Details
-
contentTypes
-
-
Constructor Details
-
EmailRenditionConverter
public EmailRenditionConverter()
-
-
Method Details
-
isPDFRenditionSupported
public boolean isPDFRenditionSupported()- Specified by:
isPDFRenditionSupported
in interfaceRenditionConverter
- Specified by:
isPDFRenditionSupported
in classBaseContentConverter
-
isThumbnailRenditionSupported
public boolean isThumbnailRenditionSupported()- Specified by:
isThumbnailRenditionSupported
in interfaceRenditionConverter
- Specified by:
isThumbnailRenditionSupported
in classBaseContentConverter
-
createPDFRendition
protected void createPDFRendition(InputStream is, OutputStream renditionOutputStream) throws Exception - Specified by:
createPDFRendition
in classBaseContentConverter
- Throws:
Exception
-
createThumbnailRendition
protected void createThumbnailRendition(InputStream is, OutputStream renditionOutputStream) throws Exception - Specified by:
createThumbnailRendition
in classBaseContentConverter
- Throws:
Exception
-
getSupportedContentTypes
- Specified by:
getSupportedContentTypes
in classBaseContentConverter
-
addSupportedContentType
- Specified by:
addSupportedContentType
in interfaceRenditionConverter
- Specified by:
addSupportedContentType
in classBaseContentConverter
-
setSupportedContentTypes
- Specified by:
setSupportedContentTypes
in interfaceRenditionConverter
- Specified by:
setSupportedContentTypes
in classBaseContentConverter
-
scaleImagesToPageSize
protected void scaleImagesToPageSize(com.aspose.words.Document mhtmlDocument)
-