DocumentActionCollection
Inheritance: java.lang.Object
public final class DocumentActionCollection
Class describes actions performed on some actions with document
Constructors
| Constructor | Description |
|---|---|
| DocumentActionCollection(IDocument document) | Constructor for DocumentActionCollection. |
Methods
| Method | Description |
|---|---|
| getBeforeSaving() | Gets action performed before document saving. |
| setBeforeSaving(PdfAction value) | Sets action performed before document saving. |
| getBeforeClosing() | Gets action that will be performed before documetn closing. |
| setBeforeClosing(PdfAction value) | Sets action that will be performed before documetn closing. |
| getAfterSaving() | Gets action that will be performed after document saving. |
| setAfterSaving(PdfAction value) | Sets action that will be performed after document saving. |
| getBeforePrinting() | Action that will be performed before document printing. |
| setBeforePrinting(PdfAction value) | Action that will be performed before document printing. |
| getAfterPrinting() | Action that will be performed after document printing. |
| setAfterPrinting(PdfAction value) | Action that will be performed after document printing. |
DocumentActionCollection(IDocument document)
public DocumentActionCollection(IDocument document)
Constructor for DocumentActionCollection. Constructs DocumentActionCollection objects from Pdf.Kit.Engine Document object.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| document | IDocument | Document for which action colleciton is created. |
getBeforeSaving()
public PdfAction getBeforeSaving()
Gets action performed before document saving.
Returns: PdfAction - PdfAction object
setBeforeSaving(PdfAction value)
public void setBeforeSaving(PdfAction value)
Sets action performed before document saving.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfAction | PdfAction object |
getBeforeClosing()
public PdfAction getBeforeClosing()
Gets action that will be performed before documetn closing.
Returns: PdfAction - PdfAction object
setBeforeClosing(PdfAction value)
public void setBeforeClosing(PdfAction value)
Sets action that will be performed before documetn closing.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfAction | PdfAction object |
getAfterSaving()
public PdfAction getAfterSaving()
Gets action that will be performed after document saving.
Returns: PdfAction - PdfAction object
setAfterSaving(PdfAction value)
public void setAfterSaving(PdfAction value)
Sets action that will be performed after document saving.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfAction | PdfAction object |
getBeforePrinting()
public PdfAction getBeforePrinting()
Action that will be performed before document printing.
Returns: PdfAction - PdfAction before printing
setBeforePrinting(PdfAction value)
public void setBeforePrinting(PdfAction value)
Action that will be performed before document printing.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfAction | PdfAction before printing |
getAfterPrinting()
public PdfAction getAfterPrinting()
Action that will be performed after document printing.
Returns: PdfAction - PdfAction after printing
setAfterPrinting(PdfAction value)
public void setAfterPrinting(PdfAction value)
Action that will be performed after document printing.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfAction | PdfAction after printing |