public class MSPowerPointHandler extends MSOfficeHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PAGES_REGEX |
static java.lang.String |
MIMETYPE_MSPOWERPOINT |
static java.lang.String |
MIMETYPE_MSPOWERPOINT_VND |
static java.lang.String[] |
MIMETYPES_SUPPORTED |
static java.lang.String |
PAGES_REGEX |
MIMETYPE_MSEXCEL, MIMETYPE_MSWORDPROPERTY_DEACTIVATED_MIME_TYPES| Constructor and Description |
|---|
MSPowerPointHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleSubAssets()
Indicates if the handler supports processing of
sub assets |
java.awt.image.BufferedImage |
dogetImage(Rendition rendition,
java.awt.Dimension dim) |
java.awt.image.BufferedImage |
getImage(Rendition rendition,
java.awt.Dimension dim)
|
java.lang.String[] |
getMimeTypes()
This method returns the mime types a particular
AssetHandler supports. |
java.util.List<java.lang.String> |
processSubAssets(Asset asset)
Handler implementations may choose to support sub asset creation for the file types it handles.
|
extractMetadata, getImagecreateThumbnails, createThumbnails, createThumbnails, createThumbnails, createThumbnailsExt, exportAsset, processRelated, processSubAssetspublic static final java.lang.String MIMETYPE_MSPOWERPOINT
public static final java.lang.String MIMETYPE_MSPOWERPOINT_VND
public static final java.lang.String[] MIMETYPES_SUPPORTED
public static final java.lang.String DEFAULT_PAGES_REGEX
public static final java.lang.String PAGES_REGEX
public java.lang.String[] getMimeTypes()
MSOfficeHandlerAssetHandler supports.getMimeTypes in interface AssetHandlergetMimeTypes in class MSOfficeHandlerpublic java.awt.image.BufferedImage getImage(Rendition rendition, java.awt.Dimension dim) throws java.io.IOException
AssetHandlerAssets given Rendition. For images the
BufferedImage of the original image is returned, for other formats the first page is retrieved as
BufferedImage.
If maxDimension is given, the handler should return an
image where no dimension extends the given value. This can be used to reduce
the memory footprint of large buffered images if the full resolution is not needed.
getImage in interface AssetHandlergetImage in class MSOfficeHandlerrendition - The rendition for which to retrieve its graphical representation.dim - optional constraint for the maximal dimension of the image.BufferedImage if a graphical representation exists, otherwise nulljava.io.IOException - in case an error is thrown while fetching the buffered imagepublic java.awt.image.BufferedImage dogetImage(Rendition rendition, java.awt.Dimension dim) throws java.io.IOException
java.io.IOExceptionpublic boolean canHandleSubAssets()
AbstractAssetHandlersub assetscanHandleSubAssets in interface AssetHandlercanHandleSubAssets in class AbstractAssetHandlertrue if handler is able to process sub assetspublic java.util.List<java.lang.String> processSubAssets(Asset asset)
AssetHandlerCreateSubAssetsProcess during import/update of an asset and its
binary, as part of the DAM Update Asset workflow. Sub assets represent fragments of the original asset,
for example every page of a multi-page PDF document are sub assets. Sub assets are stored as assets themselves
under the parent asset. Sub assets are stored in the subassets folder of the main asset, e.g. at
/content/dam/geometrixx/documents/ECM Artikel.pdf/subassets.
The asset argument represents the javax.jcr.Node of type nt:file holding the binary
content or the DAM Asset node (type dam:Asset), for which its original rendition would be retrieved.processSubAssets in interface AssetHandlerprocessSubAssets in class AbstractAssetHandlerasset - asset to extract sub assetsAssetHandler.canHandleSubAssets(),
Asset.isSubAsset()"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"