public class PrintSetAdvanced extends BaseManager
BaseManager.PackEntryChangeListener, BaseManager.RegistryEntry
Modifier and Type | Field and Description |
---|---|
static int |
FIELD_ALIGNMENT_OPTION_CENTER |
static int |
FIELD_ALIGNMENT_OPTION_LEFT |
static int |
FIELD_ALIGNMENT_OPTION_RIGHT |
static int |
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_ABOVE_THUMBNAIL |
static int |
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_BELOW_THUMBNAIL |
static int |
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_RIGHT_OF_THUMBNAIL |
static int |
IMAGE_SOURCE_OPTION_ENTIRE_ASSET |
static int |
IMAGE_SOURCE_OPTION_THUMBNAIL |
static int |
THUMBNAILS_ALIGNMENT_OPTION_CENTER |
static int |
THUMBNAILS_ALIGNMENT_OPTION_EAST |
static int |
THUMBNAILS_ALIGNMENT_OPTION_NORTH |
static int |
THUMBNAILS_ALIGNMENT_OPTION_NORTH_EAST |
static int |
THUMBNAILS_ALIGNMENT_OPTION_NORTH_WEST |
static int |
THUMBNAILS_ALIGNMENT_OPTION_SOUTH |
static int |
THUMBNAILS_ALIGNMENT_OPTION_SOUTH_EAST |
static int |
THUMBNAILS_ALIGNMENT_OPTION_SOUTH_WEST |
static int |
THUMBNAILS_ALIGNMENT_OPTION_WEST |
TYPE_EJP, TYPE_NATIVE
Modifier and Type | Method and Description |
---|---|
boolean |
allowPDFWPPICPGuestLogin()
Returns whether the generated WPP/ICP links use an automatic guest login or direct the caller to the login page of the WPP/ICP installation.
|
boolean |
drawFieldNames()
Returns whether field names should be printed as well.
|
boolean |
drawRecordFrame()
Returns whether a border should be painted around the entire record cell.
|
boolean |
drawThumbnailFrame()
Returns whether a border should be drawn around the thumbnail area.
|
java.lang.String |
getAppliedAssetAction()
Returns the name of the asset action to apply on printed thumbnails.
|
int |
getFieldAlignment()
Returns the mode for aligning the field content.
|
int |
getFieldBackgroundColor()
Returns the RGB value representing the background color for the fields content area in the default sRGB
ColorModel . |
double |
getFieldsMarginToFrame()
Returns the margin between the fields area border and the fields itself.
|
double |
getFieldSpacing()
Return the spacing between the printed fields.
|
int |
getFieldToThumbnailAlignment()
Returns the alignment of fields to the thumbnail image.
|
PrintSetDocumentStore |
getFooter72()
Returns the footer structure representing the footer configuration.
|
int |
getGridColumns()
Returns the number of columns for the record grid.
|
int |
getGridRows()
Returns the number of rows for the record grid.
|
PrintSetDocumentStore |
getHeader72()
Returns the header structure representing the header configuration.
|
int |
getImageSource()
Returns the source being used for printing the thumbnail image.
|
double |
getInnerMarginsHorizontal()
Returns the horizontal space between two cells of the grid.
|
double |
getInnerMarginsVertical()
Returns the vertical space between two cells of the grid.
|
int |
getJPEGQuality()
Returns the JPEG quality being used when creating asset previews.
|
double |
getOuterMarginsBottom()
Returns the outer grid margins for the bottom of the page.
|
double |
getOuterMarginsLeft()
Returns the outer grid margins for the left border.
|
double |
getOuterMarginsRight()
Returns the outer grid margins for the right border.
|
double |
getOuterMarginsTop()
Returns the outer grid margins for the top of the page.
|
int |
getPageBackgroundColor()
Returns the RGB value representing the background color for the entire page in the default sRGB
ColorModel . |
java.lang.String |
getPDFDocumentOwnerPassword()
Returns the PDF document owner password.
|
boolean |
getPDFEmbedAnnotations()
Returns whether the PDF should embed user comments as annotations.
|
java.lang.String |
getPDFOpenDocumentPassword()
Returns the password to open the PDF document.
|
int |
getPDFSecurity()
Returns the PDF security settings encoded into an int.
|
URLMode |
getPDFURLMode()
Returns the configured URL Mode when printing to PDF and embedding URLs.
|
java.lang.String |
getPDFWPPICPBaseURL()
Returns the base installation URL for the WPP/ICP installation.
|
RecordFieldList |
getRecordFieldList()
Returns the list of fields to print in advanced mode.
|
int |
getThumbnailAlignment()
Returns the alignment of the thumbnail within the entire area available for the thumbnail.
|
int |
getThumbnailBackgroundColor()
Returns the RGB value representing the background color for the thumbnail area in the default sRGB
ColorModel . |
double |
getThumbnailMarginToFields()
Returns the margin between thumbnail area and the field values.
|
double |
getThumbnailMarginToFrame()
Returns the margin between the thumbnail area border and the thumbnail itself.
|
int |
getThumbnailResolution()
Returns the resolution to use for generating asset previews.
|
boolean |
isApplyAssetActionOnThumbnailEnabled()
Returns whether this print sets applies an asset action on the printed thumbnail.
|
boolean |
isEditPDFSettingsWhenPrintingEnabled()
Returns whether this print sets PDF options can be edited when printing.
|
boolean |
isPDFEnabled()
Returns whether this print set can be used to print PDFs.
|
boolean |
isPDFSecurityEnabled()
Returns whether security options should be set when printing the PDF.
|
boolean |
isPDFWPPICPEnabled()
Returns whether thumbnails should be linked to their records in a WPP/ICP installation.
|
boolean |
pdfAllowContentCopyingAndExtractionAlsoForScreenReaders()
Returns whether the PDF document should allow content copying and extraction.
|
boolean |
pdfAllowDegradedPrinting()
Returns whether printing the PDF in low resolution is allowed.
|
boolean |
pdfAllowDocumentAssembly()
Returns whether the PDF document should allow document assembly.
|
boolean |
pdfAllowDocumentChanges()
Returns whether PDF document changes are allowed.
|
boolean |
pdfAllowFillIn()
Returns whether the PDF document should allow to fill in forms and sign the document.
|
boolean |
pdfAllowModifyAnnotations()
Returns whether PDF document annotation changes are allowed.
|
boolean |
pdfAllowPrinting()
Returns whether printing the PDF in high resolution is allowed.
|
boolean |
pdfAllowScreenReaders()
Returns whether the PDF document should allow content copying and extraction for screen readers.
|
void |
setAppliedAssetAction(java.lang.String value)
Sets the name of the asset action to apply on printed thumbnails.
|
void |
setApplyAssetActionOnThumbnail(boolean value)
Configures whether this print sets applies an asset action on the printed thumbnail.
|
void |
setDrawFieldNames(boolean draw)
Configures whether field names should be printed as well.
|
void |
setDrawRecordFrame(boolean value)
Configures whether a border should be painted around the entire record cell.
|
void |
setDrawThumbnailFrame(boolean value)
Configures whether a border should be drawn around the thumbnail area.
|
void |
setEditPDFSettingsWhenPrintingEnabled(boolean value)
Configures whether this print sets PDF options can be edited when printing.
|
void |
setFieldAlignment(int alignment)
Sets the mode for aligning the field content.
|
void |
setFieldBackgroundColor(int color)
Sets the background color for the fields content area as RGB value representing the color.
|
void |
setFieldsMarginToFrame(double value)
Sets the margin between the fields area border and the fields itself.
|
void |
setFieldSpacing(double spacing)
Sets the spacing between the printed fields.
|
void |
setFieldToThumbnailAlignment(int align)
Configures the alignment of fields to the thumbnail image.
|
PrintSetDocumentStore |
setFooter72()
This returns an empty footer structure which replaced the original one and can now be filled by the caller with the new footer information.
|
void |
setGridColumns(int cols)
Sets the number of columns for the record grid.
|
void |
setGridRows(int rows)
Sets the number of rows for the record grid.
|
PrintSetDocumentStore |
setHeader72()
This returns an empty header structure which replaced the original one and can now be filled by the caller with the new header information.
|
void |
setImageSource(int source)
Sets the source being used for printing the thumbnail image.
|
void |
setInnerMarginsHorizontal(double margin)
Sets the horizontal space between two cells of the grid.
|
void |
setInnerMarginsVertical(double margin)
Sets the vertical space between two cells of the grid.
|
void |
setJPEGQuality(int quality)
Sets the JPEG quality being used when creating asset previews.
|
void |
setOuterMarginsBottom(double margin)
Sets the outer grid margins for the bottom of the page.
|
void |
setOuterMarginsLeft(double margin)
Sets the outer grid margins for the left border.
|
void |
setOuterMarginsRight(double margin)
Sets the outer grid margins for the right border.
|
void |
setOuterMarginsTop(double margin)
Sets the outer grid margins for the top of the page.
|
void |
setPageBackgroundColor(int color)
Sets the background color for the entire page as RGB value representing the color.
|
void |
setPDFAllowContentCopyingAndExtractionAlsoForScreenReaders(boolean value)
Sets whether the PDF document should allow content copying and extraction.
|
void |
setPDFAllowDegradedPrinting(boolean value)
Sets whether printing the PDF in low resolution is allowed.
|
void |
setPDFAllowDocumentAssembly(boolean value)
Sets whether the PDF document should allow document assembly.
|
void |
setPDFAllowDocumentChanges(boolean value)
Configures whether PDF document changes are allowed.
|
void |
setPDFAllowFillIn(boolean value)
Sets whether the PDF document should allow to fill in forms and sign the document.
|
void |
setPDFAllowModifyAnnotations(boolean value)
Sets whether PDF document annotation changes are allowed.
|
void |
setPDFAllowPrinting(boolean value)
Sets whether printing the PDF in high resolution is allowed.
|
void |
setPDFAllowScreenReaders(boolean value)
Sets whether the PDF document should allow content copying and extraction for screen readers.
|
void |
setPDFDocumentOwnerPassword(java.lang.String value)
Sets the PDF document owner password.
|
void |
setPDFEmbedAnnotations(boolean value)
Specify whether the PDF should embed user comments as annotations.
|
void |
setPDFEnabled(boolean value)
Configures whether this print set can be used to print PDFs.
|
void |
setPDFOpenDocumentPassword(java.lang.String value)
Sets the password to open the PDF document.
|
void |
setPDFSecurityEnabled(boolean value)
Sets whether security options should be set when printing the PDF.
|
void |
setPDFURLMode(URLMode urlMode)
Configures the URL Mode when printing to PDF and embedding URLs.
|
void |
setPDFWPPICPBaseURL(java.lang.String url)
Sets the base installation URL for the WPP/ICP installation.
|
void |
setPDFWPPICPEnabled(boolean value)
Sets whether thumbnails should be linked to their records in a WPP/ICP installation.
|
void |
setPDFWPPICPGuestLogin(boolean value)
Configures whether the generated WPP/ICP links should use an automatic guest login or direct the caller to the login page of the WPP/ICP installation.
|
void |
setThumbnailAlignment(int alignment)
Configures the alignment of the thumbnail within the entire area available for the thumbnail.
|
void |
setThumbnailBackgroundColor(int color)
Sets the background color for the thumbnail area as RGB value representing the color.
|
void |
setThumbnailMarginToFields(double value)
Sets the margin between thumbnail area and the field values.
|
void |
setThumbnailMarginToFrame(double value)
Sets the margin between the thumbnail area border and the thumbnail itself.
|
void |
setThumbnailResolution(int value)
Sets the resolution to use for generating asset previews.
|
boolean |
supportsHeaderFooter72()
Returns whether header and footer are available in the new 7.5 format which is interchangeable between different platforms.
|
addChangeListener, addChangeListener, addGlobalChangeListener, addPackListener, forgetPush, getPack, isShared, popPack, pushPack, removeChangeListener, removeChangeListener, removeGlobalChangeListener, removePackListener, save, save, toString, writeAsXML
public static final int THUMBNAILS_ALIGNMENT_OPTION_NORTH_WEST
public static final int THUMBNAILS_ALIGNMENT_OPTION_NORTH
public static final int THUMBNAILS_ALIGNMENT_OPTION_NORTH_EAST
public static final int THUMBNAILS_ALIGNMENT_OPTION_WEST
public static final int THUMBNAILS_ALIGNMENT_OPTION_CENTER
public static final int THUMBNAILS_ALIGNMENT_OPTION_EAST
public static final int THUMBNAILS_ALIGNMENT_OPTION_SOUTH_WEST
public static final int THUMBNAILS_ALIGNMENT_OPTION_SOUTH
public static final int THUMBNAILS_ALIGNMENT_OPTION_SOUTH_EAST
public static final int FIELD_ALIGNMENT_OPTION_LEFT
public static final int FIELD_ALIGNMENT_OPTION_CENTER
public static final int FIELD_ALIGNMENT_OPTION_RIGHT
public static final int FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_RIGHT_OF_THUMBNAIL
public static final int FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_BELOW_THUMBNAIL
public static final int FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_ABOVE_THUMBNAIL
public static final int IMAGE_SOURCE_OPTION_THUMBNAIL
public static final int IMAGE_SOURCE_OPTION_ENTIRE_ASSET
public int getGridRows()
public void setGridRows(int rows)
rows
- number of rowspublic int getGridColumns()
public void setGridColumns(int cols)
cols
- number of columnspublic double getOuterMarginsTop()
public void setOuterMarginsTop(double margin)
margin
- top outer grid margins in mmpublic double getOuterMarginsLeft()
public void setOuterMarginsLeft(double margin)
margin
- left outer grid margins in mmpublic double getOuterMarginsBottom()
public void setOuterMarginsBottom(double margin)
margin
- bottom outer grid margins in mmpublic double getOuterMarginsRight()
public void setOuterMarginsRight(double margin)
margin
- right outer grid margins in mmpublic double getInnerMarginsHorizontal()
public void setInnerMarginsHorizontal(double margin)
margin
- horizontal space between two cells in mmpublic double getInnerMarginsVertical()
public void setInnerMarginsVertical(double margin)
margin
- vertical space between two cells in mmpublic int getThumbnailAlignment()
THUMBNAILS_ALIGNMENT_OPTION_CENTER
, THUMBNAILS_ALIGNMENT_OPTION_EAST
, THUMBNAILS_ALIGNMENT_OPTION_NORTH
, THUMBNAILS_ALIGNMENT_OPTION_NORTH_EAST
, THUMBNAILS_ALIGNMENT_OPTION_NORTH_WEST
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH_EAST
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH_WEST
and THUMBNAILS_ALIGNMENT_OPTION_WEST
. Defaults to
THUMBNAILS_ALIGNMENT_OPTION_CENTER
.public void setThumbnailAlignment(int alignment)
THUMBNAILS_ALIGNMENT_OPTION_CENTER
, THUMBNAILS_ALIGNMENT_OPTION_EAST
, THUMBNAILS_ALIGNMENT_OPTION_NORTH
, THUMBNAILS_ALIGNMENT_OPTION_NORTH_EAST
, THUMBNAILS_ALIGNMENT_OPTION_NORTH_WEST
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH_EAST
, THUMBNAILS_ALIGNMENT_OPTION_SOUTH_WEST
and THUMBNAILS_ALIGNMENT_OPTION_WEST
.alignment
- thumbnail alignmentpublic int getThumbnailBackgroundColor()
ColorModel
. (Bits 24-31 are
alpha, 16-23 are red, 8-15 are green, 0-7 are blue).ColorModel
.public void setThumbnailBackgroundColor(int color)
color
- the combined RGB componentspublic int getThumbnailResolution()
public void setThumbnailResolution(int value)
value
- resolution in dpipublic double getThumbnailMarginToFields()
public void setThumbnailMarginToFields(double value)
value
- margin between thumbnail area and the field values in mmpublic double getThumbnailMarginToFrame()
public void setThumbnailMarginToFrame(double value)
value
- margin between the thumbnail area border and the thumbnail itself in mmpublic double getFieldsMarginToFrame()
public void setFieldsMarginToFrame(double value)
value
- margin between the fields area border and the fields itself in mmpublic boolean drawThumbnailFrame()
public void setDrawThumbnailFrame(boolean value)
value
- set to true if a border should be drawn around the thumbnail areapublic boolean drawRecordFrame()
public void setDrawRecordFrame(boolean value)
value
- set to true if a border should be painted around the entire record cellpublic int getFieldAlignment()
FIELD_ALIGNMENT_OPTION_LEFT
, FIELD_ALIGNMENT_OPTION_CENTER
and FIELD_ALIGNMENT_OPTION_RIGHT
. Defaults to FIELD_ALIGNMENT_OPTION_LEFT
.public void setFieldAlignment(int alignment)
FIELD_ALIGNMENT_OPTION_LEFT
, FIELD_ALIGNMENT_OPTION_CENTER
and
FIELD_ALIGNMENT_OPTION_RIGHT
.alignment
- field values alignmentpublic int getFieldBackgroundColor()
ColorModel
. (Bits 24-31
are alpha, 16-23 are red, 8-15 are green, 0-7 are blue).ColorModel
.public void setFieldBackgroundColor(int color)
color
- the combined RGB componentspublic double getFieldSpacing()
public void setFieldSpacing(double spacing)
spacing
- spacing between the printed fields in mmpublic int getJPEGQuality()
public void setJPEGQuality(int quality)
quality
- JPEG quality being used when creating asset previewspublic boolean drawFieldNames()
public void setDrawFieldNames(boolean draw)
draw
- set to true if field names should be printedpublic int getFieldToThumbnailAlignment()
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_RIGHT_OF_THUMBNAIL
and
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_BELOW_THUMBNAIL
. Defaults to FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_RIGHT_OF_THUMBNAIL
.public void setFieldToThumbnailAlignment(int align)
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_RIGHT_OF_THUMBNAIL
and
FIELD_TO_THUMBNAIL_ALIGNMENT_OPTION_BELOW_THUMBNAIL
.align
- alignment of fields to the thumbnail imagepublic boolean supportsHeaderFooter72()
public PrintSetDocumentStore getHeader72()
public PrintSetDocumentStore getFooter72()
public PrintSetDocumentStore setHeader72()
public PrintSetDocumentStore setFooter72()
public int getPageBackgroundColor()
ColorModel
. (Bits 24-31 are alpha,
16-23 are red, 8-15 are green, 0-7 are blue).ColorModel
.public void setPageBackgroundColor(int color)
color
- the combined RGB componentspublic int getImageSource()
IMAGE_SOURCE_OPTION_THUMBNAIL
and IMAGE_SOURCE_OPTION_ENTIRE_ASSET
. Defaults to IMAGE_SOURCE_OPTION_ENTIRE_ASSET
.public void setImageSource(int source)
IMAGE_SOURCE_OPTION_THUMBNAIL
and IMAGE_SOURCE_OPTION_ENTIRE_ASSET
.source
- image source for thumbnail imagespublic boolean isPDFEnabled()
public void setPDFEnabled(boolean value)
value
- set to true if PDF printing should be allowedpublic boolean isEditPDFSettingsWhenPrintingEnabled()
public void setEditPDFSettingsWhenPrintingEnabled(boolean value)
value
- set to true if editing should be allowedpublic boolean isPDFSecurityEnabled()
public void setPDFSecurityEnabled(boolean value)
value
- set to true if security options should be set when printing the PDFpublic boolean isPDFWPPICPEnabled()
public void setPDFWPPICPEnabled(boolean value)
value
- set to true if thumbnails should be linked to their records in a WPP/ICP installationpublic java.lang.String getPDFWPPICPBaseURL()
http://your.wpp.server/Cumulus
.public void setPDFWPPICPBaseURL(java.lang.String url)
url
- base URL of the WPP/ICP installationpublic boolean allowPDFWPPICPGuestLogin()
public void setPDFWPPICPGuestLogin(boolean value)
value
- set to true if the guest login should be usedpublic URLMode getPDFURLMode()
URLMode.SHOW_RECORD
and URLMode.ASSET_URL
are supported.public void setPDFURLMode(URLMode urlMode)
URLMode.SHOW_RECORD
and
URLMode.ASSET_URL
are supported.urlMode
- configured url mode for embedded URLspublic boolean getPDFEmbedAnnotations()
public void setPDFEmbedAnnotations(boolean value)
value
- specify whether the PDF should embed user comments as annotationspublic int getPDFSecurity()
public boolean pdfAllowPrinting()
public void setPDFAllowPrinting(boolean value)
value
- set to true if printing the PDF in high resolution is allowedpublic boolean pdfAllowDegradedPrinting()
public void setPDFAllowDegradedPrinting(boolean value)
value
- set to true if printing the PDF in low resolution is allowedpublic boolean pdfAllowDocumentChanges()
public void setPDFAllowDocumentChanges(boolean value)
value
- set to true if PDF document changes are allowedpublic boolean pdfAllowModifyAnnotations()
public void setPDFAllowModifyAnnotations(boolean value)
value
- set to true if PDF document annotation changes are allowedpublic boolean pdfAllowContentCopyingAndExtractionAlsoForScreenReaders()
public void setPDFAllowContentCopyingAndExtractionAlsoForScreenReaders(boolean value)
value
- set to true if PDF document should allow content copying and extractionpublic boolean pdfAllowFillIn()
public void setPDFAllowFillIn(boolean value)
value
- set to true if PDF document should allow to fill in forms and sign the documentpublic boolean pdfAllowScreenReaders()
public void setPDFAllowScreenReaders(boolean value)
value
- set to true if PDF document should allow content copying and extraction for screen readerspublic boolean pdfAllowDocumentAssembly()
public void setPDFAllowDocumentAssembly(boolean value)
value
- set to true if PDF document should allow document assemblypublic java.lang.String getPDFDocumentOwnerPassword()
public void setPDFDocumentOwnerPassword(java.lang.String value)
value
- PDF document owner passwordpublic java.lang.String getPDFOpenDocumentPassword()
public void setPDFOpenDocumentPassword(java.lang.String value)
value
- password to open the PDF documentpublic RecordFieldList getRecordFieldList()
public boolean isApplyAssetActionOnThumbnailEnabled()
public void setApplyAssetActionOnThumbnail(boolean value)
value
- true if an asset action should be appliedpublic java.lang.String getAppliedAssetAction()
public void setAppliedAssetAction(java.lang.String value)
value
- asset action namewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.