Foxit PDF SDK
foxit::addon::accessibility::SelectItemInfo Class Reference

Inherits Object.

Public Member Functions

 SelectItemInfo ()
 Constructor. More...
 
 SelectItemInfo (const SelectItemInfo &other)
 Constructor, with another reading order select item info object. More...
 
 SelectItemInfo (int page_index, int order_index, const foxit::RectF &rect)
 Constructor. More...
 
SelectItemInfo & operator= (const SelectItemInfo &other)
 Assign operator. More...
 
void Set (int page_index, int order_index, const foxit::RectF &rect)
 Set value. More...
 

Public Attributes

int order_index
 The order index of selected item.
 
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 rectangular coordinates of the selected item on the PDF page.
 

Detailed Description

This class represents data used for reading order select item info.

Constructor & Destructor Documentation

◆ SelectItemInfo() [1/3]

foxit::addon::accessibility::SelectItemInfo::SelectItemInfo ( )
inline

Constructor.

Parameters
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount.
[in]order_indexThe order index.
[in]rectThe rectangular coordinates of the selected element object on the PDF page.
Returns
None.

◆ SelectItemInfo() [2/3]

foxit::addon::accessibility::SelectItemInfo::SelectItemInfo ( int  page_index,
int  order_index,
const foxit::RectF &  rect 
)
inline

Constructor.

Parameters
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount.
[in]order_indexThe order index.
[in]rectThe rectangular coordinates of the selected element object on the PDF page.
Returns
None.

◆ SelectItemInfo() [3/3]

foxit::addon::accessibility::SelectItemInfo::SelectItemInfo ( const SelectItemInfo &  other)
inline

Constructor, with another reading order select item info object.

Parameters
[in]otherAnother reading order select item info object.

Member Function Documentation

◆ operator=()

SelectItemInfo& foxit::addon::accessibility::SelectItemInfo::operator= ( const SelectItemInfo &  other)
inline

Assign operator.

Parameters
[in]otherAnother reading order select item info object, whose value would be assigned to current object.
Returns
Reference to current object itself.

◆ Set()

void foxit::addon::accessibility::SelectItemInfo::Set ( int  page_index,
int  order_index,
const foxit::RectF &  rect 
)
inline

Set value.

Parameters
[in]page_indexThe page index. Valid range: from 0 to (count-1). count is returned by function pdf::PDFDoc::GetPageCount.
[in]order_indexThe order index.
[in]rectThe rectangular coordinates of the selected element object on the PDF page.
Returns
None.