LibreOffice Module sc (master) 1
|
Base class for objects with font settings. More...
#include <xechart.hxx>
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... | |
Base class for objects with font settings.
Provides font conversion helper functions.
Definition at line 470 of file xechart.hxx.
|
virtual |
Definition at line 1125 of file xechart.cxx.
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().
void XclExpChFontBase::ConvertFontBase | ( | const XclExpChRoot & | rRoot, |
sal_uInt16 | nFontIdx | ||
) |
Creates a CHFONT record from the passed font index, calls virtual function SetFont().
Definition at line 1129 of file xechart.cxx.
References XclExpFontBuffer::GetFont(), XclExpRoot::GetFontBuffer(), and SetFont().
Referenced by XclExpChAxis::Convert(), XclExpChText::ConvertDataLabel(), ConvertFontBase(), XclExpChText::ConvertLegend(), XclExpChText::ConvertTitle(), and XclExpChText::ConvertTrendLineEquation().
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().
|
pure virtual |
Derived classes set font color and color identifier to internal data structures.
Implemented in XclExpChText, and XclExpChAxis.
Referenced by ConvertFontBase().
|
pure virtual |
Derived classes set text rotation to internal data structures.
Implemented in XclExpChText, and XclExpChAxis.
Referenced by ConvertRotationBase().