18#ifndef PUBLIC_FPDFVIEW_H_
19#define PUBLIC_FPDFVIEW_H_
25#if defined(_WIN32) && !defined(__WINDOWS__)
36#define FPDF_OBJECT_UNKNOWN 0
37#define FPDF_OBJECT_BOOLEAN 1
38#define FPDF_OBJECT_NUMBER 2
39#define FPDF_OBJECT_STRING 3
40#define FPDF_OBJECT_NAME 4
41#define FPDF_OBJECT_ARRAY 5
42#define FPDF_OBJECT_DICTIONARY 6
43#define FPDF_OBJECT_STREAM 7
44#define FPDF_OBJECT_NULLOBJ 8
45#define FPDF_OBJECT_REFERENCE 9
49 FPDF_TEXTRENDERMODE_UNKNOWN = -1,
50 FPDF_TEXTRENDERMODE_FILL = 0,
51 FPDF_TEXTRENDERMODE_STROKE = 1,
52 FPDF_TEXTRENDERMODE_FILL_STROKE = 2,
53 FPDF_TEXTRENDERMODE_INVISIBLE = 3,
54 FPDF_TEXTRENDERMODE_FILL_CLIP = 4,
55 FPDF_TEXTRENDERMODE_STROKE_CLIP = 5,
56 FPDF_TEXTRENDERMODE_FILL_STROKE_CLIP = 6,
57 FPDF_TEXTRENDERMODE_CLIP = 7,
58 FPDF_TEXTRENDERMODE_LAST = FPDF_TEXTRENDERMODE_CLIP,
59} FPDF_TEXT_RENDERMODE;
62typedef struct fpdf_action_t__* FPDF_ACTION;
63typedef struct fpdf_annotation_t__* FPDF_ANNOTATION;
64typedef struct fpdf_attachment_t__* FPDF_ATTACHMENT;
65typedef struct fpdf_avail_t__* FPDF_AVAIL;
66typedef struct fpdf_bitmap_t__* FPDF_BITMAP;
67typedef struct fpdf_bookmark_t__* FPDF_BOOKMARK;
68typedef struct fpdf_clippath_t__* FPDF_CLIPPATH;
69typedef struct fpdf_dest_t__* FPDF_DEST;
70typedef struct fpdf_document_t__* FPDF_DOCUMENT;
71typedef struct fpdf_font_t__* FPDF_FONT;
72typedef struct fpdf_form_handle_t__* FPDF_FORMHANDLE;
73typedef const struct fpdf_glyphpath_t__* FPDF_GLYPHPATH;
74typedef struct fpdf_javascript_action_t* FPDF_JAVASCRIPT_ACTION;
75typedef struct fpdf_link_t__* FPDF_LINK;
76typedef struct fpdf_page_t__* FPDF_PAGE;
77typedef struct fpdf_pagelink_t__* FPDF_PAGELINK;
78typedef struct fpdf_pageobject_t__* FPDF_PAGEOBJECT;
79typedef struct fpdf_pageobjectmark_t__* FPDF_PAGEOBJECTMARK;
80typedef const struct fpdf_pagerange_t__* FPDF_PAGERANGE;
81typedef const struct fpdf_pathsegment_t* FPDF_PATHSEGMENT;
82typedef struct fpdf_schhandle_t__* FPDF_SCHHANDLE;
83typedef const struct fpdf_signature_t__* FPDF_SIGNATURE;
84typedef void* FPDF_SKIA_CANVAS;
85typedef struct fpdf_structelement_t__* FPDF_STRUCTELEMENT;
86typedef const struct fpdf_structelement_attr_t__* FPDF_STRUCTELEMENT_ATTR;
87typedef struct fpdf_structtree_t__* FPDF_STRUCTTREE;
88typedef struct fpdf_textpage_t__* FPDF_TEXTPAGE;
89typedef struct fpdf_widget_t__* FPDF_WIDGET;
90typedef struct fpdf_xobject_t__* FPDF_XOBJECT;
94typedef int FPDF_RESULT;
95typedef unsigned long FPDF_DWORD;
96typedef float FS_FLOAT;
99typedef enum _FPDF_DUPLEXTYPE_ {
107typedef unsigned short FPDF_WCHAR;
113typedef const char* FPDF_BYTESTRING;
117typedef const FPDF_WCHAR* FPDF_WIDESTRING;
122typedef struct FPDF_BSTR_ {
134typedef const char* FPDF_STRING;
144typedef struct _FS_MATRIX_ {
154typedef struct _FS_RECTF_ {
163} * FS_LPRECTF, FS_RECTF;
166typedef const FS_RECTF* FS_LPCRECTF;
169typedef struct FS_SIZEF_ {
172} * FS_LPSIZEF, FS_SIZEF;
175typedef const FS_SIZEF* FS_LPCSIZEF;
178typedef struct FS_POINTF_ {
181} * FS_LPPOINTF, FS_POINTF;
184typedef const FS_POINTF* FS_LPCPOINTF;
186typedef struct _FS_QUADPOINTSF {
198typedef int FPDF_ANNOTATION_SUBTYPE;
199typedef int FPDF_ANNOT_APPEARANCEMODE;
202typedef int FPDF_OBJECT_TYPE;
204#if defined(COMPONENT_BUILD)
208#if defined(FPDF_IMPLEMENTATION)
209#define FPDF_EXPORT __declspec(dllexport)
211#define FPDF_EXPORT __declspec(dllimport)
214#if defined(FPDF_IMPLEMENTATION)
215#define FPDF_EXPORT __attribute__((visibility("default")))
224#if defined(WIN32) && defined(FPDFSDK_EXPORTS)
225#define FPDF_CALLCONV __stdcall
239 FPDF_RENDERERTYPE_AGG = 0,
241 FPDF_RENDERERTYPE_SKIA = 1,
245typedef struct FPDF_LIBRARY_CONFIG_ {
254 const char** m_pUserFontPaths;
265 unsigned int m_v8EmbedderSlot;
280 FPDF_RENDERER_TYPE m_RendererType;
281} FPDF_LIBRARY_CONFIG;
325#define FPDF_POLICY_MACHINETIME_ACCESS 0
364FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_SetPrintMode(
int mode);
438FPDF_LoadMemDocument64(
const void* data_buf,
440 FPDF_BYTESTRING password);
445 unsigned long m_FileLen;
454 int (*m_GetBlock)(
void* param,
455 unsigned long position,
465
466
467
468
469
470typedef struct FPDF_FILEHANDLER_ {
472
473
474
478
479
480
481
482
483
484
485 void (*Release)(
void* clientData);
488
489
490
491
492
493
494
495 FPDF_DWORD (*GetSize)(
void* clientData);
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512 FPDF_RESULT (*ReadBlock)(
void* clientData,
518
519
520
521
522
523
524
525
526
527
528
529
530
531 FPDF_RESULT (*WriteBlock)(
void* clientData,
536
537
538
539
540
541
542
543 FPDF_RESULT (*Flush)(
void* clientData);
546
547
548
549
550
551
552
553
554
555
556
557 FPDF_RESULT (*Truncate)(
void* clientData, FPDF_DWORD size);
597#define FPDF_ERR_SUCCESS 0
598#define FPDF_ERR_UNKNOWN 1
599#define FPDF_ERR_FILE 2
600#define FPDF_ERR_FORMAT 3
601#define FPDF_ERR_PASSWORD 4
602#define FPDF_ERR_SECURITY 5
603#define FPDF_ERR_PAGE 6
605#define FPDF_ERR_XFALOAD 7
606#define FPDF_ERR_XFALAYOUT 8
652 unsigned int* buffer,
653 unsigned long length);
804#define FPDF_ANNOT 0x01
807#define FPDF_LCD_TEXT 0x02
809#define FPDF_NO_NATIVETEXT 0x04
811#define FPDF_GRAYSCALE 0x08
813#define FPDF_DEBUG_INFO 0x80
815#define FPDF_NO_CATCH 0x100
817#define FPDF_RENDER_LIMITEDIMAGECACHE 0x200
819#define FPDF_RENDER_FORCEHALFTONE 0x400
821#define FPDF_PRINTING 0x800
824#define FPDF_RENDER_NO_SMOOTHTEXT 0x1000
826#define FPDF_RENDER_NO_SMOOTHIMAGE 0x2000
828#define FPDF_RENDER_NO_SMOOTHPATH 0x4000
831#define FPDF_REVERSE_BYTE_ORDER 0x10
835#define FPDF_CONVERT_FILL_TO_STROKE 0x20
839typedef struct FPDF_COLORSCHEME_ {
840 FPDF_DWORD path_fill_color;
841 FPDF_DWORD path_stroke_color;
842 FPDF_DWORD text_fill_color;
843 FPDF_DWORD text_stroke_color;
868FPDF_EXPORT
void FPDF_CALLCONV FPDF_RenderPage(HDC dc,
934 const FS_MATRIX* matrix,
935 const FS_RECTF* clipping,
938#if defined(PDF_USE_SKIA)
949FPDF_EXPORT
void FPDF_CALLCONV FPDF_RenderPageSkia(FPDF_SKIA_CANVAS canvas,
1096#define FPDFBitmap_Unknown 0
1098#define FPDFBitmap_Gray 1
1100#define FPDFBitmap_BGR 2
1102#define FPDFBitmap_BGRx 3
1104#define FPDFBitmap_BGRA 4
1281FPDF_VIEWERREF_GetPrintPageRangeCount(FPDF_PAGERANGE pagerange);
1293FPDF_VIEWERREF_GetPrintPageRangeElement(FPDF_PAGERANGE pagerange, size_t index);
1322 FPDF_BYTESTRING key,
1324 unsigned long length);
1397 FPDF_DOCUMENT document,
1400 unsigned long buflen);
1424 FPDF_DOCUMENT document,
1427 unsigned long buflen,
1428 unsigned long* out_buflen);
1440FPDF_EXPORT
const char* FPDF_CALLCONV FPDF_GetRecommendedV8Flags();
1455FPDF_EXPORT
void* FPDF_CALLCONV FPDF_GetArrayBufferAllocatorSharedInstance();
1458#ifdef PDF_ENABLE_XFA
1461FPDF_EXPORT FPDF_RESULT FPDF_CALLCONV FPDF_BStr_Init(FPDF_BSTR* bstr);
1465FPDF_EXPORT FPDF_RESULT FPDF_CALLCONV FPDF_BStr_Set(FPDF_BSTR* bstr,
1471FPDF_EXPORT FPDF_RESULT FPDF_CALLCONV FPDF_BStr_Clear(FPDF_BSTR* bstr);
void SetRequestedDataAvailable()
void SetWholeFileAvailable()
FX_DOWNLOADHINTS * GetDownloadHints() const
FX_FILEAVAIL * GetFileAvail() const
FPDF_FILEACCESS * GetFileAccess() const
TEST_F(CPDF_CreatorEmbedderTest, SavedDocsAreEqualAfterParse)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlCount(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFontSize(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, float *value)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect(FPDF_ANNOTATION annot, const FS_RECTF *rect)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveAnnot(FPDF_PAGE page, int index)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFocusableSubtypes(FPDF_FORMHANDLE hHandle, const FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetBorder(FPDF_ANNOTATION annot, float *horizontal_radius, float *vertical_radius, float *border_width)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetAttachmentPoints(FPDF_ANNOTATION annot, size_t quad_index, FS_QUADPOINTSF *quad_points)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypesCount(FPDF_FORMHANDLE hHandle)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_AddInkStroke(FPDF_ANNOTATION annot, const FS_POINTF *points, size_t point_count)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetOptionCount(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetVertices(FPDF_ANNOTATION annot, FS_POINTF *buffer, unsigned long length)
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFAnnot_GetObject(FPDF_ANNOTATION annot, int index)
FPDF_EXPORT size_t FPDF_CALLCONV FPDFAnnot_CountAttachmentPoints(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags(FPDF_ANNOTATION annot, int flags)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldName(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasKey(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetLinkedAnnot(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveObject(FPDF_ANNOTATION annot, int index)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotCount(FPDF_PAGE page)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_CreateAnnot(FPDF_PAGE page, FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsChecked(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldAlternateName(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_LINK FPDF_CALLCONV FPDFAnnot_GetLink(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAP(FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WIDESTRING value)
FPDF_EXPORT FPDF_ANNOTATION_SUBTYPE FPDF_CALLCONV FPDFAnnot_GetSubtype(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFAnnot_GetValueType(FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendAttachmentPoints(FPDF_ANNOTATION annot, const FS_QUADPOINTSF *quad_points)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasAttachmentPoints(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetColor(FPDF_ANNOTATION annot, FPDFANNOT_COLORTYPE type, unsigned int *R, unsigned int *G, unsigned int *B, unsigned int *A)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldFlags(FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetStringValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WIDESTRING value)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetOptionLabel(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, int index, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListPath(FPDF_ANNOTATION annot, unsigned long path_index, FS_POINTF *buffer, unsigned long length)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsOptionSelected(FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot, int index)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_GetAnnot(FPDF_PAGE page, int index)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldExportValue(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags(FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetStringValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlIndex(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot(FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetNumberValue(FPDF_ANNOTATION annot, FPDF_BYTESTRING key, float *value)
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldType(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetURI(FPDF_ANNOTATION annot, const char *uri)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldValue(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypes(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect(FPDF_ANNOTATION annot, FS_RECTF *rect)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetAP(FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsObjectSupportedSubtype(FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetLine(FPDF_ANNOTATION annot, FS_POINTF *start, FS_POINTF *end)
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotIndex(FPDF_PAGE page, FPDF_ANNOTATION annot)
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetFormFieldAtPoint(FPDF_FORMHANDLE hHandle, FPDF_PAGE page, const FS_POINTF *point)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListCount(FPDF_ANNOTATION annot)
@ FPDFANNOT_COLORTYPE_InteriorColor
@ FPDFANNOT_COLORTYPE_Color
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetBorder(FPDF_ANNOTATION annot, float horizontal_radius, float vertical_radius, float border_width)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetColor(FPDF_ANNOTATION annot, FPDFANNOT_COLORTYPE type, unsigned int R, unsigned int G, unsigned int B, unsigned int A)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_UpdateObject(FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsSupportedSubtype(FPDF_ANNOTATION_SUBTYPE subtype)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveInkList(FPDF_ANNOTATION annot)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormAdditionalActionJavaScript(FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, int event, FPDF_WCHAR *buffer, unsigned long buflen)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAttachmentPoints(FPDF_ANNOTATION annot, size_t quad_index, const FS_QUADPOINTSF *quad_points)
FPDF_EXPORT void FPDF_CALLCONV FPDFAvail_Destroy(FPDF_AVAIL avail)
FPDF_EXPORT void FPDF_CALLCONV FPDFFont_Close(FPDF_FONT font)
FPDF_EXPORT void FPDF_CALLCONV FPDFPageObj_Destroy(FPDF_PAGEOBJECT page_object)
FPDF_EXPORT void FPDF_CALLCONV FPDFDoc_CloseJavaScriptAction(FPDF_JAVASCRIPT_ACTION javascript)
FPDF_EXPORT void FPDF_CALLCONV FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree)
FPDF_EXPORT void FPDF_CALLCONV FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page)
FPDF_EXPORT void FPDF_CALLCONV FPDFText_FindClose(FPDF_SCHHANDLE handle)
FPDF_EXPORT void FPDF_CALLCONV FPDFText_ClosePage(FPDF_TEXTPAGE text_page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath)
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDF_LoadPage(FPDF_DOCUMENT document, int page_index)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageCount(FPDF_DOCUMENT document)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetLastError()
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_CreateEx(int width, int height, int format, void *first_scan, int stride)
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_VIEWERREF_GetPrintScaling(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DeviceToPage(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int device_x, int device_y, double *page_x, double *page_y)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadCustomDocument(FPDF_FILEACCESS *pFileAccess, FPDF_BYTESTRING password)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_PageToDevice(FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, double page_x, double page_y, int *device_x, int *device_y)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadDocument(FPDF_STRING file_path, FPDF_BYTESTRING password)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetHeight(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DocumentHasValidCrossReferenceTable(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_Destroy(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DUPLEXTYPE FPDF_CALLCONV FPDF_VIEWERREF_GetDuplex(FPDF_DOCUMENT document)
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageHeightF(FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary()
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetXFAPacketCount(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_Create(int width, int height, int alpha)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetStride(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_PAGERANGE FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRange(FPDF_DOCUMENT document)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageSizeByIndex(FPDF_DOCUMENT document, int page_index, double *width, double *height)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocUserPermissions(FPDF_DOCUMENT document)
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageWidth(FPDF_PAGE page)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocPermissions(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibrary()
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDest(FPDF_DOCUMENT document, int index, void *buffer, long *buflen)
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDestByName(FPDF_DOCUMENT document, FPDF_BYTESTRING name)
FPDF_EXPORT void FPDF_CALLCONV FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int flags)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetFileVersion(FPDF_DOCUMENT doc, int *fileVersion)
FPDF_EXPORT void FPDF_CALLCONV FPDF_RenderPageBitmapWithMatrix(FPDF_BITMAP bitmap, FPDF_PAGE page, const FS_MATRIX *matrix, const FS_RECTF *clipping, int flags)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageBoundingBox(FPDF_PAGE page, FS_RECTF *rect)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetFormat(FPDF_BITMAP bitmap)
FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_FillRect(FPDF_BITMAP bitmap, int left, int top, int width, int height, FPDF_DWORD color)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_VIEWERREF_GetName(FPDF_DOCUMENT document, FPDF_BYTESTRING key, char *buffer, unsigned long length)
FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG *config)
FPDF_EXPORT void *FPDF_CALLCONV FPDFBitmap_GetBuffer(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DWORD FPDF_CALLCONV FPDF_CountNamedDests(FPDF_DOCUMENT document)
FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseDocument(FPDF_DOCUMENT document)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageSizeByIndexF(FPDF_DOCUMENT document, int page_index, FS_SIZEF *size)
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetXFAPacketContent(FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen, unsigned long *out_buflen)
FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetNumCopies(FPDF_DOCUMENT document)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetXFAPacketName(FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen)
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageHeight(FPDF_PAGE page)
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetWidth(FPDF_BITMAP bitmap)
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument(const void *data_buf, int size, FPDF_BYTESTRING password)
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetTrailerEnds(FPDF_DOCUMENT document, unsigned int *buffer, unsigned long length)
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageWidthF(FPDF_PAGE page)
FPDF_EXPORT void FPDF_CALLCONV FPDF_ClosePage(FPDF_PAGE page)
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSecurityHandlerRevision(FPDF_DOCUMENT document)
void operator()(FPDF_ANNOTATION annot)
void operator()(FPDF_AVAIL avail)
void operator()(FPDF_BITMAP bitmap)
void operator()(FPDF_CLIPPATH clip_path)
void operator()(FPDF_DOCUMENT doc)
void operator()(FPDF_FONT font)
void operator()(FPDF_JAVASCRIPT_ACTION javascript)
void operator()(FPDF_PAGE page)
void operator()(FPDF_PAGELINK pagelink)
void operator()(FPDF_PAGEOBJECT object)
void operator()(FPDF_STRUCTTREE tree)
void operator()(FPDF_SCHHANDLE handle)
void operator()(FPDF_TEXTPAGE text)