Foxit PDF SDK
foxit::addon::tablegenerator::TableGeneratorCallback Class Referenceabstract

Public Member Functions

virtual float GetTableTopMarginToPage (int page_index)=0
 A callback function to get the top margin of the table to be generated to a new page. More...
 
virtual void Release ()=0
 A callback function used to release current callback object itself. More...
 

Detailed Description

This class represents a callback object for generating table. All the pure virtual functions in this class are used as callback functions and should be implemented by user.

Member Function Documentation

◆ GetTableTopMarginToPage()

virtual float foxit::addon::tablegenerator::TableGeneratorCallback::GetTableTopMarginToPage ( int  page_index)
pure virtual

A callback function to get the top margin of the table to be generated to a new page.

Parameters
[in]page_indexThe page index. It would start from 0.
Returns
The table top margin to page.

◆ Release()

virtual void foxit::addon::tablegenerator::TableGeneratorCallback::Release ( )
pure virtual

A callback function used to release current callback object itself.

Returns
None.