Class PDFRenditionConverter
java.lang.Object
com.flowable.rendition.BaseContentConverter
com.flowable.platform.rendition.converter.PlatformRenditionConverter
com.flowable.platform.rendition.converter.PDFRenditionConverter
- All Implemented Interfaces:
RenditionConverter
- Author:
- Yvo Swillens
-
Field Summary
FieldsFields inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
asposeLicenseInitialized, asposeProducts, MAX_WIDTH_HEIGHTFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSupportedContentType(String contentType) voidcreatePDFRendition(InputStream is, OutputStream renditionOutputStream) voidcreateThumbnailRendition(InputStream is, OutputStream renditionOutputStream) booleanbooleanvoidsetSupportedContentTypes(List<String> supportedContentTypes) Methods inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
getScaledDimension, getWordThumbnailSaveOptions, initLicensesMethods inherited from class com.flowable.rendition.BaseContentConverter
generatePDF, generateThumbnail, getPdfRenditionMimeType, getThumbnailRenditionMimeType, handlesContentType
-
Field Details
-
contentTypes
-
-
Constructor Details
-
PDFRenditionConverter
public PDFRenditionConverter()
-
-
Method Details
-
isPDFRenditionSupported
public boolean isPDFRenditionSupported()- Specified by:
isPDFRenditionSupportedin interfaceRenditionConverter- Specified by:
isPDFRenditionSupportedin classBaseContentConverter
-
isThumbnailRenditionSupported
public boolean isThumbnailRenditionSupported()- Specified by:
isThumbnailRenditionSupportedin interfaceRenditionConverter- Specified by:
isThumbnailRenditionSupportedin classBaseContentConverter
-
createPDFRendition
- Specified by:
createPDFRenditionin classBaseContentConverter- Throws:
Exception
-
createThumbnailRendition
public void createThumbnailRendition(InputStream is, OutputStream renditionOutputStream) throws Exception - Specified by:
createThumbnailRenditionin classBaseContentConverter- Throws:
Exception
-
getSupportedContentTypes
- Specified by:
getSupportedContentTypesin classBaseContentConverter
-
addSupportedContentType
- Specified by:
addSupportedContentTypein interfaceRenditionConverter- Specified by:
addSupportedContentTypein classBaseContentConverter
-
setSupportedContentTypes
- Specified by:
setSupportedContentTypesin interfaceRenditionConverter- Specified by:
setSupportedContentTypesin classBaseContentConverter
-