DocumentActions
DocumentActions
Overview
DocumentActions adalah kelas di Aspose.PDF FOSS untuk Java.
Trigger tindakan tingkat dokumen (ISO 32000-1:2008, §12.6.4.1, hlm. 417).
Kelas ini menyediakan 13 metode untuk bekerja dengan DocumentActions objek dalam program Java. Metode yang tersedia meliputi: DocumentActions, getAfterPrinting, getAfterSaving, getBeforeClosing, getBeforePrinting, getBeforeSaving, getOpenAction, setAfterPrinting, setAfterSaving, setBeforeClosing, setBeforePrinting, setBeforeSaving, dan 1 metode tambahan. Semua anggota publik dapat diakses oleh aplikasi Java apa pun setelah menginstal paket FOSS for Java. Sifatnya: afterPrinting, afterSaving, beforeClosing, beforePrinting, beforeSaving, openAction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
openAction | PdfAction | Read | Mengembalikan tindakan yang berjalan saat dokumen dibuka |
| ({@code /OpenAction}), atau {@ code null} jika tidak ada atau entri adalah sebuah | |||
| tujuan array bukan tindakan. | |||
beforeClosing | PdfAction | Read | @ return the will-close action ({@code /AA/WC}), atau null. |
beforeSaving | PdfAction | Read | @ return will-save action ({@code /AA/WS}), atau null. |
afterSaving | PdfAction | Read | @return did-save action ({@code /AA/DS}), atau null. |
beforePrinting | PdfAction | Read | @ return the will-print action ({@code /AA/WP}), atau null. |
afterPrinting | PdfAction | Read | @return did-print action ({@code /AA/DP}), atau null. |
Methods
| Signature | Description |
|---|---|
DocumentActions(catalog: PdfDictionary, document: Document) | Memungut kata kunci katalog yang diberikan sebagai tampilan tindakan dokumen. |
getOpenAction() → PdfAction | Mengembalikan tindakan yang berjalan saat dokumen dibuka |
| ({@code /OpenAction}), atau {@ code null} jika tidak ada atau entri adalah sebuah | |
| tujuan array bukan tindakan. | |
setOpenAction(action: PdfAction) | Menetapkan entri {@code /OpenAction}. |
getBeforeClosing() → PdfAction | @ return the will-close action ({@code /AA/WC}), atau null. |
getBeforeSaving() → PdfAction | @ return will-save action ({@code /AA/WS}), atau null. |
getAfterSaving() → PdfAction | @return did-save action ({@code /AA/DS}), atau null. |
getBeforePrinting() → PdfAction | @ return the will-print action ({@code /AA/WP}), atau null. |
getAfterPrinting() → PdfAction | @return did-print action ({@code /AA/DP}), atau null. |
setBeforeClosing(action: PdfAction) | Menetapkan tindakan will-close ({@code /AA/WC}); null menghapus entri. |
setBeforeSaving(action: PdfAction) | Menetapkan tindakan will-save ({@code /AA/WS}); null menghapus entri. |
setAfterSaving(action: PdfAction) | Menetapkan tindakan did-save ({@code /AA/DS}); null menghapus entri. |
setBeforePrinting(action: PdfAction) | Menetapkan tindakan will-print ({@code /AA/WP}); null menghapus entri. |
setAfterPrinting(action: PdfAction) | Menetapkan tindakan did-print ({@code /AA/DP}); null menghapus entri. |