Class MSExcelRenditionConverter
- java.lang.Object
-
- com.flowable.rendition.BaseContentConverter
-
- com.flowable.platform.rendition.converter.PlatformRenditionConverter
-
- com.flowable.platform.rendition.converter.MSExcelRenditionConverter
-
- All Implemented Interfaces:
RenditionConverter
public class MSExcelRenditionConverter extends PlatformRenditionConverter
- Author:
- Yvo Swillens
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
contentTypes
-
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
Constructors Constructor Description MSExcelRenditionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSupportedContentType(String contentType)
protected void
createPDFRendition(InputStream is, OutputStream renditionOutputStream)
protected void
createThumbnailRendition(InputStream is, OutputStream renditionOutputStream)
protected List<String>
getSupportedContentTypes()
boolean
isPDFRenditionSupported()
boolean
isThumbnailRenditionSupported()
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
-
-
-
-
Method Detail
-
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
protected List<String> getSupportedContentTypes()
- Specified by:
getSupportedContentTypes
in classBaseContentConverter
-
addSupportedContentType
public void addSupportedContentType(String contentType)
- Specified by:
addSupportedContentType
in interfaceRenditionConverter
- Specified by:
addSupportedContentType
in classBaseContentConverter
-
setSupportedContentTypes
public void setSupportedContentTypes(List<String> supportedContentTypes)
- Specified by:
setSupportedContentTypes
in interfaceRenditionConverter
- Specified by:
setSupportedContentTypes
in classBaseContentConverter
-
-