|
Foxit PDF SDK
|
Public Member Functions | |
| ReadingOrder (PDFDoc pdf_doc) | |
| Constructor. More... | |
| ReadingOrder (ReadingOrder other) | |
| Constructor, with another reading order object. More... | |
| RectFArray | AddOrderDataForRect (int page_index, RectF rect) |
| Add order data for selected rect. More... | |
| bool | ApplyReadingOrder (int page_index, RectFArray selected_rect) |
| Apply reading order to the specified page based on the given selected rectangle area(s). More... | |
| bool | CanMoveDataOrder (int page_index, TreeItemInfoArray select_info_array, TreeItemInfo dest_move_item) |
| Check whether data order can be moved. More... | |
| ReadingOrder.TableSelectResult | CanSelectTableCellAtPoint (PDFPage page, PointF point) |
| Check whether a table cell can be selected on mouse down at the given point. More... | |
| void | ClearPageStructInfo (PDFPage page) |
| Clear page structure info. More... | |
| int | DeleteOrderDataStructInfo (PDFPage page, Int32Array src_order_index_array, bool is_loaded) |
| Delete order data structure info. More... | |
| bool | DrawReadingOrderItems (int page_index) |
| Draw reading order items for a specified page. More... | |
| bool | EndEditTable () |
| End edit table. More... | |
| bool | GenerateTableHeaderIDs () |
| Generate table header IDs. More... | |
| StringArray | GetAllLeafChildrenByContentItemID (ContentTreeItemArray content_tree, string content_item_id) |
| Get all leaf children by content item ID. More... | |
| ContentTreeItemArray | GetContentTree () |
| Get content tree. More... | |
| WStringArray | GetCurrentTableHeaderIDs () |
| Get the array header ID of current table. More... | |
| TreeItemArray | GetReadingOrderTreeItems () |
| Get reading order tree items. More... | |
| TableCellAttributeArray | GetSelectedTableCellAttributes () |
| Get selected table cell attributes. More... | |
| string | GetTableSummary (PDFPage page) |
| Get table summary. More... | |
| bool | HasHeaderID (string header_id) |
| Check whether current table header ID is existing. More... | |
| bool | HasMissingHeaderIDs () |
| Check whether current table is missing header IDs. More... | |
| bool | IsEditingTable () |
| Check whether table editing has started. More... | |
| bool | IsEmpty () |
| Check whether current object is empty or not. More... | |
| int | MoveOrderData (int page_index, Int32Array src_order_index_array, int dest_order_index) |
| Move data order. More... | |
| RectFArray | RemoveOrderDataForRect (int page_index, RectF rect) |
| Remove order data for selected rect. More... | |
| bool | SelectTableAtPoint (int page_index, PointF point) |
| Select the table at the specified point on a page, if any. More... | |
| ReadingOrder.TableSelectResult | SelectTableCellAtPoint (PDFPage page, PointF point, RectFArray region_selected, bool appended) |
| Select table cell by point on mouse up. More... | |
| ReadingOrder.TableSelectResult | SelectTableCellAtRect (PDFPage page, RectF rect, RectFArray region_selected, bool appended) |
| Select table cell by rect on mouse up. More... | |
| bool | SetOrderTypeForSelectedContent (ReadingOrder.StructureType structure_type) |
| Set order type for selected content. More... | |
| bool | SetOrderTypeForSelectedTreeItems (ReadingOrder.StructureType structure_type, TreeItemInfoArray select_info_array) |
| Set order type for selected tree items. More... | |
| void | SetReadingOrderOptions (ReadingOrderOptions options) |
| Set reading order options. More... | |
| bool | SetSelectedTableCellAttributes (TableCellAttribute cell_attribute, bool change_id_enabled, bool need_change_ids) |
| Set selected table cell attributes. More... | |
| bool | SetTableSummary (PDFPage page, string table_summary) |
| Set table summary. More... | |
| bool | StartEditTable (PDFPage page) |
| Start edit table. More... | |
| bool | StartEditTableAtPoint (PDFPage page, PointF point) |
| Start editing the table located at the specified point on a page, if any. More... | |
| void | SynchronizeTable () |
| Synchronize table. More... | |
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 common.Library.Initialize with a key including "Accessibility" module.
Enumeration for structure type of reading order.
Values of this enumeration should be used alone.
Enumeration for table select result.
Values of this enumeration should be used alone.
|
inline |
Constructor.
| [in] | pdf_doc | A valid PDF document object. |
|
inline |
Constructor, with another reading order object.
| [in] | other | Another reading order object. |
|
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 pdf.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 pdf.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 pdf.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 |
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 pdf.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 pdf.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 pdf.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 pdf.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 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 . |
| [in] | select_info_array | The selected info array. |
|
inline |
Set reading order options.
| [in] | options | The reading order options. Please refer to 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.