|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PdfDocumentActions
A PDF document can have an open action and other additional actions.
| Method Summary | |
|---|---|
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. |
void |
setOpenAction(PdfAction action)
When the document opens this action will be
invoked. |
void |
setOpenAction(String name)
When the document opens it will jump to the destination with this name. |
| Method Detail |
|---|
void setOpenAction(String name)
name - the name of the destination to jump tovoid setOpenAction(PdfAction action)
action will be
invoked.
action - the action to be invoked
void setAdditionalAction(PdfName actionType,
PdfAction action)
throws DocumentException
DOCUMENT_CLOSE,
WILL_SAVE, DID_SAVE, WILL_PRINT
and DID_PRINT.
actionType - the action typeaction - the action to execute in response to the trigger
DocumentException - on invalid action type
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||