Foxit PDF SDK
com.foxit.sdk.addon.accessibility.SelectItemInfo Class Reference

Public Member Functions

 SelectItemInfo ()
 Constructor.
More...
 
 SelectItemInfo (int page_index, int order_index, RectF rect)
 Constructor.
More...
 
 SelectItemInfo (SelectItemInfo other)
 Constructor, with another reading order select item info object.
More...
 
synchronized void delete ()
 Clean up related C++ resources immediately. More...
 
int getOrder_index ()
 Get the order index of selected item. More...
 
int getPage_index ()
 Get the page index of selected item. More...
 
RectF getRect ()
 Get the rectangular coordinates of the selected item on the PDF page. More...
 
void set (int page_index, int order_index, RectF rect)
 Set value.
More...
 
void setOrder_index (int value)
 Set the order index of selected item. More...
 
void setPage_index (int value)
 Set the page index of selected item. More...
 
void setRect (RectF value)
 Set the rectangular coordinates of the selected item on the PDF page. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SelectItemInfo() [1/3]

com.foxit.sdk.addon.accessibility.SelectItemInfo.SelectItemInfo ( )

Constructor.

Returns
None.

◆ SelectItemInfo() [2/3]

com.foxit.sdk.addon.accessibility.SelectItemInfo.SelectItemInfo ( int  page_index,
int  order_index,
RectF  rect 
)

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]

com.foxit.sdk.addon.accessibility.SelectItemInfo.SelectItemInfo ( SelectItemInfo  other)

Constructor, with another reading order select item info object.

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

Member Function Documentation

◆ delete()

synchronized void com.foxit.sdk.addon.accessibility.SelectItemInfo.delete ( )

Clean up related C++ resources immediately.

Returns
None.
Note
Once this function is called, current object cannot be used anymore.

◆ getOrder_index()

com.foxit.sdk.addon.accessibility.SelectItemInfo.getOrder_index ( )

Get the order index of selected item.

Returns
The order index of selected item.

◆ getPage_index()

com.foxit.sdk.addon.accessibility.SelectItemInfo.getPage_index ( )

Get the page index of selected item.

Returns
The page index of selected item. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.getPageCount .

◆ getRect()

com.foxit.sdk.addon.accessibility.SelectItemInfo.getRect ( )

Get the rectangular coordinates of the selected item on the PDF page.

Returns
The rectangular coordinates of the selected item on the PDF page.

◆ set()

void com.foxit.sdk.addon.accessibility.SelectItemInfo.set ( int  page_index,
int  order_index,
RectF  rect 
)

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.

◆ setOrder_index()

com.foxit.sdk.addon.accessibility.SelectItemInfo.setOrder_index ( int  value)

Set the order index of selected item.

Parameters
[in]valueThe order index of selected item.
Returns
None.

◆ setPage_index()

com.foxit.sdk.addon.accessibility.SelectItemInfo.setPage_index ( int  value)

Set the page index of selected item.

Parameters
[in]valueThe page index of selected item. Valid range: from 0 to (count-1). count is returned by function pdf.PDFDoc.getPageCount .
Returns
None.

◆ setRect()

com.foxit.sdk.addon.accessibility.SelectItemInfo.setRect ( RectF  value)

Set the rectangular coordinates of the selected item on the PDF page.

Parameters
[in]valueThe rectangular coordinates of the selected item on the PDF page.
Returns
None.