|
Foxit PDF SDK
|
Inherits Object.
Public Member Functions | |
| TreeItemInfo () | |
| Constructor. | |
| TreeItemInfo (ContentType type, int order_index, int page_index, const wchar_t *text, foxit::RectF rect) | |
| Constructor. More... | |
| TreeItemInfo (const TreeItemInfo &other) | |
| Constructor, with another reading order tree item info object. More... | |
| TreeItemInfo & | operator= (const TreeItemInfo &other) |
| Assign operator. More... | |
| void | Set (ContentType type, int order_index, int page_index, const wchar_t *text, foxit::RectF rect) |
| Set value. More... | |
Public Attributes | |
| int | order_index |
| The order index of item, beginning from 0. | |
| int | page_index |
| The page index of selected item. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount. | |
| foxit::RectF | rect |
| The rect of page content item. | |
| WString | text |
| The text of item, shown in UI. | |
| ContentType | type |
| The type of item content. Please refer to values starting from foxit::addon::accessibility::e_ContentTypeUnknown and this should be one of these values. | |
This class represents data used for reading order tree item info.
|
inline |
Constructor.
| [in] | type | The content type. Please refer to values starting from foxit::addon::accessibility::e_ContentTypeUnknown and this should be one of these values. |
| [in] | order_index | The order index. |
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount. |
| [in] | text | The item text. |
| [in] | rect | The rectangle. |
|
inline |
Constructor, with another reading order tree item info object.
| [in] | other | Another reading order tree item info object. |
|
inline |
Assign operator.
| [in] | other | Another reading order tree item info object, whose value would be assigned to current object. |
|
inline |
Set value.
| [in] | type | The content type. Please refer to values starting from foxit::addon::accessibility::e_ContentTypeUnknown and this should be one of these values. |
| [in] | order_index | The order index. |
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount. |
| [in] | text | The item text. |
| [in] | rect | The rectangle. |