LibreOffice Module sc (master) 1
Public Member Functions | List of all members
XclExpChFontBase Class Referenceabstract

Base class for objects with font settings. More...

#include <xechart.hxx>

Inheritance diagram for XclExpChFontBase:
[legend]

Public Member Functions

virtual ~XclExpChFontBase ()
 
virtual void SetFont (XclExpChFontRef xFont, const model::ComplexColor &rComplexColor, sal_uInt32 nColorId)=0
 Derived classes set font color and color identifier to internal data structures. More...
 
virtual void SetRotation (sal_uInt16 nRotation)=0
 Derived classes set text rotation to internal data structures. More...
 
void ConvertFontBase (const XclExpChRoot &rRoot, sal_uInt16 nFontIdx)
 Creates a CHFONT record from the passed font index, calls virtual function SetFont(). More...
 
void ConvertFontBase (const XclExpChRoot &rRoot, const ScfPropertySet &rPropSet)
 Creates a CHFONT record from the passed font index, calls virtual function SetFont(). More...
 
void ConvertRotationBase (const ScfPropertySet &rPropSet, bool bSupportsStacked)
 Converts rotation settings, calls virtual function SetRotation(). More...
 

Detailed Description

Base class for objects with font settings.

Provides font conversion helper functions.

Definition at line 470 of file xechart.hxx.

Constructor & Destructor Documentation

◆ ~XclExpChFontBase()

XclExpChFontBase::~XclExpChFontBase ( )
virtual

Definition at line 1125 of file xechart.cxx.

Member Function Documentation

◆ ConvertFontBase() [1/2]

void XclExpChFontBase::ConvertFontBase ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet 
)

Creates a CHFONT record from the passed font index, calls virtual function SetFont().

Definition at line 1138 of file xechart.cxx.

References XclExpChRoot::ConvertFont(), ConvertFontBase(), and XclRoot::GetDefApiScript().

◆ ConvertFontBase() [2/2]

void XclExpChFontBase::ConvertFontBase ( const XclExpChRoot rRoot,
sal_uInt16  nFontIdx 
)

◆ ConvertRotationBase()

void XclExpChFontBase::ConvertRotationBase ( const ScfPropertySet rPropSet,
bool  bSupportsStacked 
)

Converts rotation settings, calls virtual function SetRotation().

Definition at line 1143 of file xechart.cxx.

References XclChPropSetHelper::ReadRotationProperties(), and SetRotation().

Referenced by XclExpChAxis::Convert(), XclExpChText::ConvertDataLabel(), and XclExpChText::ConvertTitle().

◆ SetFont()

virtual void XclExpChFontBase::SetFont ( XclExpChFontRef  xFont,
const model::ComplexColor rComplexColor,
sal_uInt32  nColorId 
)
pure virtual

Derived classes set font color and color identifier to internal data structures.

Implemented in XclExpChText, and XclExpChAxis.

Referenced by ConvertFontBase().

◆ SetRotation()

virtual void XclExpChFontBase::SetRotation ( sal_uInt16  nRotation)
pure virtual

Derived classes set text rotation to internal data structures.

Implemented in XclExpChText, and XclExpChAxis.

Referenced by ConvertRotationBase().


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