|
Foxit PDF SDK
|
Inherits SystemIDisposable.
Public Member Functions | |
| virtual void | DrawLine (PDFDoc pdf_doc, int page_index, AccessibilityProviderCallback.DrawRectType type, AccessibilityLineInfoArray line_info_array) |
| A callback function used to draw lines for accessibility visualization. More... | |
| virtual void | DrawRect (PDFDoc pdf_doc, int page_index, AccessibilityProviderCallback.DrawRectType type, AccessibilityRectInfoArray rect_info_array) |
| A callback function used to draw rectangles for accessibility visualization. More... | |
| virtual void | DrawText (PDFDoc pdf_doc, int page_index, AccessibilityProviderCallback.DrawRectType type, AccessibilityTextInfoArray text_info_array) |
| A callback function used to draw text for accessibility visualization. More... | |
| virtual bool | GenerateContent (PDFDoc pdf_doc, int page_index) |
| A callback function used to generate content for a specified page. More... | |
| virtual string | GetDocumentFileName (PDFDoc pdf_doc) |
| A callback function used to get the document file name. More... | |
| virtual string | GetTextStringByStringID (string string_id) |
| A callback function used to get text string by string ID. More... | |
| virtual void | OnContentChanged (PDFDoc pdf_doc, int page_index, bool is_notify_self) |
| A callback function used to notify that content has changed on a specified page. More... | |
| virtual void | Release () |
| A callback function used to release current callback object itself. More... | |
This class represents a render provider for accessibility, used to generate content and draw visual elements.
All the pure virtual functions in this class are used as callback functions and should be implemented by user in derived class. The render provider is shared between the accessibility classes and ReadingOrderEditor, providing rendering capabilities for accessibility visual feedback.
Enumeration for draw rect type.
This enumeration is used by AccessibilityProviderCallback to specify the type of drawing rectangle. Values of this enumeration should be used alone.
|
inlinevirtual |
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. Please refer to values starting from foxit.addon.accessibility.AccessibilityProviderCallback.DrawRectType.e_DrawRectTypeContent and this should be one of these values.. |
| [in] | line_info_array | The array of accessibility line info objects. |
|
inlinevirtual |
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 foxit.addon.accessibility.AccessibilityProviderCallback.DrawRectType.e_DrawRectTypeContent and this should be one of these values.. |
| [in] | rect_info_array | The array of accessibility rect info objects. |
|
inlinevirtual |
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. Please refer to values starting from foxit.addon.accessibility.AccessibilityProviderCallback.DrawRectType.e_DrawRectTypeContent and this should be one of these values.. |
| [in] | text_info_array | The array of accessibility text info objects. |
|
inlinevirtual |
A callback function used to generate content for a specified page.
| [in] | pdf_doc | The PDF document object. |
| [in] | page_index | The page index. |
|
inlinevirtual |
A callback function used to get the document file name.
| [in] | pdf_doc | The PDF document object. |
|
inlinevirtual |
A callback function used to get text string by string ID.
| [in] | string_id | The string ID. |
|
inlinevirtual |
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. |
|
inlinevirtual |
A callback function used to release current callback object itself.