|
Foxit PDF SDK
|
Inherits <NSObject>.
Instance Methods | |
| (void) | - drawLine:page_index:type:line_info_array: |
| A callback function used to draw lines for accessibility visualization. More... | |
| (void) | - drawRect:page_index:type:rect_info_array: |
| A callback function used to draw rectangles for accessibility visualization. More... | |
| (void) | - drawText:page_index:type:text_info_array: |
| A callback function used to draw text for accessibility visualization. More... | |
| (BOOL) | - generateContent:page_index: |
| A callback function used to generate content for a specified page. More... | |
| (NSString *) | - getDocumentFileName: |
| A callback function used to get the document file name. More... | |
| (NSString *) | - getTextStringByStringID: |
| A callback function used to get text string by string ID. More... | |
| (void) | - onContentChanged:page_index:is_notify_self: |
| A callback function used to notify that content has changed on a specified page. More... | |
This class represents an accessibility provider callback used to generate content and draw accessibility visualizations. All the pure virtual functions in this class are used as callback functions and should be implemented by user.
|
required |
A callback function used to draw lines for accessibility visualization.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
| [in] | type | The draw rect type. |
| [in] | line_info_array | The array of accessibility line info objects. |
|
required |
A callback function used to draw rectangles for accessibility visualization.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
| [in] | type | The draw rect type. Please refer to values starting from FSAccessibilityProviderCallbackDrawRectTypeContent and this would be one of these values. |
| [in] | rect_info_array | The array of accessibility rect info objects. |
|
required |
A callback function used to draw text for accessibility visualization.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
| [in] | type | The draw rect type. |
| [in] | text_info_array | The array of accessibility text info objects. |
|
required |
A callback function used to generate content for a specified page.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
|
required |
A callback function used to get the document file name.
| [in] | pdf_doc | The PDF document object. |
|
required |
A callback function used to get text string by string ID.
| [in] | string_id | The string ID. |
|
required |
A callback function used to notify that content has changed on a specified page.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
| [in] | is_notify_self | Whether to notify self. |