DocumentActions
DocumentActions
Overview
DocumentActions در این مطلب به عنوان یک کلاس برای جاوا می پردازیم.
در این مقاله به بررسی عملکردهای سطح اسناد می پردازیم (ISO 32000-1:2008, §12.6.4.1, p.417).
این کلاس 13 روش برای کار با DocumentActions اشیاء در برنامه های جاوا ارائه می دهد. روش های موجود شامل: DocumentActions, getAfterPrinting, getAfterSaving, getBeforeClosing, getBeforePrinting, getBeforeSaving, getOpenAction, setAfterPrinting, setAfterSaving, setBeforeClosing, setBeforePrinting, setBeforeSaving,و 1 روش اضافی. همه اعضای عمومی پس از نصب Aspose.PDF FOSS برای بسته جاوا به هر برنامه جاو دسترسی دارند. اموال : afterPrinting, afterSaving, beforeClosing, beforePrinting, beforeSaving, openAction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
openAction | PdfAction | Read | بازگرداندن عمل که در هنگام باز کردن سند انجام می شود |
| ({@code /OpenAction}) یا {@code null} اگر غایب باشد یا ورودی یک | |||
| هدف به جای عمل است. | |||
beforeClosing | PdfAction | Read | @بازگشت به عمل اراده بسته ({@code /AA/WC})، یا صفر. |
beforeSaving | PdfAction | Read | @Return the will-save action ({@code /AA/WS}) یا صفر. |
afterSaving | PdfAction | Read | @Return the did-save action ({@code /AA/DS}) یا صفر. |
beforePrinting | PdfAction | Read | @Return the will-print action ({@code /AA/WP}) یا صفر. |
afterPrinting | PdfAction | Read | @Return the did-print action ({@code /AA/DP}) یا صفر. |
Methods
| Signature | Description |
|---|---|
DocumentActions(catalog: PdfDictionary, document: Document) | کلمات کلیدی کاتالوگ داده را به عنوان یک نمایش عمل اسناد باز می گرداند. |
getOpenAction() → PdfAction | بازگرداندن عمل که در هنگام باز کردن سند انجام می شود |
| ({@code /OpenAction}) یا {@code null} اگر غایب باشد یا ورودی یک | |
| هدف به جای عمل است. | |
setOpenAction(action: PdfAction) | در این مطلب به کلمه ی کلیدی «آموزش» می پردازیم. |
getBeforeClosing() → PdfAction | @بازگشت به عمل اراده بسته ({@code /AA/WC})، یا صفر. |
getBeforeSaving() → PdfAction | @Return the will-save action ({@code /AA/WS}) یا صفر. |
getAfterSaving() → PdfAction | @Return the did-save action ({@code /AA/DS}) یا صفر. |
getBeforePrinting() → PdfAction | @Return the will-print action ({@code /AA/WP}) یا صفر. |
getAfterPrinting() → PdfAction | @Return the did-print action ({@code /AA/DP}) یا صفر. |
setBeforeClosing(action: PdfAction) | عمل Will-Clos ({@code /AA/WC}) را تنظیم کنید؛ null ورودی را حذف می کند. |
setBeforeSaving(action: PdfAction) | این کار را انجام دهید ({@code /AA/WS})؛ null ورودی را حذف می کند. |
setAfterSaving(action: PdfAction) | این کار را انجام دهید ({@code /AA/DS})؛ null ورودی را حذف می کند. |
setBeforePrinting(action: PdfAction) | عمل اراده را تنظیم کنید ({@code /AA/WP})؛ null ورودی را حذف می کند. |
setAfterPrinting(action: PdfAction) | این کار را انجام دهید ({@code /AA/DP})؛ null ورودی را حذف می کند. |