LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
StyleItemController Class Reference

#include <StylesPreviewWindow.hxx>

Public Member Functions

 StyleItemController (std::pair< OUString, OUString > aStyleName)
void Paint (vcl::RenderContext &rRenderContext)

Private Member Functions

void DrawEntry (vcl::RenderContext &rRenderContext)
void DrawText (vcl::RenderContext &rRenderContext)
void DrawHighlight (vcl::RenderContext &rRenderContext, Color aFontBack)

Static Private Member Functions

static void DrawContentBackground (vcl::RenderContext &rRenderContext, const tools::Rectangle &aContentRect, const Color &aColor)

Private Attributes

SfxStyleFamily m_eStyleFamily
std::pair< OUString, OUString > m_aStyleName

Static Private Attributes

static constexpr unsigned LEFT_MARGIN = 8

Detailed Description

Definition at line 57 of file StylesPreviewWindow.hxx.

Constructor & Destructor Documentation

◆ StyleItemController()

StyleItemController::StyleItemController ( std::pair< OUString, OUString >  aStyleName)

Definition at line 181 of file StylesPreviewWindow.cxx.

References Para.

Member Function Documentation

◆ DrawContentBackground()

void StyleItemController::DrawContentBackground ( vcl::RenderContext rRenderContext,
const tools::Rectangle aContentRect,
const Color aColor 

◆ DrawEntry()

void StyleItemController::DrawEntry ( vcl::RenderContext rRenderContext)

◆ DrawHighlight()

void StyleItemController::DrawHighlight ( vcl::RenderContext rRenderContext,
Color  aFontBack 

◆ DrawText()

void StyleItemController::DrawText ( vcl::RenderContext rRenderContext)

◆ Paint()

void StyleItemController::Paint ( vcl::RenderContext rRenderContext)

Member Data Documentation


constexpr unsigned StyleItemController::LEFT_MARGIN = 8

Definition at line 59 of file StylesPreviewWindow.hxx.

Referenced by DrawHighlight(), and DrawText().

◆ m_aStyleName

std::pair<OUString, OUString> StyleItemController::m_aStyleName

Definition at line 62 of file StylesPreviewWindow.hxx.

Referenced by DrawEntry(), DrawHighlight(), and DrawText().

◆ m_eStyleFamily

SfxStyleFamily StyleItemController::m_eStyleFamily

Definition at line 61 of file StylesPreviewWindow.hxx.

Referenced by DrawEntry().

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