Package com.saperion.connector.options
Class AdditionalOptions
- java.lang.Object
-
- com.saperion.connector.options.AdditionalOptions
-
public class AdditionalOptions extends java.lang.Object
Represents options that are not necessarily supported by the render engine in use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdditionalOptions.AdditionalOptionsBuilder
BuildAdditionalOptions
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdditionalOptions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBpp()
int
getDpi()
java.util.Map<java.lang.String,java.lang.Object>
getGenericOptions()
int
getImageHeight()
int
getImageWidth()
PdfCompliance
getPdfCompliance()
WatermarkAlignment
getWatermarkAlignment()
java.lang.String
getWatermarkFile()
WatermarkText
getWatermarkText()
static AdditionalOptions.AdditionalOptionsBuilder
newAdditionalOptions()
java.lang.String
toString()
-
-
-
Method Detail
-
newAdditionalOptions
public static AdditionalOptions.AdditionalOptionsBuilder newAdditionalOptions()
- Returns:
- builder for new additional options
-
getPdfCompliance
public PdfCompliance getPdfCompliance()
- Returns:
- compliance for PDF renditions
-
getDpi
public int getDpi()
- Returns:
- resolution in DPI of the rendition. Default is 200.
-
getBpp
public int getBpp()
- Returns:
- bitdepth in BPP of the rendition. Default is 24.
-
getImageHeight
public int getImageHeight()
- Returns:
- height of the image-rendition
-
getImageWidth
public int getImageWidth()
- Returns:
- width of the image-rendition
-
getWatermarkFile
public java.lang.String getWatermarkFile()
- Returns:
- name of the file to be used as watermark
-
getWatermarkText
public WatermarkText getWatermarkText()
- Returns:
- text to use as watermark or null if not set
-
getWatermarkAlignment
public WatermarkAlignment getWatermarkAlignment()
- Returns:
- the alignement of the watermark or null if not set. If not set, middle-center is used.
-
getGenericOptions
public java.util.Map<java.lang.String,java.lang.Object> getGenericOptions()
- Returns:
- generic options for the render-engine
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-