|
Foxit PDF SDK
|
Instance Methods | |
| (BOOL) | - canFixPermissionRules:is_ocr_enabled: |
| Check whether permission rules can be fixed. More... | |
| (BOOL) | - canFixRules:check_state: |
| Check whether specified rules can be fixed. More... | |
| (BOOL) | - fixDocumentBookmark: |
| Fix document bookmark. More... | |
| (BOOL) | - fixDocumentLanguage: |
| Fix document language. More... | |
| (BOOL) | - fixDocumentPermission |
| Fix document permission. More... | |
| (BOOL) | - fixDocumentTag |
| Fix document tag. More... | |
| (BOOL) | - fixDocumentTitle:subject:author:keywords: |
| Fix document title. More... | |
| (NSString *) | - fixDocumentTitleWithExistingTitle |
| Fix document title with existing title. More... | |
| (BOOL) | - fixFigureAltText: |
| 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... | |
| (id) | - initWithOther: |
| Constructor, with another fixer object. More... | |
| (id) | - initWithPdf_doc: |
| Constructor. 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 FSLibrary::initialize:key: with a key including "Accessibility" module.
| - (BOOL) canFixPermissionRules: | (FSRuleType) | check_rule | |
| is_ocr_enabled: | (BOOL) | is_ocr_enabled | |
Check whether permission rules can be fixed.
| [in] | check_rule | The check rule type. |
| [in] | is_ocr_enabled | Whether OCR is enabled. |
| - (BOOL) canFixRules: | (FSRuleType) | check_rule | |
| check_state: | (FSCheckState) | check_state | |
Check whether specified rules can be fixed.
| [in] | check_rule | The check rule type. |
| [in] | check_state | The check state. |
| - (BOOL) fixDocumentBookmark: | (NSArray<NSString *> *) | roles_array |
Fix document bookmark.
| [in] | roles_array | The roles array. |
| - (BOOL) fixDocumentLanguage: | (NSString *) | lang |
Fix document language.
| [in] | lang | The language to set. |
| - (BOOL) fixDocumentPermission |
Fix document permission.
| - (BOOL) fixDocumentTag |
Fix document tag.
| - (BOOL) fixDocumentTitle: | (NSString *) | title | |
| subject: | (NSString *) | subject | |
| author: | (NSString *) | author | |
| keywords: | (NSString *) | keywords | |
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. |
| - (NSString *) fixDocumentTitleWithExistingTitle |
Fix document title with existing title.
| - (BOOL) fixFigureAltText: | (FSAccessibilityCheckResultDetailDataArray*) | detail_data_array |
Fix figure alternate text.
| [in] | detail_data_array | The check result detail data array. |
| - (BOOL) fixFormFieldDescriptions |
Fix form field descriptions.
| - (BOOL) fixFormFieldTagged |
Fix form field tagged.
| - (BOOL) fixPageTabOrder |
Fix page tab order.
| - (id) initWithOther: | (FSAccessibilityFixer*) | other |
Constructor, with another fixer object.
| [in] | other | Another fixer object. |
| - (id) initWithPdf_doc: | (FSPDFDoc*) | pdf_doc |
Constructor.
| [in] | pdf_doc | A valid PDF document object. |
| - (BOOL) isEmpty |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.