Class PreviewImageInfo
- All Implemented Interfaces:
Serializable
- Since:
- 9.00.000.011
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Id of the document(-version) to query preview images for.protected int
Last page number of the document to process a preview image for.protected String
ID of the objects to query preview images for.protected int
Desired size of the preview images.protected boolean
If processDocument is true, not only the URLs for each page are generated but also preview images are processed for the pages (startPage+1) to endPage in the background.protected boolean
Enables rendering of annotations.protected boolean
Does only has an effect, ifrenderAnnotations
is true.protected boolean
Does only has an effect, ifrenderAnnotations
is true.protected int
First page number of the document to process a preview image for.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
int
int
hashCode()
boolean
boolean
boolean
boolean
void
setDocumentId
(String documentId) void
setEndPage
(int endPage) void
setObjectId
(String objectId) void
setPreviewSize
(int previewSize) void
setProcessDocument
(boolean processDocument) void
setRenderAnnotations
(boolean renderAnnotations) void
setRenderAnnotationsData
(boolean renderAnnotationsData) void
setRenderAnnotationsOnly
(boolean renderAnnotationsOnly) void
setStartPage
(int startPage) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
objectId
ID of the objects to query preview images for. The ID must point to a document. Otherwise, an exception is thrown.
-
documentId
Id of the document(-version) to query preview images for. If set,
objectId
is ignored. -
startPage
protected int startPageFirst page number of the document to process a preview image for. The number of the first page of a document is 1. If this value is ≤ 0, 1 is assumed.
-
endPage
protected int endPageLast page number of the document to process a preview image for. If this value is ≤ 0, all pages of the document ≥ startPage are process. If 0 < endPage ≤ startPage holds, only the startPage will be processed.
-
previewSize
protected int previewSizeDesired size of the preview images. Valid values are defined inPreviewImageInfoC
. -
processDocument
protected boolean processDocumentIf processDocument is true, not only the URLs for each page are generated but also preview images are processed for the pages (startPage+1) to endPage in the background.
-
renderAnnotations
protected boolean renderAnnotationsEnables rendering of annotations. If
renderAnnotations
is true, the preview images will also contain the annotations. If the preview images should contain the annotations but not the preview of the document page itself, also setrenderOnlyAnnotations
to true. -
renderAnnotationsOnly
protected boolean renderAnnotationsOnlyDoes only has an effect, if
renderAnnotations
is true. If set to true the annotations will be rendered but the rendering of document pages will be omitted. -
renderAnnotationsData
protected boolean renderAnnotationsDataDoes only has an effect, if
renderAnnotations
is true. If set to true there will be details rendered near the annotations. Details are the annotation's author and create date.
-
-
Constructor Details
-
PreviewImageInfo
public PreviewImageInfo()
-
-
Method Details
-
getObjectId
-
setObjectId
-
getDocumentId
-
setDocumentId
-
getPreviewSize
public int getPreviewSize() -
setPreviewSize
public void setPreviewSize(int previewSize) -
isProcessDocument
public boolean isProcessDocument() -
setProcessDocument
public void setProcessDocument(boolean processDocument) -
getStartPage
public int getStartPage() -
setStartPage
public void setStartPage(int startPage) -
getEndPage
public int getEndPage() -
setEndPage
public void setEndPage(int endPage) -
isRenderAnnotations
public boolean isRenderAnnotations() -
setRenderAnnotations
public void setRenderAnnotations(boolean renderAnnotations) -
isRenderAnnotationsOnly
public boolean isRenderAnnotationsOnly() -
setRenderAnnotationsOnly
public void setRenderAnnotationsOnly(boolean renderAnnotationsOnly) -
isRenderAnnotationsData
public boolean isRenderAnnotationsData() -
setRenderAnnotationsData
public void setRenderAnnotationsData(boolean renderAnnotationsData) -
hashCode
public int hashCode() -
equals
-
toString
-