11#include <uiobject.hxx>
25 if (rAction ==
"SELECT")
27 if (rParameters.find(
"INDEX") != rParameters.end())
29 OUString aIndexStr = rParameters.find(
"INDEX")->second;
31 sal_Int32
nIndex = aIndexStr.toInt32();
34 else if (rParameters.find(
"COLUMN") != rParameters.end() &&
35 rParameters.find(
"ROW") != rParameters.end())
37 OUString aColStr = rParameters.find(
"COLUMN")->second;
38 OUString aRowStr = rParameters.find(
"ROW")->second;
40 sal_Int32 nColumn = aColStr.toInt32();
41 sal_Int32 nRow = aRowStr.toInt32();
58 return "SvxShowCharSetUIObject";
71 if (rAction ==
"CHOOSE")
73 if (rParameters.find(
"POS") != rParameters.end())
75 OUString aIndexStr = rParameters.find(
"POS")->second;
76 sal_Int32
nIndex = aIndexStr.toInt32();
92 return "SvxNumValueSetUIObject";
std::map< OUString, OUString > StringMap
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
virtual StringMap get_state() override
SvxNumValueSet * mpNumValueSet
OUString get_name() const override
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
SvxNumValueSetUIObject(vcl::Window *pNumValueSetWin)
SvxShowCharSetUIObject(const VclPtr< vcl::Window > &rCharSetWin)
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
OUString get_name() const override
static std::unique_ptr< UIObject > create(vcl::Window *pWindow)
SvxShowCharSet * mpCharSet
void OutputIndex(int index)
size_t GetItemCount() const
OUString GetItemText(sal_uInt16 nItemId) const
void SelectItem(sal_uInt16 nItemId)
sal_uInt16 GetSelectedItemId() const
size_t GetSelectItemPos() const
virtual StringMap get_state() override
virtual void execute(const OUString &rAction, const StringMap &rParameters) override
HashMap_OWString_Interface aMap
SvxTableController * mpController