20#ifndef INCLUDED_SVX_SVXPRESETLISTBOX_HXX
21#define INCLUDED_SVX_SVXPRESETLISTBOX_HXX
30 static constexpr sal_uInt32 nColCount = 3;
35 void OnMenuItemSelected(std::u16string_view rIdent);
37 template<
typename ListType,
typename EntryType >
38 void FillPresetListBoxImpl(ListType& pList, sal_uInt32 nStartIndex);
43 virtual void Resize()
override;
44 virtual bool Command(
const CommandEvent& rEvent)
override;
57 void FillPresetListBox(
XGradientList& pList, sal_uInt32 nStartIndex = 1);
58 void FillPresetListBox(
XHatchList& pList, sal_uInt32 nStartIndex = 1);
59 void FillPresetListBox(
XBitmapList& pList, sal_uInt32 nStartIndex = 1);
60 void FillPresetListBox(
XPatternList& pList, sal_uInt32 nStartIndex = 1);
Size const & GetIconSize() const
Link< SvxPresetListBox *, void > maRenameHdl
void SetDeleteHdl(const Link< SvxPresetListBox *, void > &rLink)
void SetRenameHdl(const Link< SvxPresetListBox *, void > &rLink)
Link< SvxPresetListBox *, void > maDeleteHdl
virtual void Resize() override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
#define SVXCORE_DLLPUBLIC