|
Foxit PDF SDK
|
Public Member Functions | |
| AccessibilityFixer (PDFDoc pdf_doc) | |
| Constructor. More... | |
| AccessibilityFixer (AccessibilityFixer other) | |
| Constructor, with another fixer object. More... | |
| bool | CanFixPermissionRules (RuleType check_rule, bool is_ocr_enabled) |
| Check whether permission rules can be fixed. More... | |
| bool | CanFixRules (RuleType check_rule, CheckState check_state) |
| Check whether specified rules can be fixed. More... | |
| bool | FixDocumentBookmark (WStringArray roles_array) |
| Fix document bookmark. More... | |
| bool | FixDocumentLanguage (string lang) |
| Fix document language. More... | |
| bool | FixDocumentPermission () |
| Fix document permission. More... | |
| bool | FixDocumentTag () |
| Fix document tag. More... | |
| bool | FixDocumentTitle (string title, string subject, string author, string keywords) |
| Fix document title. More... | |
| string | FixDocumentTitleWithExistingTitle () |
| Fix document title with existing title. More... | |
| bool | FixFigureAltText (AccessibilityCheckResultDetailDataArray detail_data_array) |
| Fix figure alternate text. More... | |
| bool | FixFormFieldDescriptions () |
| Fix form field descriptions. More... | |
| bool | FixFormFieldTagged () |
| Fix form field tagged. More... | |
| bool | FixPageTabOrder () |
| Fix page tab order. More... | |
| bool | IsEmpty () |
| Check whether current object is empty or not. More... | |
This class represents an accessibility fixer for a PDF document: query whether rules are fixable and apply automatic fixes (document language / title / bookmark / permission / tag, page tab order, figure alternate text, form field tagging and descriptions). Before using any class or methods in this module, please ensure Foxit PDF SDK has been initialized successfully by function common.Library.Initialize with a key including "Accessibility" module.
|
inline |
Constructor.
| [in] | pdf_doc | A valid PDF document object. |
|
inline |
Constructor, with another fixer object.
| [in] | other | Another fixer object. |
|
inline |
Check whether permission rules can be fixed.
| [in] | check_rule | The check rule type. |
| [in] | is_ocr_enabled | Whether OCR is enabled. |
|
inline |
Check whether specified rules can be fixed.
| [in] | check_rule | The check rule type. |
| [in] | check_state | The check state. |
|
inline |
Fix document bookmark.
| [in] | roles_array | The roles array. |
|
inline |
Fix document language.
| [in] | lang | The language to set. |
|
inline |
Fix document permission.
|
inline |
Fix document tag.
|
inline |
Fix document title.
| [in] | title | The title to set. |
| [in] | subject | The subject to set. |
| [in] | author | The author to set. |
| [in] | keywords | The keywords to set. |
|
inline |
Fix document title with existing title.
|
inline |
Fix figure alternate text.
| [in] | detail_data_array | The check result detail data array. |
|
inline |
Fix form field descriptions.
|
inline |
Fix form field tagged.
|
inline |
Fix page tab order.
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.