LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclFontPropSetHelper Class Reference

Helper class for usage of property sets. More...

#include <xlstyle.hxx>

Collaboration diagram for XclFontPropSetHelper:
[legend]

Public Member Functions

 XclFontPropSetHelper ()
 
void ReadFontProperties (XclFontData &rFontData, const ScfPropertySet &rPropSet, XclFontPropSetType eType, sal_Int16 nScript=-1)
 Reads all font properties from the passed property set. More...
 
void WriteFontProperties (ScfPropertySet &rPropSet, XclFontPropSetType eType, const XclFontData &rFontData, bool bHasWstrn, bool bHasAsian, bool bHasCmplx, const Color *pFontColor)
 Writes all font properties to the passed property set, uses passed color as font color. More...
 

Private Member Functions

ScfPropSetHelperGetChartHelper (sal_Int16 nScript)
 Returns a chart property set helper according to the passed script type. More...
 

Private Attributes

ScfPropSetHelper maHlpChCommon
 
ScfPropSetHelper maHlpChWstrn
 Chart properties for all scripts. More...
 
ScfPropSetHelper maHlpChAsian
 Chart properties for Western script. More...
 
ScfPropSetHelper maHlpChCmplx
 Chart properties for Asian script. More...
 
ScfPropSetHelper maHlpChWstrnNoName
 Chart properties for Complex script. More...
 
ScfPropSetHelper maHlpChAsianNoName
 Chart properties for Western script, no font name. More...
 
ScfPropSetHelper maHlpChCmplxNoName
 Chart properties for Asian script, no font name. More...
 
ScfPropSetHelper maHlpChEscapement
 Chart properties for Complex script, no font name. More...
 
ScfPropSetHelper maHlpControl
 Chart properties for font escapement. More...
 

Detailed Description

Helper class for usage of property sets.

Definition at line 402 of file xlstyle.hxx.

Constructor & Destructor Documentation

◆ XclFontPropSetHelper()

XclFontPropSetHelper::XclFontPropSetHelper ( )
explicit

Definition at line 611 of file xlstyle.cxx.

Member Function Documentation

◆ GetChartHelper()

ScfPropSetHelper & XclFontPropSetHelper::GetChartHelper ( sal_Int16  nScript)
private

Returns a chart property set helper according to the passed script type.

Definition at line 748 of file xlstyle.cxx.

References maHlpChAsian, maHlpChCmplx, and maHlpChWstrn.

Referenced by ReadFontProperties().

◆ ReadFontProperties()

void XclFontPropSetHelper::ReadFontProperties ( XclFontData rFontData,
const ScfPropertySet rPropSet,
XclFontPropSetType  eType,
sal_Int16  nScript = -1 
)

◆ WriteFontProperties()

void XclFontPropSetHelper::WriteFontProperties ( ScfPropertySet rPropSet,
XclFontPropSetType  eType,
const XclFontData rFontData,
bool  bHasWstrn,
bool  bHasAsian,
bool  bHasCmplx,
const Color pFontColor 
)

Member Data Documentation

◆ maHlpChAsian

ScfPropSetHelper XclFontPropSetHelper::maHlpChAsian
private

Chart properties for Western script.

Definition at line 426 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

◆ maHlpChAsianNoName

ScfPropSetHelper XclFontPropSetHelper::maHlpChAsianNoName
private

Chart properties for Western script, no font name.

Definition at line 429 of file xlstyle.hxx.

Referenced by WriteFontProperties().

◆ maHlpChCmplx

ScfPropSetHelper XclFontPropSetHelper::maHlpChCmplx
private

Chart properties for Asian script.

Definition at line 427 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

◆ maHlpChCmplxNoName

ScfPropSetHelper XclFontPropSetHelper::maHlpChCmplxNoName
private

Chart properties for Asian script, no font name.

Definition at line 430 of file xlstyle.hxx.

Referenced by WriteFontProperties().

◆ maHlpChCommon

ScfPropSetHelper XclFontPropSetHelper::maHlpChCommon
private

Definition at line 424 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().

◆ maHlpChEscapement

ScfPropSetHelper XclFontPropSetHelper::maHlpChEscapement
private

Chart properties for Complex script, no font name.

Definition at line 431 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().

◆ maHlpChWstrn

ScfPropSetHelper XclFontPropSetHelper::maHlpChWstrn
private

Chart properties for all scripts.

Definition at line 425 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

◆ maHlpChWstrnNoName

ScfPropSetHelper XclFontPropSetHelper::maHlpChWstrnNoName
private

Chart properties for Complex script.

Definition at line 428 of file xlstyle.hxx.

Referenced by WriteFontProperties().

◆ maHlpControl

ScfPropSetHelper XclFontPropSetHelper::maHlpControl
private

Chart properties for font escapement.

Definition at line 432 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().


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