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

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

#include <xlchart.hxx>

Collaboration diagram for XclChPropSetHelper:
[legend]

Public Member Functions

 XclChPropSetHelper ()
 
void ReadLineProperties (XclChLineFormat &rLineFmt, XclChObjectTable &rDashTable, const ScfPropertySet &rPropSet, XclChPropertyMode ePropMode)
 Reads all line properties from the passed property set. More...
 
bool ReadAreaProperties (XclChAreaFormat &rAreaFmt, const ScfPropertySet &rPropSet, XclChPropertyMode ePropMode)
 Reads solid area properties from the passed property set. More...
 
void ReadEscherProperties (XclChEscherFormat &rEscherFmt, XclChPicFormat &rPicFmt, XclChObjectTable &rGradientTable, XclChObjectTable &rHatchTable, XclChObjectTable &rBitmapTable, const ScfPropertySet &rPropSet, XclChPropertyMode ePropMode)
 Reads gradient or bitmap area properties from the passed property set. More...
 
void WriteLineProperties (ScfPropertySet &rPropSet, XclChObjectTable &rDashTable, const XclChLineFormat &rLineFmt, XclChPropertyMode ePropMode)
 Writes all line properties to the passed property set. More...
 
void WriteAreaProperties (ScfPropertySet &rPropSet, const XclChAreaFormat &rAreaFmt, XclChPropertyMode ePropMode)
 Writes solid area properties to the passed property set. More...
 
void WriteEscherProperties (ScfPropertySet &rPropSet, XclChObjectTable &rGradientTable, XclChObjectTable &rBitmapTable, const XclChEscherFormat &rEscherFmt, const XclChPicFormat *pPicFmt, sal_uInt32 nDffFillType, XclChPropertyMode ePropMode)
 Writes gradient or bitmap area properties to the passed property set. More...
 

Static Public Member Functions

static void ReadMarkerProperties (XclChMarkerFormat &rMarkerFmt, const ScfPropertySet &rPropSet, sal_uInt16 nFormatIdx)
 Reads all marker properties from the passed property set. More...
 
static sal_uInt16 ReadRotationProperties (const ScfPropertySet &rPropSet, bool bSupportsStacked)
 Reads rotation properties from the passed property set. More...
 
static void WriteMarkerProperties (ScfPropertySet &rPropSet, const XclChMarkerFormat &rMarkerFmt)
 Writes all marker properties to the passed property set. More...
 
static void WriteRotationProperties (ScfPropertySet &rPropSet, sal_uInt16 nRotation, bool bSupportsStacked)
 Writes rotation properties to the passed property set. More...
 

Private Member Functions

ScfPropSetHelperGetLineHelper (XclChPropertyMode ePropMode)
 Returns a line property set helper according to the passed property mode. More...
 
ScfPropSetHelperGetAreaHelper (XclChPropertyMode ePropMode)
 Returns an area property set helper according to the passed property mode. More...
 
ScfPropSetHelperGetGradientHelper (XclChPropertyMode ePropMode)
 Returns a gradient property set helper according to the passed property mode. More...
 
ScfPropSetHelperGetHatchHelper (XclChPropertyMode ePropMode)
 Returns a hatch property set helper according to the passed property mode. More...
 

Private Attributes

ScfPropSetHelper maLineHlpCommon
 
ScfPropSetHelper maLineHlpLinear
 Properties for lines in common objects. More...
 
ScfPropSetHelper maLineHlpFilled
 Properties for lines in linear series. More...
 
ScfPropSetHelper maAreaHlpCommon
 Properties for lines in filled series. More...
 
ScfPropSetHelper maAreaHlpFilled
 Properties for areas in common objects. More...
 
ScfPropSetHelper maGradHlpCommon
 Properties for areas in filled series. More...
 
ScfPropSetHelper maGradHlpFilled
 Properties for gradients in common objects. More...
 
ScfPropSetHelper maHatchHlpCommon
 Properties for gradients in filled series. More...
 
ScfPropSetHelper maHatchHlpFilled
 Properties for hatches in common objects. More...
 
ScfPropSetHelper maBitmapHlp
 Properties for hatches in filled series. More...
 

Detailed Description

Helper class for usage of property sets.

Definition at line 1311 of file xlchart.hxx.

Constructor & Destructor Documentation

◆ XclChPropSetHelper()

XclChPropSetHelper::XclChPropSetHelper ( )
explicit

Definition at line 639 of file xlchart.cxx.

Member Function Documentation

◆ GetAreaHelper()

ScfPropSetHelper & XclChPropSetHelper::GetAreaHelper ( XclChPropertyMode  ePropMode)
private

Returns an area property set helper according to the passed property mode.

Definition at line 1123 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maAreaHlpCommon, and maAreaHlpFilled.

Referenced by ReadAreaProperties(), ReadEscherProperties(), WriteAreaProperties(), and WriteEscherProperties().

◆ GetGradientHelper()

ScfPropSetHelper & XclChPropSetHelper::GetGradientHelper ( XclChPropertyMode  ePropMode)
private

Returns a gradient property set helper according to the passed property mode.

Definition at line 1134 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maGradHlpCommon, and maGradHlpFilled.

Referenced by ReadEscherProperties(), and WriteEscherProperties().

◆ GetHatchHelper()

ScfPropSetHelper & XclChPropSetHelper::GetHatchHelper ( XclChPropertyMode  ePropMode)
private

Returns a hatch property set helper according to the passed property mode.

Definition at line 1145 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maHatchHlpCommon, and maHatchHlpFilled.

Referenced by ReadEscherProperties().

◆ GetLineHelper()

ScfPropSetHelper & XclChPropSetHelper::GetLineHelper ( XclChPropertyMode  ePropMode)
private

Returns a line property set helper according to the passed property mode.

Definition at line 1111 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, EXC_CHPROPMODE_LINEARSERIES, maLineHlpCommon, maLineHlpFilled, and maLineHlpLinear.

Referenced by ReadLineProperties(), and WriteLineProperties().

◆ ReadAreaProperties()

bool XclChPropSetHelper::ReadAreaProperties ( XclChAreaFormat rAreaFmt,
const ScfPropertySet rPropSet,
XclChPropertyMode  ePropMode 
)

Reads solid area properties from the passed property set.

Returns
true = object contains complex fill properties.

Definition at line 728 of file xlchart.cxx.

References EXC_CHAREAFORMAT_AUTO, EXC_PATT_NONE, EXC_PATT_SOLID, GetAreaHelper(), XclChAreaFormat::maPattColor, XclChAreaFormat::mnFlags, XclChAreaFormat::mnPattern, ScfPropSetHelper::ReadFromPropertySet(), and set_flag().

Referenced by XclExpChRoot::ConvertAreaFormat().

◆ ReadEscherProperties()

void XclChPropSetHelper::ReadEscherProperties ( XclChEscherFormat rEscherFmt,
XclChPicFormat rPicFmt,
XclChObjectTable rGradientTable,
XclChObjectTable rHatchTable,
XclChObjectTable rBitmapTable,
const ScfPropertySet rPropSet,
XclChPropertyMode  ePropMode 
)

◆ ReadLineProperties()

void XclChPropSetHelper::ReadLineProperties ( XclChLineFormat rLineFmt,
XclChObjectTable rDashTable,
const ScfPropertySet rPropSet,
XclChPropertyMode  ePropMode 
)

◆ ReadMarkerProperties()

void XclChPropSetHelper::ReadMarkerProperties ( XclChMarkerFormat rMarkerFmt,
const ScfPropertySet rPropSet,
sal_uInt16  nFormatIdx 
)
static

◆ ReadRotationProperties()

sal_uInt16 XclChPropSetHelper::ReadRotationProperties ( const ScfPropertySet rPropSet,
bool  bSupportsStacked 
)
static

◆ WriteAreaProperties()

void XclChPropSetHelper::WriteAreaProperties ( ScfPropertySet rPropSet,
const XclChAreaFormat rAreaFmt,
XclChPropertyMode  ePropMode 
)

◆ WriteEscherProperties()

void XclChPropSetHelper::WriteEscherProperties ( ScfPropertySet rPropSet,
XclChObjectTable rGradientTable,
XclChObjectTable rBitmapTable,
const XclChEscherFormat rEscherFmt,
const XclChPicFormat pPicFmt,
sal_uInt32  nDffFillType,
XclChPropertyMode  ePropMode 
)

◆ WriteLineProperties()

void XclChPropSetHelper::WriteLineProperties ( ScfPropertySet rPropSet,
XclChObjectTable rDashTable,
const XclChLineFormat rLineFmt,
XclChPropertyMode  ePropMode 
)

◆ WriteMarkerProperties()

void XclChPropSetHelper::WriteMarkerProperties ( ScfPropertySet rPropSet,
const XclChMarkerFormat rMarkerFmt 
)
static

◆ WriteRotationProperties()

void XclChPropSetHelper::WriteRotationProperties ( ScfPropertySet rPropSet,
sal_uInt16  nRotation,
bool  bSupportsStacked 
)
static

Member Data Documentation

◆ maAreaHlpCommon

ScfPropSetHelper XclChPropSetHelper::maAreaHlpCommon
private

Properties for lines in filled series.

Definition at line 1391 of file xlchart.hxx.

Referenced by GetAreaHelper().

◆ maAreaHlpFilled

ScfPropSetHelper XclChPropSetHelper::maAreaHlpFilled
private

Properties for areas in common objects.

Definition at line 1392 of file xlchart.hxx.

Referenced by GetAreaHelper().

◆ maBitmapHlp

ScfPropSetHelper XclChPropSetHelper::maBitmapHlp
private

Properties for hatches in filled series.

Definition at line 1397 of file xlchart.hxx.

Referenced by ReadEscherProperties(), and WriteEscherProperties().

◆ maGradHlpCommon

ScfPropSetHelper XclChPropSetHelper::maGradHlpCommon
private

Properties for areas in filled series.

Definition at line 1393 of file xlchart.hxx.

Referenced by GetGradientHelper().

◆ maGradHlpFilled

ScfPropSetHelper XclChPropSetHelper::maGradHlpFilled
private

Properties for gradients in common objects.

Definition at line 1394 of file xlchart.hxx.

Referenced by GetGradientHelper().

◆ maHatchHlpCommon

ScfPropSetHelper XclChPropSetHelper::maHatchHlpCommon
private

Properties for gradients in filled series.

Definition at line 1395 of file xlchart.hxx.

Referenced by GetHatchHelper().

◆ maHatchHlpFilled

ScfPropSetHelper XclChPropSetHelper::maHatchHlpFilled
private

Properties for hatches in common objects.

Definition at line 1396 of file xlchart.hxx.

Referenced by GetHatchHelper().

◆ maLineHlpCommon

ScfPropSetHelper XclChPropSetHelper::maLineHlpCommon
private

Definition at line 1388 of file xlchart.hxx.

Referenced by GetLineHelper().

◆ maLineHlpFilled

ScfPropSetHelper XclChPropSetHelper::maLineHlpFilled
private

Properties for lines in linear series.

Definition at line 1390 of file xlchart.hxx.

Referenced by GetLineHelper().

◆ maLineHlpLinear

ScfPropSetHelper XclChPropSetHelper::maLineHlpLinear
private

Properties for lines in common objects.

Definition at line 1389 of file xlchart.hxx.

Referenced by GetLineHelper().


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