7#ifndef XFA_FXFA_CXFA_FFCOMBOBOX_H_
8#define XFA_FXFA_CXFA_FFCOMBOBOX_H_
10#include "v8/include/cppgc/member.h"
11#include "xfa/fxfa/cxfa_ffdropdown.h"
20 void Trace(cppgc::Visitor* visitor)
const override;
30 const CFX_PointF& point)
override;
42 bool Paste(
const WideString& wsPaste)
override;
56 void InsertItem(
const WideString& wsLabel, int32_t nIndex)
override;
68 explicit CXFA_FFComboBox(
CXFA_Node* pNode);
76 uint32_t GetAlignment();
78 WideString GetCurrentText()
const;
80 WideString m_wsNewValue;
81 cppgc::Member<IFWL_WidgetDelegate> m_pOldDelegate;
#define FWL_STYLEEXT_CMB_ListItemLeftAlign
#define FWL_STYLEEXT_CMB_EditVCenter
#define FWL_STYLEEXT_CMB_EditVFar
#define FWL_STYLEEXT_CMB_DropDown
#define FWL_STYLEEXT_CMB_ListItemCenterAlign
#define FWL_STYLEEXT_CMB_EditVNear
#define FWL_STYLEEXT_CMB_EditHNear
#define FWL_STYLEEXT_CMB_EditHCenter
#define FWL_STYLEEXT_CMB_ReadOnly
#define FWL_STYLEEXT_CMB_EditJustified
#define FWL_STYLEEXT_EDT_AutoHScroll
#define FWL_STYLEEXT_EDT_ReadOnly
void SetCurSel(int32_t iSel)
bool GetLButtonUp() const
void RegisterEventTarget(CFWL_Widget *pListener, CFWL_Widget *pEventSource)
constexpr CFX_RectF()=default
CXFA_EventParam(XFA_EVENTTYPE type)
void Trace(cppgc::Visitor *visitor) const override
void OnPostOpen(CFWL_Widget *pWidget)
void DeleteItem(int32_t nIndex) override
bool PtInActiveRect(const CFX_PointF &point) override
bool LoadWidget() override
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
void OnPreOpen(CFWL_Widget *pWidget)
void UpdateWidgetProperty() override
void OnProcessEvent(CFWL_Event *pEvent) override
void OnSelectChanged(CFWL_Widget *pWidget, bool bLButtonUp)
bool Paste(const WideString &wsPaste) override
bool OnRButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
bool UpdateFWLData() override
CFX_RectF GetBBox(FocusOption focus) override
void SetItemState(int32_t nIndex, bool bSelected)
bool CanSelectAll() override
void OnTextChanged(CFWL_Widget *pWidget, const WideString &wsChanged)
FormFieldType GetFormFieldType() override
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
~CXFA_FFComboBox() override
void OnProcessMessage(CFWL_Message *pMessage) override
bool IsDataChanged() override
absl::optional< WideString > Cut() override
CXFA_FFComboBox * AsComboBox() override
absl::optional< WideString > Copy() override
bool CommitData() override
void InsertItem(const WideString &wsLabel, int32_t nIndex) override
WideString GetText() override
void SelectAll() override
CXFA_FFDropDown(CXFA_Node *pNode)
bool OnKillFocus(CXFA_FFWidget *pNewWidget) override
bool ProcessCommittedData()
bool LoadWidget() override
bool OnRButtonUp(Mask< XFA_FWL_KeyFlag > dwFlags, const CFX_PointF &point) override
void SetNormalWidget(CFWL_Widget *widget)
void OnProcessEvent(CFWL_Event *pEvent) override
uint32_t UpdateUIProperty()
XFA_AttributeValue GetHorizontalAlign()
XFA_AttributeValue GetVerticalAlign()
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED