20 #ifndef INCLUDED_SVX_SVXPRESETLISTBOX_HXX
21 #define INCLUDED_SVX_SVXPRESETLISTBOX_HXX
30 static constexpr sal_uInt32 nColCount = 3;
35 void OnMenuItemSelected(std::string_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);
64 #endif // INCLUDED_SVX_SVXPRESETLISTBOX_HXX
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Link< SvxPresetListBox *, void > maDeleteHdl
void SetDeleteHdl(const Link< SvxPresetListBox *, void > &rLink)
Size const & GetIconSize() const
virtual void Resize() override
#define SVXCORE_DLLPUBLIC
void SetRenameHdl(const Link< SvxPresetListBox *, void > &rLink)
Link< SvxPresetListBox *, void > maRenameHdl