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

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

#include <xichart.hxx>

Inheritance diagram for XclImpChFontBase:
[legend]

Public Member Functions

 XclImpChFontBase ()=default
 
 XclImpChFontBase (XclImpChFontBase const &)=default
 
 XclImpChFontBase (XclImpChFontBase &&)=default
 
XclImpChFontBaseoperator= (XclImpChFontBase const &)=default
 
XclImpChFontBaseoperator= (XclImpChFontBase &&)=default
 
virtual ~XclImpChFontBase ()
 
virtual sal_uInt16 GetFontIndex () const =0
 Derived classes return the leading font index for the text object. More...
 
virtual Color GetFontColor () const =0
 Derived classes return the leading font color for the text object. More...
 
virtual sal_uInt16 GetRotation () const =0
 Derived classes return the rotation value for the text object. More...
 
void ConvertFontBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet) const
 Converts and writes the contained font settings to the passed property set. More...
 
void ConvertRotationBase (ScfPropertySet &rPropSet, bool bSupportsStacked) const
 Converts and writes the contained rotation settings to the passed property set. More...
 

Detailed Description

Base class for objects with font settings.

Provides font conversion helper functions.

Definition at line 446 of file xichart.hxx.

Constructor & Destructor Documentation

XclImpChFontBase::XclImpChFontBase ( )
default
XclImpChFontBase::XclImpChFontBase ( XclImpChFontBase const &  )
default
XclImpChFontBase::XclImpChFontBase ( XclImpChFontBase &&  )
default
XclImpChFontBase::~XclImpChFontBase ( )
virtual

Definition at line 916 of file xichart.cxx.

Member Function Documentation

void XclImpChFontBase::ConvertFontBase ( const XclImpChRoot rRoot,
ScfPropertySet rPropSet 
) const

Converts and writes the contained font settings to the passed property set.

Definition at line 920 of file xichart.cxx.

References XclImpChRoot::ConvertFont(), GetFontColor(), and GetFontIndex().

Referenced by XclImpChText::ConvertFont(), and XclImpChAxis::CreateAxis().

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

Converts and writes the contained rotation settings to the passed property set.

Definition at line 926 of file xichart.cxx.

References GetRotation(), and XclChPropSetHelper::WriteRotationProperties().

Referenced by XclImpChText::ConvertRotation(), and XclImpChAxis::CreateAxis().

virtual Color XclImpChFontBase::GetFontColor ( ) const
pure virtual

Derived classes return the leading font color for the text object.

Implemented in XclImpChAxis, and XclImpChText.

Referenced by ConvertFontBase().

virtual sal_uInt16 XclImpChFontBase::GetFontIndex ( ) const
pure virtual

Derived classes return the leading font index for the text object.

Implemented in XclImpChAxis, and XclImpChText.

Referenced by ConvertFontBase().

virtual sal_uInt16 XclImpChFontBase::GetRotation ( ) const
pure virtual

Derived classes return the rotation value for the text object.

Implemented in XclImpChAxis, and XclImpChText.

Referenced by ConvertRotationBase().

XclImpChFontBase& XclImpChFontBase::operator= ( XclImpChFontBase const &  )
default
XclImpChFontBase& XclImpChFontBase::operator= ( XclImpChFontBase &&  )
default

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