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
CFFL_InteractiveFormFiller Class Referencefinal

#include <cffl_interactiveformfiller.h>

+ Inheritance diagram for CFFL_InteractiveFormFiller:
+ Collaboration diagram for CFFL_InteractiveFormFiller:

Classes

class  CallbackIface
 

Public Member Functions

 CFFL_InteractiveFormFiller (CallbackIface *pCallbackIface)
 
 ~CFFL_InteractiveFormFiller () override
 
bool Annot_HitTest (const CPDFSDK_Widget *pWidget, const CFX_PointF &point)
 
FX_RECT GetViewBBox (const CPDFSDK_PageView *pPageView, CPDFSDK_Widget *pWidget)
 
void OnDraw (CPDFSDK_PageView *pPageView, CPDFSDK_Widget *pWidget, CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device)
 
void OnDelete (CPDFSDK_Widget *pWidget)
 
void OnMouseEnter (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlag)
 
void OnMouseExit (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlag)
 
bool OnLButtonDown (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnLButtonUp (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnLButtonDblClk (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnMouseMove (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnMouseWheel (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point, const CFX_Vector &delta)
 
bool OnRButtonDown (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnRButtonUp (CPDFSDK_PageView *pPageView, ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
 
bool OnKeyDown (CPDFSDK_Widget *pWidget, FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlags)
 
bool OnChar (CPDFSDK_Widget *pWidget, uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags)
 
bool OnSetFocus (ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlag)
 
bool OnKillFocus (ObservedPtr< CPDFSDK_Widget > &pWidget, Mask< FWL_EVENTFLAG > nFlag)
 
void OnSetFieldInputFocus (const WideString &text)
 
void Invalidate (IPDF_Page *pPage, const FX_RECT &rect)
 
CPDFSDK_PageViewGetOrCreatePageView (IPDF_Page *pPage)
 
CPDFSDK_PageViewGetPageView (IPDF_Page *pPage)
 
CFX_Timer::HandlerIfaceGetTimerHandler ()
 
void OnChange ()
 
CFFL_FormFieldGetFormFieldForTesting (CPDFSDK_Widget *pAnnot)
 
WideString GetText (CPDFSDK_Widget *pWidget)
 
WideString GetSelectedText (CPDFSDK_Widget *pWidget)
 
void ReplaceAndKeepSelection (CPDFSDK_Widget *pWidget, const WideString &text)
 
void ReplaceSelection (CPDFSDK_Widget *pWidget, const WideString &text)
 
bool SelectAllText (CPDFSDK_Widget *pWidget)
 
bool CanUndo (CPDFSDK_Widget *pWidget)
 
bool CanRedo (CPDFSDK_Widget *pWidget)
 
bool Undo (CPDFSDK_Widget *pWidget)
 
bool Redo (CPDFSDK_Widget *pWidget)
 
bool OnKeyStrokeCommit (ObservedPtr< CPDFSDK_Widget > &pWidget, const CPDFSDK_PageView *pPageView, Mask< FWL_EVENTFLAG > nFlag)
 
bool OnValidate (ObservedPtr< CPDFSDK_Widget > &pWidget, const CPDFSDK_PageView *pPageView, Mask< FWL_EVENTFLAG > nFlag)
 
void OnCalculate (ObservedPtr< CPDFSDK_Widget > &pWidget)
 
void OnFormat (ObservedPtr< CPDFSDK_Widget > &pWidget)
 
bool OnButtonUp (ObservedPtr< CPDFSDK_Widget > &pWidget, const CPDFSDK_PageView *pPageView, Mask< FWL_EVENTFLAG > nFlag)
 
bool SetIndexSelected (ObservedPtr< CPDFSDK_Widget > &pWidget, int index, bool selected)
 
bool IsIndexSelected (ObservedPtr< CPDFSDK_Widget > &pWidget, int index)
 
- Public Member Functions inherited from IPWL_FillerNotify
virtual ~IPWL_FillerNotify ()=default
 

Static Public Member Functions

static bool IsVisible (CPDFSDK_Widget *pWidget)
 
static bool IsReadOnly (CPDFSDK_Widget *pWidget)
 
static bool IsValidAnnot (const CPDFSDK_PageView *pPageView, CPDFSDK_Widget *pWidget)
 

Private Member Functions

void InvalidateRect (PerWindowData *pWidgetData, const CFX_FloatRect &rect) override
 
void OutputSelectedRect (PerWindowData *pWidgetData, const CFX_FloatRect &rect) override
 
bool IsSelectionImplemented () const override
 
void SetCursor (CursorStyle nCursorStyle) override
 
void QueryWherePopup (const PerWindowData *pAttached, float fPopupMin, float fPopupMax, bool *bBottom, float *fPopupRet) override
 
BeforeKeystrokeResult OnBeforeKeyStroke (const PerWindowData *pAttached, WideString &strChange, const WideString &strChangeEx, int nSelStart, int nSelEnd, bool bKeyDown, Mask< FWL_EVENTFLAG > nFlag) override
 
bool OnPopupPreOpen (const PerWindowData *pAttached, Mask< FWL_EVENTFLAG > nFlag) override
 
bool OnPopupPostOpen (const PerWindowData *pAttached, Mask< FWL_EVENTFLAG > nFlag) override
 

Additional Inherited Members

- Public Types inherited from IPWL_FillerNotify
enum  CursorStyle {
  kArrow = 0 , kNESW = 1 , kNWSE = 2 , kVBeam = 3 ,
  kHBeam = 4 , kHand = 5
}
 

Detailed Description

Definition at line 26 of file cffl_interactiveformfiller.h.

Constructor & Destructor Documentation

◆ CFFL_InteractiveFormFiller()

CFFL_InteractiveFormFiller::CFFL_InteractiveFormFiller ( CallbackIface * pCallbackIface)
explicit

Definition at line 30 of file cffl_interactiveformfiller.cpp.

References CFFL_InteractiveFormFiller().

Referenced by CFFL_InteractiveFormFiller().

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

◆ ~CFFL_InteractiveFormFiller()

CFFL_InteractiveFormFiller::~CFFL_InteractiveFormFiller ( )
overridedefault

Member Function Documentation

◆ Annot_HitTest()

bool CFFL_InteractiveFormFiller::Annot_HitTest ( const CPDFSDK_Widget * pWidget,
const CFX_PointF & point )

Definition at line 36 of file cffl_interactiveformfiller.cpp.

References CPDFSDK_BAAnnot::GetRect().

+ Here is the call graph for this function:

◆ CanRedo()

bool CFFL_InteractiveFormFiller::CanRedo ( CPDFSDK_Widget * pWidget)

Definition at line 564 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::CanRedo().

Referenced by CPDFSDK_Widget::CanRedo().

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

◆ CanUndo()

bool CFFL_InteractiveFormFiller::CanUndo ( CPDFSDK_Widget * pWidget)

Definition at line 559 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::CanUndo().

Referenced by CPDFSDK_Widget::CanUndo().

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

◆ GetFormFieldForTesting()

CFFL_FormField * CFFL_InteractiveFormFiller::GetFormFieldForTesting ( CPDFSDK_Widget * pAnnot)
inline

Definition at line 123 of file cffl_interactiveformfiller.h.

Referenced by CPWLComboBoxEmbedderTest::FormFillerAndWindowSetup(), CPWLEditEmbedderTest::FormFillerAndWindowSetup(), and CPWLSpecialButtonEmbedderTest::FormFillerAndWindowSetup().

+ Here is the caller graph for this function:

◆ GetOrCreatePageView()

CPDFSDK_PageView * CFFL_InteractiveFormFiller::GetOrCreatePageView ( IPDF_Page * pPage)

Definition at line 445 of file cffl_interactiveformfiller.cpp.

◆ GetPageView()

CPDFSDK_PageView * CFFL_InteractiveFormFiller::GetPageView ( IPDF_Page * pPage)

Definition at line 450 of file cffl_interactiveformfiller.cpp.

◆ GetSelectedText()

WideString CFFL_InteractiveFormFiller::GetSelectedText ( CPDFSDK_Widget * pWidget)

Definition at line 529 of file cffl_interactiveformfiller.cpp.

References fxcrt::WideString::WideString(), and CFFL_FormField::GetSelectedText().

Referenced by CPDFSDK_Widget::GetSelectedText().

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

◆ GetText()

WideString CFFL_InteractiveFormFiller::GetText ( CPDFSDK_Widget * pWidget)

Definition at line 524 of file cffl_interactiveformfiller.cpp.

References fxcrt::WideString::WideString(), and CFFL_FormField::GetText().

Referenced by CPDFSDK_Widget::GetText().

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

◆ GetTimerHandler()

CFX_Timer::HandlerIface * CFFL_InteractiveFormFiller::GetTimerHandler ( )

Definition at line 454 of file cffl_interactiveformfiller.cpp.

◆ GetViewBBox()

FX_RECT CFFL_InteractiveFormFiller::GetViewBBox ( const CPDFSDK_PageView * pPageView,
CPDFSDK_Widget * pWidget )

Definition at line 41 of file cffl_interactiveformfiller.cpp.

References CFX_FloatRect::GetOuterRect(), CPDFSDK_BAAnnot::GetPDFAnnot(), CPDF_Annot::GetRect(), CFFL_FormField::GetViewBBox(), CFX_FloatRect::Inflate(), CFX_FloatRect::IsEmpty(), and CFX_FloatRect::Normalize().

Referenced by CPDFSDK_Widget::GetViewBBox(), and OnLButtonUp().

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

◆ Invalidate()

void CFFL_InteractiveFormFiller::Invalidate ( IPDF_Page * pPage,
const FX_RECT & rect )

Definition at line 440 of file cffl_interactiveformfiller.cpp.

◆ InvalidateRect()

void CFFL_InteractiveFormFiller::InvalidateRect ( PerWindowData * pWidgetData,
const CFX_FloatRect & rect )
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 587 of file cffl_interactiveformfiller.cpp.

References CFFL_PerWindowData::GetWidget().

+ Here is the call graph for this function:

◆ IsIndexSelected()

bool CFFL_InteractiveFormFiller::IsIndexSelected ( ObservedPtr< CPDFSDK_Widget > & pWidget,
int index )

Definition at line 282 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::IsIndexSelected().

Referenced by CPDFSDK_Widget::IsIndexSelected().

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

◆ IsReadOnly()

bool CFFL_InteractiveFormFiller::IsReadOnly ( CPDFSDK_Widget * pWidget)
static

Definition at line 466 of file cffl_interactiveformfiller.cpp.

References CPDFSDK_Widget::GetFieldFlags(), and pdfium::form_flags::kReadOnly.

Referenced by OnDraw().

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

◆ IsSelectionImplemented()

bool CFFL_InteractiveFormFiller::IsSelectionImplemented ( ) const
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 610 of file cffl_interactiveformfiller.cpp.

◆ IsValidAnnot()

bool CFFL_InteractiveFormFiller::IsValidAnnot ( const CPDFSDK_PageView * pPageView,
CPDFSDK_Widget * pWidget )
static

Definition at line 894 of file cffl_interactiveformfiller.cpp.

References CPDFSDK_BAAnnot::GetPDFAnnot(), and CPDFSDK_PageView::IsValidAnnot().

Referenced by OnBeforeKeyStroke(), OnButtonUp(), and OnLButtonDown().

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

◆ IsVisible()

bool CFFL_InteractiveFormFiller::IsVisible ( CPDFSDK_Widget * pWidget)
static

Definition at line 462 of file cffl_interactiveformfiller.cpp.

References CPDFSDK_BAAnnot::IsVisible().

Referenced by CFFL_FormField::OnDraw(), and OnDraw().

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

◆ OnBeforeKeyStroke()

◆ OnButtonUp()

bool CFFL_InteractiveFormFiller::OnButtonUp ( ObservedPtr< CPDFSDK_Widget > & pWidget,
const CPDFSDK_PageView * pPageView,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 241 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), IsValidAnnot(), and CFFL_FormField::ResetPWLWindowForValueAge().

Referenced by OnLButtonUp().

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

◆ OnCalculate()

void CFFL_InteractiveFormFiller::OnCalculate ( ObservedPtr< CPDFSDK_Widget > & pWidget)

Definition at line 746 of file cffl_interactiveformfiller.cpp.

◆ OnChange()

void CFFL_InteractiveFormFiller::OnChange ( )

Definition at line 458 of file cffl_interactiveformfiller.cpp.

◆ OnChar()

bool CFFL_InteractiveFormFiller::OnChar ( CPDFSDK_Widget * pWidget,
uint32_t nChar,
Mask< FWL_EVENTFLAG > nFlags )

Definition at line 343 of file cffl_interactiveformfiller.cpp.

References pdfium::ascii::kTab, and CFFL_FormField::OnChar().

Referenced by CPDFSDK_Widget::OnChar().

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

◆ OnDelete()

void CFFL_InteractiveFormFiller::OnDelete ( CPDFSDK_Widget * pWidget)

Definition at line 92 of file cffl_interactiveformfiller.cpp.

Referenced by CPDFSDK_Widget::~CPDFSDK_Widget().

+ Here is the caller graph for this function:

◆ OnDraw()

void CFFL_InteractiveFormFiller::OnDraw ( CPDFSDK_PageView * pPageView,
CPDFSDK_Widget * pWidget,
CFX_RenderDevice * pDevice,
const CFX_Matrix & mtUser2Device )

Definition at line 58 of file cffl_interactiveformfiller.cpp.

References CPDFSDK_Widget::DrawAppearance(), CFX_DrawUtils::DrawFocusRect(), CPDFSDK_Widget::DrawShadow(), CFFL_FormField::GetFocusBox(), CFX_FloatRect::IsEmpty(), IsReadOnly(), CFFL_FormField::IsValid(), IsVisible(), CPDF_Annot::kNormal, CFFL_FormField::OnDraw(), and CFFL_FormField::OnDrawDeactive().

Referenced by CPDFSDK_Widget::OnDraw().

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

◆ OnFormat()

void CFFL_InteractiveFormFiller::OnFormat ( ObservedPtr< CPDFSDK_Widget > & pWidget)

Definition at line 755 of file cffl_interactiveformfiller.cpp.

◆ OnKeyDown()

bool CFFL_InteractiveFormFiller::OnKeyDown ( CPDFSDK_Widget * pWidget,
FWL_VKEYCODE nKeyCode,
Mask< FWL_EVENTFLAG > nFlags )

Definition at line 336 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnKeyDown().

Referenced by CPDFSDK_Widget::OnKeyDown().

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

◆ OnKeyStrokeCommit()

bool CFFL_InteractiveFormFiller::OnKeyStrokeCommit ( ObservedPtr< CPDFSDK_Widget > & pWidget,
const CPDFSDK_PageView * pPageView,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 679 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bKeyDown, CFFL_FieldAction::bModifier, CFFL_FieldAction::bRC, CFFL_FieldAction::bShift, CFFL_FieldAction::bWillCommit, CFFL_FormField::GetActionData(), CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CPDF_AAction::kKeyStroke, and CFFL_FormField::SavePWLWindowState().

+ Here is the call graph for this function:

◆ OnKillFocus()

bool CFFL_InteractiveFormFiller::OnKillFocus ( ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 399 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CFFL_FormField::GetActionData(), CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CFFL_FormField::KillFocusForAnnot(), and CPDF_AAction::kLoseFocus.

Referenced by CPDFSDK_Widget::OnKillFocus().

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

◆ OnLButtonDblClk()

bool CFFL_InteractiveFormFiller::OnLButtonDblClk ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 289 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnLButtonDblClk().

Referenced by CPDFSDK_Widget::OnLButtonDblClk().

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

◆ OnLButtonDown()

bool CFFL_InteractiveFormFiller::OnLButtonDown ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 163 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), IsValidAnnot(), CFFL_FormField::OnLButtonDown(), and CFFL_FormField::ResetPWLWindowForValueAge().

Referenced by CPDFSDK_Widget::OnLButtonDown().

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

◆ OnLButtonUp()

bool CFFL_InteractiveFormFiller::OnLButtonUp ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 203 of file cffl_interactiveformfiller.cpp.

References FX_RECT::Contains(), GetViewBBox(), OnButtonUp(), and CFFL_FormField::OnLButtonUp().

Referenced by CPDFSDK_Widget::OnLButtonUp().

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

◆ OnMouseEnter()

void CFFL_InteractiveFormFiller::OnMouseEnter ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 96 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CFFL_FormField::OnMouseEnter(), and CFFL_FormField::ResetPWLWindowForValueAge().

Referenced by CPDFSDK_Widget::OnMouseEnter().

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

◆ OnMouseExit()

void CFFL_InteractiveFormFiller::OnMouseExit ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 129 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CFFL_FormField::OnMouseExit(), and CFFL_FormField::ResetPWLWindowForValueAge().

Referenced by CPDFSDK_Widget::OnMouseExit().

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

◆ OnMouseMove()

bool CFFL_InteractiveFormFiller::OnMouseMove ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 298 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnMouseMove().

Referenced by CPDFSDK_Widget::OnMouseMove().

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

◆ OnMouseWheel()

bool CFFL_InteractiveFormFiller::OnMouseWheel ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point,
const CFX_Vector & delta )

Definition at line 307 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnMouseWheel().

Referenced by CPDFSDK_Widget::OnMouseWheel().

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

◆ OnPopupPostOpen()

bool CFFL_InteractiveFormFiller::OnPopupPostOpen ( const PerWindowData * pAttached,
Mask< FWL_EVENTFLAG > nFlag )
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 993 of file cffl_interactiveformfiller.cpp.

◆ OnPopupPreOpen()

bool CFFL_InteractiveFormFiller::OnPopupPreOpen ( const PerWindowData * pAttached,
Mask< FWL_EVENTFLAG > nFlag )
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 979 of file cffl_interactiveformfiller.cpp.

◆ OnRButtonDown()

bool CFFL_InteractiveFormFiller::OnRButtonDown ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 318 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnRButtonDown().

Referenced by CPDFSDK_Widget::OnRButtonDown().

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

◆ OnRButtonUp()

bool CFFL_InteractiveFormFiller::OnRButtonUp ( CPDFSDK_PageView * pPageView,
ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlags,
const CFX_PointF & point )

Definition at line 327 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::OnRButtonUp().

Referenced by CPDFSDK_Widget::OnRButtonUp().

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

◆ OnSetFieldInputFocus()

void CFFL_InteractiveFormFiller::OnSetFieldInputFocus ( const WideString & text)

Definition at line 436 of file cffl_interactiveformfiller.cpp.

◆ OnSetFocus()

bool CFFL_InteractiveFormFiller::OnSetFocus ( ObservedPtr< CPDFSDK_Widget > & pWidget,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 353 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bModifier, CFFL_FieldAction::bShift, CFFL_FormField::GetActionData(), CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CPDF_AAction::kGetFocus, CFFL_FormField::ResetPWLWindowForValueAge(), and CFFL_FormField::SetFocusForAnnot().

Referenced by CPWLComboBoxEmbedderTest::FormFillerAndWindowSetup(), CPWLEditEmbedderTest::FormFillerAndWindowSetup(), CPWLSpecialButtonEmbedderTest::FormFillerAndWindowSetup(), and CPDFSDK_Widget::OnSetFocus().

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

◆ OnValidate()

bool CFFL_InteractiveFormFiller::OnValidate ( ObservedPtr< CPDFSDK_Widget > & pWidget,
const CPDFSDK_PageView * pPageView,
Mask< FWL_EVENTFLAG > nFlag )

Definition at line 713 of file cffl_interactiveformfiller.cpp.

References CFFL_FieldAction::bKeyDown, CFFL_FieldAction::bModifier, CFFL_FieldAction::bRC, CFFL_FieldAction::bShift, CFFL_FormField::GetActionData(), CPWL_Wnd::IsCTRLKeyDown(), CPWL_Wnd::IsSHIFTKeyDown(), CPDF_AAction::kValidate, and CFFL_FormField::SavePWLWindowState().

+ Here is the call graph for this function:

◆ OutputSelectedRect()

void CFFL_InteractiveFormFiller::OutputSelectedRect ( PerWindowData * pWidgetData,
const CFX_FloatRect & rect )
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 597 of file cffl_interactiveformfiller.cpp.

References CFFL_PerWindowData::GetFormField().

+ Here is the call graph for this function:

◆ QueryWherePopup()

void CFFL_InteractiveFormFiller::QueryWherePopup ( const PerWindowData * pAttached,
float fPopupMin,
float fPopupMax,
bool * bBottom,
float * fPopupRet )
overrideprivatevirtual

◆ Redo()

bool CFFL_InteractiveFormFiller::Redo ( CPDFSDK_Widget * pWidget)

Definition at line 574 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::Redo().

Referenced by CPDFSDK_Widget::Redo().

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

◆ ReplaceAndKeepSelection()

void CFFL_InteractiveFormFiller::ReplaceAndKeepSelection ( CPDFSDK_Widget * pWidget,
const WideString & text )

Definition at line 535 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::ReplaceAndKeepSelection().

Referenced by CPDFSDK_Widget::ReplaceAndKeepSelection().

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

◆ ReplaceSelection()

void CFFL_InteractiveFormFiller::ReplaceSelection ( CPDFSDK_Widget * pWidget,
const WideString & text )

Definition at line 545 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::ReplaceSelection().

Referenced by CPDFSDK_Widget::ReplaceSelection().

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

◆ SelectAllText()

bool CFFL_InteractiveFormFiller::SelectAllText ( CPDFSDK_Widget * pWidget)

Definition at line 554 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::SelectAllText().

Referenced by CPDFSDK_Widget::SelectAllText().

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

◆ SetCursor()

void CFFL_InteractiveFormFiller::SetCursor ( CursorStyle nCursorStyle)
overrideprivatevirtual

Implements IPWL_FillerNotify.

Definition at line 614 of file cffl_interactiveformfiller.cpp.

◆ SetIndexSelected()

bool CFFL_InteractiveFormFiller::SetIndexSelected ( ObservedPtr< CPDFSDK_Widget > & pWidget,
int index,
bool selected )

Definition at line 274 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::SetIndexSelected().

Referenced by CPDFSDK_Widget::SetIndexSelected().

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

◆ Undo()

bool CFFL_InteractiveFormFiller::Undo ( CPDFSDK_Widget * pWidget)

Definition at line 569 of file cffl_interactiveformfiller.cpp.

References CFFL_FormField::Undo().

Referenced by CPDFSDK_Widget::Undo().

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

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