public class PDFViewerService extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MAX_FILE_SIZE |
static long |
DEFAULT_MAX_PAGES |
static String |
MAX_FILE_SIZE_PARAM_NAME |
static String |
MAX_PAGES_PARAM_NAME |
| Constructor and Description |
|---|
PDFViewerService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cache.CacheService caService,
JodConverterService jodConverter,
org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
org.icepdf.core.pobjects.Document |
buildDocumentImage(File input,
String name) |
org.exoplatform.services.cache.ExoCache<Serializable,Object> |
getCache() |
long |
getMaxFileSize() |
long |
getMaxPages() |
File |
getPDFDocumentFile(javax.jcr.Node currentNode,
String repoName)
Write PDF data to file
|
org.icepdf.core.pobjects.Document |
initDocument(javax.jcr.Node currentNode,
String repoName)
Init pdf document from InputStream in nt:file node
|
public static final long DEFAULT_MAX_FILE_SIZE
public static final long DEFAULT_MAX_PAGES
public static final String MAX_FILE_SIZE_PARAM_NAME
public static final String MAX_PAGES_PARAM_NAME
public PDFViewerService(org.exoplatform.services.jcr.RepositoryService repositoryService,
org.exoplatform.services.cache.CacheService caService,
JodConverterService jodConverter,
org.exoplatform.container.xml.InitParams initParams)
throws Exception
Exceptionpublic long getMaxFileSize()
public long getMaxPages()
public org.exoplatform.services.cache.ExoCache<Serializable,Object> getCache()
public org.icepdf.core.pobjects.Document initDocument(javax.jcr.Node currentNode,
String repoName)
throws Exception
currentNode - repoName - Exceptionpublic org.icepdf.core.pobjects.Document buildDocumentImage(File input, String name)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.