LibreOffice Module cui (master) 1
numberingpreview.hxx
Go to the documentation of this file.
1#ifndef INCLUDED_CUI_NUMBERINGPREVIEW_HXX
2#define INCLUDED_CUI_NUMBERINGPREVIEW_HXX
3
4#include <cui/cuidllapi.h>
5#include <editeng/numitem.hxx>
6#include <vcl/customweld.hxx>
7
10{
14 sal_uInt16 nActLevel;
15
16 virtual void Paint(vcl::RenderContext& rRenderContext,
17 const ::tools::Rectangle& rRect) override;
18
19public:
21
22 void SetNumRule(const SvxNumRule* pNum)
23 {
24 pActNum = pNum;
25 Invalidate();
26 };
27 void SetPositionMode() { bPosition = true; }
28 void SetLevel(sal_uInt16 nSet) { nActLevel = nSet; }
29};
30
31#endif
Provides the preview to show how looks bullet or numbering format before the apply.
void SetNumRule(const SvxNumRule *pNum)
const SvxNumRule * pActNum
void SetLevel(sal_uInt16 nSet)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
#define CUI_DLLPUBLIC
Definition: cuidllapi.h:18