LibreOffice Module sdext (master)  1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
sdext::presenter::PresenterTheme::FontDescriptor Class Reference

#include <PresenterTheme.hxx>

Public Member Functions

 FontDescriptor (const std::shared_ptr< FontDescriptor > &rpDescriptor)
 
bool PrepareFont (const css::uno::Reference< css::rendering::XCanvas > &rxCanvas)
 

Public Attributes

OUString msFamilyName
 
OUString msStyleName
 
sal_Int32 mnSize
 
sal_uInt32 mnColor
 
OUString msAnchor
 
sal_Int32 mnXOffset
 
sal_Int32 mnYOffset
 
css::uno::Reference< css::rendering::XCanvasFont > mxFont
 

Private Member Functions

css::uno::Reference< css::rendering::XCanvasFont > CreateFont (const css::uno::Reference< css::rendering::XCanvas > &rxCanvas, const double nCellSize) const
 
double GetCellSizeForDesignSize (const css::uno::Reference< css::rendering::XCanvas > &rxCanvas, const double nDesignSize) const
 

Detailed Description

Definition at line 73 of file PresenterTheme.hxx.

Constructor & Destructor Documentation

sdext::presenter::PresenterTheme::FontDescriptor::FontDescriptor ( const std::shared_ptr< FontDescriptor > &  rpDescriptor)
explicit

Definition at line 467 of file PresenterTheme.cxx.

References mnColor, mnColor, mnSize, mnSize, mnXOffset, mnYOffset, msAnchor, msFamilyName, and msStyleName.

Member Function Documentation

Reference< rendering::XCanvasFont > sdext::presenter::PresenterTheme::FontDescriptor::CreateFont ( const css::uno::Reference< css::rendering::XCanvas > &  rxCanvas,
const double  nCellSize 
) const
private

Definition at line 504 of file PresenterTheme.cxx.

References if(), and msStyleName.

double sdext::presenter::PresenterTheme::FontDescriptor::GetCellSizeForDesignSize ( const css::uno::Reference< css::rendering::XCanvas > &  rxCanvas,
const double  nDesignSize 
) const
private
bool sdext::presenter::PresenterTheme::FontDescriptor::PrepareFont ( const css::uno::Reference< css::rendering::XCanvas > &  rxCanvas)

Definition at line 489 of file PresenterTheme.cxx.

References CreateFont(), mnSize, and mxFont.

Member Data Documentation

sal_uInt32 sdext::presenter::PresenterTheme::FontDescriptor::mnColor

Definition at line 81 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

sal_Int32 sdext::presenter::PresenterTheme::FontDescriptor::mnSize

Definition at line 80 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

sal_Int32 sdext::presenter::PresenterTheme::FontDescriptor::mnXOffset

Definition at line 83 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

sal_Int32 sdext::presenter::PresenterTheme::FontDescriptor::mnYOffset

Definition at line 84 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

OUString sdext::presenter::PresenterTheme::FontDescriptor::msAnchor

Definition at line 82 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

OUString sdext::presenter::PresenterTheme::FontDescriptor::msFamilyName

Definition at line 78 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

OUString sdext::presenter::PresenterTheme::FontDescriptor::msStyleName

Definition at line 79 of file PresenterTheme.hxx.

Referenced by FontDescriptor().

css::uno::Reference<css::rendering::XCanvasFont> sdext::presenter::PresenterTheme::FontDescriptor::mxFont

Definition at line 85 of file PresenterTheme.hxx.


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