com.liferay.portlet.documentlibrary.util
Interface PDFProcessor
public interface PDFProcessor
- Author:
- Sergio González
PREVIEW_TYPE
static final java.lang.String PREVIEW_TYPE
- See Also:
- Constant Field Values
THUMBNAIL_TYPE
static final java.lang.String THUMBNAIL_TYPE
- See Also:
- Constant Field Values
exportGeneratedFiles
void exportGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
Element fileEntryElement)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateImages
void generateImages(FileVersion fileVersion)
throws java.lang.Exception
- Throws:
java.lang.Exception
getGlobalSearchPath
java.lang.String getGlobalSearchPath()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewAsStream
java.io.InputStream getPreviewAsStream(FileVersion fileVersion,
int index)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPreviewFileCount
int getPreviewFileCount(FileVersion fileVersion)
getPreviewFileSize
long getPreviewFileSize(FileVersion fileVersion,
int index)
throws java.lang.Exception
- Throws:
java.lang.Exception
getResourceLimitsProperties
java.util.Properties getResourceLimitsProperties()
throws java.lang.Exception
- Throws:
java.lang.Exception
getThumbnailAsStream
java.io.InputStream getThumbnailAsStream(FileVersion fileVersion,
int index)
throws java.lang.Exception
- Throws:
java.lang.Exception
getThumbnailFileSize
long getThumbnailFileSize(FileVersion fileVersion,
int index)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasImages
boolean hasImages(FileVersion fileVersion)
importGeneratedFiles
void importGeneratedFiles(PortletDataContext portletDataContext,
FileEntry fileEntry,
FileEntry importedFileEntry,
Element fileEntryElement)
throws java.lang.Exception
- Throws:
java.lang.Exception
isDocumentSupported
boolean isDocumentSupported(FileVersion fileVersion)
isDocumentSupported
boolean isDocumentSupported(java.lang.String mimeType)
isImageMagickEnabled
boolean isImageMagickEnabled()
throws java.lang.Exception
- Throws:
java.lang.Exception
isSupported
boolean isSupported(java.lang.String mimeType)
reset
void reset()
throws java.lang.Exception
- Throws:
java.lang.Exception
trigger
void trigger(FileVersion fileVersion)