DocumentActions
Overview
DocumentActions เป็นคลาสใน Aspose.PDF FOSS สําหรับ Java.
การกระตุ้นการกระทําระดับเอกสาร (ISO 32000-1:2008, §12.6.4.1, p.417).
หมวดนี้ให้ 13 วิธีในการทํางานกับ DocumentActions วัตถุในโปรแกรม Java. วิธีการที่ใช้ได้แก่: DocumentActions, getAfterPrinting, getAfterSaving, getBeforeClosing, getBeforePrinting, getBeforeSaving, getOpenAction, setAfterPrinting, setAfterSaving, setBeforeClosing, setBeforePrinting, setBeforeSaving,และ 1 วิธีการเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: afterPrinting, afterSaving, beforeClosing, beforePrinting, beforeSaving, openAction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
openAction | PdfAction | Read | กลับการกระทําที่ทํางานเมื่อเอกสารถูกเปิด ({@code /OpenAction}) หรือ {@ code null} หากไม่มีหรือรายการเป็นเรียงจุดหมายแทนการปฏิบัติ. |
beforeClosing | PdfAction | Read | @ กลับการกระทํา will-close ({@code /AA/WC}) หรือ null. |
beforeSaving | PdfAction | Read | @ กลับการกระทํา will-save ({@code /AA/WS}) หรือ null. |
afterSaving | PdfAction | Read | @return การกระทําการบันทึก ({@code /AA/DS}) หรือ null. |
beforePrinting | PdfAction | Read | @return การกระทํา will-print ({@code /AA/WP}) หรือ null. |
afterPrinting | PdfAction | Read | @return การทําการพิมพ์ ({@code /AA/DP}) หรือ null. |
Methods
| Signature | Description |
|---|---|
DocumentActions(catalog: PdfDictionary, document: Document) | ปิดวัสดุประกาศนียบัตรที่ให้ไว้เป็นภาพแสดงเอกสาร-การกระทํา. |
getOpenAction() → PdfAction | กลับการกระทําที่ทํางานเมื่อเอกสารถูกเปิด ({@code /OpenAction}) หรือ {@ code null} หากไม่มีหรือรายการเป็นเรียงจุดหมายแทนการปฏิบัติ. |
setOpenAction(action: PdfAction) | กําหนดการเข้า {@code /OpenAction}. |
getBeforeClosing() → PdfAction | @ กลับการกระทํา will-close ({@code /AA/WC}) หรือ null. |
getBeforeSaving() → PdfAction | @ กลับการกระทํา will-save ({@code /AA/WS}) หรือ null. |
getAfterSaving() → PdfAction | @return การกระทําการบันทึก ({@code /AA/DS}) หรือ null. |
getBeforePrinting() → PdfAction | @return การกระทํา will-print ({@code /AA/WP}) หรือ null. |
getAfterPrinting() → PdfAction | @return การทําการพิมพ์ ({@code /AA/DP}) หรือ null. |
setBeforeClosing(action: PdfAction) | กําหนดการ will-close ({@code /AA/WC}) การกระทํา; null ยกเลิกรายการ. |
setBeforeSaving(action: PdfAction) | กําหนดการ will-save ({@code /AA/WS}) การกระทํา; null ยกเลิกรายการ. |
setAfterSaving(action: PdfAction) | กําหนดการทํา-save ({@code /AA/DS}) การกระทํา; null ยกเลิกรายการ. |
setBeforePrinting(action: PdfAction) | กําหนดการ will-print ({@code /AA/WP}) การกระทํา; null ยกเลิกรายการ. |
setAfterPrinting(action: PdfAction) | กําหนดการทํา-print ({@code /AA/DP}) การกระทํา; null ยกเลิกรายการ. |