7#ifndef FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_
8#define FPDFSDK_FORMFILLER_CFFL_COMBOBOX_H_
12#include "core/fxcrt/widestring.h"
13#include "fpdfsdk/formfiller/cffl_textobject.h"
27 CPDFSDK_Widget* pWidget);
34 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData)
override;
35 bool OnChar(CPDFSDK_Widget* pWidget,
37 Mask<FWL_EVENTFLAG> nFlags)
override;
38 bool IsDataChanged(
const CPDFSDK_PageView* pPageView)
override;
39 void SaveData(
const CPDFSDK_PageView* pPageView)
override;
48 const CPDFSDK_PageView* pPageView)
override;
52 bool IsFieldFull(
const CPDFSDK_PageView* pPageView) override;
59 WideString GetSelectExportText();
60 CPWL_ComboBox* GetPWLComboBox(
const CPDFSDK_PageView* pPageView)
const;
61 CPWL_ComboBox* CreateOrUpdatePWLComboBox(
const CPDFSDK_PageView* pPageView);
bool OnChar(CPDFSDK_Widget *pWidget, uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags) override
void SavePWLWindowState(const CPDFSDK_PageView *pPageView) override
void SaveData(const CPDFSDK_PageView *pPageView) override
std::unique_ptr< CPWL_Wnd > NewPWLWindow(const CPWL_Wnd::CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) override
void RecreatePWLWindowFromSavedState(const CPDFSDK_PageView *pPageView) override
void GetActionData(const CPDFSDK_PageView *pPageView, CPDF_AAction::AActionType type, CFFL_FieldAction &fa) override
bool IsDataChanged(const CPDFSDK_PageView *pPageView) override
~CFFL_ComboBox() override
CPWL_Wnd::CreateParams GetCreateParam() override
CFFL_ComboBox(CFFL_InteractiveFormFiller *pFormFiller, CPDFSDK_Widget *pWidget)
void SetActionData(const CPDFSDK_PageView *pPageView, CPDF_AAction::AActionType type, const CFFL_FieldAction &fa) override
bool IsIndexSelected(int index) override
bool SetIndexSelected(int index, bool selected) override
void OnSetFocusForEdit(CPWL_Edit *pEdit) override
void SetFormField(CFFL_FormField *pFormField)
CPDF_BAFontMap * GetOrCreateFontMap()
CFFL_TextObject(CFFL_InteractiveFormFiller *pFormFiller, CPDFSDK_Widget *pWidget)
void SetSelect(int32_t nItemIndex)
int32_t GetSelect() const
WideString GetText() override
CPWL_Edit * GetEdit() const
WideString GetText() override
void SetCharSet(FX_Charset nCharSet)
void SetSelection(int32_t nStartChar, int32_t nEndChar)
std::pair< int32_t, int32_t > GetSelection() const
void ReplaceSelection(const WideString &text) override
#define PCBS_ALLOWCUSTOMTEXT