|
Foxit PDF SDK
|
Public Member Functions | |
| AddOrderDataForRect (page_index, rect) | |
| Add order data for selected rect. More... | |
| ApplyReadingOrder (page_index, selected_rect) | |
| Apply reading order to the specified page based on the given selected rectangle area(s). More... | |
| CanMoveDataOrder (page_index, select_info_array, dest_move_item) | |
| Check whether data order can be moved. More... | |
| CanSelectTableCellAtPoint (page, point) | |
| Check whether a table cell can be selected on mouse down at the given point. More... | |
| ClearPageStructInfo (page) | |
| Clear page structure info. More... | |
| constructor (pdf_doc) | |
| Constructor. More... | |
| DeleteOrderDataStructInfo (page, src_order_index_array, is_loaded) | |
| Delete order data structure info. More... | |
| DrawReadingOrderItems (page_index) | |
| Draw reading order items for a specified page. More... | |
| EndEditTable () | |
| End edit table. More... | |
| GenerateTableHeaderIDs () | |
| Generate table header IDs. More... | |
| GetAllLeafChildrenByContentItemID (content_tree, content_item_id) | |
| Get all leaf children by content item ID. More... | |
| GetContentTree () | |
| Get content tree. More... | |
| GetCurrentTableHeaderIDs () | |
| Get the array header ID of current table. More... | |
| GetReadingOrderTreeItems () | |
| Get reading order tree items. More... | |
| GetSelectedTableCellAttributes () | |
| Get selected table cell attributes. More... | |
| GetTableSummary (page) | |
| Get table summary. More... | |
| HasHeaderID (header_id) | |
| Check whether current table header ID is existing. More... | |
| HasMissingHeaderIDs () | |
| Check whether current table is missing header IDs. More... | |
| IsEditingTable () | |
| Check whether table editing has started. More... | |
| IsEmpty () | |
| Check whether current object is empty or not. More... | |
| MoveOrderData (page_index, src_order_index_array, dest_order_index) | |
| Move data order. More... | |
| RemoveOrderDataForRect (page_index, rect) | |
| Remove order data for selected rect. More... | |
| SelectTableAtPoint (page_index, point) | |
| Select the table at the specified point on a page, if any. More... | |
| SelectTableCellAtPoint (page, point, region_selected, appended) | |
| Select table cell by point on mouse up. More... | |
| SelectTableCellAtRect (page, rect, region_selected, appended) | |
| Select table cell by rect on mouse up. More... | |
| SetOrderTypeForSelectedContent (structure_type) | |
| Set order type for selected content. More... | |
| SetOrderTypeForSelectedTreeItems (structure_type, select_info_array) | |
| Set order type for selected tree items. More... | |
| SetReadingOrderOptions (options) | |
| Set reading order options. More... | |
| SetSelectedTableCellAttributes (cell_attribute, change_id_enabled, need_change_ids) | |
| Set selected table cell attributes. More... | |
| SetTableSummary (page, table_summary) | |
| Set table summary. More... | |
| StartEditTable (page) | |
| Start edit table. More... | |
| StartEditTableAtPoint (page, point) | |
| Start editing the table located at the specified point on a page, if any. More... | |
| SynchronizeTable () | |
| Synchronize table. More... | |
Static Public Attributes | |
| static | e_StructureTypeBackgroundOrArtifact |
| Structure type: background or artifact. | |
| static | e_StructureTypeCaption |
| Structure type: caption. | |
| static | e_StructureTypeCell |
| Structure type: cell. | |
| static | e_StructureTypeFigure |
| Structure type: figure. | |
| static | e_StructureTypeFigureOrCaption |
| Structure type: figure or caption. | |
| static | e_StructureTypeFormfield |
| Structure type: form field. | |
| static | e_StructureTypeFormula |
| Structure type: formula. | |
| static | e_StructureTypeH1 |
| Structure type: H1. | |
| static | e_StructureTypeH2 |
| Structure type: H2. | |
| static | e_StructureTypeH3 |
| Structure type: H3. | |
| static | e_StructureTypeH4 |
| Structure type: H4. | |
| static | e_StructureTypeH5 |
| Structure type: H5. | |
| static | e_StructureTypeH6 |
| Structure type: H6. | |
| static | e_StructureTypeNote |
| Structure type: note. | |
| static | e_StructureTypeReference |
| Structure type: reference. | |
| static | e_StructureTypeTable |
| Structure type: table. | |
| static | e_StructureTypeText |
| Enumeration for structure type of reading order. More... | |
| static | e_TableSelectResultNone |
| Enumeration for table select result. More... | |
| static | e_TableSelectResultNoTableExist |
| Table select result : no table exist. | |
| static | e_TableSelectResultNotInTable |
| Table select result : not in table. | |
| static | e_TableSelectResultNotSamePage |
| Table select result : not same page. | |
| static | e_TableSelectResultNotStarted |
| Table select result : not started. | |
This class represents a reading order for PDF document accessibility reading order operations. Before using any class or methods in this module, please ensure Foxit PDF SDK has been initialized successfully by function FSDK.Library.Initialize with a key including "Accessibility" module.
|
inline |
Add order data for selected rect.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | rect | The selected rect. |
|
inline |
Apply reading order to the specified page based on the given selected rectangle area(s).
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | selected_rect | The array of selected rects which define the area(s) to be used for applying reading order. |
|
inline |
Check whether data order can be moved.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | select_info_array | The selected info array. |
| [in] | dest_move_item | The destination move item. |
|
inline |
Check whether a table cell can be selected on mouse down at the given point.
| [in] | page | A PDF page object. |
| [in] | point | The point, in the PDF coordinate system (PDFPage). |
|
inline |
Clear page structure info.
| [in] | page | The PDF page object. |
|
inline |
Constructor.
| [in] | pdf_doc | A valid PDF document object. |
|
inline |
Delete order data structure info.
| [in] | page | The PDF page object. |
| [in] | src_order_index_array | The source order index array. |
| [in] | is_loaded | Whether the page is loaded. |
|
inline |
Draw reading order items for a specified page.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
|
inline |
End edit table.
|
inline |
Generate table header IDs.
|
inline |
Get all leaf children by content item ID.
| [in] | content_tree | The content tree. |
| [in] | content_item_id | The content item ID. |
|
inline |
Get content tree.
|
inline |
Get the array header ID of current table.
|
inline |
Get reading order tree items.
|
inline |
Get selected table cell attributes.
|
inline |
Get table summary.
| [in] | page | The PDF page object. |
|
inline |
Check whether current table header ID is existing.
| [in] | header_id | The header ID to check. |
|
inline |
Check whether current table is missing header IDs.
|
inline |
Check whether table editing has started.
|
inline |
Check whether current object is empty or not.
|
inline |
Move data order.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | src_order_index_array | The source order index array. |
| [in] | dest_order_index | The destination order index. |
|
inline |
Remove order data for selected rect.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | rect | The selected rect. |
|
inline |
Select the table at the specified point on a page, if any.
| [in] | page_index | The page index. Valid range: from 0 to (count-1). count is returned by function FSDK.PDFDoc.GetPageCount. |
| [in] | point | The point used to locate the table, in PDF page coordinate system. |
|
inline |
Select table cell by point on mouse up.
| [in] | page | A PDF page object. |
| [in] | point | The point. |
| [out] | region_selected | The selected region array. |
| [in] | appended | Whether to append the selection. |
|
inline |
Select table cell by rect on mouse up.
| [in] | page | A PDF page object. |
| [in] | rect | The rectangular area . |
| [out] | region_selected | The selected region array. |
| [in] | appended | Whether to append the selection. |
|
inline |
Set order type for selected content.
| [in] | structure_type | The structure type. Please refer to values starting from FSDK.e_StructureTypeText and this should be one of these values. |
|
inline |
Set order type for selected tree items.
| [in] | structure_type | The structure type. Please refer value FSDK.StructureType. |
| [in] | select_info_array | The selected info array. |
|
inline |
Set reading order options.
| [in] | options | The reading order options. Please refer to FSDK.ReadingOrderOptions. |
|
inline |
Set selected table cell attributes.
| [in] | cell_attribute | The cell attribute to set. |
| [in] | change_id_enabled | Whether to enable changing Id. |
| [in] | need_change_ids | Whether to change IDs. |
|
inline |
Set table summary.
| [in] | page | The PDF page object. |
| [in] | table_summary | The table summary text. |
|
inline |
Start edit table.
| [in] | page | The PDF page object. |
|
inline |
Start editing the table located at the specified point on a page, if any.
| [in] | page | The PDF page object. |
| [in] | point | The point used to locate the table to be edited, in the PDF coordinate system (PDFPage). |
|
inline |
Synchronize table.
|
static |
Enumeration for structure type of reading order.
Values of this enumeration should be used alone.Structure type: text.
|
static |
Enumeration for table select result.
Values of this enumeration should be used alone.Table select result : none.