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 445 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChFontBase() [1/3]

XclImpChFontBase::XclImpChFontBase ( )
default

◆ XclImpChFontBase() [2/3]

XclImpChFontBase::XclImpChFontBase ( XclImpChFontBase const &  )
default

◆ XclImpChFontBase() [3/3]

XclImpChFontBase::XclImpChFontBase ( XclImpChFontBase &&  )
default

◆ ~XclImpChFontBase()

XclImpChFontBase::~XclImpChFontBase ( )
virtual

Definition at line 917 of file xichart.cxx.

Member Function Documentation

◆ ConvertFontBase()

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

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

Definition at line 921 of file xichart.cxx.

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

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

◆ ConvertRotationBase()

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

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

Definition at line 927 of file xichart.cxx.

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

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

◆ GetFontColor()

virtual Color XclImpChFontBase::GetFontColor ( ) const
pure virtual

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

Implemented in XclImpChText, and XclImpChAxis.

Referenced by ConvertFontBase().

◆ GetFontIndex()

virtual sal_uInt16 XclImpChFontBase::GetFontIndex ( ) const
pure virtual

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

Implemented in XclImpChText, and XclImpChAxis.

Referenced by ConvertFontBase().

◆ GetRotation()

virtual sal_uInt16 XclImpChFontBase::GetRotation ( ) const
pure virtual

Derived classes return the rotation value for the text object.

Implemented in XclImpChText, and XclImpChAxis.

Referenced by ConvertRotationBase().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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