7#ifndef PUBLIC_FPDF_FWLEVENT_H_
8#define PUBLIC_FPDF_FWLEVENT_H_
virtual bool SetIndexSelected(int index, bool selected)=0
virtual bool IsIndexSelected(int index)=0
static bool OnRButtonUp(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
static bool OnKeyDown(ObservedPtr< CPDFSDK_Annot > &pAnnot, FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlags)
virtual void ReplaceSelection(const WideString &text)=0
static bool OnRButtonDown(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
virtual WideString GetText()=0
virtual int GetLayoutOrder() const
static bool OnMouseMove(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
virtual CFX_FloatRect GetViewBBox()=0
static bool OnKillFocus(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
virtual CPDF_Annot::Subtype GetAnnotSubtype() const =0
virtual CFX_FloatRect GetRect() const =0
static bool OnLButtonUp(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
CPDFSDK_Annot(CPDFSDK_PageView *pPageView)
static bool OnMouseWheel(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point, const CFX_Vector &delta)
virtual WideString GetSelectedText()=0
virtual CPDFSDK_BAAnnot * AsBAAnnot()
static void OnMouseEnter(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
virtual bool DoHitTest(const CFX_PointF &point)=0
CPDFSDK_PageView * GetPageView() const
virtual bool SelectAllText()=0
static bool OnChar(ObservedPtr< CPDFSDK_Annot > &pAnnot, uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags)
static bool OnSetFocus(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
virtual void OnDraw(CFX_RenderDevice *pDevice, const CFX_Matrix &mtUser2Device, bool bDrawAnnots)=0
virtual void ReplaceAndKeepSelection(const WideString &text)=0
static bool OnLButtonDblClk(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
virtual CPDF_Annot * GetPDFAnnot() const
virtual CPDFXFA_Widget * AsXFAWidget()
virtual UnsafeInputHandlers * GetUnsafeInputHandlers()=0
static void OnMouseExit(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags)
static bool OnLButtonDown(ObservedPtr< CPDFSDK_Annot > &pAnnot, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point)
CPDFXFA_Widget * ToXFAWidget(CPDFSDK_Annot *pAnnot)
@ FWL_EVENTFLAG_RightButtonDown
@ FWL_EVENTFLAG_LeftButtonDown
@ FWL_EVENTFLAG_AutoRepeat
@ FWL_EVENTFLAG_MiddleButtonDown
@ FWL_EVENTFLAG_ControlKey
@ FWL_VKEY_MEDIA_LAUNCH_APP1
@ FWL_VKEY_BROWSER_Forward
@ FWL_VKEY_MEDIA_LAUNCH_Mail
@ FWL_VKEY_MEDIA_PREV_Track
@ FWL_VKEY_MEDIA_PLAY_Pause
@ FWL_VKEY_MEDIA_NEXT_Track
@ FWL_VKEY_MEDIA_LAUNCH_APP2
@ FWL_VKEY_BROWSER_Favorites
@ FWL_VKEY_BROWSER_Search
@ FWL_VKEY_BROWSER_Refresh
@ FWL_VKEY_MEDIA_LAUNCH_MEDIA_Select