org.pdfbox.pdmodel.interactive.action
Class PDDocumentCatalogAdditionalActions
java.lang.Object
org.pdfbox.pdmodel.interactive.action.PDDocumentCatalogAdditionalActions
- COSObjectable
public class PDDocumentCatalogAdditionalActions
extends java.lang.Object
This class represents a document catalog's dictionary of actions
that occur due to events.
COSDictionary | getCOSDictionary() - Convert this standard java object to a COS object.
|
COSBase | getCOSObject() - Convert this standard java object to a COS object.
|
PDAction | getDP() - This will get a JavaScript action to be performed
after printing a document.
|
PDAction | getDS() - This will get a JavaScript action to be performed
after saving a document.
|
PDAction | getWC() - This will get a JavaScript action to be performed
before closing a document.
|
PDAction | getWP() - This will get a JavaScript action to be performed
before printing a document.
|
PDAction | getWS() - This will get a JavaScript action to be performed
before saving a document.
|
void | setDP(PDAction dp) - This will set a JavaScript action to be performed
after printing a document.
|
void | setDS(PDAction ds) - This will set a JavaScript action to be performed
after saving a document.
|
void | setWC(PDAction wc) - This will set a JavaScript action to be performed
before closing a document.
|
void | setWP(PDAction wp) - This will set a JavaScript action to be performed
before printing a document.
|
void | setWS(PDAction ws) - This will set a JavaScript action to be performed
before saving a document.
|
PDDocumentCatalogAdditionalActions
public PDDocumentCatalogAdditionalActions()
Default constructor.
PDDocumentCatalogAdditionalActions
public PDDocumentCatalogAdditionalActions(COSDictionary a)
Constructor.
a
- The action dictionary.
getCOSDictionary
public COSDictionary getCOSDictionary()
Convert this standard java object to a COS object.
- The cos object that matches this Java object.
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.
- getCOSObject in interface COSObjectable
- The cos object that matches this Java object.
getDP
public PDAction getDP()
This will get a JavaScript action to be performed
after printing a document.
The name DP stands for "did print".
- The DP entry of document catalog's additional actions dictionary.
getDS
public PDAction getDS()
This will get a JavaScript action to be performed
after saving a document.
The name DS stands for "did save".
- The DS entry of document catalog's additional actions dictionary.
getWC
public PDAction getWC()
This will get a JavaScript action to be performed
before closing a document.
The name WC stands for "will close".
- The WC entry of document catalog's additional actions dictionary.
getWP
public PDAction getWP()
This will get a JavaScript action to be performed
before printing a document.
The name WP stands for "will print".
- The WP entry of document catalog's additional actions dictionary.
getWS
public PDAction getWS()
This will get a JavaScript action to be performed
before saving a document.
The name WS stands for "will save".
- The WS entry of document catalog's additional actions dictionary.
setDP
public void setDP(PDAction dp)
This will set a JavaScript action to be performed
after printing a document.
The name DP stands for "did print".
dp
- The action to be performed.
setDS
public void setDS(PDAction ds)
This will set a JavaScript action to be performed
after saving a document.
The name DS stands for "did save".
ds
- The action to be performed.
setWC
public void setWC(PDAction wc)
This will set a JavaScript action to be performed
before closing a document.
The name WC stands for "will close".
wc
- The action to be performed.
setWP
public void setWP(PDAction wp)
This will set a JavaScript action to be performed
before printing a document.
The name WP stands for "will print".
wp
- The action to be performed.
setWS
public void setWS(PDAction ws)
This will set a JavaScript action to be performed
before saving a document.
The name WS stands for "will save".
ws
- The action to be performed.