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