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

Represents the CHSERIES record group describing a data series in a chart. More...

#include <xichart.hxx>

Inheritance diagram for XclImpChSeries:
[legend]
Collaboration diagram for XclImpChSeries:
[legend]

Public Member Functions

 XclImpChSeries (const XclImpChRoot &rRoot, sal_uInt16 nSeriesIdx)
 
virtual void ReadHeaderRecord (XclImpStream &rStrm) override
 Reads the CHSERIES record (called by base class). More...
 
virtual void ReadSubRecord (XclImpStream &rStrm) override
 Reads a record from the CHSERIES group (called by base class). More...
 
void SetDataFormat (const XclImpChDataFormatRef &xDataFmt)
 Sets a data point or series format (CHDATAFORMAT group) for this series. More...
 
void SetDataLabel (const XclImpChTextRef &xLabel)
 Sets a label text (CHTEXT group) attached to a series or data point. More...
 
void AddChildSeries (const XclImpChSeries &rSeries)
 Adds error bar settings from the passed series to the own series. More...
 
void FinalizeDataFormats ()
 Updates missing series formatting by using default formatting from axes sets. More...
 
sal_uInt16 GetGroupIdx () const
 Returns the axes set identifier this series is assigned to (primary/secondary). More...
 
sal_uInt16 GetParentIdx () const
 Returns the 0-based index of the parent series (e.g. More...
 
bool HasParentSeries () const
 Returns true, if the series is child of another series (e.g. More...
 
bool HasChildSeries () const
 Returns true, if the series contains child series (e.g. More...
 
OUString GetTitle () const
 Returns series title or an empty string, if the series does not contain a title. More...
 
bool HasSpline () const
 Returns true, if the series line is smoothed. More...
 
css::uno::Reference< css::chart2::data::XLabeledDataSequence > CreateValueSequence (const OUString &rValueRole) const
 Creates a labeled data sequence object from value data link. More...
 
css::uno::Reference< css::chart2::data::XLabeledDataSequence > CreateCategSequence (const OUString &rCategRole) const
 Creates a labeled data sequence object from category data link. More...
 
css::uno::Reference< css::chart2::XDataSeries > CreateDataSeries () const
 Creates a data series object with initialized source links. More...
 
void FillAllSourceLinks (::std::vector< ScTokenRef > &rTokens) const
 
- Public Member Functions inherited from XclImpChGroupBase
 XclImpChGroupBase ()=default
 
 XclImpChGroupBase (XclImpChGroupBase const &)=default
 
 XclImpChGroupBase (XclImpChGroupBase &&)=default
 
XclImpChGroupBaseoperator= (XclImpChGroupBase const &)=default
 
XclImpChGroupBaseoperator= (XclImpChGroupBase &&)=default
 
virtual ~XclImpChGroupBase ()
 
void ReadRecordGroup (XclImpStream &rStrm)
 Reads the entire record group. More...
 
virtual void ReadHeaderRecord (XclImpStream &rStrm)=0
 Derived classes implement to read the group header record. More...
 
virtual void ReadSubRecord (XclImpStream &rStrm)=0
 Derived classes implement to read a record from the group. More...
 

Private Types

typedef ::std::map< sal_uInt16, XclImpChDataFormatRefXclImpChDataFormatMap
 
typedef ::std::map< sal_uInt16, XclImpChTextRefXclImpChTextMap
 
typedef ::std::map< sal_uInt8, std::unique_ptr< XclImpChSerErrorBar > > XclImpChSerErrorBarMap
 

Private Member Functions

void ReadChSourceLink (XclImpStream &rStrm)
 Reads a CHSOURCELINK record. More...
 
void ReadChDataFormat (XclImpStream &rStrm)
 Reads a CHDATAFORMAT group containing series and point formatting. More...
 
void ReadChSerParent (XclImpStream &rStrm)
 Reads a CHSERPARENT record specifying the parent series of this series. More...
 
void ReadChSerTrendLine (XclImpStream &rStrm)
 Reads a CHSERTRENDLINE record containing trend line settings. More...
 
void ReadChSerErrorBar (XclImpStream &rStrm)
 Reads a CHSERERRORBAR record containing error bar settings. More...
 
void ReadChLegendException (XclImpStream &rStrm)
 
XclImpChDataFormatRef CreateDataFormat (sal_uInt16 nPointIdx, sal_uInt16 nFormatIdx)
 Creates a new CHDATAFORMAT group with the specified point index. More...
 
void ConvertTrendLines (css::uno::Reference< css::chart2::XDataSeries > const &xDataSeries) const
 Converts all trend lines and inserts them into the passed API data series object. More...
 
css::uno::Reference< css::beans::XPropertySetCreateErrorBar (sal_uInt8 nPosBarId, sal_uInt8 nNegBarId) const
 Tries to create an error bar API object from the specified Excel error bars. More...
 

Private Attributes

XclChSeries maData
 
XclImpChSourceLinkRef mxValueLink
 Contents of the CHSERIES record. More...
 
XclImpChSourceLinkRef mxCategLink
 Link data for series values. More...
 
XclImpChSourceLinkRef mxTitleLink
 Link data for series category names. More...
 
XclImpChSourceLinkRef mxBubbleLink
 Link data for series title. More...
 
XclImpChDataFormatRef mxSeriesFmt
 Link data for series bubble sizes. More...
 
XclImpChDataFormatMap maPointFmts
 CHDATAFORMAT group for series format. More...
 
XclImpChTextMap maLabels
 CHDATAFORMAT groups for data point formats. More...
 
std::vector< XclImpChSerTrendLineRefmaTrendLines
 Data point labels (CHTEXT groups). More...
 
XclImpChSerErrorBarMap m_ErrorBars
 Trend line settings (CHSERTRENDLINE records). More...
 
sal_uInt16 mnGroupIdx
 Error bar settings (CHSERERRORBAR records). More...
 
sal_uInt16 mnSeriesIdx
 Chart type group (CHTYPEGROUP group) this series is assigned to. More...
 
sal_uInt16 mnParentIdx
 0-based series index. More...
 
bool mbLabelDeleted
 0-based index of parent series (trend lines and error bars). More...
 

Additional Inherited Members

- Static Public Member Functions inherited from XclImpChGroupBase
static void SkipBlock (XclImpStream &rStrm)
 Helper to skip a CHBEGIN/CHEND block, includes nested blocks. More...
 
- Protected Member Functions inherited from XclImpChRoot
 XclImpChRoot (const XclImpRoot &rRoot, XclImpChChart &rChartData)
 
virtual ~XclImpChRoot () override
 
 XclImpChRoot (XclImpChRoot const &)=default
 
 XclImpChRoot (XclImpChRoot &&)=default
 
XclImpChRootoperator= (XclImpChRoot const &)=delete
 
XclImpChRootoperator= (XclImpChRoot &&)=delete
 
const XclImpChRootGetChRoot () const
 Returns this root instance - for code readability in derived classes. More...
 
XclImpChChartGetChartData () const
 Returns a reference to the parent chart data object. More...
 
const XclChTypeInfoGetChartTypeInfo (XclChTypeId eType) const
 Returns chart type info for a unique chart type identifier. More...
 
const XclChTypeInfoGetChartTypeInfo (sal_uInt16 nRecId) const
 Returns the first fitting chart type info for an Excel chart type record identifier. More...
 
const XclChFormatInfoGetFormatInfo (XclChObjectType eObjType) const
 Returns an info struct about auto formatting for the passed object type. More...
 
Color GetFontAutoColor () const
 Returns the default text color for charts. More...
 
Color GetSeriesLineAutoColor (sal_uInt16 nFormatIdx) const
 Returns the automatic line color of linear series. More...
 
Color GetSeriesFillAutoColor (sal_uInt16 nFormatIdx) const
 Returns the automatic fill color of filled series. More...
 
void InitConversion (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, const tools::Rectangle &rChartRect) const
 Starts the API chart document conversion. More...
 
void FinishConversion (XclImpDffConverter &rDffConv) const
 Finishes the API chart document conversion. More...
 
css::uno::Reference< css::chart2::data::XDataProvider > GetDataProvider () const
 Returns the data provider for the chart document. More...
 
css::uno::Reference< css::drawing::XShape > GetTitleShape (const XclChTextKey &rTitleKey) const
 Returns the drawing shape interface of the specified title object. More...
 
sal_Int32 CalcHmmFromChartX (sal_Int32 nPosX) const
 Converts the passed horizontal coordinate from Excel chart units into 1/100 mm. More...
 
sal_Int32 CalcHmmFromChartY (sal_Int32 nPosY) const
 Converts the passed vertical coordinate from Excel chart units into 1/100 mm. More...
 
css::awt::Rectangle CalcHmmFromChartRect (const XclChRectangle &rRect) const
 Converts the passed rectangle from Excel chart units into 1/100 mm. More...
 
double CalcRelativeFromHmmX (sal_Int32 nPosX) const
 Converts the passed horizontal coordinate from 1/100 mm into a relative position. More...
 
double CalcRelativeFromHmmY (sal_Int32 nPosY) const
 Converts the passed vertical coordinate from 1/100 mm into a relative position. More...
 
double CalcRelativeFromChartX (sal_Int32 nPosX) const
 Converts the passed horizontal coordinate from Excel chart units into a relative position. More...
 
double CalcRelativeFromChartY (sal_Int32 nPosY) const
 Converts the passed vertical coordinate from Excel chart units into a relative position. More...
 
void ConvertLineFormat (ScfPropertySet &rPropSet, const XclChLineFormat &rLineFmt, XclChPropertyMode ePropMode) const
 Writes all line properties to the passed property set. More...
 
void ConvertAreaFormat (ScfPropertySet &rPropSet, const XclChAreaFormat &rAreaFmt, XclChPropertyMode ePropMode) const
 Writes solid area properties to the passed property set. More...
 
void ConvertEscherFormat (ScfPropertySet &rPropSet, const XclChEscherFormat &rEscherFmt, const XclChPicFormat *pPicFmt, sal_uInt32 nDffFillType, XclChPropertyMode ePropMode) const
 Writes gradient or bitmap area properties to the passed property set. More...
 
void ConvertFont (ScfPropertySet &rPropSet, sal_uInt16 nFontIdx, const Color *pFontColor=nullptr) const
 Writes font properties to the passed property set. More...
 
- Protected Member Functions inherited from XclImpRoot
 XclImpRoot (XclImpRootData &rImpRootData)
 
const XclImpRootGetRoot () const
 Returns this root instance - for code readability in derived classes. More...
 
XclImpRootGetRoot ()
 
void SetCodePage (sal_uInt16 nCodePage)
 Sets a code page read from a CODEPAGE record for byte string import. More...
 
void InitializeTable (SCTAB nScTab)
 Is called when import filter starts importing a single sheet (all BIFF versions). More...
 
void FinalizeTable ()
 Is called when import filter stops importing a single sheet (all BIFF versions). More...
 
XclImpAddressConverterGetAddressConverter () const
 Returns the address converter. More...
 
XclImpFormulaCompilerGetFormulaCompiler () const
 Returns the formula converter. More...
 
ExcelToScGetOldFmlaConverter () const
 Returns the old formula converter. More...
 
XclImpSstGetSst () const
 Returns the shared string table. More...
 
XclImpPaletteGetPalette () const
 Returns the color buffer. More...
 
XclImpFontBufferGetFontBuffer () const
 Returns the font buffer. More...
 
XclImpNumFmtBufferGetNumFmtBuffer () const
 Returns the number format buffer. More...
 
XclImpXFBufferGetXFBuffer () const
 Returns the cell formatting attributes buffer. More...
 
XclImpXFRangeBufferGetXFRangeBuffer () const
 Returns the buffer of XF index ranges for a sheet. More...
 
ScRangeListTabsGetPrintAreaBuffer () const
 Returns the buffer that contains all print areas in the document. More...
 
ScRangeListTabsGetTitleAreaBuffer () const
 Returns the buffer that contains all print titles in the document. More...
 
XclImpTabInfoGetTabInfo () const
 Returns the buffer that contains the sheet creation order. More...
 
XclImpNameManagerGetNameManager () const
 Returns the buffer that contains internal defined names. More...
 
XclImpLinkManagerGetLinkManager () const
 Returns the link manager. More...
 
XclImpObjectManagerGetObjectManager () const
 Returns the drawing object manager. More...
 
XclImpSheetDrawingGetCurrSheetDrawing () const
 Returns the drawing container of the current sheet. More...
 
XclImpCondFormatManagerGetCondFormatManager () const
 Returns the conditional formatting manager. More...
 
XclImpValidationManagerGetValidationManager () const
 
XclImpAutoFilterBufferGetFilterManager () const
 Returns the filter manager. More...
 
XclImpWebQueryBufferGetWebQueryBuffer () const
 Returns the web query buffer. More...
 
XclImpPivotTableManagerGetPivotTableManager () const
 Returns the pivot table manager. More...
 
XclImpSheetProtectBufferGetSheetProtectBuffer () const
 Returns the sheet protection options of the current sheet. More...
 
XclImpDocProtectBufferGetDocProtectBuffer () const
 Returns the document protection options. More...
 
XclImpPageSettingsGetPageSettings () const
 Returns the page settings of the current sheet. More...
 
XclImpDocViewSettingsGetDocViewSettings () const
 Returns the view settings of the entire document. More...
 
XclImpTabViewSettingsGetTabViewSettings () const
 Returns the view settings of the current sheet. More...
 
bool HasBasic () const
 Returns true, if the document contains a VB project. More...
 
void SetHasBasic ()
 Called to indicate that the document contains a VB project. More...
 
void ReadCodeName (XclImpStream &rStrm, bool bGlobals)
 Reads the CODENAME record and inserts the codename into the document. More...
 
ScDocumentImportGetDocImport ()
 
- Protected Member Functions inherited from XclRoot
 XclRoot (XclRootData &rRootData)
 
 XclRoot (const XclRoot &rRoot)
 
virtual ~XclRoot ()
 
XclRootoperator= (const XclRoot &rRoot)
 
RootDataGetOldRoot () const
 Returns old RootData struct. More...
 
XclBiff GetBiff () const
 Returns the current BIFF version of the importer/exporter. More...
 
XclOutput GetOutput () const
 Returns the current output format of the importer/exporter. More...
 
bool IsImport () const
 Returns true, if currently a document is imported. More...
 
rtl_TextEncoding GetTextEncoding () const
 Returns the text encoding to import/export byte strings. More...
 
LanguageType GetSysLanguage () const
 Returns the system language, i.e. More...
 
LanguageType GetDocLanguage () const
 Returns the document language. More...
 
LanguageType GetUILanguage () const
 Returns the UI language. More...
 
sal_Int16 GetDefApiScript () const
 Returns the default script type, e.g. More...
 
tools::Long GetCharWidth () const
 Returns the width of the '0' character (default font) for the current printer (twips). More...
 
tools::Long GetSpaceWidth () const
 
bool IsInGlobals () const
 Returns the current Calc sheet index. More...
 
SCTAB GetCurrScTab () const
 Returns the current Calc sheet index. More...
 
sal_Int32 GetHmmFromPixelX (double fPixelX) const
 Calculates the width of the passed number of pixels in 1/100 mm. More...
 
sal_Int32 GetHmmFromPixelY (double fPixelY) const
 Calculates the height of the passed number of pixels in 1/100 mm. More...
 
SfxMediumGetMedium () const
 Returns the medium to import from. More...
 
const OUString & GetDocUrl () const
 Returns the document URL of the imported/exported file. More...
 
const OUString & GetBasePath () const
 Returns the base path of the imported/exported file. More...
 
const OUString & GetUserName () const
 Returns the current user name. More...
 
css::uno::Sequence< css::beans::NamedValue > RequestEncryptionData (::comphelper::IDocPasswordVerifier &rVerifier) const
 Requests and verifies a password from the medium or the user. More...
 
const tools::SvRef< SotStorage > & GetRootStorage () const
 Returns the OLE2 root storage of the imported/exported file. More...
 
bool HasVbaStorage () const
 Returns true, if the document contains a VBA storage. More...
 
tools::SvRef< SotStorageOpenStorage (tools::SvRef< SotStorage > const &xStrg, const OUString &rStrgName) const
 Tries to open a storage as child of the specified storage for reading or writing. More...
 
tools::SvRef< SotStorageOpenStorage (const OUString &rStrgName) const
 Tries to open a storage as child of the root storage for reading or writing. More...
 
tools::SvRef< SotStorageStreamOpenStream (tools::SvRef< SotStorage > const &xStrg, const OUString &rStrmName) const
 Tries to open a new stream in the specified storage for reading or writing. More...
 
tools::SvRef< SotStorageStreamOpenStream (const OUString &rStrmName) const
 Tries to open a new stream in the root storage for reading or writing. More...
 
ScDocumentGetDoc () const
 Returns reference to the destination document (import) or source document (export). More...
 
SfxObjectShellGetDocShell () const
 Returns the object shell of the Calc document. More...
 
ScModelObjGetDocModelObj () const
 Returns the object model of the Calc document. More...
 
OutputDeviceGetPrinter () const
 Returns pointer to the printer of the Calc document. More...
 
ScStyleSheetPoolGetStyleSheetPool () const
 Returns the style sheet pool of the Calc document. More...
 
ScRangeNameGetNamedRanges () const
 Returns the defined names container of the Calc document. More...
 
SdrPageGetSdrPage (SCTAB nScTab) const
 Returns the drawing layer page of the passed sheet, if present. More...
 
SvNumberFormatterGetFormatter () const
 Returns the number formatter of the Calc document. More...
 
DateTime GetNullDate () const
 Returns the null date of the current number formatter. More...
 
sal_uInt16 GetBaseYear () const
 Returns the base year depending on the current null date (1900 or 1904). More...
 
double GetDoubleFromDateTime (const DateTime &rDateTime) const
 Converts a date/time value to a floating-point value. More...
 
DateTime GetDateTimeFromDouble (double fValue) const
 Converts a floating-point value to a date/time value. More...
 
ScEditEngineDefaulterGetEditEngine () const
 Returns the edit engine for import/export of rich strings etc. More...
 
ScHeaderEditEngineGetHFEditEngine () const
 Returns the edit engine for import/export of headers/footers. More...
 
EditEngineGetDrawEditEngine () const
 Returns the edit engine for import/export of drawing text boxes. More...
 
XclFontPropSetHelperGetFontPropSetHelper () const
 Returns the property set helper for fonts. More...
 
XclChPropSetHelperGetChartPropSetHelper () const
 Returns the property set helper for the chart filters. More...
 
ScExtDocOptionsGetExtDocOptions () const
 Returns the extended document options. More...
 
XclTracerGetTracer () const
 Returns the filter tracer. More...
 
const ScAddressGetScMaxPos () const
 Returns the highest possible cell address in a Calc document. More...
 
const ScAddressGetXclMaxPos () const
 Returns the highest possible cell address in an Excel document (using current BIFF version). More...
 
const ScAddressGetMaxPos () const
 Returns the highest possible cell address valid in Calc and Excel (using current BIFF version). More...
 
void SetDocLanguage (LanguageType eLang)
 Sets the document language. More...
 
void SetUILanguage (LanguageType eLang)
 Sets the UI language, i.e. More...
 
void SetTextEncoding (rtl_TextEncoding eTextEnc)
 Sets the text encoding to import/export byte strings. More...
 
void SetCharWidth (const XclFontData &rFontData)
 Sets the width of the '0' - '9' digit character as well as the ' ' space char (using the default font) for the current printer (twips). More...
 
void SetCurrScTab (SCTAB nScTab)
 Sets the current Calc sheet index. More...
 
void IncCurrScTab ()
 Increases the current Calc sheet index by 1. More...
 
- Static Protected Member Functions inherited from XclImpChRoot
static void ConvertPieRotation (ScfPropertySet &rPropSet, sal_uInt16 nAngle)
 Writes the pie rotation property for the passed angle. More...
 
- Static Protected Member Functions inherited from XclImpRoot
static OUString GetScAddInName (const OUString &rXclName)
 Returns the Calc add-in function name for an Excel function name. More...
 
- Static Protected Member Functions inherited from XclRoot
static OUString GetDefaultPassword ()
 Returns the default password used for stream encryption. More...
 

Detailed Description

Represents the CHSERIES record group describing a data series in a chart.

The CHSERIES group consists of: CHSERIES, CHBEGIN, CHSOURCELINK groups, CHDATAFORMAT groups, CHSERGROUP, CHSERPARENT, CHSERERRORBAR, CHSERTRENDLINE, CHEND.

Definition at line 778 of file xichart.hxx.

Member Typedef Documentation

◆ XclImpChDataFormatMap

Definition at line 846 of file xichart.hxx.

◆ XclImpChSerErrorBarMap

Definition at line 848 of file xichart.hxx.

◆ XclImpChTextMap

Definition at line 847 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChSeries()

XclImpChSeries::XclImpChSeries ( const XclImpChRoot rRoot,
sal_uInt16  nSeriesIdx 
)
explicit

Definition at line 1790 of file xichart.cxx.

Member Function Documentation

◆ AddChildSeries()

void XclImpChSeries::AddChildSeries ( const XclImpChSeries rSeries)

Adds error bar settings from the passed series to the own series.

Definition at line 1893 of file xichart.cxx.

References HasParentSeries(), m_ErrorBars, maTrendLines, and SAL_WARN.

◆ ConvertTrendLines()

void XclImpChSeries::ConvertTrendLines ( css::uno::Reference< css::chart2::XDataSeries > const &  xDataSeries) const
private

Converts all trend lines and inserts them into the passed API data series object.

Definition at line 2174 of file xichart.cxx.

References Exception, and maTrendLines.

Referenced by CreateDataSeries().

◆ CreateCategSequence()

Reference< XLabeledDataSequence > XclImpChSeries::CreateCategSequence ( const OUString &  rCategRole) const

Creates a labeled data sequence object from category data link.

Definition at line 2022 of file xichart.cxx.

References mxCategLink.

Referenced by CreateDataSeries().

◆ CreateDataFormat()

XclImpChDataFormatRef XclImpChSeries::CreateDataFormat ( sal_uInt16  nPointIdx,
sal_uInt16  nFormatIdx 
)
private

Creates a new CHDATAFORMAT group with the specified point index.

Definition at line 2167 of file xichart.cxx.

References XclImpChRoot::GetChRoot(), and mnSeriesIdx.

Referenced by FinalizeDataFormats().

◆ CreateDataSeries()

Reference< XDataSeries > XclImpChSeries::CreateDataSeries ( ) const

◆ CreateErrorBar()

Reference< XPropertySet > XclImpChSeries::CreateErrorBar ( sal_uInt8  nPosBarId,
sal_uInt8  nNegBarId 
) const
private

Tries to create an error bar API object from the specified Excel error bars.

Definition at line 2197 of file xichart.cxx.

References XclImpChSerErrorBar::CreateErrorBar(), and m_ErrorBars.

Referenced by CreateDataSeries().

◆ CreateValueSequence()

Reference< XLabeledDataSequence > XclImpChSeries::CreateValueSequence ( const OUString &  rValueRole) const

Creates a labeled data sequence object from value data link.

Definition at line 2017 of file xichart.cxx.

References mxTitleLink, and mxValueLink.

Referenced by CreateDataSeries().

◆ FillAllSourceLinks()

void XclImpChSeries::FillAllSourceLinks ( ::std::vector< ScTokenRef > &  rTokens) const

Definition at line 2111 of file xichart.cxx.

References mxBubbleLink, mxCategLink, mxTitleLink, and mxValueLink.

◆ FinalizeDataFormats()

void XclImpChSeries::FinalizeDataFormats ( )

◆ GetGroupIdx()

sal_uInt16 XclImpChSeries::GetGroupIdx ( ) const
inline

Returns the axes set identifier this series is assigned to (primary/secondary).

Definition at line 798 of file xichart.hxx.

References mnGroupIdx.

◆ GetParentIdx()

sal_uInt16 XclImpChSeries::GetParentIdx ( ) const
inline

Returns the 0-based index of the parent series (e.g.

of a trend line).

Definition at line 800 of file xichart.hxx.

References mnParentIdx.

◆ GetTitle()

OUString XclImpChSeries::GetTitle ( ) const
inline

Returns series title or an empty string, if the series does not contain a title.

Definition at line 806 of file xichart.hxx.

References mxTitleLink.

◆ HasChildSeries()

bool XclImpChSeries::HasChildSeries ( ) const
inline

Returns true, if the series contains child series (e.g.

trend lines).

Definition at line 804 of file xichart.hxx.

References m_ErrorBars, and maTrendLines.

◆ HasParentSeries()

bool XclImpChSeries::HasParentSeries ( ) const
inline

Returns true, if the series is child of another series (e.g.

trend line).

Definition at line 802 of file xichart.hxx.

References EXC_CHSERIES_INVALID, and mnParentIdx.

Referenced by AddChildSeries(), FinalizeDataFormats(), and SetDataFormat().

◆ HasSpline()

bool XclImpChSeries::HasSpline ( ) const
inline

Returns true, if the series line is smoothed.

Definition at line 809 of file xichart.hxx.

References mxSeriesFmt.

◆ ReadChDataFormat()

void XclImpChSeries::ReadChDataFormat ( XclImpStream rStrm)
private

Reads a CHDATAFORMAT group containing series and point formatting.

Definition at line 2136 of file xichart.cxx.

References XclImpChRoot::GetChartData(), XclImpChChart::ReadChDataFormat(), and rStrm.

Referenced by ReadSubRecord().

◆ ReadChLegendException()

void XclImpChSeries::ReadChLegendException ( XclImpStream rStrm)
private

Definition at line 2208 of file xichart.cxx.

References EXC_CHLEGENDEXCEPTION_DELETED, mbLabelDeleted, and rStrm.

Referenced by ReadSubRecord().

◆ ReadChSerErrorBar()

void XclImpChSeries::ReadChSerErrorBar ( XclImpStream rStrm)
private

Reads a CHSERERRORBAR record containing error bar settings.

Definition at line 2159 of file xichart.cxx.

References XclImpChRoot::GetChRoot(), m_ErrorBars, and rStrm.

Referenced by ReadSubRecord().

◆ ReadChSerParent()

void XclImpChSeries::ReadChSerParent ( XclImpStream rStrm)
private

Reads a CHSERPARENT record specifying the parent series of this series.

Definition at line 2142 of file xichart.cxx.

References EXC_CHSERIES_INVALID, mnParentIdx, and rStrm.

Referenced by ReadSubRecord().

◆ ReadChSerTrendLine()

void XclImpChSeries::ReadChSerTrendLine ( XclImpStream rStrm)
private

Reads a CHSERTRENDLINE record containing trend line settings.

Definition at line 2152 of file xichart.cxx.

References XclImpChRoot::GetChRoot(), maTrendLines, and rStrm.

Referenced by ReadSubRecord().

◆ ReadChSourceLink()

void XclImpChSeries::ReadChSourceLink ( XclImpStream rStrm)
private

◆ ReadHeaderRecord()

void XclImpChSeries::ReadHeaderRecord ( XclImpStream rStrm)
overridevirtual

◆ ReadSubRecord()

void XclImpChSeries::ReadSubRecord ( XclImpStream rStrm)
overridevirtual

◆ SetDataFormat()

void XclImpChSeries::SetDataFormat ( const XclImpChDataFormatRef xDataFmt)

Sets a data point or series format (CHDATAFORMAT group) for this series.

Definition at line 1840 of file xichart.cxx.

References EXC_CHDATAFORMAT_ALLPOINTS, EXC_CHDATAFORMAT_MAXPOINTCOUNT, XclImpChRoot::GetChartData(), XclImpChChart::GetTypeGroup(), HasParentSeries(), maPointFmts, mnGroupIdx, and mxSeriesFmt.

◆ SetDataLabel()

void XclImpChSeries::SetDataLabel ( const XclImpChTextRef xLabel)

Sets a label text (CHTEXT group) attached to a series or data point.

Definition at line 1875 of file xichart.cxx.

References EXC_CHDATAFORMAT_ALLPOINTS, EXC_CHDATAFORMAT_MAXPOINTCOUNT, and maLabels.

Member Data Documentation

◆ m_ErrorBars

XclImpChSerErrorBarMap XclImpChSeries::m_ErrorBars
private

Trend line settings (CHSERTRENDLINE records).

Definition at line 859 of file xichart.hxx.

Referenced by AddChildSeries(), CreateErrorBar(), FinalizeDataFormats(), HasChildSeries(), and ReadChSerErrorBar().

◆ maData

XclChSeries XclImpChSeries::maData
private

Definition at line 850 of file xichart.hxx.

Referenced by ReadHeaderRecord().

◆ maLabels

XclImpChTextMap XclImpChSeries::maLabels
private

CHDATAFORMAT groups for data point formats.

Definition at line 857 of file xichart.hxx.

Referenced by FinalizeDataFormats(), and SetDataLabel().

◆ maPointFmts

XclImpChDataFormatMap XclImpChSeries::maPointFmts
private

CHDATAFORMAT group for series format.

Definition at line 856 of file xichart.hxx.

Referenced by CreateDataSeries(), FinalizeDataFormats(), and SetDataFormat().

◆ maTrendLines

std::vector< XclImpChSerTrendLineRef > XclImpChSeries::maTrendLines
private

Data point labels (CHTEXT groups).

Definition at line 858 of file xichart.hxx.

Referenced by AddChildSeries(), ConvertTrendLines(), FinalizeDataFormats(), HasChildSeries(), and ReadChSerTrendLine().

◆ mbLabelDeleted

bool XclImpChSeries::mbLabelDeleted
private

0-based index of parent series (trend lines and error bars).

Definition at line 863 of file xichart.hxx.

Referenced by CreateDataSeries(), and ReadChLegendException().

◆ mnGroupIdx

sal_uInt16 XclImpChSeries::mnGroupIdx
private

Error bar settings (CHSERERRORBAR records).

Definition at line 860 of file xichart.hxx.

Referenced by CreateDataSeries(), FinalizeDataFormats(), GetGroupIdx(), ReadSubRecord(), and SetDataFormat().

◆ mnParentIdx

sal_uInt16 XclImpChSeries::mnParentIdx
private

0-based series index.

Definition at line 862 of file xichart.hxx.

Referenced by GetParentIdx(), HasParentSeries(), and ReadChSerParent().

◆ mnSeriesIdx

sal_uInt16 XclImpChSeries::mnSeriesIdx
private

Chart type group (CHTYPEGROUP group) this series is assigned to.

Definition at line 861 of file xichart.hxx.

Referenced by CreateDataFormat(), and CreateDataSeries().

◆ mxBubbleLink

XclImpChSourceLinkRef XclImpChSeries::mxBubbleLink
private

Link data for series title.

Definition at line 854 of file xichart.hxx.

Referenced by CreateDataSeries(), FillAllSourceLinks(), and ReadChSourceLink().

◆ mxCategLink

XclImpChSourceLinkRef XclImpChSeries::mxCategLink
private

Link data for series values.

Definition at line 852 of file xichart.hxx.

Referenced by CreateCategSequence(), FillAllSourceLinks(), and ReadChSourceLink().

◆ mxSeriesFmt

XclImpChDataFormatRef XclImpChSeries::mxSeriesFmt
private

Link data for series bubble sizes.

Definition at line 855 of file xichart.hxx.

Referenced by CreateDataSeries(), FinalizeDataFormats(), HasSpline(), and SetDataFormat().

◆ mxTitleLink

XclImpChSourceLinkRef XclImpChSeries::mxTitleLink
private

Link data for series category names.

Definition at line 853 of file xichart.hxx.

Referenced by CreateDataSeries(), CreateValueSequence(), FillAllSourceLinks(), FinalizeDataFormats(), GetTitle(), and ReadChSourceLink().

◆ mxValueLink

XclImpChSourceLinkRef XclImpChSeries::mxValueLink
private

Contents of the CHSERIES record.

Definition at line 851 of file xichart.hxx.

Referenced by CreateDataSeries(), CreateValueSequence(), FillAllSourceLinks(), FinalizeDataFormats(), and ReadChSourceLink().


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