DocumentActionCollection

Inheritance: java.lang.Object

public final class DocumentActionCollection

Class describes actions performed on some actions with document

Constructors

ConstructorDescription
DocumentActionCollection(IDocument document)Constructor for DocumentActionCollection.

Methods

MethodDescription
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:

ParameterTypeDescription
documentIDocumentDocument 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:

ParameterTypeDescription
valuePdfActionPdfAction 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:

ParameterTypeDescription
valuePdfActionPdfAction 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:

ParameterTypeDescription
valuePdfActionPdfAction 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:

ParameterTypeDescription
valuePdfActionPdfAction 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:

ParameterTypeDescription
valuePdfActionPdfAction after printing