public abstract class ViewOptions extends BaseViewOptions
Provides rendering options.
Constructor and Description |
---|
ViewOptions() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,Rotation> |
getPageRotations()
The page rotations.
|
Watermark |
getWatermark()
The text watermark applied to each page.
|
void |
rotatePage(int pageNumber,
Rotation rotation)
Applies clockwise rotation to the page.
|
void |
setWatermark(Watermark value)
The text watermark applied to each page.
|
getArchiveOptions, getCadOptions, getDefaultFontName, getEmailOptions, getMailStorageOptions, getOutlookOptions, getPdfOptions, getProjectManagementOptions, getSpreadsheetOptions, getTextOptions, getVisioRenderingOptions, getWordProcessingOptions, isForHtmlView, isForJpgView, isForPngView, isForSinglePage, isRenderComments, isRenderHiddenPages, isRenderNotes, setArchiveOptions, setCadOptions, setDefaultFontName, setEmailOptions, setForHtmlView, setForJpgView, setForPngView, setForSinglePage, setMailStorageOptions, setOutlookOptions, setPdfOptions, setProjectManagementOptions, setRenderComments, setRenderHiddenPages, setRenderNotes, setSpreadsheetOptions, setTextOptions, setVisioRenderingOptions, setWordProcessingOptions
public Map<Integer,Rotation> getPageRotations()
The page rotations.
ViewOptions.Watermark
(getWatermark()
/setWatermark(Watermark)
)
and PageRotations
are specified than watermark will be applied to the rotated pages.
public final Watermark getWatermark()
The text watermark applied to each page.
setWatermark(Watermark)
and getPageRotations()
are specified
than watermark will be applied to the rotated pages.
public final void rotatePage(int pageNumber, Rotation rotation)
Applies clockwise rotation to the page.
pageNumber
- The page number.rotation
- The rotation value.IllegalArgumentException
- Thrown when pageNumber
is less or equal to zero.IllegalArgumentException
- Thrown when rotation for the page with number pageNumber
was already added.public final void setWatermark(Watermark value)
The text watermark applied to each page.
ViewOptions.Watermark
and getPageRotations()
are specified
than watermark will be applied to the rotated pages.