|
Foxit PDF SDK
|
Public 成员函数 | |
| TreeItemInfo () | |
| 构造函数。 更多... | |
| TreeItemInfo (int type, int order_index, int page_index, String text, RectF rect) | |
| 构造函数。 更多... | |
| TreeItemInfo (TreeItemInfo other) | |
| 构造函数,使用另一个阅读顺序树项信息对象。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getOrder_index () |
| Get 项的顺序索引,从 0 开始。 更多... | |
| int | getPage_index () |
| Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。 更多... | |
| RectF | getRect () |
| Get 页面内容项的矩形区域。 更多... | |
| String | getText () |
| Get 项文本,用于在 UI 中显示。 更多... | |
| int | getType () |
| Get 项内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。 更多... | |
| void | set (int type, int order_index, int page_index, String text, RectF rect) |
| 设置值。 更多... | |
| void | setOrder_index (int value) |
| Set 项的顺序索引,从 0 开始。 更多... | |
| void | setPage_index (int value) |
| Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。 更多... | |
| void | setRect (RectF value) |
| Set 页面内容项的矩形区域。 更多... | |
| void | setText (String value) |
| Set 项文本,用于在 UI 中显示。 更多... | |
| void | setType (int value) |
| Set 项内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。 更多... | |
此类表示用于阅读顺序树项信息的数据。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.TreeItemInfo | ( | ) |
构造函数。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.TreeItemInfo | ( | int | type, |
| int | order_index, | ||
| int | page_index, | ||
| String | text, | ||
| RectF | rect | ||
| ) |
构造函数。
| [in] | type | 内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。 |
| [in] | order_index | 顺序索引。 |
| [in] | page_index | 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。 |
| [in] | text | 项文本。 |
| [in] | rect | 矩形。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.TreeItemInfo | ( | TreeItemInfo | other | ) |
构造函数,使用另一个阅读顺序树项信息对象。
| [in] | other | 另一个阅读顺序树项信息对象。 |
| synchronized void com.foxit.sdk.addon.accessibility.TreeItemInfo.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.getOrder_index | ( | ) |
Get 项的顺序索引,从 0 开始。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.getPage_index | ( | ) |
Get 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.getRect | ( | ) |
Get 页面内容项的矩形区域。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.getText | ( | ) |
Get 项文本,用于在 UI 中显示。
| com.foxit.sdk.addon.accessibility.TreeItemInfo.getType | ( | ) |
Get 项内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。
| void com.foxit.sdk.addon.accessibility.TreeItemInfo.set | ( | int | type, |
| int | order_index, | ||
| int | page_index, | ||
| String | text, | ||
| RectF | rect | ||
| ) |
设置值。
| [in] | type | 内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。 |
| [in] | order_index | 顺序索引。 |
| [in] | page_index | 页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。 |
| [in] | text | 项文本。 |
| [in] | rect | 矩形。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.setOrder_index | ( | int | value | ) |
Set 项的顺序索引,从 0 开始。
| [in] | value | 项的顺序索引,从 0 开始。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.setPage_index | ( | int | value | ) |
Set 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。
| [in] | value | 选中项的页面索引。有效取值范围为 0 到 (count - 1),其中 count 为函数 pdf.PDFDoc.getPageCount 返回的页面总数。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.setRect | ( | RectF | value | ) |
Set 页面内容项的矩形区域。
| [in] | value | 页面内容项的矩形区域。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.setText | ( | String | value | ) |
Set 项文本,用于在 UI 中显示。
| [in] | value | 项文本,用于在 UI 中显示。 |
| com.foxit.sdk.addon.accessibility.TreeItemInfo.setType | ( | int | value | ) |
Set 项内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。
| [in] | value | 项内容类型。请参见从 foxit::addon::accessibility::e_ContentTypeUnknown 开始的值。 |