LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
NumberingPreview Class Referencefinal

#include <numprevw.hxx>

Inheritance diagram for NumberingPreview:
[legend]
Collaboration diagram for NumberingPreview:
[legend]

Public Member Functions

 NumberingPreview ()
 
void SetNumRule (const SwNumRule *pNum)
 
void SetPageWidth (tools::Long nPgWidth)
 
void SetOutlineNames (const OUString *pNames)
 
void SetPositionMode ()
 
void SetLevel (sal_uInt16 nSet)
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
 
virtual void Resize ()
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool Command (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void SetCursor (void *pData)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
void Enable () const
 
void Disable () const
 
bool IsActive () const
 
int GetTextHeight () const
 
int GetTextWidth (const OUString &rText) const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
Point GetPointerPosPixel () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OUString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void SetInputContext (const InputContext &rInputContext)
 
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
 
virtual int GetSurroundingText (OUString &)
 
virtual bool DeleteSurroundingText (const Selection &)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
 
void SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)
 
virtual bool StartDrag ()
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Private Member Functions

virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 

Private Attributes

const SwNumRulem_pActNum
 
vcl::Font m_aStdFont
 
tools::Long m_nPageWidth
 
const OUString * m_pOutlineNames
 
bool m_bPosition
 
sal_uInt16 m_nActLevel
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 28 of file numprevw.hxx.

Constructor & Destructor Documentation

◆ NumberingPreview()

NumberingPreview::NumberingPreview ( )
inline

Definition at line 41 of file numprevw.hxx.

Member Function Documentation

◆ Paint()

void NumberingPreview::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overrideprivatevirtual

Implements weld::CustomWidgetController.

Definition at line 862 of file outline.cxx.

References COL_AUTO(), COL_BLACK(), COL_WHITE(), OutputDevice::DrawOutDev(), svtools::FONTCOLOR, VclPtr< class reference_type >::get(), SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), GetAppLanguage(), SvxNumberFormat::GetCharTextDistance(), SwViewOption::GetCurrentViewOptions(), OutputDevice::GetDefaultFont(), SwViewOption::GetDocBoundariesColor(), SwViewOption::GetDocColor(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SwViewOption::GetFontColor(), vcl::Font::GetFontSize(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListtabPos(), OutputDevice::GetMapMode(), SvxNumberType::GetNumberingType(), weld::CustomWidgetController::GetOutputSizePixel(), SvxNumberFormat::GetPositionAndSpaceMode(), utl::ConfigManager::getProductName(), OutputDevice::GetSettings(), SvxNumberFormat::GetStart(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowColor(), Size::Height(), SwNumRule::IsContinusNum(), Color::IsDark(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, lcl_DrawBullet(), lcl_DrawGraphic(), SvxNumberFormat::LISTTAB, m_aStdFont, m_bPosition, m_nActLevel, m_nPageWidth, m_pActNum, m_pOutlineNames, SwNumRule::MakeNumString(), MAXLEVEL, min(), SvxNumberFormat::NEWLINE, nFirstLineOffset, SvxNumberFormat::NOTHING, OutputDevice::PixelToLogic(), vcl::Font::SetColor(), vcl::Font::SetFontSize(), SvxNumberFormat::SPACE, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, and Size::Width().

◆ SetLevel()

void NumberingPreview::SetLevel ( sal_uInt16  nSet)
inline

Definition at line 62 of file numprevw.hxx.

References m_nActLevel.

Referenced by SwNumPositionTabPage::SetModified().

◆ SetNumRule()

void NumberingPreview::SetNumRule ( const SwNumRule pNum)
inline

◆ SetOutlineNames()

void NumberingPreview::SetOutlineNames ( const OUString *  pNames)
inline

Definition at line 58 of file numprevw.hxx.

References m_pOutlineNames.

Referenced by SwOutlineSettingsTabPage::SetWrtShell().

◆ SetPageWidth()

void NumberingPreview::SetPageWidth ( tools::Long  nPgWidth)
inline

Definition at line 56 of file numprevw.hxx.

References m_nPageWidth.

Referenced by SwNumPositionTabPage::SetWrtShell().

◆ SetPositionMode()

void NumberingPreview::SetPositionMode ( )
inline

Definition at line 60 of file numprevw.hxx.

References m_bPosition.

Referenced by SwNumPositionTabPage::SwNumPositionTabPage().

Member Data Documentation

◆ m_aStdFont

vcl::Font NumberingPreview::m_aStdFont
private

Definition at line 31 of file numprevw.hxx.

Referenced by Paint().

◆ m_bPosition

bool NumberingPreview::m_bPosition
private

Definition at line 34 of file numprevw.hxx.

Referenced by Paint(), and SetPositionMode().

◆ m_nActLevel

sal_uInt16 NumberingPreview::m_nActLevel
private

Definition at line 35 of file numprevw.hxx.

Referenced by Paint(), and SetLevel().

◆ m_nPageWidth

tools::Long NumberingPreview::m_nPageWidth
private

Definition at line 32 of file numprevw.hxx.

Referenced by Paint(), and SetPageWidth().

◆ m_pActNum

const SwNumRule* NumberingPreview::m_pActNum
private

Definition at line 30 of file numprevw.hxx.

Referenced by Paint(), and SetNumRule().

◆ m_pOutlineNames

const OUString* NumberingPreview::m_pOutlineNames
private

Definition at line 33 of file numprevw.hxx.

Referenced by Paint(), and SetOutlineNames().


The documentation for this class was generated from the following files: