|
Foxit PDF SDK
|
Public Types | |
| enum | FinderType { FinderType.e_FinderTypeInvalid = 0, FinderType.e_FinderTypeArtifacts = 1, FinderType.e_FinderTypeUnmarkedComments = 2, FinderType.e_FinderTypeUnmarkedLinks = 3, FinderType.e_FinderTypeUnmarkedAnnots = 4, FinderType.e_FinderTypeUnmarkedContent = 5, FinderType.e_FinderTypeOcrSuspects = 6 } |
| Enumeration for finder type. More... | |
Public Member Functions | |
| AccessibilityNavigator (PDFDoc pdf_doc) | |
| Constructor. More... | |
| AccessibilityNavigator (AccessibilityNavigator other) | |
| Constructor, with another navigator object. More... | |
| AccessibilityFindResult | FindNextElement (int page_index, AccessibilityNavigator.FinderType find_type, bool is_search_page) |
| Find next element. More... | |
| bool | IsEmpty () |
| Check whether current object is empty or not. More... | |
| void | StartFindNextElement () |
| Start to find next element. More... | |
| void | StopFindNextElement () |
| Stop finding next element. More... | |
This class lets user walk through the accessible elements of a PDF document one by one, used to drive "find next element" navigation in an accessibility checking / fixing UI. 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.
Enumeration for finder type.
Values of this enumeration should be used alone.
|
inline |
Constructor.
| [in] | pdf_doc | A valid PDF document object. |
|
inline |
Constructor, with another navigator object.
| [in] | other | Another navigator object. |
|
inline |
Find next element.
| [in] | page_index | The page index. |
| [in] | find_type | The finder type. Please refer to values starting from foxit.addon.accessibility.AccessibilityNavigator.FinderType.e_FinderTypeInvalid and this should be one of these values. |
| [in] | is_search_page | Whether to search page. |
|
inline |
Check whether current object is empty or not.
When the current object is empty, that means current object is useless.
|
inline |
Start to find next element.
|
inline |
Stop finding next element.