This structure is used by the IG_gui_save_pageinsert_dlg function, along with the AT_IGGUI_SAVEPAGE_INFO structure, to specify the saving parameters for the inserted page.
Declaration:
|
Copy Code
|
typedef struct tagAT_IGGUI_FORMAT_CB
{
LPVOID lpPrivate;
LPFNIGGUI_FORMAT_DETECT lpfnFormatDetect;
LPFNIGGUI_PAGE_COUNT_GET lpfnPageCountGet;
LPFNIGGUI_PAGE_INFO_GET lpfnPageInfoGet;
LPFNIGGUI_PAGE_LOAD lpfnPageLoad;
}AT_IGGUI_FORMAT_CB;
|
Members:
Name |
Type |
Description |
lpPrivate |
LPVOID |
A pointer to the private data to be used in the callbacks. Usually it's a file name to which the page will be inserted. |
lpfnFormatDetect |
LPFNIGGUI_FORMAT_DETECT |
A pointer to the callback function that implements file format detection routine. LpPrivate is a file name. |
lpfnPageCountGet |
LPFNIGGUI_PAGE_COUNT_GET |
A pointer to the callback function that calculates a number of pages in the file. LpPrivate is a file name. |
lpfnPageInfoGet |
LPFNIGGUI_PAGE_INFO_GET |
A pointer to the callback function that retrieves file information. LpPrivate is a file name. |
lpfnPageLoad |
LPFNIGGUI_PAGE_LOAD |
A pointer to the callback function that loads a file. LpPrivate is a file name. |