19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_NUMFMTLB_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_NUMFMTLB_HXX
48 SAL_DLLPRIVATE
static double GetDefValue(
const SvNumFormatType nFormatType);
49 void SetOneArea(
bool bOnlyOne) { m_bOneArea = bOnlyOne; }
52 void SetDefFormat(
const sal_uInt32 nDefFormat);
61 virtual OUString
get_id(
int nPos)
const = 0;
64 virtual void append(
const OUString& rId,
const OUString& rText) = 0;
66 virtual void insert_text(
int nPos,
const OUString& rText) = 0;
68 virtual void set_id(
int nPos,
const OUString& rId) = 0;
78 virtual void Init()
override;
83 virtual sal_uInt32
GetFormat()
const override;
85 virtual void clear()
override;
86 virtual int get_count()
const override {
return mxControl->get_count(); }
87 virtual int get_active()
const override {
return mxControl->get_active(); }
88 virtual OUString
get_id(
int nPos)
const override {
return mxControl->get_id(
nPos); }
89 virtual OUString
get_text(
int nPos)
const override {
return mxControl->get_text(
nPos); }
91 virtual void append(
const OUString& rId,
const OUString& rText)
override { mxControl->append(rId, rText); }
92 virtual void append_text(
const OUString& rText)
override { mxControl->append_text(rText); }
93 virtual void insert_text(
int nPos,
const OUString& rText)
override { mxControl->insert_text(
nPos, rText); }
95 virtual void set_id(
int nPos,
const OUString& rId)
override { mxControl->set_id(
nPos, rId); }
96 void show() { mxControl->show(); }
97 void hide() { mxControl->hide(); }
99 void set_sensitive(
bool bSensitive) { mxControl->set_sensitive(bSensitive); }
111 virtual void Init()
override;
116 virtual sal_uInt32
GetFormat()
const override;
118 virtual void clear()
override;
119 virtual int get_count()
const override {
return mxControl->n_children(); }
120 virtual int get_active()
const override {
return mxControl->get_selected_index(); }
121 virtual OUString
get_id(
int nPos)
const override {
return mxControl->get_id(
nPos); }
122 virtual OUString
get_text(
int nPos)
const override {
return mxControl->get_text(
nPos); }
124 virtual void append(
const OUString& rId,
const OUString& rText)
override { mxControl->append(rId, rText); }
125 virtual void append_text(
const OUString& rText)
override { mxControl->append_text(rText); }
126 virtual void insert_text(
int nPos,
const OUString& rText)
override { mxControl->insert_text(
nPos, rText); }
128 virtual void set_id(
int nPos,
const OUString& rId)
override { mxControl->set_id(
nPos, rId); }
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override