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 (const 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 56 of file StylesPreviewWindow.hxx.

Constructor & Destructor Documentation

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

Definition at line 108 of file StylesPreviewWindow.cxx.

References Para.

Member Function Documentation

void StyleItemController::DrawContentBackground ( vcl::RenderContext rRenderContext,
const tools::Rectangle aContentRect,
const Color aColor 
void StyleItemController::DrawEntry ( vcl::RenderContext rRenderContext)
void StyleItemController::DrawHighlight ( vcl::RenderContext rRenderContext,
Color  aFontBack 
void StyleItemController::DrawText ( vcl::RenderContext rRenderContext)
void StyleItemController::Paint ( vcl::RenderContext rRenderContext)

Member Data Documentation

constexpr unsigned StyleItemController::LEFT_MARGIN = 8

Definition at line 58 of file StylesPreviewWindow.hxx.

Referenced by DrawHighlight(), and DrawText().

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

Definition at line 61 of file StylesPreviewWindow.hxx.

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

SfxStyleFamily StyleItemController::m_eStyleFamily

Definition at line 60 of file StylesPreviewWindow.hxx.

Referenced by DrawEntry().

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