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 1310 of file xlchart.hxx.

Constructor & Destructor Documentation

XclChPropSetHelper::XclChPropSetHelper ( )
explicit

Definition at line 637 of file xlchart.cxx.

Member Function Documentation

ScfPropSetHelper & XclChPropSetHelper::GetAreaHelper ( XclChPropertyMode  ePropMode)
private

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

Definition at line 1120 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maAreaHlpCommon, and maAreaHlpFilled.

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

ScfPropSetHelper & XclChPropSetHelper::GetGradientHelper ( XclChPropertyMode  ePropMode)
private

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

Definition at line 1131 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maGradHlpCommon, and maGradHlpFilled.

Referenced by ReadEscherProperties(), and WriteEscherProperties().

ScfPropSetHelper & XclChPropSetHelper::GetHatchHelper ( XclChPropertyMode  ePropMode)
private

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

Definition at line 1142 of file xlchart.cxx.

References EXC_CHPROPMODE_COMMON, EXC_CHPROPMODE_FILLEDSERIES, maHatchHlpCommon, and maHatchHlpFilled.

Referenced by ReadEscherProperties().

ScfPropSetHelper & XclChPropSetHelper::GetLineHelper ( XclChPropertyMode  ePropMode)
private

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

Definition at line 1108 of file xlchart.cxx.

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

Referenced by ReadLineProperties(), and WriteLineProperties().

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 726 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().

void XclChPropSetHelper::ReadEscherProperties ( XclChEscherFormat rEscherFmt,
XclChPicFormat rPicFmt,
XclChObjectTable rGradientTable,
XclChObjectTable rHatchTable,
XclChObjectTable rBitmapTable,
const ScfPropertySet rPropSet,
XclChPropertyMode  ePropMode 
)
void XclChPropSetHelper::ReadLineProperties ( XclChLineFormat rLineFmt,
XclChObjectTable rDashTable,
const ScfPropertySet rPropSet,
XclChPropertyMode  ePropMode 
)
void XclChPropSetHelper::ReadMarkerProperties ( XclChMarkerFormat rMarkerFmt,
const ScfPropertySet rPropSet,
sal_uInt16  nFormatIdx 
)
static
sal_uInt16 XclChPropSetHelper::ReadRotationProperties ( const ScfPropertySet rPropSet,
bool  bSupportsStacked 
)
static
void XclChPropSetHelper::WriteAreaProperties ( ScfPropertySet rPropSet,
const XclChAreaFormat rAreaFmt,
XclChPropertyMode  ePropMode 
)
void XclChPropSetHelper::WriteEscherProperties ( ScfPropertySet rPropSet,
XclChObjectTable rGradientTable,
XclChObjectTable rBitmapTable,
const XclChEscherFormat rEscherFmt,
const XclChPicFormat pPicFmt,
sal_uInt32  nDffFillType,
XclChPropertyMode  ePropMode 
)
void XclChPropSetHelper::WriteLineProperties ( ScfPropertySet rPropSet,
XclChObjectTable rDashTable,
const XclChLineFormat rLineFmt,
XclChPropertyMode  ePropMode 
)
void XclChPropSetHelper::WriteMarkerProperties ( ScfPropertySet rPropSet,
const XclChMarkerFormat rMarkerFmt 
)
static
void XclChPropSetHelper::WriteRotationProperties ( ScfPropertySet rPropSet,
sal_uInt16  nRotation,
bool  bSupportsStacked 
)
static

Member Data Documentation

ScfPropSetHelper XclChPropSetHelper::maAreaHlpCommon
private

Properties for lines in filled series.

Definition at line 1390 of file xlchart.hxx.

Referenced by GetAreaHelper().

ScfPropSetHelper XclChPropSetHelper::maAreaHlpFilled
private

Properties for areas in common objects.

Definition at line 1391 of file xlchart.hxx.

Referenced by GetAreaHelper().

ScfPropSetHelper XclChPropSetHelper::maBitmapHlp
private

Properties for hatches in filled series.

Definition at line 1396 of file xlchart.hxx.

Referenced by ReadEscherProperties(), and WriteEscherProperties().

ScfPropSetHelper XclChPropSetHelper::maGradHlpCommon
private

Properties for areas in filled series.

Definition at line 1392 of file xlchart.hxx.

Referenced by GetGradientHelper().

ScfPropSetHelper XclChPropSetHelper::maGradHlpFilled
private

Properties for gradients in common objects.

Definition at line 1393 of file xlchart.hxx.

Referenced by GetGradientHelper().

ScfPropSetHelper XclChPropSetHelper::maHatchHlpCommon
private

Properties for gradients in filled series.

Definition at line 1394 of file xlchart.hxx.

Referenced by GetHatchHelper().

ScfPropSetHelper XclChPropSetHelper::maHatchHlpFilled
private

Properties for hatches in common objects.

Definition at line 1395 of file xlchart.hxx.

Referenced by GetHatchHelper().

ScfPropSetHelper XclChPropSetHelper::maLineHlpCommon
private

Definition at line 1387 of file xlchart.hxx.

Referenced by GetLineHelper().

ScfPropSetHelper XclChPropSetHelper::maLineHlpFilled
private

Properties for lines in linear series.

Definition at line 1389 of file xlchart.hxx.

Referenced by GetLineHelper().

ScfPropSetHelper XclChPropSetHelper::maLineHlpLinear
private

Properties for lines in common objects.

Definition at line 1388 of file xlchart.hxx.

Referenced by GetLineHelper().


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