#include "xfa/fxfa/cxfa_ffcombobox.h"
#include <utility>
#include <vector>
#include "core/fxcrt/check.h"
#include "v8/include/cppgc/visitor.h"
#include "xfa/fwl/cfwl_combobox.h"
#include "xfa/fwl/cfwl_eventselectchanged.h"
#include "xfa/fwl/cfwl_notedriver.h"
#include "xfa/fxfa/cxfa_eventparam.h"
#include "xfa/fxfa/cxfa_ffdocview.h"
#include "xfa/fxfa/parser/cxfa_para.h"
namespace {
CFWL_ComboBox* ToComboBox(CFWL_Widget* widget) { … }
const CFWL_ComboBox* ToComboBox(const CFWL_Widget* widget) { … }
}
CXFA_FFComboBox::CXFA_FFComboBox(CXFA_Node* pNode) : … { … }
CXFA_FFComboBox::~CXFA_FFComboBox() = default;
void CXFA_FFComboBox::Trace(cppgc::Visitor* visitor) const { … }
CXFA_FFComboBox* CXFA_FFComboBox::AsComboBox() { … }
CFX_RectF CXFA_FFComboBox::GetBBox(FocusOption focus) { … }
bool CXFA_FFComboBox::PtInActiveRect(const CFX_PointF& point) { … }
bool CXFA_FFComboBox::LoadWidget() { … }
void CXFA_FFComboBox::UpdateWidgetProperty() { … }
bool CXFA_FFComboBox::OnRButtonUp(Mask<XFA_FWL_KeyFlag> dwFlags,
const CFX_PointF& point) { … }
bool CXFA_FFComboBox::OnKillFocus(CXFA_FFWidget* pNewWidget) { … }
void CXFA_FFComboBox::OpenDropDownList() { … }
bool CXFA_FFComboBox::CommitData() { … }
bool CXFA_FFComboBox::IsDataChanged() { … }
void CXFA_FFComboBox::FWLEventSelChange(CXFA_EventParam* pParam) { … }
WideString CXFA_FFComboBox::GetCurrentText() const { … }
uint32_t CXFA_FFComboBox::GetAlignment() { … }
bool CXFA_FFComboBox::UpdateFWLData() { … }
bool CXFA_FFComboBox::CanUndo() { … }
bool CXFA_FFComboBox::CanRedo() { … }
bool CXFA_FFComboBox::CanCopy() { … }
bool CXFA_FFComboBox::CanCut() { … }
bool CXFA_FFComboBox::CanPaste() { … }
bool CXFA_FFComboBox::CanSelectAll() { … }
bool CXFA_FFComboBox::Undo() { … }
bool CXFA_FFComboBox::Redo() { … }
std::optional<WideString> CXFA_FFComboBox::Copy() { … }
std::optional<WideString> CXFA_FFComboBox::Cut() { … }
bool CXFA_FFComboBox::Paste(const WideString& wsPaste) { … }
void CXFA_FFComboBox::SelectAll() { … }
void CXFA_FFComboBox::Delete() { … }
void CXFA_FFComboBox::DeSelect() { … }
WideString CXFA_FFComboBox::GetText() { … }
FormFieldType CXFA_FFComboBox::GetFormFieldType() { … }
void CXFA_FFComboBox::SetItemState(int32_t nIndex, bool bSelected) { … }
void CXFA_FFComboBox::InsertItem(const WideString& wsLabel, int32_t nIndex) { … }
void CXFA_FFComboBox::DeleteItem(int32_t nIndex) { … }
void CXFA_FFComboBox::OnTextChanged(CFWL_Widget* pWidget,
const WideString& wsChanged) { … }
void CXFA_FFComboBox::OnSelectChanged(CFWL_Widget* pWidget, bool bLButtonUp) { … }
void CXFA_FFComboBox::OnPreOpen(CFWL_Widget* pWidget) { … }
void CXFA_FFComboBox::OnPostOpen(CFWL_Widget* pWidget) { … }
void CXFA_FFComboBox::OnProcessMessage(CFWL_Message* pMessage) { … }
void CXFA_FFComboBox::OnProcessEvent(CFWL_Event* pEvent) { … }
void CXFA_FFComboBox::OnDrawWidget(CFGAS_GEGraphics* pGraphics,
const CFX_Matrix& matrix) { … }