26 #ifndef _FSPDF_PAGE_R_H_ 27 #define _FSPDF_PAGE_R_H_ 91 #ifndef _FSPDF_DEF_MACRO_PAGEPARSEFLAG_ 92 #define _FSPDF_DEF_MACRO_PAGEPARSEFLAG_ 100 #define FSPDF_PAGEPARSEFLAG_NORMAL 0 102 #define FSPDF_PAGEPARSEFLAG_TEXTONLY 1 569 #ifndef _FSPDF_DEF_MACRO_PAGEMARGIN_ 570 #define _FSPDF_DEF_MACRO_PAGEMARGIN_ 580 #define FSPDF_PAGEMARGIN_CONTENTSBBOX 0 582 #define FSPDF_PAGEMARGIN_DETECTION 1 642 #ifndef _FSPDF_DEF_MACRO_PAGERENDERFLAG_ 643 #define _FSPDF_DEF_MACRO_PAGERENDERFLAG_ 651 #define FSPDF_PAGERENDERFLAG_NORMAL 0 653 #define FSPDF_PAGERENDERFLAG_QUICKDRAW 1 696 FSCRT_PAGE page,
FS_INT32 flag, FSCRT_PROGRESS* renderProgress);
FS_RESULT FSPDF_Page_GetDict(FSCRT_PAGE page, FSPDF_OBJECT *dictionary)
Get the PDF page dictionary object.
FS_RESULT FSPDF_Page_CountActions(FSCRT_PAGE page, FS_INT32 trigger, FS_INT32 *count)
Count trigger actions of a PDF page.
FS_RESULT FSPDF_Page_GetSize(FSCRT_PAGE page, FS_FLOAT *width, FS_FLOAT *height)
Get page size.
Structure for rectangle, in float.
Definition: fs_base_r.h:2078
float FS_FLOAT
32-bit floating-point number, single precision.
Definition: fs_base_r.h:148
Structure for rectangle, in integer.
Definition: fs_base_r.h:2056
FS_RESULT FSPDF_Page_HasTransparency(FSCRT_PAGE page, FS_BOOL *hasTransparency)
Check whether a PDF page has transparency.
FS_RESULT FSPDF_Page_IsParsed(FSCRT_PAGE page, FS_BOOL *isParsed)
Determine whether page has been parsed or not.
FS_RESULT FSPDF_Page_CalcContentBBox(FSCRT_PAGE page, FS_INT32 mode, FSCRT_RECTF *rectBBox)
Calculate content box rectangle in PDF page.
unsigned int FS_DWORD
32-bit unsigned integer.
Definition: fs_base_r.h:142
FS_RESULT FSPDF_Matrix_TransformPageToDevice(FSCRT_MATRIX *matrix, const FSCRT_RECTF *srcRect, const FSCRT_RECT *dstRect, FS_INT32 rotation)
Get a transformation matrix from PDF page coordinate to device coordinate.
FS_RESULT FSPDF_Page_EstimateContentSize(FSCRT_PAGE page, FS_DWORD *contentSize)
Estimate the size of PDF page content.
int FS_INT32
32-bit signed integer.
Definition: fs_base_r.h:175
FS_RESULT FSPDF_RenderContext_StartPage(FSPDF_RENDERCONTEXT pdfRenderContext, FSCRT_RENDERER renderer, FSCRT_PAGE page, FS_INT32 flag, FSCRT_PROGRESS *renderProgress)
Start rendering a PDF page in a renderer with a PDF rendering context.
FS_RESULT FSPDF_Matrix_TransformDeviceToPage(FSCRT_MATRIX *matrix, const FSCRT_RECT *srcRect, const FSCRT_RECTF *dstRect, FS_INT32 rotation)
Get a transformation matrix from device coordinate to PDF page coordinate.
FS_RESULT FSPDF_Page_StartParse(FSCRT_PAGE page, FS_DWORD flag, FSCRT_PROGRESS *parseProgress)
Start parsing a PDF page.
Structure for an action data.
Definition: fpdf_base_r.h:841
FS_RESULT FSPDF_Page_GetAction(FSCRT_PAGE page, FS_INT32 trigger, FS_INT32 index, FSPDF_ACTIONDATA *actionData)
Get a trigger action of a PDF page.
int FS_BOOL
Boolean type (This should be TRUE or FALSE).
Definition: fs_base_r.h:133
FS_RESULT FSPDF_Page_Clear(FSCRT_PAGE page)
Release all page contents and related resources.
FS_RESULT FSPDF_Page_GetMatrix(FSCRT_PAGE page, FS_INT32 x, FS_INT32 y, FS_INT32 width, FS_INT32 height, FS_INT32 rotation, FSCRT_MATRIX *matrix)
Get page transformation matrix.
Structure for 2D matrix.
Definition: fs_base_r.h:2130
FS_RESULT FSPDF_Page_GetIndex(FSCRT_PAGE page, FS_INT32 *index)
Get page index.
FS_RESULT FSPDF_Page_GetBox(FSCRT_PAGE page, FS_INT32 boxType, FSCRT_RECTF *pageBox)
Get page boundary which is a rectangle type value.
FS_RESULT FSPDF_Page_GetThumbnail(FSCRT_PAGE page, FSCRT_BITMAP *thumbnail)
Get the thumbnail bitmap from a page.
FS_RESULT FSPDF_Page_DoJavaScriptAction(FSCRT_PAGE page, FS_INT32 trigger)
Perform the page javascript which is specified by the trigger.
FS_RESULT FSPDF_Page_GetRotation(FSCRT_PAGE page, FS_INT32 *rotation)
Get page rotation.
int FS_RESULT
Result code for functions in Foxit PDF SDK.
Definition: fs_base_r.h:160