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 Color &rColor, 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 471 of file xechart.hxx.

Constructor & Destructor Documentation

XclExpChFontBase::~XclExpChFontBase ( )
virtual

Definition at line 1126 of file xechart.cxx.

Member Function Documentation

void XclExpChFontBase::ConvertFontBase ( const XclExpChRoot rRoot,
sal_uInt16  nFontIdx 
)
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 1139 of file xechart.cxx.

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

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

Converts rotation settings, calls virtual function SetRotation().

Definition at line 1144 of file xechart.cxx.

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

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

virtual void XclExpChFontBase::SetFont ( XclExpChFontRef  xFont,
const Color rColor,
sal_uInt32  nColorId 
)
pure virtual

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

Implemented in XclExpChAxis, and XclExpChText.

Referenced by ConvertFontBase().

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

Derived classes set text rotation to internal data structures.

Implemented in XclExpChAxis, and XclExpChText.

Referenced by ConvertRotationBase().


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