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
fpdf_annot.h File Reference

(813d9ae984a99e739b99cf694a9d5b24d0a6b7a7)

#include <stddef.h>
#include "fpdfview.h"
#include "fpdf_formfill.h"
+ Include dependency graph for fpdf_annot.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FPDF_ANNOT_UNKNOWN   0
 
#define FPDF_ANNOT_TEXT   1
 
#define FPDF_ANNOT_LINK   2
 
#define FPDF_ANNOT_FREETEXT   3
 
#define FPDF_ANNOT_LINE   4
 
#define FPDF_ANNOT_SQUARE   5
 
#define FPDF_ANNOT_CIRCLE   6
 
#define FPDF_ANNOT_POLYGON   7
 
#define FPDF_ANNOT_POLYLINE   8
 
#define FPDF_ANNOT_HIGHLIGHT   9
 
#define FPDF_ANNOT_UNDERLINE   10
 
#define FPDF_ANNOT_SQUIGGLY   11
 
#define FPDF_ANNOT_STRIKEOUT   12
 
#define FPDF_ANNOT_STAMP   13
 
#define FPDF_ANNOT_CARET   14
 
#define FPDF_ANNOT_INK   15
 
#define FPDF_ANNOT_POPUP   16
 
#define FPDF_ANNOT_FILEATTACHMENT   17
 
#define FPDF_ANNOT_SOUND   18
 
#define FPDF_ANNOT_MOVIE   19
 
#define FPDF_ANNOT_WIDGET   20
 
#define FPDF_ANNOT_SCREEN   21
 
#define FPDF_ANNOT_PRINTERMARK   22
 
#define FPDF_ANNOT_TRAPNET   23
 
#define FPDF_ANNOT_WATERMARK   24
 
#define FPDF_ANNOT_THREED   25
 
#define FPDF_ANNOT_RICHMEDIA   26
 
#define FPDF_ANNOT_XFAWIDGET   27
 
#define FPDF_ANNOT_REDACT   28
 
#define FPDF_ANNOT_FLAG_NONE   0
 
#define FPDF_ANNOT_FLAG_INVISIBLE   (1 << 0)
 
#define FPDF_ANNOT_FLAG_HIDDEN   (1 << 1)
 
#define FPDF_ANNOT_FLAG_PRINT   (1 << 2)
 
#define FPDF_ANNOT_FLAG_NOZOOM   (1 << 3)
 
#define FPDF_ANNOT_FLAG_NOROTATE   (1 << 4)
 
#define FPDF_ANNOT_FLAG_NOVIEW   (1 << 5)
 
#define FPDF_ANNOT_FLAG_READONLY   (1 << 6)
 
#define FPDF_ANNOT_FLAG_LOCKED   (1 << 7)
 
#define FPDF_ANNOT_FLAG_TOGGLENOVIEW   (1 << 8)
 
#define FPDF_ANNOT_APPEARANCEMODE_NORMAL   0
 
#define FPDF_ANNOT_APPEARANCEMODE_ROLLOVER   1
 
#define FPDF_ANNOT_APPEARANCEMODE_DOWN   2
 
#define FPDF_ANNOT_APPEARANCEMODE_COUNT   3
 
#define FPDF_FORMFLAG_NONE   0
 
#define FPDF_FORMFLAG_READONLY   (1 << 0)
 
#define FPDF_FORMFLAG_REQUIRED   (1 << 1)
 
#define FPDF_FORMFLAG_NOEXPORT   (1 << 2)
 
#define FPDF_FORMFLAG_TEXT_MULTILINE   (1 << 12)
 
#define FPDF_FORMFLAG_TEXT_PASSWORD   (1 << 13)
 
#define FPDF_FORMFLAG_CHOICE_COMBO   (1 << 17)
 
#define FPDF_FORMFLAG_CHOICE_EDIT   (1 << 18)
 
#define FPDF_FORMFLAG_CHOICE_MULTI_SELECT   (1 << 21)
 
#define FPDF_ANNOT_AACTION_KEY_STROKE   12
 
#define FPDF_ANNOT_AACTION_FORMAT   13
 
#define FPDF_ANNOT_AACTION_VALIDATE   14
 
#define FPDF_ANNOT_AACTION_CALCULATE   15
 

Typedefs

typedef enum FPDFANNOT_COLORTYPE FPDFANNOT_COLORTYPE
 

Enumerations

enum  FPDFANNOT_COLORTYPE { FPDFANNOT_COLORTYPE_Color = 0 , FPDFANNOT_COLORTYPE_InteriorColor }
 

Functions

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsSupportedSubtype (FPDF_ANNOTATION_SUBTYPE subtype)
 
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_CreateAnnot (FPDF_PAGE page, FPDF_ANNOTATION_SUBTYPE subtype)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotCount (FPDF_PAGE page)
 
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_GetAnnot (FPDF_PAGE page, int index)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotIndex (FPDF_PAGE page, FPDF_ANNOTATION annot)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveAnnot (FPDF_PAGE page, int index)
 
FPDF_EXPORT FPDF_ANNOTATION_SUBTYPE FPDF_CALLCONV FPDFAnnot_GetSubtype (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsObjectSupportedSubtype (FPDF_ANNOTATION_SUBTYPE subtype)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_UpdateObject (FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_AddInkStroke (FPDF_ANNOTATION annot, const FS_POINTF *points, size_t point_count)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveInkList (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendObject (FPDF_ANNOTATION annot, FPDF_PAGEOBJECT obj)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFAnnot_GetObject (FPDF_ANNOTATION annot, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveObject (FPDF_ANNOTATION annot, int index)
 
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_GetColor (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_HasAttachmentPoints (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAttachmentPoints (FPDF_ANNOTATION annot, size_t quad_index, const FS_QUADPOINTSF *quad_points)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendAttachmentPoints (FPDF_ANNOTATION annot, const FS_QUADPOINTSF *quad_points)
 
FPDF_EXPORT size_t FPDF_CALLCONV FPDFAnnot_CountAttachmentPoints (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetAttachmentPoints (FPDF_ANNOTATION annot, size_t quad_index, FS_QUADPOINTSF *quad_points)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect (FPDF_ANNOTATION annot, const FS_RECTF *rect)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect (FPDF_ANNOTATION annot, FS_RECTF *rect)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetVertices (FPDF_ANNOTATION annot, FS_POINTF *buffer, unsigned long length)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListCount (FPDF_ANNOTATION annot)
 
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_GetLine (FPDF_ANNOTATION annot, FS_POINTF *start, FS_POINTF *end)
 
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_GetBorder (FPDF_ANNOTATION annot, float *horizontal_radius, float *vertical_radius, float *border_width)
 
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_HasKey (FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
 
FPDF_EXPORT FPDF_OBJECT_TYPE FPDF_CALLCONV FPDFAnnot_GetValueType (FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetStringValue (FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WIDESTRING value)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetStringValue (FPDF_ANNOTATION annot, FPDF_BYTESTRING key, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetNumberValue (FPDF_ANNOTATION annot, FPDF_BYTESTRING key, float *value)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAP (FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WIDESTRING value)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetAP (FPDF_ANNOTATION annot, FPDF_ANNOT_APPEARANCEMODE appearanceMode, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetLinkedAnnot (FPDF_ANNOTATION annot, FPDF_BYTESTRING key)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags (FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags (FPDF_ANNOTATION annot, int flags)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldFlags (FPDF_FORMHANDLE handle, 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_GetFormFieldName (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldAlternateName (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldType (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldValue (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetOptionCount (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetOptionLabel (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, int index, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsOptionSelected (FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFontSize (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, float *value)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsChecked (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFocusableSubtypes (FPDF_FORMHANDLE hHandle, const FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypesCount (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypes (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION_SUBTYPE *subtypes, size_t count)
 
FPDF_EXPORT FPDF_LINK FPDF_CALLCONV FPDFAnnot_GetLink (FPDF_ANNOTATION annot)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlCount (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlIndex (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldExportValue (FPDF_FORMHANDLE hHandle, FPDF_ANNOTATION annot, FPDF_WCHAR *buffer, unsigned long buflen)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetURI (FPDF_ANNOTATION annot, const char *uri)
 

Macro Definition Documentation

◆ FPDF_ANNOT_AACTION_CALCULATE

#define FPDF_ANNOT_AACTION_CALCULATE   15

Definition at line 93 of file fpdf_annot.h.

◆ FPDF_ANNOT_AACTION_FORMAT

#define FPDF_ANNOT_AACTION_FORMAT   13

Definition at line 91 of file fpdf_annot.h.

◆ FPDF_ANNOT_AACTION_KEY_STROKE

#define FPDF_ANNOT_AACTION_KEY_STROKE   12

Definition at line 90 of file fpdf_annot.h.

◆ FPDF_ANNOT_AACTION_VALIDATE

#define FPDF_ANNOT_AACTION_VALIDATE   14

Definition at line 92 of file fpdf_annot.h.

◆ FPDF_ANNOT_APPEARANCEMODE_COUNT

#define FPDF_ANNOT_APPEARANCEMODE_COUNT   3

Definition at line 65 of file fpdf_annot.h.

◆ FPDF_ANNOT_APPEARANCEMODE_DOWN

#define FPDF_ANNOT_APPEARANCEMODE_DOWN   2

Definition at line 64 of file fpdf_annot.h.

◆ FPDF_ANNOT_APPEARANCEMODE_NORMAL

#define FPDF_ANNOT_APPEARANCEMODE_NORMAL   0

Definition at line 62 of file fpdf_annot.h.

◆ FPDF_ANNOT_APPEARANCEMODE_ROLLOVER

#define FPDF_ANNOT_APPEARANCEMODE_ROLLOVER   1

Definition at line 63 of file fpdf_annot.h.

◆ FPDF_ANNOT_CARET

#define FPDF_ANNOT_CARET   14

Definition at line 34 of file fpdf_annot.h.

◆ FPDF_ANNOT_CIRCLE

#define FPDF_ANNOT_CIRCLE   6

Definition at line 26 of file fpdf_annot.h.

◆ FPDF_ANNOT_FILEATTACHMENT

#define FPDF_ANNOT_FILEATTACHMENT   17

Definition at line 37 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_HIDDEN

#define FPDF_ANNOT_FLAG_HIDDEN   (1 << 1)

Definition at line 53 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_INVISIBLE

#define FPDF_ANNOT_FLAG_INVISIBLE   (1 << 0)

Definition at line 52 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_LOCKED

#define FPDF_ANNOT_FLAG_LOCKED   (1 << 7)

Definition at line 59 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_NONE

#define FPDF_ANNOT_FLAG_NONE   0

Definition at line 51 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_NOROTATE

#define FPDF_ANNOT_FLAG_NOROTATE   (1 << 4)

Definition at line 56 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_NOVIEW

#define FPDF_ANNOT_FLAG_NOVIEW   (1 << 5)

Definition at line 57 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_NOZOOM

#define FPDF_ANNOT_FLAG_NOZOOM   (1 << 3)

Definition at line 55 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_PRINT

#define FPDF_ANNOT_FLAG_PRINT   (1 << 2)

Definition at line 54 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_READONLY

#define FPDF_ANNOT_FLAG_READONLY   (1 << 6)

Definition at line 58 of file fpdf_annot.h.

◆ FPDF_ANNOT_FLAG_TOGGLENOVIEW

#define FPDF_ANNOT_FLAG_TOGGLENOVIEW   (1 << 8)

Definition at line 60 of file fpdf_annot.h.

◆ FPDF_ANNOT_FREETEXT

#define FPDF_ANNOT_FREETEXT   3

Definition at line 23 of file fpdf_annot.h.

◆ FPDF_ANNOT_HIGHLIGHT

#define FPDF_ANNOT_HIGHLIGHT   9

Definition at line 29 of file fpdf_annot.h.

◆ FPDF_ANNOT_INK

#define FPDF_ANNOT_INK   15

Definition at line 35 of file fpdf_annot.h.

◆ FPDF_ANNOT_LINE

#define FPDF_ANNOT_LINE   4

Definition at line 24 of file fpdf_annot.h.

◆ FPDF_ANNOT_LINK

#define FPDF_ANNOT_LINK   2

Definition at line 22 of file fpdf_annot.h.

◆ FPDF_ANNOT_MOVIE

#define FPDF_ANNOT_MOVIE   19

Definition at line 39 of file fpdf_annot.h.

◆ FPDF_ANNOT_POLYGON

#define FPDF_ANNOT_POLYGON   7

Definition at line 27 of file fpdf_annot.h.

◆ FPDF_ANNOT_POLYLINE

#define FPDF_ANNOT_POLYLINE   8

Definition at line 28 of file fpdf_annot.h.

◆ FPDF_ANNOT_POPUP

#define FPDF_ANNOT_POPUP   16

Definition at line 36 of file fpdf_annot.h.

◆ FPDF_ANNOT_PRINTERMARK

#define FPDF_ANNOT_PRINTERMARK   22

Definition at line 42 of file fpdf_annot.h.

◆ FPDF_ANNOT_REDACT

#define FPDF_ANNOT_REDACT   28

Definition at line 48 of file fpdf_annot.h.

◆ FPDF_ANNOT_RICHMEDIA

#define FPDF_ANNOT_RICHMEDIA   26

Definition at line 46 of file fpdf_annot.h.

◆ FPDF_ANNOT_SCREEN

#define FPDF_ANNOT_SCREEN   21

Definition at line 41 of file fpdf_annot.h.

◆ FPDF_ANNOT_SOUND

#define FPDF_ANNOT_SOUND   18

Definition at line 38 of file fpdf_annot.h.

◆ FPDF_ANNOT_SQUARE

#define FPDF_ANNOT_SQUARE   5

Definition at line 25 of file fpdf_annot.h.

◆ FPDF_ANNOT_SQUIGGLY

#define FPDF_ANNOT_SQUIGGLY   11

Definition at line 31 of file fpdf_annot.h.

◆ FPDF_ANNOT_STAMP

#define FPDF_ANNOT_STAMP   13

Definition at line 33 of file fpdf_annot.h.

◆ FPDF_ANNOT_STRIKEOUT

#define FPDF_ANNOT_STRIKEOUT   12

Definition at line 32 of file fpdf_annot.h.

◆ FPDF_ANNOT_TEXT

#define FPDF_ANNOT_TEXT   1

Definition at line 21 of file fpdf_annot.h.

◆ FPDF_ANNOT_THREED

#define FPDF_ANNOT_THREED   25

Definition at line 45 of file fpdf_annot.h.

◆ FPDF_ANNOT_TRAPNET

#define FPDF_ANNOT_TRAPNET   23

Definition at line 43 of file fpdf_annot.h.

◆ FPDF_ANNOT_UNDERLINE

#define FPDF_ANNOT_UNDERLINE   10

Definition at line 30 of file fpdf_annot.h.

◆ FPDF_ANNOT_UNKNOWN

#define FPDF_ANNOT_UNKNOWN   0

Definition at line 20 of file fpdf_annot.h.

◆ FPDF_ANNOT_WATERMARK

#define FPDF_ANNOT_WATERMARK   24

Definition at line 44 of file fpdf_annot.h.

◆ FPDF_ANNOT_WIDGET

#define FPDF_ANNOT_WIDGET   20

Definition at line 40 of file fpdf_annot.h.

◆ FPDF_ANNOT_XFAWIDGET

#define FPDF_ANNOT_XFAWIDGET   27

Definition at line 47 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_CHOICE_COMBO

#define FPDF_FORMFLAG_CHOICE_COMBO   (1 << 17)

Definition at line 81 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_CHOICE_EDIT

#define FPDF_FORMFLAG_CHOICE_EDIT   (1 << 18)

Definition at line 82 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_CHOICE_MULTI_SELECT

#define FPDF_FORMFLAG_CHOICE_MULTI_SELECT   (1 << 21)

Definition at line 83 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_NOEXPORT

#define FPDF_FORMFLAG_NOEXPORT   (1 << 2)

Definition at line 72 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_NONE

#define FPDF_FORMFLAG_NONE   0

Definition at line 69 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_READONLY

#define FPDF_FORMFLAG_READONLY   (1 << 0)

Definition at line 70 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_REQUIRED

#define FPDF_FORMFLAG_REQUIRED   (1 << 1)

Definition at line 71 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_TEXT_MULTILINE

#define FPDF_FORMFLAG_TEXT_MULTILINE   (1 << 12)

Definition at line 76 of file fpdf_annot.h.

◆ FPDF_FORMFLAG_TEXT_PASSWORD

#define FPDF_FORMFLAG_TEXT_PASSWORD   (1 << 13)

Definition at line 77 of file fpdf_annot.h.

Typedef Documentation

◆ FPDFANNOT_COLORTYPE

Enumeration Type Documentation

◆ FPDFANNOT_COLORTYPE

Enumerator
FPDFANNOT_COLORTYPE_Color 
FPDFANNOT_COLORTYPE_InteriorColor 

Definition at line 95 of file fpdf_annot.h.

Function Documentation

◆ FPDFAnnot_AddInkStroke()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_AddInkStroke ( FPDF_ANNOTATION annot,
const FS_POINTF * points,
size_t point_count )

Definition at line 502 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_AppendAttachmentPoints()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendAttachmentPoints ( FPDF_ANNOTATION annot,
const FS_QUADPOINTSF * quad_points )

Definition at line 775 of file fpdf_annot.cpp.

References FPDFAnnot_HasAttachmentPoints().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_AppendObject()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_AppendObject ( FPDF_ANNOTATION annot,
FPDF_PAGEOBJECT obj )

Definition at line 539 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), CPDFPageObjectFromFPDFPageObject(), FPDFAnnot_GetSubtype(), FPDFAnnot_IsObjectSupportedSubtype(), CPDF_GenerateAP::GenerateEmptyAP(), IPDF_Page::GetDocument(), CPDF_AnnotContext::GetForm(), CPDF_AnnotContext::GetPage(), CPDF_AnnotContext::HasForm(), CPDF_Annot::kNormal, and CPDF_AnnotContext::SetForm().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_CountAttachmentPoints()

FPDF_EXPORT size_t FPDF_CALLCONV FPDFAnnot_CountAttachmentPoints ( FPDF_ANNOTATION annot)

Definition at line 792 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), FPDFAnnot_HasAttachmentPoints(), and CPDF_AnnotContext::GetAnnotDict().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetAP()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetAP ( FPDF_ANNOTATION annot,
FPDF_ANNOT_APPEARANCEMODE appearanceMode,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1126 of file fpdf_annot.cpp.

References fxcrt::WideString::WideString().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetAttachmentPoints()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetAttachmentPoints ( FPDF_ANNOTATION annot,
size_t quad_index,
FS_QUADPOINTSF * quad_points )

Definition at line 804 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), FPDFAnnot_HasAttachmentPoints(), and CPDF_AnnotContext::GetAnnotDict().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetBorder()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetBorder ( FPDF_ANNOTATION annot,
float * horizontal_radius,
float * vertical_radius,
float * border_width )

Definition at line 965 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFAnnot_GetColor()

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 )

Definition at line 681 of file fpdf_annot.cpp.

References fpdfdoc::CFXColorFromArray(), CFX_Color::fColor1, CFX_Color::fColor2, CFX_Color::fColor3, CFX_Color::fColor4, CFX_Color::kCMYK, CFX_Color::kGray, CFX_Color::kRGB, pdfium::annotation::kSubtype, CFX_Color::kTransparent, and CFX_Color::nColorType.

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFlags()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFlags ( FPDF_ANNOTATION annot)

Definition at line 1164 of file fpdf_annot.cpp.

References CPDF_Dictionary::GetIntegerFor(), and pdfium::annotation::kF.

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFocusableSubtypes()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypes ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION_SUBTYPE * subtypes,
size_t count )

Definition at line 1390 of file fpdf_annot.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFocusableSubtypesCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFocusableSubtypesCount ( FPDF_FORMHANDLE hHandle)

Definition at line 1380 of file fpdf_annot.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetFontSize()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetFontSize ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
float * value )

Definition at line 1322 of file fpdf_annot.cpp.

References FormHandleToInteractiveForm(), CPDF_InteractiveForm::GetControlByDict(), CPDFSDK_Widget::GetFontSize(), CPDFSDK_InteractiveForm::GetInteractiveForm(), and CPDFSDK_InteractiveForm::GetWidget().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetFormAdditionalActionJavaScript()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormAdditionalActionJavaScript ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
int event,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1230 of file fpdf_annot.cpp.

References CPDF_AAction::GetAction(), CPDF_FormField::GetAdditionalAction(), CPDF_Action::GetJavaScript(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormControlCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlCount ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot )

Definition at line 1427 of file fpdf_annot.cpp.

References CPDF_FormField::CountControls().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormControlIndex()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormControlIndex ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot )

Definition at line 1433 of file fpdf_annot.cpp.

References FormHandleToInteractiveForm(), CPDF_InteractiveForm::GetControlByDict(), CPDF_FormField::GetControlIndex(), CPDF_InteractiveForm::GetFieldByDict(), and CPDFSDK_InteractiveForm::GetInteractiveForm().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldAlternateName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldAlternateName ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1252 of file fpdf_annot.cpp.

References CPDF_FormField::GetAlternateName(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldAtPoint()

FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetFormFieldAtPoint ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
const FS_POINTF * point )

Definition at line 1188 of file fpdf_annot.cpp.

References CPDFPageFromFPDFPage(), FormHandleToInteractiveForm(), FPDFPage_GetAnnot(), CPDF_InteractiveForm::GetControlAtPoint(), and CPDFSDK_InteractiveForm::GetInteractiveForm().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetFormFieldExportValue()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldExportValue ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1449 of file fpdf_annot.cpp.

References CPDFSDK_Widget::GetExportValue(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldFlags()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldFlags ( FPDF_FORMHANDLE handle,
FPDF_ANNOTATION annot )

Definition at line 1182 of file fpdf_annot.cpp.

References CPDF_FormField::GetFieldFlags().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldName()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldName ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1212 of file fpdf_annot.cpp.

References CPDF_FormField::GetFullName(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldType()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetFormFieldType ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot )

Definition at line 1224 of file fpdf_annot.cpp.

References CPDF_FormField::GetFieldType().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetFormFieldValue()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetFormFieldValue ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1265 of file fpdf_annot.cpp.

References CPDF_FormField::GetValue(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetInkListCount()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListCount ( FPDF_ANNOTATION annot)

Definition at line 888 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFAnnot_GetInkListPath()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetInkListPath ( FPDF_ANNOTATION annot,
unsigned long path_index,
FS_POINTF * buffer,
unsigned long length )

Definition at line 894 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFAnnot_GetLine()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetLine ( FPDF_ANNOTATION annot,
FS_POINTF * start,
FS_POINTF * end )

Definition at line 918 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetLink()

FPDF_EXPORT FPDF_LINK FPDF_CALLCONV FPDFAnnot_GetLink ( FPDF_ANNOTATION annot)

Definition at line 1417 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), and FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetLinkedAnnot()

FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFAnnot_GetLinkedAnnot ( FPDF_ANNOTATION annot,
FPDF_BYTESTRING key )

Definition at line 1147 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), and CPDF_AnnotContext::GetPage().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetNumberValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetNumberValue ( FPDF_ANNOTATION annot,
FPDF_BYTESTRING key,
float * value )

Definition at line 1031 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFAnnot_GetObject()

FPDF_EXPORT FPDF_PAGEOBJECT FPDF_CALLCONV FPDFAnnot_GetObject ( FPDF_ANNOTATION annot,
int index )

Definition at line 601 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), CPDF_AnnotContext::GetForm(), CPDF_AnnotContext::HasForm(), and CPDF_AnnotContext::SetForm().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetObjectCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetObjectCount ( FPDF_ANNOTATION annot)

Definition at line 582 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), CPDF_AnnotContext::GetForm(), CPDF_AnnotContext::HasForm(), and CPDF_AnnotContext::SetForm().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetOptionCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFAnnot_GetOptionCount ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot )

Definition at line 1276 of file fpdf_annot.cpp.

References CPDF_FormField::CountOptions().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetOptionLabel()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetOptionLabel ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot,
int index,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1283 of file fpdf_annot.cpp.

References CPDF_FormField::CountOptions(), CPDF_FormField::GetOptionLabel(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetRect()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_GetRect ( FPDF_ANNOTATION annot,
FS_RECTF * rect )

Definition at line 847 of file fpdf_annot.cpp.

References FSRectFFromCFXFloatRect(), CPDF_Dictionary::GetRectFor(), and pdfium::annotation::kRect.

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetStringValue()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetStringValue ( FPDF_ANNOTATION annot,
FPDF_BYTESTRING key,
FPDF_WCHAR * buffer,
unsigned long buflen )

Definition at line 1018 of file fpdf_annot.cpp.

References CPDF_Dictionary::GetUnicodeTextFor(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_GetSubtype()

Definition at line 458 of file fpdf_annot.cpp.

References CPDF_Dictionary::GetNameFor(), pdfium::annotation::kSubtype, and CPDF_Annot::StringToAnnotSubtype().

Referenced by CheckPDFiumCApi(), FPDFAnnot_AddInkStroke(), FPDFAnnot_AppendObject(), FPDFAnnot_GetLine(), FPDFAnnot_GetLink(), FPDFAnnot_GetVertices(), FPDFAnnot_HasAttachmentPoints(), FPDFAnnot_RemoveInkList(), FPDFAnnot_RemoveObject(), FPDFAnnot_SetURI(), FPDFAnnot_UpdateObject(), TEST_F(), and TEST_F().

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

◆ FPDFAnnot_GetValueType()

Definition at line 994 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), and FPDFAnnot_HasKey().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_GetVertices()

FPDF_EXPORT unsigned long FPDF_CALLCONV FPDFAnnot_GetVertices ( FPDF_ANNOTATION annot,
FS_POINTF * buffer,
unsigned long length )

Definition at line 859 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_HasAttachmentPoints()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_HasAttachmentPoints ( FPDF_ANNOTATION annot)

Definition at line 745 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), FPDFAnnot_AppendAttachmentPoints(), FPDFAnnot_CountAttachmentPoints(), FPDFAnnot_GetAttachmentPoints(), FPDFAnnot_SetAttachmentPoints(), and FPDFAnnot_SetRect().

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

◆ FPDFAnnot_HasKey()

Definition at line 987 of file fpdf_annot.cpp.

References CPDF_Dictionary::KeyExist().

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

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

◆ FPDFAnnot_IsChecked()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsChecked ( FPDF_FORMHANDLE hHandle,
FPDF_ANNOTATION annot )

Definition at line 1349 of file fpdf_annot.cpp.

References CPDFSDK_Widget::IsChecked().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_IsObjectSupportedSubtype()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsObjectSupportedSubtype ( FPDF_ANNOTATION_SUBTYPE subtype)

Definition at line 468 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), FPDFAnnot_AppendObject(), FPDFAnnot_RemoveObject(), and FPDFAnnot_UpdateObject().

+ Here is the caller graph for this function:

◆ FPDFAnnot_IsOptionSelected()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsOptionSelected ( FPDF_FORMHANDLE handle,
FPDF_ANNOTATION annot,
int index )

Definition at line 1300 of file fpdf_annot.cpp.

References CPDF_FormField::CountOptions(), CPDF_FormField::GetFieldType(), CPDF_FormField::IsItemSelected(), kComboBox, and kListBox.

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_IsSupportedSubtype()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_IsSupportedSubtype ( FPDF_ANNOTATION_SUBTYPE subtype)

Definition at line 340 of file fpdf_annot.cpp.

Referenced by CheckPDFiumCApi(), and FPDFPage_CreateAnnot().

+ Here is the caller graph for this function:

◆ FPDFAnnot_RemoveInkList()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveInkList ( FPDF_ANNOTATION annot)

Definition at line 528 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_RemoveObject()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_RemoveObject ( FPDF_ANNOTATION annot,
int index )

Definition at line 621 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), FPDFAnnot_GetSubtype(), FPDFAnnot_IsObjectSupportedSubtype(), CPDF_AnnotContext::GetForm(), and CPDF_AnnotContext::HasForm().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetAP()

Definition at line 1050 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), IPDF_Page::GetDocument(), CPDF_AnnotContext::GetPage(), CFX_FloatRect::Height(), pdfium::annotation::kAP, pdfium::annotation::kRect, pdfium::annotation::kSubtype, pdfium::annotation::kType, WideStringFromFPDFWideString(), and CFX_FloatRect::Width().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetAttachmentPoints()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAttachmentPoints ( FPDF_ANNOTATION annot,
size_t quad_index,
const FS_QUADPOINTSF * quad_points )

Definition at line 756 of file fpdf_annot.cpp.

References FPDFAnnot_HasAttachmentPoints().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetBorder()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetBorder ( FPDF_ANNOTATION annot,
float horizontal_radius,
float vertical_radius,
float border_width )

Definition at line 944 of file fpdf_annot.cpp.

References pdfium::annotation::kAP, and pdfium::annotation::kBorder.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FPDFAnnot_SetColor()

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 )

Definition at line 645 of file fpdf_annot.cpp.

References FPDFANNOT_COLORTYPE_InteriorColor.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FPDFAnnot_SetFlags()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFlags ( FPDF_ANNOTATION annot,
int flags )

Definition at line 1170 of file fpdf_annot.cpp.

References pdfium::annotation::kF.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FPDFAnnot_SetFocusableSubtypes()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetFocusableSubtypes ( FPDF_FORMHANDLE hHandle,
const FPDF_ANNOTATION_SUBTYPE * subtypes,
size_t count )

Definition at line 1357 of file fpdf_annot.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetRect()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetRect ( FPDF_ANNOTATION annot,
const FS_RECTF * rect )

Definition at line 820 of file fpdf_annot.cpp.

References CFXFloatRectFromFSRectF(), FPDFAnnot_HasAttachmentPoints(), and pdfium::annotation::kRect.

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetStringValue()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetStringValue ( FPDF_ANNOTATION annot,
FPDF_BYTESTRING key,
FPDF_WIDESTRING value )

Definition at line 1004 of file fpdf_annot.cpp.

References WideStringFromFPDFWideString().

Referenced by CheckPDFiumCApi().

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

◆ FPDFAnnot_SetURI()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetURI ( FPDF_ANNOTATION annot,
const char * uri )

Definition at line 1462 of file fpdf_annot.cpp.

References FPDFAnnot_GetSubtype().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFAnnot_UpdateObject()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_UpdateObject ( FPDF_ANNOTATION annot,
FPDF_PAGEOBJECT obj )

Definition at line 474 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), CPDFPageObjectFromFPDFPageObject(), FPDFAnnot_GetSubtype(), FPDFAnnot_IsObjectSupportedSubtype(), CPDF_AnnotContext::GetForm(), and CPDF_AnnotContext::HasForm().

Referenced by CheckPDFiumCApi().

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

◆ FPDFPage_CloseAnnot()

FPDF_EXPORT void FPDF_CALLCONV FPDFPage_CloseAnnot ( FPDF_ANNOTATION annot)

Definition at line 439 of file fpdf_annot.cpp.

References CPDFAnnotContextFromFPDFAnnotation().

Referenced by CheckPDFiumCApi(), FPDFAnnotationDeleter::operator()(), TEST_F(), 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:

◆ FPDFPage_CreateAnnot()

Definition at line 362 of file fpdf_annot.cpp.

References CPDF_Annot::AnnotSubtypeToString(), CPDFPageFromFPDFPage(), FPDFAnnot_IsSupportedSubtype(), CPDF_Page::GetDocument(), IPDFPageFromFPDFPage(), pdfium::annotation::kSubtype, and pdfium::annotation::kType.

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FPDFPage_GetAnnot()

FPDF_EXPORT FPDF_ANNOTATION FPDF_CALLCONV FPDFPage_GetAnnot ( FPDF_PAGE page,
int index )

Definition at line 391 of file fpdf_annot.cpp.

References CPDFPageFromFPDFPage(), and IPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), FPDFAnnot_GetFormFieldAtPoint(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), 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:

◆ FPDFPage_GetAnnotCount()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotCount ( FPDF_PAGE page)

Definition at line 382 of file fpdf_annot.cpp.

References CPDFPageFromFPDFPage().

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

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

◆ FPDFPage_GetAnnotIndex()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_GetAnnotIndex ( FPDF_PAGE page,
FPDF_ANNOTATION annot )

Definition at line 413 of file fpdf_annot.cpp.

References CPDFPageFromFPDFPage().

Referenced by CheckPDFiumCApi(), 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:

◆ FPDFPage_RemoveAnnot()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPage_RemoveAnnot ( FPDF_PAGE page,
int index )

Definition at line 443 of file fpdf_annot.cpp.

References CPDFPageFromFPDFPage().

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

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