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 403 of file xlstyle.hxx.

Constructor & Destructor Documentation

XclFontPropSetHelper::XclFontPropSetHelper ( )
explicit

Definition at line 610 of file xlstyle.cxx.

Member Function Documentation

ScfPropSetHelper & XclFontPropSetHelper::GetChartHelper ( sal_Int16  nScript)
private

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

Definition at line 743 of file xlstyle.cxx.

References maHlpChAsian, maHlpChCmplx, and maHlpChWstrn.

Referenced by ReadFontProperties().

void XclFontPropSetHelper::ReadFontProperties ( XclFontData rFontData,
const ScfPropertySet rPropSet,
XclFontPropSetType  eType,
sal_Int16  nScript = -1 
)
void XclFontPropSetHelper::WriteFontProperties ( ScfPropertySet rPropSet,
XclFontPropSetType  eType,
const XclFontData rFontData,
bool  bHasWstrn,
bool  bHasAsian,
bool  bHasCmplx,
const Color pFontColor 
)

Member Data Documentation

ScfPropSetHelper XclFontPropSetHelper::maHlpChAsian
private

Chart properties for Western script.

Definition at line 427 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChAsianNoName
private

Chart properties for Western script, no font name.

Definition at line 430 of file xlstyle.hxx.

Referenced by WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChCmplx
private

Chart properties for Asian script.

Definition at line 428 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChCmplxNoName
private

Chart properties for Asian script, no font name.

Definition at line 431 of file xlstyle.hxx.

Referenced by WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChCommon
private

Definition at line 425 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChEscapement
private

Chart properties for Complex script, no font name.

Definition at line 432 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChWstrn
private

Chart properties for all scripts.

Definition at line 426 of file xlstyle.hxx.

Referenced by GetChartHelper(), and WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpChWstrnNoName
private

Chart properties for Complex script.

Definition at line 429 of file xlstyle.hxx.

Referenced by WriteFontProperties().

ScfPropSetHelper XclFontPropSetHelper::maHlpControl
private

Chart properties for font escapement.

Definition at line 433 of file xlstyle.hxx.

Referenced by ReadFontProperties(), and WriteFontProperties().


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