7#ifndef XFA_FXFA_CXFA_FFDROPDOWN_H_
8#define XFA_FXFA_CXFA_FFDROPDOWN_H_
10#include "core/fxcrt/widestring.h"
11#include "xfa/fxfa/cxfa_fffield.h"
23 virtual void InsertItem(
const WideString& wsLabel, int32_t nIndex) = 0;
#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() override
virtual void DeleteItem(int32_t nIndex)=0
virtual void InsertItem(const WideString &wsLabel, int32_t nIndex)=0
virtual CXFA_FFComboBox * AsComboBox()
CXFA_FFDropDown(CXFA_Node *pNode)
CXFA_FFDropDown * AsDropDown() override
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()
CXFA_FFComboBox * ToComboBox(CXFA_FFDropDown *pDropDown)
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED