1 #ifndef INCLUDED_CUI_NUMBERINGPREVIEW_HXX
2 #define INCLUDED_CUI_NUMBERINGPREVIEW_HXX
4 #include <cui/cuidllapi.h>
5 #include <editeng/numitem.hxx>
6 #include <vcl/customweld.hxx>
8 /// Provides the preview to show how looks bullet or numbering format before the apply.
9 class CUI_DLLPUBLIC SvxNumberingPreview final
: public weld::CustomWidgetController
11 const SvxNumRule
* pActNum
;
16 virtual void Paint(vcl::RenderContext
& rRenderContext
,
17 const ::tools::Rectangle
& rRect
) override
;
20 SvxNumberingPreview();
22 void SetNumRule(const SvxNumRule
* pNum
)
27 void SetPositionMode() { bPosition
= true; }
28 void SetLevel(sal_uInt16 nSet
) { nActLevel
= nSet
; }