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

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

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

Go to the source code of this file.

Classes

struct  _IPDF_JsPlatform
 
struct  _FPDF_SYSTEMTIME
 
struct  _FPDF_FORMFILLINFO
 

Macros

#define FORMTYPE_NONE   0
 
#define FORMTYPE_ACRO_FORM   1
 
#define FORMTYPE_XFA_FULL   2
 
#define FORMTYPE_XFA_FOREGROUND   3
 
#define FORMTYPE_COUNT   4
 
#define JSPLATFORM_ALERT_BUTTON_OK   0
 
#define JSPLATFORM_ALERT_BUTTON_OKCANCEL   1
 
#define JSPLATFORM_ALERT_BUTTON_YESNO   2
 
#define JSPLATFORM_ALERT_BUTTON_YESNOCANCEL   3
 
#define JSPLATFORM_ALERT_BUTTON_DEFAULT   JSPLATFORM_ALERT_BUTTON_OK
 
#define JSPLATFORM_ALERT_ICON_ERROR   0
 
#define JSPLATFORM_ALERT_ICON_WARNING   1
 
#define JSPLATFORM_ALERT_ICON_QUESTION   2
 
#define JSPLATFORM_ALERT_ICON_STATUS   3
 
#define JSPLATFORM_ALERT_ICON_ASTERISK   4
 
#define JSPLATFORM_ALERT_ICON_DEFAULT   JSPLATFORM_ALERT_ICON_ERROR
 
#define JSPLATFORM_ALERT_RETURN_OK   1
 
#define JSPLATFORM_ALERT_RETURN_CANCEL   2
 
#define JSPLATFORM_ALERT_RETURN_NO   3
 
#define JSPLATFORM_ALERT_RETURN_YES   4
 
#define JSPLATFORM_BEEP_ERROR   0
 
#define JSPLATFORM_BEEP_WARNING   1
 
#define JSPLATFORM_BEEP_QUESTION   2
 
#define JSPLATFORM_BEEP_STATUS   3
 
#define JSPLATFORM_BEEP_DEFAULT   4
 
#define FXCT_ARROW   0
 
#define FXCT_NESW   1
 
#define FXCT_NWSE   2
 
#define FXCT_VBEAM   3
 
#define FXCT_HBEAM   4
 
#define FXCT_HAND   5
 
#define FPDFDOC_AACTION_WC   0x10
 
#define FPDFDOC_AACTION_WS   0x11
 
#define FPDFDOC_AACTION_DS   0x12
 
#define FPDFDOC_AACTION_WP   0x13
 
#define FPDFDOC_AACTION_DP   0x14
 
#define FPDFPAGE_AACTION_OPEN   0
 
#define FPDFPAGE_AACTION_CLOSE   1
 
#define FPDF_FORMFIELD_UNKNOWN   0
 
#define FPDF_FORMFIELD_PUSHBUTTON   1
 
#define FPDF_FORMFIELD_CHECKBOX   2
 
#define FPDF_FORMFIELD_RADIOBUTTON   3
 
#define FPDF_FORMFIELD_COMBOBOX   4
 
#define FPDF_FORMFIELD_LISTBOX   5
 
#define FPDF_FORMFIELD_TEXTFIELD   6
 
#define FPDF_FORMFIELD_SIGNATURE   7
 
#define FPDF_FORMFIELD_COUNT   8
 

Typedefs

typedef struct _IPDF_JsPlatform IPDF_JSPLATFORM
 
typedef void(* TimerCallback) (int idEvent)
 
typedef struct _FPDF_SYSTEMTIME FPDF_SYSTEMTIME
 
typedef struct _FPDF_FORMFILLINFO FPDF_FORMFILLINFO
 

Functions

FPDF_EXPORT FPDF_FORMHANDLE FPDF_CALLCONV FPDFDOC_InitFormFillEnvironment (FPDF_DOCUMENT document, FPDF_FORMFILLINFO *formInfo)
 
FPDF_EXPORT void FPDF_CALLCONV FPDFDOC_ExitFormFillEnvironment (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_OnAfterLoadPage (FPDF_PAGE page, FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_OnBeforeClosePage (FPDF_PAGE page, FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentJSAction (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentOpenAction (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentAAction (FPDF_FORMHANDLE hHandle, int aaType)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_DoPageAAction (FPDF_PAGE page, FPDF_FORMHANDLE hHandle, int aaType)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnMouseMove (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnMouseWheel (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, const FS_POINTF *page_coord, int delta_x, int delta_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnFocus (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonDown (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnRButtonDown (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonUp (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnRButtonUp (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonDoubleClick (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int modifier, double page_x, double page_y)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnKeyDown (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int nKeyCode, int modifier)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnKeyUp (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int nKeyCode, int modifier)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnChar (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int nChar, int modifier)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FORM_GetFocusedText (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, void *buffer, unsigned long buflen)
 
FPDF_EXPORT unsigned long FPDF_CALLCONV FORM_GetSelectedText (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, void *buffer, unsigned long buflen)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_ReplaceAndKeepSelection (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, FPDF_WIDESTRING wsText)
 
FPDF_EXPORT void FPDF_CALLCONV FORM_ReplaceSelection (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, FPDF_WIDESTRING wsText)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SelectAllText (FPDF_FORMHANDLE hHandle, FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_CanUndo (FPDF_FORMHANDLE hHandle, FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_CanRedo (FPDF_FORMHANDLE hHandle, FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_Undo (FPDF_FORMHANDLE hHandle, FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_Redo (FPDF_FORMHANDLE hHandle, FPDF_PAGE page)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_ForceToKillFocus (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_GetFocusedAnnot (FPDF_FORMHANDLE handle, int *page_index, FPDF_ANNOTATION *annot)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SetFocusedAnnot (FPDF_FORMHANDLE handle, FPDF_ANNOTATION annot)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_HasFormFieldAtPoint (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, double page_x, double page_y)
 
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_FormFieldZOrderAtPoint (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, double page_x, double page_y)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetFormFieldHighlightColor (FPDF_FORMHANDLE hHandle, int fieldType, unsigned long color)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetFormFieldHighlightAlpha (FPDF_FORMHANDLE hHandle, unsigned char alpha)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_RemoveFormFieldHighlight (FPDF_FORMHANDLE hHandle)
 
FPDF_EXPORT void FPDF_CALLCONV FPDF_FFLDraw (FPDF_FORMHANDLE hHandle, FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int flags)
 
FPDF_EXPORT int FPDF_CALLCONV FPDF_GetFormType (FPDF_DOCUMENT document)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SetIndexSelected (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int index, FPDF_BOOL selected)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_IsIndexSelected (FPDF_FORMHANDLE hHandle, FPDF_PAGE page, int index)
 
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_LoadXFA (FPDF_DOCUMENT document)
 

Macro Definition Documentation

◆ FORMTYPE_ACRO_FORM

#define FORMTYPE_ACRO_FORM   1

Definition at line 17 of file fpdf_formfill.h.

◆ FORMTYPE_COUNT

#define FORMTYPE_COUNT   4

Definition at line 21 of file fpdf_formfill.h.

◆ FORMTYPE_NONE

#define FORMTYPE_NONE   0

Definition at line 16 of file fpdf_formfill.h.

◆ FORMTYPE_XFA_FOREGROUND

#define FORMTYPE_XFA_FOREGROUND   3

Definition at line 19 of file fpdf_formfill.h.

◆ FORMTYPE_XFA_FULL

#define FORMTYPE_XFA_FULL   2

Definition at line 18 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_CHECKBOX

#define FPDF_FORMFIELD_CHECKBOX   2

Definition at line 1736 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_COMBOBOX

#define FPDF_FORMFIELD_COMBOBOX   4

Definition at line 1738 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_COUNT

#define FPDF_FORMFIELD_COUNT   8

Definition at line 1756 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_LISTBOX

#define FPDF_FORMFIELD_LISTBOX   5

Definition at line 1739 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_PUSHBUTTON

#define FPDF_FORMFIELD_PUSHBUTTON   1

Definition at line 1735 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_RADIOBUTTON

#define FPDF_FORMFIELD_RADIOBUTTON   3

Definition at line 1737 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_SIGNATURE

#define FPDF_FORMFIELD_SIGNATURE   7

Definition at line 1741 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_TEXTFIELD

#define FPDF_FORMFIELD_TEXTFIELD   6

Definition at line 1740 of file fpdf_formfill.h.

◆ FPDF_FORMFIELD_UNKNOWN

#define FPDF_FORMFIELD_UNKNOWN   0

Definition at line 1734 of file fpdf_formfill.h.

◆ FPDFDOC_AACTION_DP

#define FPDFDOC_AACTION_DP   0x14

Definition at line 1243 of file fpdf_formfill.h.

◆ FPDFDOC_AACTION_DS

#define FPDFDOC_AACTION_DS   0x12

Definition at line 1241 of file fpdf_formfill.h.

◆ FPDFDOC_AACTION_WC

#define FPDFDOC_AACTION_WC   0x10

Definition at line 1239 of file fpdf_formfill.h.

◆ FPDFDOC_AACTION_WP

#define FPDFDOC_AACTION_WP   0x13

Definition at line 1242 of file fpdf_formfill.h.

◆ FPDFDOC_AACTION_WS

#define FPDFDOC_AACTION_WS   0x11

Definition at line 1240 of file fpdf_formfill.h.

◆ FPDFPAGE_AACTION_CLOSE

#define FPDFPAGE_AACTION_CLOSE   1

Definition at line 1267 of file fpdf_formfill.h.

◆ FPDFPAGE_AACTION_OPEN

#define FPDFPAGE_AACTION_OPEN   0

Definition at line 1266 of file fpdf_formfill.h.

◆ FXCT_ARROW

#define FXCT_ARROW   0

Definition at line 326 of file fpdf_formfill.h.

◆ FXCT_HAND

#define FXCT_HAND   5

Definition at line 331 of file fpdf_formfill.h.

◆ FXCT_HBEAM

#define FXCT_HBEAM   4

Definition at line 330 of file fpdf_formfill.h.

◆ FXCT_NESW

#define FXCT_NESW   1

Definition at line 327 of file fpdf_formfill.h.

◆ FXCT_NWSE

#define FXCT_NWSE   2

Definition at line 328 of file fpdf_formfill.h.

◆ FXCT_VBEAM

#define FXCT_VBEAM   3

Definition at line 329 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_BUTTON_DEFAULT

#define JSPLATFORM_ALERT_BUTTON_DEFAULT   JSPLATFORM_ALERT_BUTTON_OK

Definition at line 27 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_BUTTON_OK

#define JSPLATFORM_ALERT_BUTTON_OK   0

Definition at line 23 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_BUTTON_OKCANCEL

#define JSPLATFORM_ALERT_BUTTON_OKCANCEL   1

Definition at line 24 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_BUTTON_YESNO

#define JSPLATFORM_ALERT_BUTTON_YESNO   2

Definition at line 25 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_BUTTON_YESNOCANCEL

#define JSPLATFORM_ALERT_BUTTON_YESNOCANCEL   3

Definition at line 26 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_ASTERISK

#define JSPLATFORM_ALERT_ICON_ASTERISK   4

Definition at line 33 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_DEFAULT

#define JSPLATFORM_ALERT_ICON_DEFAULT   JSPLATFORM_ALERT_ICON_ERROR

Definition at line 34 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_ERROR

#define JSPLATFORM_ALERT_ICON_ERROR   0

Definition at line 29 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_QUESTION

#define JSPLATFORM_ALERT_ICON_QUESTION   2

Definition at line 31 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_STATUS

#define JSPLATFORM_ALERT_ICON_STATUS   3

Definition at line 32 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_ICON_WARNING

#define JSPLATFORM_ALERT_ICON_WARNING   1

Definition at line 30 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_RETURN_CANCEL

#define JSPLATFORM_ALERT_RETURN_CANCEL   2

Definition at line 37 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_RETURN_NO

#define JSPLATFORM_ALERT_RETURN_NO   3

Definition at line 38 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_RETURN_OK

#define JSPLATFORM_ALERT_RETURN_OK   1

Definition at line 36 of file fpdf_formfill.h.

◆ JSPLATFORM_ALERT_RETURN_YES

#define JSPLATFORM_ALERT_RETURN_YES   4

Definition at line 39 of file fpdf_formfill.h.

◆ JSPLATFORM_BEEP_DEFAULT

#define JSPLATFORM_BEEP_DEFAULT   4

Definition at line 45 of file fpdf_formfill.h.

◆ JSPLATFORM_BEEP_ERROR

#define JSPLATFORM_BEEP_ERROR   0

Definition at line 41 of file fpdf_formfill.h.

◆ JSPLATFORM_BEEP_QUESTION

#define JSPLATFORM_BEEP_QUESTION   2

Definition at line 43 of file fpdf_formfill.h.

◆ JSPLATFORM_BEEP_STATUS

#define JSPLATFORM_BEEP_STATUS   3

Definition at line 44 of file fpdf_formfill.h.

◆ JSPLATFORM_BEEP_WARNING

#define JSPLATFORM_BEEP_WARNING   1

Definition at line 42 of file fpdf_formfill.h.

Typedef Documentation

◆ FPDF_FORMFILLINFO

◆ FPDF_SYSTEMTIME

◆ IPDF_JSPLATFORM

◆ TimerCallback

typedef void(* TimerCallback) (int idEvent)

Definition at line 341 of file fpdf_formfill.h.

Function Documentation

◆ FORM_CanRedo()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_CanRedo ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page )

Definition at line 577 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::CanRedo().

Referenced by CheckPDFiumCApi().

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

◆ FORM_CanUndo()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_CanUndo ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page )

Definition at line 569 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::CanUndo().

Referenced by CheckPDFiumCApi().

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

◆ FORM_DoDocumentAAction()

FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentAAction ( FPDF_FORMHANDLE hHandle,
int aaType )

Definition at line 781 of file fpdf_formfill.cpp.

References CPDF_AAction::ActionExist(), CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::DoActionDocument(), CPDF_AAction::GetAction(), CPDF_Dictionary::GetDictFor(), CPDFSDK_FormFillEnvironment::GetPDFDocument(), CPDF_Document::GetRoot(), and pdfium::form_fields::kAA.

Referenced by CheckPDFiumCApi(), EmbedderTest::CloseDocument(), and main().

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

◆ FORM_DoDocumentJSAction()

FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentJSAction ( FPDF_FORMHANDLE hHandle)

Definition at line 766 of file fpdf_formfill.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::IsJSPlatformPresent(), and CPDFSDK_FormFillEnvironment::ProcJavascriptAction().

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

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

◆ FORM_DoDocumentOpenAction()

FPDF_EXPORT void FPDF_CALLCONV FORM_DoDocumentOpenAction ( FPDF_FORMHANDLE hHandle)

Definition at line 774 of file fpdf_formfill.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), and CPDFSDK_FormFillEnvironment::ProcOpenAction().

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

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

◆ FORM_DoPageAAction()

FPDF_EXPORT void FPDF_CALLCONV FORM_DoPageAAction ( FPDF_PAGE page,
FPDF_FORMHANDLE hHandle,
int aaType )

Definition at line 799 of file fpdf_formfill.cpp.

References CPDF_AAction::ActionExist(), CPDFPageFromFPDFPage(), CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::DoActionPage(), CPDF_AAction::GetAction(), CPDFSDK_FormFillEnvironment::GetPageView(), IPDFPageFromFPDFPage(), pdfium::form_fields::kAA, CPDF_AAction::kClosePage, and CPDF_AAction::kOpenPage.

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

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

◆ FORM_ForceToKillFocus()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_ForceToKillFocus ( FPDF_FORMHANDLE hHandle)

Definition at line 602 of file fpdf_formfill.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), and CPDFSDK_FormFillEnvironment::KillFocusAnnot().

Referenced by CheckPDFiumCApi().

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

◆ FORM_GetFocusedAnnot()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_GetFocusedAnnot ( FPDF_FORMHANDLE handle,
int * page_index,
FPDF_ANNOTATION * annot )

Definition at line 611 of file fpdf_formfill.cpp.

References CPDFSDK_Annot::AsXFAWidget(), CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::GetFocusAnnot(), CPDFSDK_Annot::GetPage(), CPDFSDK_PageView::GetPageIndex(), CPDFSDK_Annot::GetPageView(), and CPDFSDK_PageView::IsValid().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FORM_GetFocusedText()

FPDF_EXPORT unsigned long FPDF_CALLCONV FORM_GetFocusedText ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
void * buffer,
unsigned long buflen )

Definition at line 517 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::GetFocusedFormText(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FORM_GetSelectedText()

FPDF_EXPORT unsigned long FPDF_CALLCONV FORM_GetSelectedText ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
void * buffer,
unsigned long buflen )

Definition at line 530 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::GetSelectedText(), and Utf16EncodeMaybeCopyAndReturnLength().

Referenced by CheckPDFiumCApi().

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

◆ FORM_IsIndexSelected()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_IsIndexSelected ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int index )

Definition at line 833 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::IsIndexSelected().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FORM_OnAfterLoadPage()

FPDF_EXPORT void FPDF_CALLCONV FORM_OnAfterLoadPage ( FPDF_PAGE page,
FPDF_FORMHANDLE hHandle )

Definition at line 740 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::SetValid().

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

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

◆ FORM_OnBeforeClosePage()

FPDF_EXPORT void FPDF_CALLCONV FORM_OnBeforeClosePage ( FPDF_PAGE page,
FPDF_FORMHANDLE hHandle )

Definition at line 746 of file fpdf_formfill.cpp.

References CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::GetPageView(), IPDFPageFromFPDFPage(), CPDFSDK_FormFillEnvironment::RemovePageView(), and CPDFSDK_PageView::SetValid().

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

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

◆ FORM_OnChar()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnChar ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int nChar,
int modifier )

Definition at line 506 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnFocus()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnFocus ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 395 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnKeyDown()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnKeyDown ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int nKeyCode,
int modifier )

Definition at line 488 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnKeyUp()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnKeyUp ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int nKeyCode,
int modifier )

Definition at line 499 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnLButtonDoubleClick()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonDoubleClick ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 440 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnLButtonDown()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonDown ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 407 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnLButtonUp()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnLButtonUp ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 423 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnMouseMove()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnMouseMove ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 366 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi(), and TEST_F().

+ Here is the caller graph for this function:

◆ FORM_OnMouseWheel()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnMouseWheel ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
const FS_POINTF * page_coord,
int delta_x,
int delta_y )

Definition at line 379 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnRButtonDown()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnRButtonDown ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 456 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_OnRButtonUp()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnRButtonUp ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,
double page_x,
double page_y )

Definition at line 472 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FORM_Redo()

Definition at line 593 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::Redo().

Referenced by CheckPDFiumCApi().

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

◆ FORM_ReplaceAndKeepSelection()

FPDF_EXPORT void FPDF_CALLCONV FORM_ReplaceAndKeepSelection ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
FPDF_WIDESTRING wsText )

Definition at line 543 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::ReplaceAndKeepSelection(), and WideStringFromFPDFWideString().

Referenced by CheckPDFiumCApi().

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

◆ FORM_ReplaceSelection()

FPDF_EXPORT void FPDF_CALLCONV FORM_ReplaceSelection ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
FPDF_WIDESTRING wsText )

Definition at line 553 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::ReplaceSelection(), and WideStringFromFPDFWideString().

Referenced by CheckPDFiumCApi().

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

◆ FORM_SelectAllText()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SelectAllText ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page )

Definition at line 563 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::SelectAllText().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FORM_SetFocusedAnnot()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SetFocusedAnnot ( FPDF_FORMHANDLE handle,
FPDF_ANNOTATION annot )

Definition at line 655 of file fpdf_formfill.cpp.

References CPDFAnnotContextFromFPDFAnnotation(), CPDFSDKFormFillEnvironmentFromFPDFFormHandle(), CPDFSDK_FormFillEnvironment::GetOrCreatePageView(), CPDF_AnnotContext::GetPage(), CPDFSDK_PageView::IsValid(), and CPDFSDK_FormFillEnvironment::SetFocusAnnot().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FORM_SetIndexSelected()

FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_SetIndexSelected ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int index,
FPDF_BOOL selected )

Definition at line 824 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::SetIndexSelected().

Referenced by CheckPDFiumCApi(), and TEST_F().

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

◆ FORM_Undo()

Definition at line 585 of file fpdf_formfill.cpp.

References CPDFSDK_PageView::Undo().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_FFLDraw()

FPDF_EXPORT void FPDF_CALLCONV FPDF_FFLDraw ( FPDF_FORMHANDLE hHandle,
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 679 of file fpdf_formfill.cpp.

Referenced by CheckPDFiumCApi().

+ Here is the caller graph for this function:

◆ FPDF_GetFormType()

FPDF_EXPORT int FPDF_CALLCONV FPDF_GetFormType ( FPDF_DOCUMENT document)

Definition at line 306 of file fpdf_view.cpp.

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

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

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

◆ FPDF_LoadXFA()

Definition at line 327 of file fpdf_view.cpp.

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

+ Here is the caller graph for this function:

◆ FPDF_RemoveFormFieldHighlight()

FPDF_EXPORT void FPDF_CALLCONV FPDF_RemoveFormFieldHighlight ( FPDF_FORMHANDLE hHandle)

Definition at line 735 of file fpdf_formfill.cpp.

References FormHandleToInteractiveForm(), and CPDFSDK_InteractiveForm::RemoveAllHighLights().

Referenced by CheckPDFiumCApi().

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

◆ FPDF_SetFormFieldHighlightAlpha()

FPDF_EXPORT void FPDF_CALLCONV FPDF_SetFormFieldHighlightAlpha ( FPDF_FORMHANDLE hHandle,
unsigned char alpha )

Definition at line 729 of file fpdf_formfill.cpp.

References FormHandleToInteractiveForm(), and CPDFSDK_InteractiveForm::SetHighlightAlpha().

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

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

◆ FPDF_SetFormFieldHighlightColor()

FPDF_EXPORT void FPDF_CALLCONV FPDF_SetFormFieldHighlightColor ( FPDF_FORMHANDLE hHandle,
int fieldType,
unsigned long color )

Definition at line 708 of file fpdf_formfill.cpp.

References FormHandleToInteractiveForm(), and CPDFSDK_InteractiveForm::SetAllHighlightColors().

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

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

◆ FPDFDOC_ExitFormFillEnvironment()

FPDF_EXPORT void FPDF_CALLCONV FPDFDOC_ExitFormFillEnvironment ( FPDF_FORMHANDLE hHandle)

Definition at line 344 of file fpdf_formfill.cpp.

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

+ Here is the caller graph for this function:

◆ FPDFDOC_InitFormFillEnvironment()

FPDF_EXPORT FPDF_FORMHANDLE FPDF_CALLCONV FPDFDOC_InitFormFillEnvironment ( FPDF_DOCUMENT document,
FPDF_FORMFILLINFO * formInfo )

Definition at line 302 of file fpdf_formfill.cpp.

References CPDFDocumentFromFPDFDocument(), and ReportUnsupportedXFA().

Referenced by CheckPDFiumCApi(), main(), and EmbedderTest::SetupFormFillEnvironment().

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

◆ FPDFPage_FormFieldZOrderAtPoint()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_FormFieldZOrderAtPoint ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
double page_x,
double page_y )

Definition at line 281 of file fpdf_formfill.cpp.

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

Referenced by CheckPDFiumCApi().

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

◆ FPDFPage_HasFormFieldAtPoint()

FPDF_EXPORT int FPDF_CALLCONV FPDFPage_HasFormFieldAtPoint ( FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
double page_x,
double page_y )

Definition at line 248 of file fpdf_formfill.cpp.

References CPDFPageFromFPDFPage(), FormHandleToInteractiveForm(), CPDF_InteractiveForm::GetControlAtPoint(), CPDF_FormControl::GetField(), CPDF_FormField::GetFieldType(), and CPDFSDK_InteractiveForm::GetInteractiveForm().

Referenced by CheckPDFiumCApi().

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