Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fpdfview.h File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include <stddef.h>
+ Include dependency graph for fpdfview.h:

Go to the source code of this file.

Classes

struct  FPDF_BSTR_
 
struct  _FS_MATRIX_
 
struct  _FS_RECTF_
 
struct  FS_SIZEF_
 
struct  FS_POINTF_
 
struct  _FS_QUADPOINTSF
 
struct  FPDF_LIBRARY_CONFIG_
 
struct  FPDF_FILEACCESS
 
struct  FPDF_FILEHANDLER_
 
struct  FPDF_COLORSCHEME_
 

Macros

#define FPDF_OBJECT_UNKNOWN   0
 
#define FPDF_OBJECT_BOOLEAN   1
 
#define FPDF_OBJECT_NUMBER   2
 
#define FPDF_OBJECT_STRING   3
 
#define FPDF_OBJECT_NAME   4
 
#define FPDF_OBJECT_ARRAY   5
 
#define FPDF_OBJECT_DICTIONARY   6
 
#define FPDF_OBJECT_STREAM   7
 
#define FPDF_OBJECT_NULLOBJ   8
 
#define FPDF_OBJECT_REFERENCE   9
 
#define FPDF_EXPORT
 
#define FPDF_CALLCONV
 
#define FPDF_POLICY_MACHINETIME_ACCESS   0
 
#define FPDF_ERR_SUCCESS   0
 
#define FPDF_ERR_UNKNOWN   1
 
#define FPDF_ERR_FILE   2
 
#define FPDF_ERR_FORMAT   3
 
#define FPDF_ERR_PASSWORD   4
 
#define FPDF_ERR_SECURITY   5
 
#define FPDF_ERR_PAGE   6
 
#define FPDF_ANNOT   0x01
 
#define FPDF_LCD_TEXT   0x02
 
#define FPDF_NO_NATIVETEXT   0x04
 
#define FPDF_GRAYSCALE   0x08
 
#define FPDF_DEBUG_INFO   0x80
 
#define FPDF_NO_CATCH   0x100
 
#define FPDF_RENDER_LIMITEDIMAGECACHE   0x200
 
#define FPDF_RENDER_FORCEHALFTONE   0x400
 
#define FPDF_PRINTING   0x800
 
#define FPDF_RENDER_NO_SMOOTHTEXT   0x1000
 
#define FPDF_RENDER_NO_SMOOTHIMAGE   0x2000
 
#define FPDF_RENDER_NO_SMOOTHPATH   0x4000
 
#define FPDF_REVERSE_BYTE_ORDER   0x10
 
#define FPDF_CONVERT_FILL_TO_STROKE   0x20
 
#define FPDFBitmap_Unknown   0
 
#define FPDFBitmap_Gray   1
 
#define FPDFBitmap_BGR   2
 
#define FPDFBitmap_BGRx   3
 
#define FPDFBitmap_BGRA   4
 

Typedefs

typedef struct fpdf_action_t__ * FPDF_ACTION
 
typedef struct fpdf_annotation_t__ * FPDF_ANNOTATION
 
typedef struct fpdf_attachment_t__ * FPDF_ATTACHMENT
 
typedef struct fpdf_avail_t__ * FPDF_AVAIL
 
typedef struct fpdf_bitmap_t__ * FPDF_BITMAP
 
typedef struct fpdf_bookmark_t__ * FPDF_BOOKMARK
 
typedef struct fpdf_clippath_t__ * FPDF_CLIPPATH
 
typedef struct fpdf_dest_t__ * FPDF_DEST
 
typedef struct fpdf_document_t__ * FPDF_DOCUMENT
 
typedef struct fpdf_font_t__ * FPDF_FONT
 
typedef struct fpdf_form_handle_t__ * FPDF_FORMHANDLE
 
typedef const struct fpdf_glyphpath_t__ * FPDF_GLYPHPATH
 
typedef struct fpdf_javascript_action_t * FPDF_JAVASCRIPT_ACTION
 
typedef struct fpdf_link_t__ * FPDF_LINK
 
typedef struct fpdf_page_t__ * FPDF_PAGE
 
typedef struct fpdf_pagelink_t__ * FPDF_PAGELINK
 
typedef struct fpdf_pageobject_t__ * FPDF_PAGEOBJECT
 
typedef struct fpdf_pageobjectmark_t__ * FPDF_PAGEOBJECTMARK
 
typedef const struct fpdf_pagerange_t__ * FPDF_PAGERANGE
 
typedef const struct fpdf_pathsegment_t * FPDF_PATHSEGMENT
 
typedef struct fpdf_schhandle_t__ * FPDF_SCHHANDLE
 
typedef const struct fpdf_signature_t__ * FPDF_SIGNATURE
 
typedef voidFPDF_SKIA_CANVAS
 
typedef struct fpdf_structelement_t__ * FPDF_STRUCTELEMENT
 
typedef const struct fpdf_structelement_attr_t__ * FPDF_STRUCTELEMENT_ATTR
 
typedef struct fpdf_structtree_t__ * FPDF_STRUCTTREE
 
typedef struct fpdf_textpage_t__ * FPDF_TEXTPAGE
 
typedef struct fpdf_widget_t__ * FPDF_WIDGET
 
typedef struct fpdf_xobject_t__ * FPDF_XOBJECT
 
typedef int FPDF_BOOL
 
typedef int FPDF_RESULT
 
typedef unsigned long FPDF_DWORD
 
typedef float FS_FLOAT
 
typedef enum _FPDF_DUPLEXTYPE_ FPDF_DUPLEXTYPE
 
typedef unsigned short FPDF_WCHAR
 
typedef const char * FPDF_BYTESTRING
 
typedef const FPDF_WCHARFPDF_WIDESTRING
 
typedef struct FPDF_BSTR_ FPDF_BSTR
 
typedef const char * FPDF_STRING
 
typedef struct _FS_MATRIX_ FS_MATRIX
 
typedef struct _FS_RECTF_FS_LPRECTF
 
typedef struct _FS_RECTF_ FS_RECTF
 
typedef const FS_RECTFFS_LPCRECTF
 
typedef struct FS_SIZEF_FS_LPSIZEF
 
typedef struct FS_SIZEF_ FS_SIZEF
 
typedef const FS_SIZEFFS_LPCSIZEF
 
typedef struct FS_POINTF_FS_LPPOINTF
 
typedef struct FS_POINTF_ FS_POINTF
 
typedef const FS_POINTFFS_LPCPOINTF
 
typedef struct _FS_QUADPOINTSF FS_QUADPOINTSF
 
typedef int FPDF_ANNOTATION_SUBTYPE
 
typedef int FPDF_ANNOT_APPEARANCEMODE
 
typedef int FPDF_OBJECT_TYPE
 
typedef struct FPDF_LIBRARY_CONFIG_ FPDF_LIBRARY_CONFIG
 
typedef struct FPDF_FILEHANDLER_ FPDF_FILEHANDLER
 
typedef struct FPDF_COLORSCHEME_ FPDF_COLORSCHEME
 

Enumerations

enum  FPDF_TEXT_RENDERMODE {
  FPDF_TEXTRENDERMODE_UNKNOWN = -1 , FPDF_TEXTRENDERMODE_FILL = 0 , FPDF_TEXTRENDERMODE_STROKE = 1 , FPDF_TEXTRENDERMODE_FILL_STROKE = 2 ,
  FPDF_TEXTRENDERMODE_INVISIBLE = 3 , FPDF_TEXTRENDERMODE_FILL_CLIP = 4 , FPDF_TEXTRENDERMODE_STROKE_CLIP = 5 , FPDF_TEXTRENDERMODE_FILL_STROKE_CLIP = 6 ,
  FPDF_TEXTRENDERMODE_CLIP = 7 , FPDF_TEXTRENDERMODE_LAST = FPDF_TEXTRENDERMODE_CLIP
}
 
enum  _FPDF_DUPLEXTYPE_ { DuplexUndefined = 0 , Simplex , DuplexFlipShortEdge , DuplexFlipLongEdge }
 
enum  FPDF_RENDERER_TYPE { FPDF_RENDERERTYPE_AGG = 0 , FPDF_RENDERERTYPE_SKIA = 1 }
 

Functions

FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibraryWithConfig (const FPDF_LIBRARY_CONFIG *config)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibrary ()
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary ()
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSandBoxPolicy (FPDF_DWORD policy, FPDF_BOOL enable)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadDocument (FPDF_STRING file_path, FPDF_BYTESTRING password)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument (const void *data_buf, int size, FPDF_BYTESTRING password)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument64 (const void *data_buf, size_t size, FPDF_BYTESTRING password)
 
FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadCustomDocument (FPDF_FILEACCESS *pFileAccess, FPDF_BYTESTRING password)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetFileVersion (FPDF_DOCUMENT doc, int *fileVersion)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetLastError ()
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DocumentHasValidCrossReferenceTable (FPDF_DOCUMENT document)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetTrailerEnds (FPDF_DOCUMENT document, unsigned int *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocPermissions (FPDF_DOCUMENT document)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocUserPermissions (FPDF_DOCUMENT document)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSecurityHandlerRevision (FPDF_DOCUMENT document)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageCount (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDF_LoadPage (FPDF_DOCUMENT document, int page_index)
 
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageWidthF (FPDF_PAGE page)
 
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageWidth (FPDF_PAGE page)
 
FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageHeightF (FPDF_PAGE page)
 
FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageHeight (FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageBoundingBox (FPDF_PAGE page, FS_RECTF *rect)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageSizeByIndexF (FPDF_DOCUMENT document, int page_index, FS_SIZEF *size)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageSizeByIndex (FPDF_DOCUMENT document, int page_index, double *width, double *height)
 
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 void FPDF_CALLCONV FPDF_RenderPageBitmapWithMatrix (FPDF_BITMAP bitmap, FPDF_PAGE page, const FS_MATRIX *matrix, const FS_RECTF *clipping, int flags)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_ClosePage (FPDF_PAGE page)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseDocument (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_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_BITMAP FPDF_CALLCONV FPDFBitmap_Create (int width, int height, int alpha)
 
FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_CreateEx (int width, int height, int format, void *first_scan, int stride)
 
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 void *FPDF_CALLCONV FPDFBitmap_GetBuffer (FPDF_BITMAP bitmap)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetWidth (FPDF_BITMAP bitmap)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetHeight (FPDF_BITMAP bitmap)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetStride (FPDF_BITMAP bitmap)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_Destroy (FPDF_BITMAP bitmap)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_VIEWERREF_GetPrintScaling (FPDF_DOCUMENT document)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetNumCopies (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_PAGERANGE FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRange (FPDF_DOCUMENT document)
 
FPDF_EXPORT size_t FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRangeCount (FPDF_PAGERANGE pagerange)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRangeElement (FPDF_PAGERANGE pagerange, size_t index)
 
FPDF_EXPORT FPDF_DUPLEXTYPE FPDF_CALLCONV FPDF_VIEWERREF_GetDuplex (FPDF_DOCUMENT document)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_VIEWERREF_GetName (FPDF_DOCUMENT document, FPDF_BYTESTRING key, char *buffer, unsigned long length)
 
FPDF_EXPORT FPDF_DWORD FPDF_CALLCONV FPDF_CountNamedDests (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDestByName (FPDF_DOCUMENT document, FPDF_BYTESTRING name)
 
FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDest (FPDF_DOCUMENT document, int index, void *buffer, long *buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetXFAPacketCount (FPDF_DOCUMENT document)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetXFAPacketName (FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetXFAPacketContent (FPDF_DOCUMENT document, int index, void *buffer, unsigned long buflen, unsigned long *out_buflen)
 

Macro Definition Documentation

◆ FPDF_ANNOT

#define FPDF_ANNOT   0x01

Definition at line 804 of file fpdfview.h.

◆ FPDF_CALLCONV

#define FPDF_CALLCONV

Definition at line 227 of file fpdfview.h.

◆ FPDF_CONVERT_FILL_TO_STROKE

#define FPDF_CONVERT_FILL_TO_STROKE   0x20

Definition at line 835 of file fpdfview.h.

◆ FPDF_DEBUG_INFO

#define FPDF_DEBUG_INFO   0x80

Definition at line 813 of file fpdfview.h.

◆ FPDF_ERR_FILE

#define FPDF_ERR_FILE   2

Definition at line 599 of file fpdfview.h.

◆ FPDF_ERR_FORMAT

#define FPDF_ERR_FORMAT   3

Definition at line 600 of file fpdfview.h.

◆ FPDF_ERR_PAGE

#define FPDF_ERR_PAGE   6

Definition at line 603 of file fpdfview.h.

◆ FPDF_ERR_PASSWORD

#define FPDF_ERR_PASSWORD   4

Definition at line 601 of file fpdfview.h.

◆ FPDF_ERR_SECURITY

#define FPDF_ERR_SECURITY   5

Definition at line 602 of file fpdfview.h.

◆ FPDF_ERR_SUCCESS

#define FPDF_ERR_SUCCESS   0

Definition at line 597 of file fpdfview.h.

◆ FPDF_ERR_UNKNOWN

#define FPDF_ERR_UNKNOWN   1

Definition at line 598 of file fpdfview.h.

◆ FPDF_EXPORT

#define FPDF_EXPORT

Definition at line 221 of file fpdfview.h.

◆ FPDF_GRAYSCALE

#define FPDF_GRAYSCALE   0x08

Definition at line 811 of file fpdfview.h.

◆ FPDF_LCD_TEXT

#define FPDF_LCD_TEXT   0x02

Definition at line 807 of file fpdfview.h.

◆ FPDF_NO_CATCH

#define FPDF_NO_CATCH   0x100

Definition at line 815 of file fpdfview.h.

◆ FPDF_NO_NATIVETEXT

#define FPDF_NO_NATIVETEXT   0x04

Definition at line 809 of file fpdfview.h.

◆ FPDF_OBJECT_ARRAY

#define FPDF_OBJECT_ARRAY   5

Definition at line 41 of file fpdfview.h.

◆ FPDF_OBJECT_BOOLEAN

#define FPDF_OBJECT_BOOLEAN   1

Definition at line 37 of file fpdfview.h.

◆ FPDF_OBJECT_DICTIONARY

#define FPDF_OBJECT_DICTIONARY   6

Definition at line 42 of file fpdfview.h.

◆ FPDF_OBJECT_NAME

#define FPDF_OBJECT_NAME   4

Definition at line 40 of file fpdfview.h.

◆ FPDF_OBJECT_NULLOBJ

#define FPDF_OBJECT_NULLOBJ   8

Definition at line 44 of file fpdfview.h.

◆ FPDF_OBJECT_NUMBER

#define FPDF_OBJECT_NUMBER   2

Definition at line 38 of file fpdfview.h.

◆ FPDF_OBJECT_REFERENCE

#define FPDF_OBJECT_REFERENCE   9

Definition at line 45 of file fpdfview.h.

◆ FPDF_OBJECT_STREAM

#define FPDF_OBJECT_STREAM   7

Definition at line 43 of file fpdfview.h.

◆ FPDF_OBJECT_STRING

#define FPDF_OBJECT_STRING   3

Definition at line 39 of file fpdfview.h.

◆ FPDF_OBJECT_UNKNOWN

#define FPDF_OBJECT_UNKNOWN   0

Definition at line 36 of file fpdfview.h.

◆ FPDF_POLICY_MACHINETIME_ACCESS

#define FPDF_POLICY_MACHINETIME_ACCESS   0

Definition at line 325 of file fpdfview.h.

◆ FPDF_PRINTING

#define FPDF_PRINTING   0x800

Definition at line 821 of file fpdfview.h.

◆ FPDF_RENDER_FORCEHALFTONE

#define FPDF_RENDER_FORCEHALFTONE   0x400

Definition at line 819 of file fpdfview.h.

◆ FPDF_RENDER_LIMITEDIMAGECACHE

#define FPDF_RENDER_LIMITEDIMAGECACHE   0x200

Definition at line 817 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHIMAGE

#define FPDF_RENDER_NO_SMOOTHIMAGE   0x2000

Definition at line 826 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHPATH

#define FPDF_RENDER_NO_SMOOTHPATH   0x4000

Definition at line 828 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHTEXT

#define FPDF_RENDER_NO_SMOOTHTEXT   0x1000

Definition at line 824 of file fpdfview.h.

◆ FPDF_REVERSE_BYTE_ORDER

#define FPDF_REVERSE_BYTE_ORDER   0x10

Definition at line 831 of file fpdfview.h.

◆ FPDFBitmap_BGR

#define FPDFBitmap_BGR   2

Definition at line 1100 of file fpdfview.h.

◆ FPDFBitmap_BGRA

#define FPDFBitmap_BGRA   4

Definition at line 1104 of file fpdfview.h.

◆ FPDFBitmap_BGRx

#define FPDFBitmap_BGRx   3

Definition at line 1102 of file fpdfview.h.

◆ FPDFBitmap_Gray

#define FPDFBitmap_Gray   1

Definition at line 1098 of file fpdfview.h.

◆ FPDFBitmap_Unknown

#define FPDFBitmap_Unknown   0

Definition at line 1096 of file fpdfview.h.

Typedef Documentation

◆ FPDF_ACTION

typedef struct fpdf_action_t__* FPDF_ACTION

Definition at line 62 of file fpdfview.h.

◆ FPDF_ANNOT_APPEARANCEMODE

Definition at line 199 of file fpdfview.h.

◆ FPDF_ANNOTATION

typedef struct fpdf_annotation_t__* FPDF_ANNOTATION

Definition at line 63 of file fpdfview.h.

◆ FPDF_ANNOTATION_SUBTYPE

Definition at line 198 of file fpdfview.h.

◆ FPDF_ATTACHMENT

typedef struct fpdf_attachment_t__* FPDF_ATTACHMENT

Definition at line 64 of file fpdfview.h.

◆ FPDF_AVAIL

typedef struct fpdf_avail_t__* FPDF_AVAIL

Definition at line 65 of file fpdfview.h.

◆ FPDF_BITMAP

typedef struct fpdf_bitmap_t__* FPDF_BITMAP

Definition at line 66 of file fpdfview.h.

◆ FPDF_BOOKMARK

typedef struct fpdf_bookmark_t__* FPDF_BOOKMARK

Definition at line 67 of file fpdfview.h.

◆ FPDF_BOOL

typedef int FPDF_BOOL

Definition at line 93 of file fpdfview.h.

◆ FPDF_BSTR

typedef struct FPDF_BSTR_ FPDF_BSTR

◆ FPDF_BYTESTRING

typedef const char* FPDF_BYTESTRING

Definition at line 113 of file fpdfview.h.

◆ FPDF_CLIPPATH

typedef struct fpdf_clippath_t__* FPDF_CLIPPATH

Definition at line 68 of file fpdfview.h.

◆ FPDF_COLORSCHEME

◆ FPDF_DEST

typedef struct fpdf_dest_t__* FPDF_DEST

Definition at line 69 of file fpdfview.h.

◆ FPDF_DOCUMENT

typedef struct fpdf_document_t__* FPDF_DOCUMENT

Definition at line 70 of file fpdfview.h.

◆ FPDF_DUPLEXTYPE

◆ FPDF_DWORD

typedef unsigned long FPDF_DWORD

Definition at line 95 of file fpdfview.h.

◆ FPDF_FILEHANDLER

◆ FPDF_FONT

typedef struct fpdf_font_t__* FPDF_FONT

Definition at line 71 of file fpdfview.h.

◆ FPDF_FORMHANDLE

typedef struct fpdf_form_handle_t__* FPDF_FORMHANDLE

Definition at line 72 of file fpdfview.h.

◆ FPDF_GLYPHPATH

typedef const struct fpdf_glyphpath_t__* FPDF_GLYPHPATH

Definition at line 73 of file fpdfview.h.

◆ FPDF_JAVASCRIPT_ACTION

typedef struct fpdf_javascript_action_t* FPDF_JAVASCRIPT_ACTION

Definition at line 74 of file fpdfview.h.

◆ FPDF_LIBRARY_CONFIG

◆ FPDF_LINK

typedef struct fpdf_link_t__* FPDF_LINK

Definition at line 75 of file fpdfview.h.

◆ FPDF_OBJECT_TYPE

typedef int FPDF_OBJECT_TYPE

Definition at line 202 of file fpdfview.h.

◆ FPDF_PAGE

typedef struct fpdf_page_t__* FPDF_PAGE

Definition at line 76 of file fpdfview.h.

◆ FPDF_PAGELINK

typedef struct fpdf_pagelink_t__* FPDF_PAGELINK

Definition at line 77 of file fpdfview.h.

◆ FPDF_PAGEOBJECT

typedef struct fpdf_pageobject_t__* FPDF_PAGEOBJECT

Definition at line 78 of file fpdfview.h.

◆ FPDF_PAGEOBJECTMARK

typedef struct fpdf_pageobjectmark_t__* FPDF_PAGEOBJECTMARK

Definition at line 79 of file fpdfview.h.

◆ FPDF_PAGERANGE

typedef const struct fpdf_pagerange_t__* FPDF_PAGERANGE

Definition at line 80 of file fpdfview.h.

◆ FPDF_PATHSEGMENT

typedef const struct fpdf_pathsegment_t* FPDF_PATHSEGMENT

Definition at line 81 of file fpdfview.h.

◆ FPDF_RESULT

typedef int FPDF_RESULT

Definition at line 94 of file fpdfview.h.

◆ FPDF_SCHHANDLE

typedef struct fpdf_schhandle_t__* FPDF_SCHHANDLE

Definition at line 82 of file fpdfview.h.

◆ FPDF_SIGNATURE

typedef const struct fpdf_signature_t__* FPDF_SIGNATURE

Definition at line 83 of file fpdfview.h.

◆ FPDF_SKIA_CANVAS

Definition at line 84 of file fpdfview.h.

◆ FPDF_STRING

typedef const char* FPDF_STRING

Definition at line 134 of file fpdfview.h.

◆ FPDF_STRUCTELEMENT

typedef struct fpdf_structelement_t__* FPDF_STRUCTELEMENT

Definition at line 85 of file fpdfview.h.

◆ FPDF_STRUCTELEMENT_ATTR

typedef const struct fpdf_structelement_attr_t__* FPDF_STRUCTELEMENT_ATTR

Definition at line 86 of file fpdfview.h.

◆ FPDF_STRUCTTREE

typedef struct fpdf_structtree_t__* FPDF_STRUCTTREE

Definition at line 87 of file fpdfview.h.

◆ FPDF_TEXTPAGE

typedef struct fpdf_textpage_t__* FPDF_TEXTPAGE

Definition at line 88 of file fpdfview.h.

◆ FPDF_WCHAR

typedef unsigned short FPDF_WCHAR

Definition at line 107 of file fpdfview.h.

◆ FPDF_WIDESTRING

typedef const FPDF_WCHAR* FPDF_WIDESTRING

Definition at line 117 of file fpdfview.h.

◆ FPDF_WIDGET

typedef struct fpdf_widget_t__* FPDF_WIDGET

Definition at line 89 of file fpdfview.h.

◆ FPDF_XOBJECT

typedef struct fpdf_xobject_t__* FPDF_XOBJECT

Definition at line 90 of file fpdfview.h.

◆ FS_FLOAT

typedef float FS_FLOAT

Definition at line 96 of file fpdfview.h.

◆ FS_LPCPOINTF

typedef const FS_POINTF* FS_LPCPOINTF

Definition at line 184 of file fpdfview.h.

◆ FS_LPCRECTF

typedef const FS_RECTF* FS_LPCRECTF

Definition at line 166 of file fpdfview.h.

◆ FS_LPCSIZEF

typedef const FS_SIZEF* FS_LPCSIZEF

Definition at line 175 of file fpdfview.h.

◆ FS_LPPOINTF

typedef struct FS_POINTF_ * FS_LPPOINTF

◆ FS_LPRECTF

typedef struct _FS_RECTF_ * FS_LPRECTF

◆ FS_LPSIZEF

typedef struct FS_SIZEF_ * FS_LPSIZEF

◆ FS_MATRIX

typedef struct _FS_MATRIX_ FS_MATRIX

◆ FS_POINTF

typedef struct FS_POINTF_ FS_POINTF

◆ FS_QUADPOINTSF

◆ FS_RECTF

typedef struct _FS_RECTF_ FS_RECTF

◆ FS_SIZEF

typedef struct FS_SIZEF_ FS_SIZEF

Enumeration Type Documentation

◆ _FPDF_DUPLEXTYPE_

Enumerator
DuplexUndefined 
Simplex 
DuplexFlipShortEdge 
DuplexFlipLongEdge 

Definition at line 99 of file fpdfview.h.

◆ FPDF_RENDERER_TYPE

Enumerator
FPDF_RENDERERTYPE_AGG 
FPDF_RENDERERTYPE_SKIA 

Definition at line 237 of file fpdfview.h.

◆ FPDF_TEXT_RENDERMODE

Enumerator
FPDF_TEXTRENDERMODE_UNKNOWN 
FPDF_TEXTRENDERMODE_FILL 
FPDF_TEXTRENDERMODE_STROKE 
FPDF_TEXTRENDERMODE_FILL_STROKE 
FPDF_TEXTRENDERMODE_INVISIBLE 
FPDF_TEXTRENDERMODE_FILL_CLIP 
FPDF_TEXTRENDERMODE_STROKE_CLIP 
FPDF_TEXTRENDERMODE_FILL_STROKE_CLIP 
FPDF_TEXTRENDERMODE_CLIP 
FPDF_TEXTRENDERMODE_LAST 

Definition at line 48 of file fpdfview.h.

Function Documentation

◆ FPDF_CloseDocument()

FPDF_EXPORT void FPDF_CALLCONV FPDF_CloseDocument ( FPDF_DOCUMENT document)

Definition at line 818 of file fpdf_view.cpp.

Referenced by CheckPDFiumCApi(), main(), and FPDFDocumentDeleter::operator()().

+ Here is the caller graph for this function:

◆ FPDF_ClosePage()

FPDF_EXPORT void FPDF_CALLCONV FPDF_ClosePage ( FPDF_PAGE page)

Definition at line 801 of file fpdf_view.cpp.

References IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), EmbedderTest::CloseSavedPage(), main(), FPDFPageDeleter::operator()(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_CountNamedDests()

FPDF_EXPORT FPDF_DWORD FPDF_CALLCONV FPDF_CountNamedDests ( FPDF_DOCUMENT document)

Definition at line 1113 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::GetRoot().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_DestroyLibrary()

FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary ( )

Definition at line 257 of file fpdf_view.cpp.

References CFX_GEModule::Destroy(), CPDF_PageModule::Destroy(), IJS_Runtime::Destroy(), and CFX_Timer::DestroyGlobals().

Referenced by CheckPDFiumCApi(), main(), EmbedderTestEnvironment::TearDown(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_DeviceToPage()

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 )

Definition at line 827 of file fpdf_view.cpp.

References FX_RECT::FX_RECT(), and IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_DocumentHasValidCrossReferenceTable()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_DocumentHasValidCrossReferenceTable ( FPDF_DOCUMENT document)

Definition at line 390 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::has_valid_cross_reference_table().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetDocPermissions()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocPermissions ( FPDF_DOCUMENT document)

Definition at line 396 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::GetUserPermissions().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetDocUserPermissions()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetDocUserPermissions ( FPDF_DOCUMENT document)

Definition at line 402 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::GetUserPermissions().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetFileVersion()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetFileVersion ( FPDF_DOCUMENT doc,
int * fileVersion )

Definition at line 371 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Parser::GetFileVersion(), and CPDF_Document::GetParser().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetLastError()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetLastError ( )

Definition at line 823 of file fpdf_view.cpp.

References FXSYS_GetLastError().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetNamedDest()

FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDest ( FPDF_DOCUMENT document,
int index,
void * buffer,
long * buflen )

Definition at line 1208 of file fpdf_view.cpp.

References fxcrt::ByteString::c_str(), CPDFDocumentFromFPDFDocument(), CPDF_Dictionary::GetArrayFor(), CPDF_Document::GetRoot(), and fxcrt::WideString::ToUTF16LE().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetNamedDestByName()

FPDF_EXPORT FPDF_DEST FPDF_CALLCONV FPDF_GetNamedDestByName ( FPDF_DOCUMENT document,
FPDF_BYTESTRING name )

Definition at line 1131 of file fpdf_view.cpp.

References fxcrt::ByteString::ByteString(), CPDFDocumentFromFPDFDocument(), and CPDF_NameTree::LookupNamedDest().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageBoundingBox()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageBoundingBox ( FPDF_PAGE page,
FS_RECTF * rect )

Definition at line 472 of file fpdf_view.cpp.

References CPDFPageFromFPDFPage(), and CPDF_PageObjectHolder::GetBBox().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageCount()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageCount ( FPDF_DOCUMENT document)

Definition at line 417 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), CPDF_Document::GetExtension(), CPDF_Document::Extension::GetPageCount(), and CPDF_Document::GetPageCount().

Referenced by CheckPDFiumCApi(), FPDF_LoadPage(), EmbedderTest::GetPageCount(), and EmbedderTest::OpenDocumentHelper().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageHeight()

FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageHeight ( FPDF_PAGE page)

Definition at line 468 of file fpdf_view.cpp.

References FPDF_GetPageHeightF().

Referenced by CheckPDFiumCApi(), FPDFProgressiveRenderEmbedderTest::FinishRenderPageWithForms(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithColorSchemeAndBackground(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithFlags(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), FPDFViewEmbedderTest::TestRenderPageBitmapWithFlags(), and FPDFViewEmbedderTest::TestRenderPageBitmapWithInternalMemoryAndStride().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageHeightF()

FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageHeightF ( FPDF_PAGE page)

Definition at line 463 of file fpdf_view.cpp.

References IPDF_Page::GetPageHeight(), and IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), FPDF_GetPageHeight(), EmbedderTest::RenderPageWithFlags(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageSizeByIndex()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetPageSizeByIndex ( FPDF_DOCUMENT document,
int page_index,
double * width,
double * height )

Definition at line 1019 of file fpdf_view.cpp.

References FPDF_GetPageSizeByIndexF().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageSizeByIndexF()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetPageSizeByIndexF ( FPDF_DOCUMENT document,
int page_index,
FS_SIZEF * size )

Definition at line 982 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), FPDF_GetPageSizeByIndex(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageWidth()

FPDF_EXPORT double FPDF_CALLCONV FPDF_GetPageWidth ( FPDF_PAGE page)

Definition at line 459 of file fpdf_view.cpp.

References FPDF_GetPageWidthF().

Referenced by CheckPDFiumCApi(), FPDFProgressiveRenderEmbedderTest::FinishRenderPageWithForms(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithColorSchemeAndBackground(), FPDFProgressiveRenderEmbedderTest::StartRenderPageWithFlags(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), FPDFViewEmbedderTest::TestRenderPageBitmapWithExternalMemory(), FPDFViewEmbedderTest::TestRenderPageBitmapWithFlags(), and FPDFViewEmbedderTest::TestRenderPageBitmapWithInternalMemoryAndStride().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetPageWidthF()

FPDF_EXPORT float FPDF_CALLCONV FPDF_GetPageWidthF ( FPDF_PAGE page)

Definition at line 454 of file fpdf_view.cpp.

References IPDF_Page::GetPageWidth(), and IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), FPDF_GetPageWidth(), EmbedderTest::RenderPageWithFlags(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetSecurityHandlerRevision()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetSecurityHandlerRevision ( FPDF_DOCUMENT document)

Definition at line 408 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::GetParser().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetTrailerEnds()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetTrailerEnds ( FPDF_DOCUMENT document,
unsigned int * buffer,
unsigned long length )

Definition at line 1329 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and CPDF_Document::GetParser().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetXFAPacketContent()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_GetXFAPacketContent ( FPDF_DOCUMENT document,
int index,
void * buffer,
unsigned long buflen,
unsigned long * out_buflen )

Definition at line 1308 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetXFAPacketCount()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetXFAPacketCount ( FPDF_DOCUMENT document)

Definition at line 1280 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_GetXFAPacketName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_GetXFAPacketName ( FPDF_DOCUMENT document,
int index,
void * buffer,
unsigned long buflen )

Definition at line 1290 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_InitLibrary()

FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibrary ( )

Definition at line 224 of file fpdf_view.cpp.

References FPDF_InitLibraryWithConfig().

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_InitLibraryWithConfig()

FPDF_EXPORT void FPDF_CALLCONV FPDF_InitLibraryWithConfig ( const FPDF_LIBRARY_CONFIG * config)

Definition at line 229 of file fpdf_view.cpp.

References CFX_GEModule::Create(), CPDF_PageModule::Create(), FX_InitializeMemoryAllocators(), IJS_Runtime::Initialize(), and CFX_Timer::InitializeGlobals().

Referenced by CheckPDFiumCApi(), FPDF_InitLibrary(), main(), and EmbedderTestEnvironment::SetUp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_LoadCustomDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadCustomDocument ( FPDF_FILEACCESS * pFileAccess,
FPDF_BYTESTRING password )

Definition at line 363 of file fpdf_view.cpp.

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), TEST_F(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDF_LoadDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadDocument ( FPDF_STRING file_path,
FPDF_BYTESTRING password )

Definition at line 299 of file fpdf_view.cpp.

References IFX_SeekableReadStream::CreateFromFilename().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_LoadMemDocument()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument ( const void * data_buf,
int size,
FPDF_BYTESTRING password )

Definition at line 341 of file fpdf_view.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FPDF_LoadMemDocument64()

FPDF_EXPORT FPDF_DOCUMENT FPDF_CALLCONV FPDF_LoadMemDocument64 ( const void * data_buf,
size_t size,
FPDF_BYTESTRING password )

Definition at line 353 of file fpdf_view.cpp.

◆ FPDF_LoadPage()

FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDF_LoadPage ( FPDF_DOCUMENT document,
int page_index )

Definition at line 426 of file fpdf_view.cpp.

References CPDFDocumentFromFPDFDocument(), and FPDF_GetPageCount().

Referenced by CheckPDFiumCApi(), and EmbedderTest::LoadSavedPage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_PageToDevice()

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 )

Definition at line 852 of file fpdf_view.cpp.

References FX_RECT::FX_RECT(), and IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_RenderPageBitmap()

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 )

Definition at line 698 of file fpdf_view.cpp.

References CPDF_Page::RenderContextClearer::RenderContextClearer(), CPDFPageFromFPDFPage(), and CPDFSDK_RenderPageWithContext().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_RenderPageBitmapWithMatrix()

FPDF_EXPORT void FPDF_CALLCONV FPDF_RenderPageBitmapWithMatrix ( FPDF_BITMAP bitmap,
FPDF_PAGE page,
const FS_MATRIX * matrix,
const FS_RECTF * clipping,
int flags )

Definition at line 736 of file fpdf_view.cpp.

References FX_RECT::FX_RECT(), CPDF_Page::RenderContextClearer::RenderContextClearer(), CFXFloatRectFromFSRectF(), CFXMatrixFromFSMatrix(), CPDFPageFromFPDFPage(), CPDFSDK_RenderPage(), CPDF_Page::GetDisplayMatrix(), CPDF_Page::GetPageHeight(), CPDF_Page::GetPageWidth(), CFX_Matrix::operator*=(), CFX_FloatRect::operator=(), and CFX_FloatRect::ToFxRect().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_SetSandBoxPolicy()

FPDF_EXPORT void FPDF_CALLCONV FPDF_SetSandBoxPolicy ( FPDF_DWORD policy,
FPDF_BOOL enable )

Definition at line 281 of file fpdf_view.cpp.

References SetPDFSandboxPolicy().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_VIEWERREF_GetDuplex()

FPDF_EXPORT FPDF_DUPLEXTYPE FPDF_CALLCONV FPDF_VIEWERREF_GetDuplex ( FPDF_DOCUMENT document)

Definition at line 1080 of file fpdf_view.cpp.

References CPDF_ViewerPreferences::CPDF_ViewerPreferences(), CPDFDocumentFromFPDFDocument(), CPDF_ViewerPreferences::Duplex(), and fxcrt::operator==().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_VIEWERREF_GetName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDF_VIEWERREF_GetName ( FPDF_DOCUMENT document,
FPDF_BYTESTRING key,
char * buffer,
unsigned long length )

Definition at line 1096 of file fpdf_view.cpp.

References CPDF_ViewerPreferences::CPDF_ViewerPreferences(), and CPDFDocumentFromFPDFDocument().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_VIEWERREF_GetNumCopies()

FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetNumCopies ( FPDF_DOCUMENT document)

Definition at line 1045 of file fpdf_view.cpp.

References CPDF_ViewerPreferences::CPDF_ViewerPreferences(), CPDFDocumentFromFPDFDocument(), and CPDF_ViewerPreferences::NumCopies().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_VIEWERREF_GetPrintPageRange()

FPDF_EXPORT FPDF_PAGERANGE FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRange ( FPDF_DOCUMENT document)

Definition at line 1054 of file fpdf_view.cpp.

References CPDF_ViewerPreferences::CPDF_ViewerPreferences(), CPDFDocumentFromFPDFDocument(), and CPDF_ViewerPreferences::PrintPageRange().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDF_VIEWERREF_GetPrintPageRangeCount()

FPDF_EXPORT size_t FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRangeCount ( FPDF_PAGERANGE pagerange)

Definition at line 1065 of file fpdf_view.cpp.

References CPDFArrayFromFPDFPageRange().

+ Here is the call graph for this function:

◆ FPDF_VIEWERREF_GetPrintPageRangeElement()

FPDF_EXPORT int FPDF_CALLCONV FPDF_VIEWERREF_GetPrintPageRangeElement ( FPDF_PAGERANGE pagerange,
size_t index )

Definition at line 1071 of file fpdf_view.cpp.

References CPDFArrayFromFPDFPageRange().

+ Here is the call graph for this function:

◆ FPDF_VIEWERREF_GetPrintScaling()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_VIEWERREF_GetPrintScaling ( FPDF_DOCUMENT document)

Definition at line 1036 of file fpdf_view.cpp.

References CPDF_ViewerPreferences::CPDF_ViewerPreferences(), CPDFDocumentFromFPDFDocument(), and CPDF_ViewerPreferences::PrintScaling().

Referenced by CheckPDFiumCApi().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_Create()

FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_Create ( int width,
int height,
int alpha )

Definition at line 878 of file fpdf_view.cpp.

References kArgb, and kRgb32.

Referenced by CheckPDFiumCApi(), TEST_F(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFBitmap_CreateEx()

FPDF_EXPORT FPDF_BITMAP FPDF_CALLCONV FPDFBitmap_CreateEx ( int width,
int height,
int format,
void * first_scan,
int stride )

Definition at line 889 of file fpdf_view.cpp.

References k8bppRgb, kArgb, kRgb, and kRgb32.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FPDFBitmap_Destroy()

FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_Destroy ( FPDF_BITMAP bitmap)

Definition at line 976 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap().

Referenced by CheckPDFiumCApi(), FPDFBitmapDeleter::operator()(), TEST_F(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_FillRect()

FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_FillRect ( FPDF_BITMAP bitmap,
int left,
int top,
int width,
int height,
FPDF_DWORD color )

Definition at line 941 of file fpdf_view.cpp.

References FX_RECT::FX_RECT(), CFX_DefaultRenderDevice::Attach(), and CFX_RenderDevice::FillRect().

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_GetBuffer()

FPDF_EXPORT void *FPDF_CALLCONV FPDFBitmap_GetBuffer ( FPDF_BITMAP bitmap)

Definition at line 959 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap().

Referenced by CheckPDFiumCApi(), and EmbedderTest::HashBitmap().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_GetFormat()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetFormat ( FPDF_BITMAP bitmap)

Definition at line 921 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap(), CFX_DIBBase::GetFormat(), k8bppMask, k8bppRgb, kArgb, kRgb, and kRgb32.

Referenced by CheckPDFiumCApi(), and BitmapSaver::WriteBitmapToPng().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_GetHeight()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetHeight ( FPDF_BITMAP bitmap)

Definition at line 968 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap(), and CFX_DIBBase::GetHeight().

Referenced by CheckPDFiumCApi(), EmbedderTest::CompareBitmap(), EmbedderTest::HashBitmap(), TEST_F(), and BitmapSaver::WriteBitmapToPng().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_GetStride()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetStride ( FPDF_BITMAP bitmap)

Definition at line 972 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap(), and CFX_DIBBase::GetPitch().

Referenced by CheckPDFiumCApi(), EmbedderTest::CompareBitmap(), EmbedderTest::HashBitmap(), and BitmapSaver::WriteBitmapToPng().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FPDFBitmap_GetWidth()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetWidth ( FPDF_BITMAP bitmap)

Definition at line 964 of file fpdf_view.cpp.

References CFXDIBitmapFromFPDFBitmap(), and CFX_DIBBase::GetWidth().

Referenced by CheckPDFiumCApi(), EmbedderTest::CompareBitmap(), EmbedderTest::HashBitmap(), TEST_F(), and BitmapSaver::WriteBitmapToPng().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: