|
Foxit PDF SDK
|
Inherits Object.
Public Types | |
| enum | TagImageType { e_TagImageTypePDF = 0, e_TagImageTypePageObject = 1, e_TagImageTypeTagParagraph = 2, e_TagImageTypeTagSection = 3, e_TagImageTypeTable = 4, e_TagImageTypeTableDataCell = 5, e_TagImageTypeTableHeaderCell = 6, e_TagImageTypeTableRow = 7, e_TagImageTypeTagNode = 8 } |
| Enumeration for tag image type. More... | |
| enum | TagNodeType { e_TagNodeTypeElement = 0, e_TagNodeTypeMarkedContentSeq = 1, e_TagNodeTypeObject = 2 } |
| Enumeration for tag node type. More... | |
Public Member Functions | |
| TagTreeItemData () | |
| Constructor. | |
| TagTreeItemData (const wchar_t *item_name, const char *item_id, const char *item_pos, RectFArray item_rects, int page_index, TagImageType item_image_type, TagNodeType item_node_type) | |
| Constructor, with parameters. More... | |
| TagTreeItemData (const TagTreeItemData &other) | |
| Constructor, with another accessibility tag tree item data object. More... | |
| TagTreeItemData & | operator= (const TagTreeItemData &other) |
| Assign operator. More... | |
| void | Set (const wchar_t *item_name, const char *item_id, const char *item_pos, RectFArray item_rects, int page_index, TagImageType item_image_type, TagNodeType item_node_type) |
| Set value. More... | |
Public Attributes | |
| String | item_id |
| The unique identifier of the tag tree item. | |
| TagImageType | item_image_type |
| The image type used to represent this tag tree item. Please refer to values starting from TagTreeItemData::e_TagImageTypePDF. | |
| WString | item_name |
| The display name of the tag tree item. | |
| TagNodeType | item_node_type |
| The node type of this tag tree item. Please refer to values starting from TagTreeItemData::e_TagNodeTypeElement. | |
| String | item_pos |
| The position descriptor of the tag tree item. | |
| RectFArray | item_rects |
| The rectangles associated with this tag tree item. | |
| int | page_index |
| The page index where this tag tree item is located. Valid range: from 0 to (count-1), where count is returned by function pdf::PDFDoc::GetPageCount. | |
This class represents accessibility tag tree item data.
Enumeration for tag image type.
Values of this enumeration should be used alone.
|
inline |
Constructor, with parameters.
| [in] | item_name | The display name of the tag tree item. |
| [in] | item_id | The unique identifier of the tag tree item. |
| [in] | item_pos | The position descriptor of the tag tree item. |
| [in] | item_rects | The rectangles associated with this tag tree item. |
| [in] | page_index | The page index where this tag tree item is located. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount. |
| [in] | item_image_type | The image type used to represent this tag tree item. |
| [in] | item_node_type | The node type of this tag tree item. |
|
inline |
Constructor, with another accessibility tag tree item data object.
| [in] | other | Another accessibility tag tree item data object whose values are copied to initialize the current object. |
|
inline |
Assign operator.
| [in] | other | Another accessibility tag tree item data object whose values are assigned to the current object. |
|
inline |
Set value.
| [in] | item_name | The display name of the tag tree item. |
| [in] | item_id | The unique identifier of the tag tree item. |
| [in] | item_pos | The position descriptor of the tag tree item. |
| [in] | item_rects | The rectangles associated with this tag tree item. |
| [in] | page_index | The page index where this tag tree item is located. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount. |
| [in] | item_image_type | The image type used to represent this tag tree item. |
| [in] | item_node_type | The node type of this tag tree item. |