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
FPDFFormFillInteractiveEmbedderTest Class Referenceabstract
+ Inheritance diagram for FPDFFormFillInteractiveEmbedderTest:
+ Collaboration diagram for FPDFFormFillInteractiveEmbedderTest:

Protected Member Functions

 FPDFFormFillInteractiveEmbedderTest ()=default
 
 ~FPDFFormFillInteractiveEmbedderTest () override=default
 
void SetUp () override
 
void TearDown () override
 
virtual const char * GetDocumentName () const =0
 
virtual int GetFormType () const =0
 
virtual void FormSanityChecks ()
 
FPDF_PAGE page ()
 
int GetFormTypeAtPoint (const CFX_PointF &point)
 
void ClickOnFormFieldAtPoint (const CFX_PointF &point)
 
void DoubleClickOnFormFieldAtPoint (const CFX_PointF &point)
 
void TypeTextIntoTextField (int num_chars, const CFX_PointF &point)
 
void SelectTextWithKeyboard (int num_chars, int arrow_key, const CFX_PointF &point)
 
void SelectTextWithMouse (const CFX_PointF &start, const CFX_PointF &end)
 
void SelectAllTextAtPoint (const CFX_PointF &point)
 
void CheckSelection (ByteStringView expected_string)
 
void FocusOnPoint (const CFX_PointF &point)
 
void CheckFocusedFieldText (ByteStringView expected_string)
 
void CheckCanUndo (bool expected_result)
 
void CheckCanRedo (bool expected_result)
 
void PerformUndo ()
 
void PerformRedo ()
 
void SetIndexSelectedShouldSucceed (int index, bool selected)
 
void SetIndexSelectedShouldFail (int index, bool selected)
 
void CheckIsIndexSelected (int index, bool expected)
 
 FPDFFormFillInteractiveEmbedderTest ()=default
 
 ~FPDFFormFillInteractiveEmbedderTest () override=default
 
void SetUp () override
 
void TearDown () override
 
virtual const char * GetDocumentName () const =0
 
virtual int GetFormType () const =0
 
virtual void FormSanityChecks ()
 
FPDF_PAGE page ()
 
int GetFormTypeAtPoint (const CFX_PointF &point)
 
void ClickOnFormFieldAtPoint (const CFX_PointF &point)
 
void DoubleClickOnFormFieldAtPoint (const CFX_PointF &point)
 
void TypeTextIntoTextField (int num_chars, const CFX_PointF &point)
 
void SelectTextWithKeyboard (int num_chars, int arrow_key, const CFX_PointF &point)
 
void SelectTextWithMouse (const CFX_PointF &start, const CFX_PointF &end)
 
void SelectAllTextAtPoint (const CFX_PointF &point)
 
void CheckSelection (ByteStringView expected_string)
 
void FocusOnPoint (const CFX_PointF &point)
 
void CheckFocusedFieldText (ByteStringView expected_string)
 
void CheckCanUndo (bool expected_result)
 
void CheckCanRedo (bool expected_result)
 
void PerformUndo ()
 
void PerformRedo ()
 
void SetIndexSelectedShouldSucceed (int index, bool selected)
 
void SetIndexSelectedShouldFail (int index, bool selected)
 
void CheckIsIndexSelected (int index, bool expected)
 
- Protected Member Functions inherited from EmbedderTest
bool OpenDocumentHelper (const char *password, LinearizeOption linearize_option, JavaScriptOption javascript_option, FakeFileAccess *network_simulator, ScopedFPDFDocument *document, ScopedFPDFAvail *avail, ScopedFPDFFormHandle *form_handle)
 
FPDF_FORMHANDLE SetupFormFillEnvironment (FPDF_DOCUMENT doc, JavaScriptOption javascript_option)
 
void ClearString ()
 
const std::string & GetString () const
 
FPDF_DOCUMENT OpenSavedDocument ()
 
FPDF_DOCUMENT OpenSavedDocumentWithPassword (const char *password)
 
void CloseSavedDocument ()
 
FPDF_PAGE LoadSavedPage (int page_number)
 
void CloseSavedPage (FPDF_PAGE page)
 
void VerifySavedRendering (FPDF_PAGE page, int width, int height, const char *md5)
 
void VerifySavedDocument (int width, int height, const char *md5)
 
void SetWholeFileAvailable ()
 
void OpenPDFFileForWrite (const std::string &filename)
 
void ClosePDFFileForWrite ()
 

Additional Inherited Members

- Public Types inherited from EmbedderTest
enum class  LinearizeOption { kDefaultLinearize , kMustLinearize }
 
enum class  JavaScriptOption { kDisableJavaScript , kEnableJavaScript }
 
- Public Member Functions inherited from EmbedderTest
 EmbedderTest ()
 
virtual ~EmbedderTest ()
 
void SetUp () override
 
void TearDown () override
 
DelegateGetDelegate ()
 
void SetDelegate (Delegate *delegate)
 
void SetFormFillInfoVersion (int form_fill_info_version)
 
void SetDocumentFromAvail ()
 
FPDF_DOCUMENT document () const
 
FPDF_DOCUMENT saved_document () const
 
FPDF_FORMHANDLE form_handle () const
 
FPDF_FORMHANDLE saved_form_handle () const
 
void CreateAvail (FX_FILEAVAIL *file_avail, FPDF_FILEACCESS *file)
 
FPDF_AVAIL avail ()
 
void CreateEmptyDocument ()
 
void CreateEmptyDocumentWithoutFormFillEnvironment ()
 
virtual bool OpenDocumentWithOptions (const std::string &filename, const char *password, LinearizeOption linearize_option, JavaScriptOption javascript_option)
 
bool OpenDocument (const std::string &filename)
 
bool OpenDocumentLinearized (const std::string &filename)
 
bool OpenDocumentWithPassword (const std::string &filename, const char *password)
 
bool OpenDocumentWithoutJavaScript (const std::string &filename)
 
void CloseDocument ()
 
void DoOpenActions ()
 
int GetFirstPageNum ()
 
int GetPageCount ()
 
FPDF_PAGE LoadPage (int page_number)
 
FPDF_PAGE LoadPageNoEvents (int page_number)
 
void UnloadPage (FPDF_PAGE page)
 
void UnloadPageNoEvents (FPDF_PAGE page)
 
void SetInitialFormFieldHighlight (FPDF_FORMHANDLE form)
 
ScopedFPDFBitmap RenderLoadedPage (FPDF_PAGE page)
 
ScopedFPDFBitmap RenderLoadedPageWithFlags (FPDF_PAGE page, int flags)
 
ScopedFPDFBitmap RenderSavedPage (FPDF_PAGE page)
 
ScopedFPDFBitmap RenderSavedPageWithFlags (FPDF_PAGE page, int flags)
 
- Static Public Member Functions inherited from EmbedderTest
static ScopedFPDFBitmap RenderPageWithFlags (FPDF_PAGE page, FPDF_FORMHANDLE handle, int flags)
 
static ScopedFPDFBitmap RenderPage (FPDF_PAGE page)
 
static int BytesPerPixelForFormat (int format)
 
- Public Attributes inherited from _UNSUPPORT_INFO
int version
 
void(* FSDK_UnSupport_Handler )(struct _UNSUPPORT_INFO *pThis, int nType)
 
- Public Attributes inherited from _IPDF_JsPlatform
int version
 
int(* app_alert )(struct _IPDF_JsPlatform *pThis, FPDF_WIDESTRING Msg, FPDF_WIDESTRING Title, int Type, int Icon)
 
void(* app_beep )(struct _IPDF_JsPlatform *pThis, int nType)
 
int(* app_response )(struct _IPDF_JsPlatform *pThis, FPDF_WIDESTRING Question, FPDF_WIDESTRING Title, FPDF_WIDESTRING Default, FPDF_WIDESTRING cLabel, FPDF_BOOL bPassword, void *response, int length)
 
int(* Doc_getFilePath )(struct _IPDF_JsPlatform *pThis, void *filePath, int length)
 
void(* Doc_mail )(struct _IPDF_JsPlatform *pThis, void *mailData, int length, FPDF_BOOL bUI, FPDF_WIDESTRING To, FPDF_WIDESTRING Subject, FPDF_WIDESTRING CC, FPDF_WIDESTRING BCC, FPDF_WIDESTRING Msg)
 
void(* Doc_print )(struct _IPDF_JsPlatform *pThis, FPDF_BOOL bUI, int nStart, int nEnd, FPDF_BOOL bSilent, FPDF_BOOL bShrinkToFit, FPDF_BOOL bPrintAsImage, FPDF_BOOL bReverse, FPDF_BOOL bAnnotations)
 
void(* Doc_submitForm )(struct _IPDF_JsPlatform *pThis, void *formData, int length, FPDF_WIDESTRING URL)
 
void(* Doc_gotoPage )(struct _IPDF_JsPlatform *pThis, int nPageNum)
 
int(* Field_browse )(struct _IPDF_JsPlatform *pThis, void *filePath, int length)
 
voidm_pFormfillinfo
 
voidm_isolate
 
unsigned int m_v8EmbedderSlot
 
- Public Attributes inherited from _FPDF_FORMFILLINFO
int version
 
void(* Release )(struct _FPDF_FORMFILLINFO *pThis)
 
void(* FFI_Invalidate )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page, double left, double top, double right, double bottom)
 
void(* FFI_OutputSelectedRect )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page, double left, double top, double right, double bottom)
 
void(* FFI_SetCursor )(struct _FPDF_FORMFILLINFO *pThis, int nCursorType)
 
int(* FFI_SetTimer )(struct _FPDF_FORMFILLINFO *pThis, int uElapse, TimerCallback lpTimerFunc)
 
void(* FFI_KillTimer )(struct _FPDF_FORMFILLINFO *pThis, int nTimerID)
 
FPDF_SYSTEMTIME(* FFI_GetLocalTime )(struct _FPDF_FORMFILLINFO *pThis)
 
void(* FFI_OnChange )(struct _FPDF_FORMFILLINFO *pThis)
 
FPDF_PAGE(* FFI_GetPage )(struct _FPDF_FORMFILLINFO *pThis, FPDF_DOCUMENT document, int nPageIndex)
 
FPDF_PAGE(* FFI_GetCurrentPage )(struct _FPDF_FORMFILLINFO *pThis, FPDF_DOCUMENT document)
 
int(* FFI_GetRotation )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page)
 
void(* FFI_ExecuteNamedAction )(struct _FPDF_FORMFILLINFO *pThis, FPDF_BYTESTRING namedAction)
 
void(* FFI_SetTextFieldFocus )(struct _FPDF_FORMFILLINFO *pThis, FPDF_WIDESTRING value, FPDF_DWORD valueLen, FPDF_BOOL is_focus)
 
void(* FFI_DoURIAction )(struct _FPDF_FORMFILLINFO *pThis, FPDF_BYTESTRING bsURI)
 
void(* FFI_DoGoToAction )(struct _FPDF_FORMFILLINFO *pThis, int nPageIndex, int zoomMode, float *fPosArray, int sizeofArray)
 
IPDF_JSPLATFORMm_pJsPlatform
 
FPDF_BOOL xfa_disabled
 
void(* FFI_DisplayCaret )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page, FPDF_BOOL bVisible, double left, double top, double right, double bottom)
 
int(* FFI_GetCurrentPageIndex )(struct _FPDF_FORMFILLINFO *pThis, FPDF_DOCUMENT document)
 
void(* FFI_SetCurrentPage )(struct _FPDF_FORMFILLINFO *pThis, FPDF_DOCUMENT document, int iCurPage)
 
void(* FFI_GotoURL )(struct _FPDF_FORMFILLINFO *pThis, FPDF_DOCUMENT document, FPDF_WIDESTRING wsURL)
 
void(* FFI_GetPageViewRect )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page, double *left, double *top, double *right, double *bottom)
 
void(* FFI_PageEvent )(struct _FPDF_FORMFILLINFO *pThis, int page_count, FPDF_DWORD event_type)
 
FPDF_BOOL(* FFI_PopupMenu )(struct _FPDF_FORMFILLINFO *pThis, FPDF_PAGE page, FPDF_WIDGET hWidget, int menuFlag, float x, float y)
 
FPDF_FILEHANDLER *(* FFI_OpenFile )(struct _FPDF_FORMFILLINFO *pThis, int fileFlag, FPDF_WIDESTRING wsURL, const char *mode)
 
void(* FFI_EmailTo )(struct _FPDF_FORMFILLINFO *pThis, FPDF_FILEHANDLER *fileHandler, FPDF_WIDESTRING pTo, FPDF_WIDESTRING pSubject, FPDF_WIDESTRING pCC, FPDF_WIDESTRING pBcc, FPDF_WIDESTRING pMsg)
 
void(* FFI_UploadTo )(struct _FPDF_FORMFILLINFO *pThis, FPDF_FILEHANDLER *fileHandler, int fileFlag, FPDF_WIDESTRING uploadTo)
 
int(* FFI_GetPlatform )(struct _FPDF_FORMFILLINFO *pThis, void *platform, int length)
 
int(* FFI_GetLanguage )(struct _FPDF_FORMFILLINFO *pThis, void *language, int length)
 
FPDF_FILEHANDLER *(* FFI_DownloadFromURL )(struct _FPDF_FORMFILLINFO *pThis, FPDF_WIDESTRING URL)
 
FPDF_BOOL(* FFI_PostRequestURL )(struct _FPDF_FORMFILLINFO *pThis, FPDF_WIDESTRING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsContentType, FPDF_WIDESTRING wsEncode, FPDF_WIDESTRING wsHeader, FPDF_BSTR *response)
 
FPDF_BOOL(* FFI_PutRequestURL )(struct _FPDF_FORMFILLINFO *pThis, FPDF_WIDESTRING wsURL, FPDF_WIDESTRING wsData, FPDF_WIDESTRING wsEncode)
 
void(* FFI_OnFocusChange )(struct _FPDF_FORMFILLINFO *param, FPDF_ANNOTATION annot, int page_index)
 
void(* FFI_DoURIActionWithKeyboardModifier )(struct _FPDF_FORMFILLINFO *param, FPDF_BYTESTRING uri, int modifiers)
 
- Public Attributes inherited from FPDF_FILEWRITE_
int version
 
int(* WriteBlock )(struct FPDF_FILEWRITE_ *pThis, const void *pData, unsigned long size)
 
- Protected Types inherited from EmbedderTest
using PageNumberToHandleMap = std::map<int, FPDF_PAGE>
 
- Static Protected Member Functions inherited from EmbedderTest
static std::string HashBitmap (FPDF_BITMAP bitmap)
 
static void WriteBitmapToPng (FPDF_BITMAP bitmap, const std::string &filename)
 
static void CompareBitmap (FPDF_BITMAP bitmap, int expected_width, int expected_height, const char *expected_md5sum)
 
static int GetBlockFromString (void *param, unsigned long pos, unsigned char *buf, unsigned long size)
 

Detailed Description

Definition at line 37 of file fpdf_formfill_embeddertest.cpp.

Constructor & Destructor Documentation

◆ FPDFFormFillInteractiveEmbedderTest() [1/2]

FPDFFormFillInteractiveEmbedderTest::FPDFFormFillInteractiveEmbedderTest ( )
protecteddefault

◆ ~FPDFFormFillInteractiveEmbedderTest() [1/2]

FPDFFormFillInteractiveEmbedderTest::~FPDFFormFillInteractiveEmbedderTest ( )
overrideprotecteddefault

◆ FPDFFormFillInteractiveEmbedderTest() [2/2]

FPDFFormFillInteractiveEmbedderTest::FPDFFormFillInteractiveEmbedderTest ( )
protecteddefault

◆ ~FPDFFormFillInteractiveEmbedderTest() [2/2]

FPDFFormFillInteractiveEmbedderTest::~FPDFFormFillInteractiveEmbedderTest ( )
overrideprotecteddefault

Member Function Documentation

◆ CheckCanRedo() [1/2]

void FPDFFormFillInteractiveEmbedderTest::CheckCanRedo ( bool expected_result)
inlineprotected

Definition at line 164 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ CheckCanRedo() [2/2]

void FPDFFormFillInteractiveEmbedderTest::CheckCanRedo ( bool expected_result)
inlineprotected

Definition at line 164 of file fpdf_formfill_embeddertest.cpp.

◆ CheckCanUndo() [1/2]

void FPDFFormFillInteractiveEmbedderTest::CheckCanUndo ( bool expected_result)
inlineprotected

Definition at line 160 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ CheckCanUndo() [2/2]

void FPDFFormFillInteractiveEmbedderTest::CheckCanUndo ( bool expected_result)
inlineprotected

Definition at line 160 of file fpdf_formfill_embeddertest.cpp.

◆ CheckFocusedFieldText() [1/2]

void FPDFFormFillInteractiveEmbedderTest::CheckFocusedFieldText ( ByteStringView expected_string)
inlineprotected

Definition at line 147 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ CheckFocusedFieldText() [2/2]

void FPDFFormFillInteractiveEmbedderTest::CheckFocusedFieldText ( ByteStringView expected_string)
inlineprotected

Definition at line 147 of file fpdf_formfill_embeddertest.cpp.

◆ CheckIsIndexSelected() [1/2]

void FPDFFormFillInteractiveEmbedderTest::CheckIsIndexSelected ( int index,
bool expected )
inlineprotected

Definition at line 180 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ CheckIsIndexSelected() [2/2]

void FPDFFormFillInteractiveEmbedderTest::CheckIsIndexSelected ( int index,
bool expected )
inlineprotected

Definition at line 180 of file fpdf_formfill_embeddertest.cpp.

◆ CheckSelection() [1/2]

void FPDFFormFillInteractiveEmbedderTest::CheckSelection ( ByteStringView expected_string)
inlineprotected

Definition at line 130 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ CheckSelection() [2/2]

void FPDFFormFillInteractiveEmbedderTest::CheckSelection ( ByteStringView expected_string)
inlineprotected

Definition at line 130 of file fpdf_formfill_embeddertest.cpp.

◆ ClickOnFormFieldAtPoint() [1/2]

void FPDFFormFillInteractiveEmbedderTest::ClickOnFormFieldAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 70 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

Referenced by FPDFFormFillListBoxFormEmbedderTest::ClickOnMultiSelectFormOption(), FPDFFormFillListBoxFormEmbedderTest::ClickOnMultiSelectMultipleValuesFormOption(), FPDFFormFillListBoxFormEmbedderTest::ClickOnSingleSelectFormOption(), FPDFFormFillListBoxFormEmbedderTest::ClickOnSingleSelectLastSelectedFormOption(), SelectTextWithKeyboard(), and TypeTextIntoTextField().

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

◆ ClickOnFormFieldAtPoint() [2/2]

void FPDFFormFillInteractiveEmbedderTest::ClickOnFormFieldAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 70 of file fpdf_formfill_embeddertest.cpp.

◆ DoubleClickOnFormFieldAtPoint() [1/2]

void FPDFFormFillInteractiveEmbedderTest::DoubleClickOnFormFieldAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 77 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ DoubleClickOnFormFieldAtPoint() [2/2]

void FPDFFormFillInteractiveEmbedderTest::DoubleClickOnFormFieldAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 77 of file fpdf_formfill_embeddertest.cpp.

◆ FocusOnPoint() [1/2]

void FPDFFormFillInteractiveEmbedderTest::FocusOnPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 143 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle(), and page().

Referenced by FPDFFormFillComboBoxFormEmbedderTest::FocusOnEditableForm(), FPDFFormFillComboBoxFormEmbedderTest::FocusOnNonEditableForm(), and SelectAllTextAtPoint().

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

◆ FocusOnPoint() [2/2]

void FPDFFormFillInteractiveEmbedderTest::FocusOnPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 143 of file fpdf_formfill_embeddertest.cpp.

◆ FormSanityChecks() [1/2]

virtual void FPDFFormFillInteractiveEmbedderTest::FormSanityChecks ( )
inlineprotectedvirtual

Reimplemented in FPDFFormFillComboBoxFormEmbedderTest, FPDFFormFillComboBoxFormEmbedderTest, FPDFFormFillListBoxFormEmbedderTest, FPDFFormFillListBoxFormEmbedderTest, FPDFFormFillTextFormEmbedderTest, and FPDFFormFillTextFormEmbedderTest.

Definition at line 62 of file fpdf_formfill_embeddertest.cpp.

Referenced by SetUp().

+ Here is the caller graph for this function:

◆ FormSanityChecks() [2/2]

◆ GetDocumentName() [1/2]

virtual const char * FPDFFormFillInteractiveEmbedderTest::GetDocumentName ( ) const
protectedpure virtual

◆ GetDocumentName() [2/2]

◆ GetFormType() [1/2]

virtual int FPDFFormFillInteractiveEmbedderTest::GetFormType ( ) const
protectedpure virtual

◆ GetFormType() [2/2]

◆ GetFormTypeAtPoint() [1/2]

int FPDFFormFillInteractiveEmbedderTest::GetFormTypeAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 66 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

Referenced by FPDFFormFillComboBoxFormEmbedderTest::FormSanityChecks(), FPDFFormFillListBoxFormEmbedderTest::FormSanityChecks(), FPDFFormFillTextFormEmbedderTest::FormSanityChecks(), and TypeTextIntoTextField().

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

◆ GetFormTypeAtPoint() [2/2]

int FPDFFormFillInteractiveEmbedderTest::GetFormTypeAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 66 of file fpdf_formfill_embeddertest.cpp.

◆ page() [1/2]

FPDF_PAGE FPDFFormFillInteractiveEmbedderTest::page ( )
inlineprotected

Definition at line 64 of file fpdf_formfill_embeddertest.cpp.

Referenced by FocusOnPoint(), and FPDFFormFillListBoxFormEmbedderTest::FocusOnPoint().

+ Here is the caller graph for this function:

◆ page() [2/2]

FPDF_PAGE FPDFFormFillInteractiveEmbedderTest::page ( )
inlineprotected

Definition at line 64 of file fpdf_formfill_embeddertest.cpp.

◆ PerformRedo() [1/2]

void FPDFFormFillInteractiveEmbedderTest::PerformRedo ( )
inlineprotected

Definition at line 170 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ PerformRedo() [2/2]

void FPDFFormFillInteractiveEmbedderTest::PerformRedo ( )
inlineprotected

Definition at line 170 of file fpdf_formfill_embeddertest.cpp.

◆ PerformUndo() [1/2]

void FPDFFormFillInteractiveEmbedderTest::PerformUndo ( )
inlineprotected

Definition at line 168 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ PerformUndo() [2/2]

void FPDFFormFillInteractiveEmbedderTest::PerformUndo ( )
inlineprotected

Definition at line 168 of file fpdf_formfill_embeddertest.cpp.

◆ SelectAllTextAtPoint() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SelectAllTextAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 125 of file fpdf_formfill_embeddertest.cpp.

References FocusOnPoint(), and EmbedderTest::form_handle().

Referenced by FPDFFormFillTextFormEmbedderTest::SelectAllCharLimitFormTextWithMouse(), FPDFFormFillComboBoxFormEmbedderTest::SelectAllEditableFormTextWithMouse(), and FPDFFormFillTextFormEmbedderTest::SelectAllRegularFormTextWithMouse().

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

◆ SelectAllTextAtPoint() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SelectAllTextAtPoint ( const CFX_PointF & point)
inlineprotected

Definition at line 125 of file fpdf_formfill_embeddertest.cpp.

◆ SelectTextWithKeyboard() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SelectTextWithKeyboard ( int num_chars,
int arrow_key,
const CFX_PointF & point )
inlineprotected

Definition at line 95 of file fpdf_formfill_embeddertest.cpp.

References ClickOnFormFieldAtPoint(), EmbedderTest::form_handle(), FWL_EVENTFLAG_ShiftKey, and FWL_VKEY_Shift.

+ Here is the call graph for this function:

◆ SelectTextWithKeyboard() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SelectTextWithKeyboard ( int num_chars,
int arrow_key,
const CFX_PointF & point )
inlineprotected

Definition at line 95 of file fpdf_formfill_embeddertest.cpp.

◆ SelectTextWithMouse() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SelectTextWithMouse ( const CFX_PointF & start,
const CFX_PointF & end )
inlineprotected

Definition at line 113 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ SelectTextWithMouse() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SelectTextWithMouse ( const CFX_PointF & start,
const CFX_PointF & end )
inlineprotected

Definition at line 113 of file fpdf_formfill_embeddertest.cpp.

◆ SetIndexSelectedShouldFail() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SetIndexSelectedShouldFail ( int index,
bool selected )
inlineprotected

Definition at line 176 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ SetIndexSelectedShouldFail() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SetIndexSelectedShouldFail ( int index,
bool selected )
inlineprotected

Definition at line 176 of file fpdf_formfill_embeddertest.cpp.

◆ SetIndexSelectedShouldSucceed() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SetIndexSelectedShouldSucceed ( int index,
bool selected )
inlineprotected

Definition at line 172 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::form_handle().

+ Here is the call graph for this function:

◆ SetIndexSelectedShouldSucceed() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SetIndexSelectedShouldSucceed ( int index,
bool selected )
inlineprotected

Definition at line 172 of file fpdf_formfill_embeddertest.cpp.

◆ SetUp() [1/2]

void FPDFFormFillInteractiveEmbedderTest::SetUp ( )
inlineoverrideprotected

Definition at line 42 of file fpdf_formfill_embeddertest.cpp.

References FormSanityChecks(), GetDocumentName(), EmbedderTest::LoadPage(), EmbedderTest::OpenDocument(), and EmbedderTest::SetUp().

Referenced by FPDFFormFillTextFormEmbedderTestVersion2::SetUp().

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

◆ SetUp() [2/2]

void FPDFFormFillInteractiveEmbedderTest::SetUp ( )
inlineoverrideprotected

Definition at line 42 of file fpdf_formfill_embeddertest.cpp.

◆ TearDown() [1/2]

void FPDFFormFillInteractiveEmbedderTest::TearDown ( )
inlineoverrideprotected

Definition at line 50 of file fpdf_formfill_embeddertest.cpp.

References EmbedderTest::TearDown(), and EmbedderTest::UnloadPage().

+ Here is the call graph for this function:

◆ TearDown() [2/2]

void FPDFFormFillInteractiveEmbedderTest::TearDown ( )
inlineoverrideprotected

Definition at line 50 of file fpdf_formfill_embeddertest.cpp.

◆ TypeTextIntoTextField() [1/2]

void FPDFFormFillInteractiveEmbedderTest::TypeTextIntoTextField ( int num_chars,
const CFX_PointF & point )
inlineprotected

Definition at line 83 of file fpdf_formfill_embeddertest.cpp.

References ClickOnFormFieldAtPoint(), EmbedderTest::form_handle(), GetFormType(), and GetFormTypeAtPoint().

+ Here is the call graph for this function:

◆ TypeTextIntoTextField() [2/2]

void FPDFFormFillInteractiveEmbedderTest::TypeTextIntoTextField ( int num_chars,
const CFX_PointF & point )
inlineprotected

Definition at line 83 of file fpdf_formfill_embeddertest.cpp.


The documentation for this class was generated from the following file: