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

(0ccf980226462398d5097987466bcffd8236e1e9)

#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 const struct fpdf_structelement_attr_value_t__ * FPDF_STRUCTELEMENT_ATTR_VALUE
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 FPDF_BOOL 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 790 of file fpdfview.h.

◆ FPDF_CALLCONV

#define FPDF_CALLCONV

Definition at line 229 of file fpdfview.h.

◆ FPDF_CONVERT_FILL_TO_STROKE

#define FPDF_CONVERT_FILL_TO_STROKE   0x20

Definition at line 821 of file fpdfview.h.

◆ FPDF_DEBUG_INFO

#define FPDF_DEBUG_INFO   0x80

Definition at line 799 of file fpdfview.h.

◆ FPDF_ERR_FILE

#define FPDF_ERR_FILE   2

Definition at line 585 of file fpdfview.h.

◆ FPDF_ERR_FORMAT

#define FPDF_ERR_FORMAT   3

Definition at line 586 of file fpdfview.h.

◆ FPDF_ERR_PAGE

#define FPDF_ERR_PAGE   6

Definition at line 589 of file fpdfview.h.

◆ FPDF_ERR_PASSWORD

#define FPDF_ERR_PASSWORD   4

Definition at line 587 of file fpdfview.h.

◆ FPDF_ERR_SECURITY

#define FPDF_ERR_SECURITY   5

Definition at line 588 of file fpdfview.h.

◆ FPDF_ERR_SUCCESS

#define FPDF_ERR_SUCCESS   0

Definition at line 583 of file fpdfview.h.

◆ FPDF_ERR_UNKNOWN

#define FPDF_ERR_UNKNOWN   1

Definition at line 584 of file fpdfview.h.

◆ FPDF_EXPORT

#define FPDF_EXPORT

Definition at line 223 of file fpdfview.h.

◆ FPDF_GRAYSCALE

#define FPDF_GRAYSCALE   0x08

Definition at line 797 of file fpdfview.h.

◆ FPDF_LCD_TEXT

#define FPDF_LCD_TEXT   0x02

Definition at line 793 of file fpdfview.h.

◆ FPDF_NO_CATCH

#define FPDF_NO_CATCH   0x100

Definition at line 801 of file fpdfview.h.

◆ FPDF_NO_NATIVETEXT

#define FPDF_NO_NATIVETEXT   0x04

Definition at line 795 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 327 of file fpdfview.h.

◆ FPDF_PRINTING

#define FPDF_PRINTING   0x800

Definition at line 807 of file fpdfview.h.

◆ FPDF_RENDER_FORCEHALFTONE

#define FPDF_RENDER_FORCEHALFTONE   0x400

Definition at line 805 of file fpdfview.h.

◆ FPDF_RENDER_LIMITEDIMAGECACHE

#define FPDF_RENDER_LIMITEDIMAGECACHE   0x200

Definition at line 803 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHIMAGE

#define FPDF_RENDER_NO_SMOOTHIMAGE   0x2000

Definition at line 812 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHPATH

#define FPDF_RENDER_NO_SMOOTHPATH   0x4000

Definition at line 814 of file fpdfview.h.

◆ FPDF_RENDER_NO_SMOOTHTEXT

#define FPDF_RENDER_NO_SMOOTHTEXT   0x1000

Definition at line 810 of file fpdfview.h.

◆ FPDF_REVERSE_BYTE_ORDER

#define FPDF_REVERSE_BYTE_ORDER   0x10

Definition at line 817 of file fpdfview.h.

◆ FPDFBitmap_BGR

#define FPDFBitmap_BGR   2

Definition at line 1086 of file fpdfview.h.

◆ FPDFBitmap_BGRA

#define FPDFBitmap_BGRA   4

Definition at line 1090 of file fpdfview.h.

◆ FPDFBitmap_BGRx

#define FPDFBitmap_BGRx   3

Definition at line 1088 of file fpdfview.h.

◆ FPDFBitmap_Gray

#define FPDFBitmap_Gray   1

Definition at line 1084 of file fpdfview.h.

◆ FPDFBitmap_Unknown

#define FPDFBitmap_Unknown   0

Definition at line 1082 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 201 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 200 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 95 of file fpdfview.h.

◆ FPDF_BSTR

typedef struct FPDF_BSTR_ FPDF_BSTR

◆ FPDF_BYTESTRING

typedef const char* FPDF_BYTESTRING

Definition at line 115 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 97 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 204 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 96 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 136 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_STRUCTELEMENT_ATTR_VALUE

typedef const struct fpdf_structelement_attr_value_t__* FPDF_STRUCTELEMENT_ATTR_VALUE

Definition at line 88 of file fpdfview.h.

◆ FPDF_STRUCTTREE

typedef struct fpdf_structtree_t__* FPDF_STRUCTTREE

Definition at line 89 of file fpdfview.h.

◆ FPDF_TEXTPAGE

typedef struct fpdf_textpage_t__* FPDF_TEXTPAGE

Definition at line 90 of file fpdfview.h.

◆ FPDF_WCHAR

typedef unsigned short FPDF_WCHAR

Definition at line 109 of file fpdfview.h.

◆ FPDF_WIDESTRING

typedef const FPDF_WCHAR* FPDF_WIDESTRING

Definition at line 119 of file fpdfview.h.

◆ FPDF_WIDGET

typedef struct fpdf_widget_t__* FPDF_WIDGET

Definition at line 91 of file fpdfview.h.

◆ FPDF_XOBJECT

typedef struct fpdf_xobject_t__* FPDF_XOBJECT

Definition at line 92 of file fpdfview.h.

◆ FS_FLOAT

typedef float FS_FLOAT

Definition at line 98 of file fpdfview.h.

◆ FS_LPCPOINTF

typedef const FS_POINTF* FS_LPCPOINTF

Definition at line 186 of file fpdfview.h.

◆ FS_LPCRECTF

typedef const FS_RECTF* FS_LPCRECTF

Definition at line 168 of file fpdfview.h.

◆ FS_LPCSIZEF

typedef const FS_SIZEF* FS_LPCSIZEF

Definition at line 177 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 101 of file fpdfview.h.

◆ FPDF_RENDERER_TYPE

Enumerator
FPDF_RENDERERTYPE_AGG 
FPDF_RENDERERTYPE_SKIA 

Definition at line 239 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 824 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 807 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(), 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 1172 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(), CFX_Timer::DestroyGlobals(), and FX_DestroyMemoryAllocators().

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 833 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 392 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 398 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 404 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 373 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 829 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 1275 of file fpdf_view.cpp.

References 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 1190 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 474 of file fpdf_view.cpp.

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

Referenced by CheckPDFiumCApi(), 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 419 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 470 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 465 of file fpdf_view.cpp.

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

Referenced by CheckPDFiumCApi(), FPDF_GetPageHeight(), EmbedderTest::RenderPageWithFlags(), 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 1076 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 1039 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 461 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 456 of file fpdf_view.cpp.

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

Referenced by CheckPDFiumCApi(), FPDF_GetPageWidth(), EmbedderTest::RenderPageWithFlags(), 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 410 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 1403 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 1380 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 1350 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 1360 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 365 of file fpdf_view.cpp.

Referenced by CheckPDFiumCApi(), EmbedderTest::OpenDocumentHelper(), TEST_F(), 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 300 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 342 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 354 of file fpdf_view.cpp.

◆ FPDF_LoadPage()

FPDF_EXPORT FPDF_PAGE FPDF_CALLCONV FPDF_LoadPage ( FPDF_DOCUMENT document,
int page_index )

Definition at line 428 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 858 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 692 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 732 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 282 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 1137 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 1153 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 1102 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 1111 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 1122 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 1128 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 1093 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 883 of file fpdf_view.cpp.

References kBgra, and kBgrx.

Referenced by CheckPDFiumCApi(), EmbedderTest::RenderPageWithFlags(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), FPDFViewEmbedderTest::TestRenderPageBitmapWithFlags(), and FPDFViewEmbedderTest::TestRenderPageBitmapWithMatrix().

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 898 of file fpdf_view.cpp.

References FXDIBFormatFromFPDFFormat(), and kInvalid.

Referenced by CheckPDFiumCApi(), and FPDFViewEmbedderTest::TestRenderPageBitmapWithInternalMemoryAndStride().

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

◆ FPDFBitmap_Destroy()

FPDF_EXPORT void FPDF_CALLCONV FPDFBitmap_Destroy ( FPDF_BITMAP bitmap)

Definition at line 1033 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 FPDF_BOOL FPDF_CALLCONV FPDFBitmap_FillRect ( FPDF_BITMAP bitmap,
int left,
int top,
int width,
int height,
FPDF_DWORD color )

Definition at line 942 of file fpdf_view.cpp.

References CFX_DefaultRenderDevice::Attach(), CFX_RenderDevice::FillRect(), FX_RECT::Height(), FX_RECT::Intersect(), FX_RECT::IsEmpty(), FX_RECT::left, FX_RECT::top, and FX_RECT::Width().

Referenced by CheckPDFiumCApi(), TEST_F(), 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 1013 of file fpdf_view.cpp.

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

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 k8bppMask, k8bppRgb, kBgr, kBgra, and kBgrx.

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

Here is the caller graph for this function:

◆ FPDFBitmap_GetHeight()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetHeight ( FPDF_BITMAP bitmap)

Definition at line 1023 of file fpdf_view.cpp.

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

Here is the caller graph for this function:

◆ FPDFBitmap_GetStride()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetStride ( FPDF_BITMAP bitmap)

Definition at line 1028 of file fpdf_view.cpp.

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

Here is the caller graph for this function:

◆ FPDFBitmap_GetWidth()

FPDF_EXPORT int FPDF_CALLCONV FPDFBitmap_GetWidth ( FPDF_BITMAP bitmap)

Definition at line 1018 of file fpdf_view.cpp.

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

Here is the caller graph for this function: