| com.lowagie.text.pdf.interfaces.PdfDocumentActions
All known Subclasses: com.lowagie.text.pdf.PdfWriter,
PdfDocumentActions | public interface PdfDocumentActions (Code) | | A PDF document can have an open action and other additional actions.
|
Method Summary | |
public void | setAdditionalAction(PdfName actionType, PdfAction action) Additional-actions defining the actions to be taken in
response to various trigger events affecting the document
as a whole. | public void | setOpenAction(String name) When the document opens it will jump to the destination with
this name. | public void | setOpenAction(PdfAction action) When the document opens this action will be
invoked. |
setAdditionalAction | public void setAdditionalAction(PdfName actionType, PdfAction action) throws DocumentException(Code) | | Additional-actions defining the actions to be taken in
response to various trigger events affecting the document
as a whole. The actions types allowed are: DOCUMENT_CLOSE ,
WILL_SAVE , DID_SAVE , WILL_PRINT
and DID_PRINT .
Parameters: actionType - the action type Parameters: action - the action to execute in response to the trigger throws: DocumentException - on invalid action type |
setOpenAction | public void setOpenAction(String name)(Code) | | When the document opens it will jump to the destination with
this name.
Parameters: name - the name of the destination to jump to |
setOpenAction | public void setOpenAction(PdfAction action)(Code) | | When the document opens this action will be
invoked.
Parameters: action - the action to be invoked |
|
|