public class MSPowerPointRenditionConverter extends PlatformRenditionConverter
Modifier and Type | Field and Description |
---|---|
protected List<String> |
contentTypes |
asposeLicenseInitialized, asposeProducts, MAX_WIDTH_HEIGHT
PDF_RENDITION_MIME_TYPE, PDF_RENDITION_PREFIX, PDF_RENDITION_SUFFIX, THUMBNAIL_RENDITION_MIME_TYPE, THUMBNAIL_RENDITION_PREFIX, THUMBNAIL_RENDITION_SUFFIX
Constructor and Description |
---|
MSPowerPointRenditionConverter() |
Modifier and Type | Method and 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) |
getScaledDimension, getWordThumbnailSaveOptions, initLicenses
generatePDF, generateThumbnail, getPdfRenditionMimeType, getThumbnailRenditionMimeType, handlesContentType
public boolean isPDFRenditionSupported()
isPDFRenditionSupported
in interface RenditionConverter
isPDFRenditionSupported
in class BaseContentConverter
public boolean isThumbnailRenditionSupported()
isThumbnailRenditionSupported
in interface RenditionConverter
isThumbnailRenditionSupported
in class BaseContentConverter
protected void createPDFRendition(InputStream is, OutputStream renditionOutputStream) throws Exception
createPDFRendition
in class BaseContentConverter
Exception
protected void createThumbnailRendition(InputStream is, OutputStream renditionOutputStream) throws Exception
createThumbnailRendition
in class BaseContentConverter
Exception
protected List<String> getSupportedContentTypes()
getSupportedContentTypes
in class BaseContentConverter
public void addSupportedContentType(String contentType)
addSupportedContentType
in interface RenditionConverter
addSupportedContentType
in class BaseContentConverter
public void setSupportedContentTypes(List<String> supportedContentTypes)
setSupportedContentTypes
in interface RenditionConverter
setSupportedContentTypes
in class BaseContentConverter