Lines Matching refs:form_handle
59 return FPDFPage_HasFormFieldAtPoint(form_handle(), page_, point.x, point.y); in GetFormTypeAtPoint()
64 FORM_OnMouseMove(form_handle(), page_, 0, point.x, point.y); in ClickOnFormFieldAtPoint()
65 FORM_OnLButtonDown(form_handle(), page_, 0, point.x, point.y); in ClickOnFormFieldAtPoint()
66 FORM_OnLButtonUp(form_handle(), page_, 0, point.x, point.y); in ClickOnFormFieldAtPoint()
71 FORM_OnMouseMove(form_handle(), page_, 0, point.x, point.y); in DoubleClickOnFormFieldAtPoint()
72 FORM_OnLButtonDoubleClick(form_handle(), page_, 0, point.x, point.y); in DoubleClickOnFormFieldAtPoint()
81 FORM_OnChar(form_handle(), page_, 'A' + i, 0); in TypeTextIntoTextField()
94 FORM_OnKeyDown(form_handle(), page_, FWL_VKEY_Shift, 0); in SelectTextWithKeyboard()
98 FORM_OnKeyDown(form_handle(), page_, arrow_key, FWL_EVENTFLAG_ShiftKey); in SelectTextWithKeyboard()
99 FORM_OnKeyUp(form_handle(), page_, arrow_key, FWL_EVENTFLAG_ShiftKey); in SelectTextWithKeyboard()
101 FORM_OnKeyUp(form_handle(), page_, FWL_VKEY_Shift, 0); in SelectTextWithKeyboard()
109 FORM_OnMouseMove(form_handle(), page_, 0, start.x, start.y); in SelectTextWithMouse()
110 FORM_OnLButtonDown(form_handle(), page_, 0, start.x, start.y); in SelectTextWithMouse()
113 FORM_OnMouseMove(form_handle(), page_, 0, end.x, end.y); in SelectTextWithMouse()
114 FORM_OnLButtonUp(form_handle(), page_, 0, end.x, end.y); in SelectTextWithMouse()
119 FORM_GetSelectedText(form_handle(), page_, nullptr, 0); in CheckSelection()
124 ASSERT_EQ(actual_len, FORM_GetSelectedText(form_handle(), page_, buf.data(), in CheckSelection()
133 FORM_GetFocusedText(form_handle(), page_, nullptr, 0); in CheckFocusedFieldText()
138 ASSERT_EQ(actual_len, FORM_GetFocusedText(form_handle(), page_, buf.data(), in CheckFocusedFieldText()
146 EXPECT_EQ(expected_result, !!FORM_CanUndo(form_handle(), page_)); in CheckCanUndo()
150 EXPECT_EQ(expected_result, !!FORM_CanRedo(form_handle(), page_)); in CheckCanRedo()
153 void PerformUndo() { EXPECT_TRUE(FORM_Undo(form_handle(), page_)); } in PerformUndo()
155 void PerformRedo() { EXPECT_TRUE(FORM_Redo(form_handle(), page_)); } in PerformRedo()
158 EXPECT_TRUE(FORM_SetIndexSelected(form_handle(), page_, index, selected)); in SetIndexSelectedShouldSucceed()
162 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page_, index, selected)); in SetIndexSelectedShouldFail()
166 EXPECT_EQ(expected, FORM_IsIndexSelected(form_handle(), page_, index)); in CheckIsIndexSelected()
289 EXPECT_EQ(true, FORM_OnFocus(form_handle(), page(), 0, point.x, point.y)); in FocusOnPoint()
467 EXPECT_EQ(true, FORM_OnFocus(form_handle(), page(), 0, point.x, point.y)); in FocusOnPoint()
571 FORM_OnMouseMove(form_handle(), nullptr, 0, 10.0, 10.0); in TEST_F()
693 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_WS); in TEST_F()
694 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_DS); in TEST_F()
695 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_WP); in TEST_F()
696 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_DP); in TEST_F()
717 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_WS); in TEST_F()
718 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_DS); in TEST_F()
719 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_WP); in TEST_F()
720 FORM_DoDocumentAAction(form_handle(), FPDFDOC_AACTION_DP); in TEST_F()
866 FORM_OnLButtonDown(form_handle(), page, 0, 140, 590); in TEST_F()
867 FORM_OnLButtonUp(form_handle(), page, 0, 140, 590); in TEST_F()
881 FORM_OnLButtonDown(form_handle(), page, 0, 140, 590); in TEST_F()
882 FORM_OnLButtonUp(form_handle(), page, 0, 140, 590); in TEST_F()
916 FPDFPage_HasFormFieldAtPoint(form_handle(), page, 120.0, 120.0)); in TEST_F()
918 0, FPDFPage_FormFieldZOrderAtPoint(form_handle(), page, 120.0, 120.0)); in TEST_F()
919 FORM_OnMouseMove(form_handle(), page, 0, 120.0, 120.0); in TEST_F()
920 FORM_OnLButtonDown(form_handle(), page, 0, 120.0, 120.0); in TEST_F()
921 FORM_OnLButtonUp(form_handle(), page, 0, 120.0, 120.0); in TEST_F()
924 FORM_OnChar(form_handle(), page, 65, 0); in TEST_F()
925 FORM_OnChar(form_handle(), page, 66, 0); in TEST_F()
926 FORM_OnChar(form_handle(), page, 67, 0); in TEST_F()
931 FORM_OnMouseMove(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
932 FORM_OnRButtonDown(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
933 FORM_OnRButtonUp(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
938 FORM_OnMouseMove(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
939 FORM_OnLButtonDown(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
940 FORM_OnLButtonUp(form_handle(), page, 0, 15.0, 15.0); in TEST_F()
1004 FPDF_RemoveFormFieldHighlight(form_handle()); in TEST_F()
1009 SetInitialFormFieldHighlight(form_handle()); in TEST_F()
1043 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), nullptr, 0, true)); in TEST_F()
1044 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page, -1, true)); in TEST_F()
1047 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), nullptr, 0)); in TEST_F()
1048 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), page, -1)); in TEST_F()
1058 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page, -1, true)); in TEST_F()
1059 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page, 100, true)); in TEST_F()
1060 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), page, -1)); in TEST_F()
1061 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), page, 100)); in TEST_F()
1071 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page, -1, true)); in TEST_F()
1072 EXPECT_FALSE(FORM_SetIndexSelected(form_handle(), page, 100, true)); in TEST_F()
1073 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), page, -1)); in TEST_F()
1074 EXPECT_FALSE(FORM_IsIndexSelected(form_handle(), page, 100)); in TEST_F()
1416 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1432 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1446 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1460 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1472 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1487 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1502 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1517 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1531 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1543 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1555 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1575 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1593 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1611 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1632 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1653 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1674 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1694 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1710 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1729 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1748 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1766 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1786 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1806 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1826 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1846 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1866 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1872 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1892 FORM_ReplaceSelection(form_handle(), page(), nullptr); in TEST_F()
1897 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1914 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1935 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1954 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1974 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
1994 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
2014 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
2034 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
2050 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()
2088 FORM_ForceToKillFocus(form_handle()); in TEST_F()
2103 FORM_ForceToKillFocus(form_handle()); in TEST_F()
2117 FORM_ForceToKillFocus(form_handle()); in TEST_F()
2488 FORM_ReplaceSelection(form_handle(), page(), text_to_insert.get()); in TEST_F()