public final class DocDimensionsRetriever extends Object
| Constructor and Description |
|---|
DocDimensionsRetriever()
Instantiates a new DocDimensionsRetriever.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getDocumentSize(String revisionId,
int element,
boolean currentRevision,
javax.servlet.http.HttpSession session)
Gets the document's size (in pixels).
|
public DocDimensionsRetriever()
public Node getDocumentSize(String revisionId, int element, boolean currentRevision, javax.servlet.http.HttpSession session) throws BinaryUnavailableException, AuthenticationException, IOException, SystemException, com.saperion.cache.exception.CacheException
revisionId - the revision idelement - the elementcurrentRevision - current revision flagsession - the sessionAuthenticationException - authentication exceptionBinaryUnavailableException - binary could not be openedIOException - io exceptionSystemException - system exceptioncom.saperion.cache.exception.CacheException - cache exceptionCopyright © 2016 SAPERION AG. All rights reserved.