7#ifndef XFA_FXFA_CXFA_FFFIELD_H_
8#define XFA_FXFA_CXFA_FFFIELD_H_
10#include "xfa/fwl/cfwl_widget.h"
11#include "xfa/fwl/ifwl_widgetdelegate.h"
12#include "xfa/fxfa/cxfa_ffpageview.h"
13#include "xfa/fxfa/cxfa_ffwidget.h"
28 void Trace(cppgc::Visitor* visitor)
const override;
39 const CFX_PointF& point,
44 const CFX_PointF& point)
override;
46 const CFX_PointF& point)
override;
48 const CFX_PointF& point)
override;
50 const CFX_PointF& point)
override;
52 const CFX_PointF& point,
53 const CFX_Vector& delta)
override;
55 const CFX_PointF& point)
override;
57 const CFX_PointF& point)
override;
59 const CFX_PointF& point)
override;
113 cppgc::Member<CFWL_Widget> m_pNormalWidget;
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override
void Trace(cppgc::Visitor *visitor) const override
static BC_TYPE GetBarcodeTypeByName(const WideString &wsName)
void UpdateWidgetProperty() override
bool LoadWidget() override
~CXFA_FFBarcode() override
CXFA_FFField(CXFA_Node *pNode)
bool OnMouseEnter() override
bool OnSetFocus(CXFA_FFWidget *pOldWidget) override
void OnProcessMessage(CFWL_Message *pMessage) override
void Trace(cppgc::Visitor *visitor) const override
int32_t CalculateOverride()
bool OnMouseExit() override
bool OnLButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
virtual bool IsDataChanged()
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void RenderWidget(CFGAS_GEGraphics *pGS, const CFX_Matrix &matrix, HighlightOption highlight) override
int32_t CalculateNode(CXFA_Node *pNode)
bool OnMouseWheel(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, const CFX_Vector &delta) override
bool OnLButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
const CFWL_Widget * GetNormalWidget() const
bool OnLButtonDblClk(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
CFX_PointF FWLToClient(const CFX_PointF &point)
bool PerformLayout() override
void DrawHighlight(CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix, HighlightOption highlight, ShapeOption shape)
bool ProcessCommittedData()
virtual void SetFWLRect()
bool OnRButtonDblClk(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
virtual CXFA_FFDropDown * AsDropDown()
bool LoadWidget() override
void SetEditScrollOffset()
bool OnRButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
CFWL_Widget * GetNormalWidget()
CFX_RectF GetBBox(FocusOption focus) override
bool OnRButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override
void SetNormalWidget(CFWL_Widget *widget)
void CapTopBottomPlacement(const CXFA_Margin *margin, const CFX_RectF &rtWidget, XFA_AttributeValue iCapPlacement)
bool PtInActiveRect(const CFX_PointF &point) override
FWL_WidgetHit HitTest(const CFX_PointF &point) override
void OnProcessEvent(CFWL_Event *pEvent) override
uint32_t UpdateUIProperty()
void RenderCaption(CFGAS_GEGraphics *pGS, const CFX_Matrix &pMatrix)
virtual bool CommitData()
bool OnChar(uint32_t dwChar, Mask< XFA_FWL_KeyFlag > dwFlags) override
void CapLeftRightPlacement(const CXFA_Margin *margin, const CFX_RectF &rtWidget, XFA_AttributeValue iCapPlacement)
void SendMessageToFWLWidget(CFWL_Message *pMessage)
bool OnKeyDown(XFA_FWL_VKEYCODE dwKeyCode, Mask< XFA_FWL_KeyFlag > dwFlags) override
bool OnMouseMove(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
CXFA_FFField * AsField() override
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
void OnProcessEvent(CFWL_Event *pEvent) override
void OnTextWillChange(CFWL_Widget *pWidget, CFWL_EventTextWillChange *change)
void SelectAll() override
bool OnLButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void OnProcessMessage(CFWL_Message *pMessage) override
bool CanSelectAll() override
bool OnRButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
~CXFA_FFTextEdit() override
absl::optional< WideString > Cut() override
bool CommitData() override
bool OnSetFocus(CXFA_FFWidget *pOldWidget) override
bool AcceptsFocusOnButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point, CFWL_MessageMouse::MouseCommand command) override
bool UpdateFWLData() override
bool LoadWidget() override
void Trace(cppgc::Visitor *visitor) const override
bool Paste(const WideString &wsPaste) override
cppgc::Member< IFWL_WidgetDelegate > m_pOldDelegate
CXFA_FFTextEdit(CXFA_Node *pNode)
void UpdateWidgetProperty() override
absl::optional< WideString > Copy() override
void OnTextFull(CFWL_Widget *pWidget)
FormFieldType GetFormFieldType() override
bool OnRButtonDown(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
bool IsDataChanged() override
WideString GetText() override
int CompareNoCase(const wchar_t *str) const
bool EqualsASCII(ByteStringView that) const
CXFA_FFDropDown * ToDropDown(CXFA_FFField *field)
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED