use of com.tom_roush.pdfbox.cos.COSDictionary in project PdfBox-Android by TomRoush.
the class PDAnnotationAdditionalActions method getPO.
/**
* This will get an action to be performed when the page containing
* the annotation is opened. The action is executed after the O action
* in the page's additional actions dictionary and the OpenAction entry
* in the document catalog, if such actions are present.
*
* @return The PO entry of annotation's additional actions dictionary.
*/
public PDAction getPO() {
COSDictionary po = (COSDictionary) actions.getDictionaryObject("PO");
PDAction retval = null;
if (po != null) {
retval = PDActionFactory.createAction(po);
}
return retval;
}
use of com.tom_roush.pdfbox.cos.COSDictionary in project PdfBox-Android by TomRoush.
the class PDAnnotationAdditionalActions method getE.
/**
* This will get an action to be performed when the cursor
* enters the annotation's active area.
*
* @return The E entry of annotation's additional actions dictionary.
*/
public PDAction getE() {
COSDictionary e = (COSDictionary) actions.getDictionaryObject("E");
PDAction retval = null;
if (e != null) {
retval = PDActionFactory.createAction(e);
}
return retval;
}
use of com.tom_roush.pdfbox.cos.COSDictionary in project PdfBox-Android by TomRoush.
the class PDAnnotationAdditionalActions method getFo.
/**
* This will get an action to be performed when the annotation
* receives the input focus.
*
* @return The Fo entry of annotation's additional actions dictionary.
*/
public PDAction getFo() {
COSDictionary fo = (COSDictionary) actions.getDictionaryObject("Fo");
PDAction retval = null;
if (fo != null) {
retval = PDActionFactory.createAction(fo);
}
return retval;
}
use of com.tom_roush.pdfbox.cos.COSDictionary in project PdfBox-Android by TomRoush.
the class PDDocumentCatalogAdditionalActions method getWC.
/**
* This will get a JavaScript action to be performed
* before closing a document.
* The name WC stands for "will close".
*
* @return The WC entry of document catalog's additional actions dictionary.
*/
public PDAction getWC() {
COSDictionary wc = (COSDictionary) actions.getDictionaryObject("WC");
PDAction retval = null;
if (wc != null) {
retval = PDActionFactory.createAction(wc);
}
return retval;
}
use of com.tom_roush.pdfbox.cos.COSDictionary in project PdfBox-Android by TomRoush.
the class PDDocumentCatalogAdditionalActions method getWS.
/**
* This will get a JavaScript action to be performed
* before saving a document.
* The name WS stands for "will save".
*
* @return The WS entry of document catalog's additional actions dictionary.
*/
public PDAction getWS() {
COSDictionary ws = (COSDictionary) actions.getDictionaryObject("WS");
PDAction retval = null;
if (ws != null) {
retval = PDActionFactory.createAction(ws);
}
return retval;
}
Aggregations