LibreOffice Module sc (master) 1
|
Represents the CHSERIES record group describing a data series in a chart. More...
#include <xichart.hxx>
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 | |
XclImpChGroupBase & | operator= (XclImpChGroupBase const &)=default |
XclImpChGroupBase & | operator= (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, XclImpChDataFormatRef > | XclImpChDataFormatMap |
typedef ::std::map< sal_uInt16, XclImpChTextRef > | XclImpChTextMap |
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::XPropertySet > | CreateErrorBar (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< XclImpChSerTrendLineRef > | maTrendLines |
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 | |
XclImpChRoot & | operator= (XclImpChRoot const &)=delete |
XclImpChRoot & | operator= (XclImpChRoot &&)=delete |
const XclImpChRoot & | GetChRoot () const |
Returns this root instance - for code readability in derived classes. More... | |
XclImpChChart & | GetChartData () const |
Returns a reference to the parent chart data object. More... | |
const XclChTypeInfo & | GetChartTypeInfo (XclChTypeId eType) const |
Returns chart type info for a unique chart type identifier. More... | |
const XclChTypeInfo & | GetChartTypeInfo (sal_uInt16 nRecId) const |
Returns the first fitting chart type info for an Excel chart type record identifier. More... | |
const XclChFormatInfo & | GetFormatInfo (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 XclImpRoot & | GetRoot () const |
Returns this root instance - for code readability in derived classes. More... | |
XclImpRoot & | GetRoot () |
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... | |
XclImpAddressConverter & | GetAddressConverter () const |
Returns the address converter. More... | |
XclImpFormulaCompiler & | GetFormulaCompiler () const |
Returns the formula converter. More... | |
ExcelToSc & | GetOldFmlaConverter () const |
Returns the old formula converter. More... | |
XclImpSst & | GetSst () const |
Returns the shared string table. More... | |
XclImpPalette & | GetPalette () const |
Returns the color buffer. More... | |
XclImpFontBuffer & | GetFontBuffer () const |
Returns the font buffer. More... | |
XclImpNumFmtBuffer & | GetNumFmtBuffer () const |
Returns the number format buffer. More... | |
XclImpXFBuffer & | GetXFBuffer () const |
Returns the cell formatting attributes buffer. More... | |
XclImpXFRangeBuffer & | GetXFRangeBuffer () const |
Returns the buffer of XF index ranges for a sheet. More... | |
ScRangeListTabs & | GetPrintAreaBuffer () const |
Returns the buffer that contains all print areas in the document. More... | |
ScRangeListTabs & | GetTitleAreaBuffer () const |
Returns the buffer that contains all print titles in the document. More... | |
XclImpTabInfo & | GetTabInfo () const |
Returns the buffer that contains the sheet creation order. More... | |
XclImpNameManager & | GetNameManager () const |
Returns the buffer that contains internal defined names. More... | |
XclImpLinkManager & | GetLinkManager () const |
Returns the link manager. More... | |
XclImpObjectManager & | GetObjectManager () const |
Returns the drawing object manager. More... | |
XclImpSheetDrawing & | GetCurrSheetDrawing () const |
Returns the drawing container of the current sheet. More... | |
XclImpCondFormatManager & | GetCondFormatManager () const |
Returns the conditional formatting manager. More... | |
XclImpValidationManager & | GetValidationManager () const |
XclImpAutoFilterBuffer & | GetFilterManager () const |
Returns the filter manager. More... | |
XclImpWebQueryBuffer & | GetWebQueryBuffer () const |
Returns the web query buffer. More... | |
XclImpPivotTableManager & | GetPivotTableManager () const |
Returns the pivot table manager. More... | |
XclImpSheetProtectBuffer & | GetSheetProtectBuffer () const |
Returns the sheet protection options of the current sheet. More... | |
XclImpDocProtectBuffer & | GetDocProtectBuffer () const |
Returns the document protection options. More... | |
XclImpPageSettings & | GetPageSettings () const |
Returns the page settings of the current sheet. More... | |
XclImpDocViewSettings & | GetDocViewSettings () const |
Returns the view settings of the entire document. More... | |
XclImpTabViewSettings & | GetTabViewSettings () 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... | |
ScDocumentImport & | GetDocImport () |
Protected Member Functions inherited from XclRoot | |
XclRoot (XclRootData &rRootData) | |
XclRoot (const XclRoot &rRoot) | |
virtual | ~XclRoot () |
XclRoot & | operator= (const XclRoot &rRoot) |
RootData & | GetOldRoot () 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... | |
SfxMedium & | GetMedium () 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< SotStorage > | OpenStorage (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< SotStorage > | OpenStorage (const OUString &rStrgName) const |
Tries to open a storage as child of the root storage for reading or writing. More... | |
tools::SvRef< SotStorageStream > | OpenStream (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< SotStorageStream > | OpenStream (const OUString &rStrmName) const |
Tries to open a new stream in the root storage for reading or writing. More... | |
ScDocument & | GetDoc () const |
Returns reference to the destination document (import) or source document (export). More... | |
SfxObjectShell * | GetDocShell () const |
Returns the object shell of the Calc document. More... | |
ScModelObj * | GetDocModelObj () const |
Returns the object model of the Calc document. More... | |
OutputDevice * | GetPrinter () const |
Returns pointer to the printer of the Calc document. More... | |
ScStyleSheetPool & | GetStyleSheetPool () const |
Returns the style sheet pool of the Calc document. More... | |
ScRangeName & | GetNamedRanges () const |
Returns the defined names container of the Calc document. More... | |
SdrPage * | GetSdrPage (SCTAB nScTab) const |
Returns the drawing layer page of the passed sheet, if present. More... | |
SvNumberFormatter & | GetFormatter () 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... | |
ScEditEngineDefaulter & | GetEditEngine () const |
Returns the edit engine for import/export of rich strings etc. More... | |
ScHeaderEditEngine & | GetHFEditEngine () const |
Returns the edit engine for import/export of headers/footers. More... | |
EditEngine & | GetDrawEditEngine () const |
Returns the edit engine for import/export of drawing text boxes. More... | |
XclFontPropSetHelper & | GetFontPropSetHelper () const |
Returns the property set helper for fonts. More... | |
XclChPropSetHelper & | GetChartPropSetHelper () const |
Returns the property set helper for the chart filters. More... | |
ScExtDocOptions & | GetExtDocOptions () const |
Returns the extended document options. More... | |
XclTracer & | GetTracer () const |
Returns the filter tracer. More... | |
const ScAddress & | GetScMaxPos () const |
Returns the highest possible cell address in a Calc document. More... | |
const ScAddress & | GetXclMaxPos () const |
Returns the highest possible cell address in an Excel document (using current BIFF version). More... | |
const ScAddress & | GetMaxPos () 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... | |
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.
|
private |
Definition at line 846 of file xichart.hxx.
|
private |
Definition at line 848 of file xichart.hxx.
|
private |
Definition at line 847 of file xichart.hxx.
|
explicit |
Definition at line 1790 of file xichart.cxx.
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.
|
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().
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().
|
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().
Reference< XDataSeries > XclImpChSeries::CreateDataSeries | ( | ) | const |
Creates a data series object with initialized source links.
Definition at line 2027 of file xichart.cxx.
References ConvertTrendLines(), CreateCategSequence(), CreateErrorBar(), ScfApiHelper::CreateInstance(), CreateValueSequence(), EXC_CHPROP_ERRORBARX, EXC_CHPROP_ERRORBARY, EXC_CHPROP_ROLE_SIZEVALUES, EXC_CHPROP_ROLE_XVALUES, EXC_CHPROP_ROLE_YVALUES, EXC_CHPROP_SHOWLEGENDENTRY, EXC_CHPROP_VARYCOLORSBY, EXC_CHSERERR_XMINUS, EXC_CHSERERR_XPLUS, EXC_CHSERERR_YMINUS, EXC_CHSERERR_YPLUS, EXC_CHTYPECATEG_PIE, EXC_CHTYPEID_BUBBLES, get(), XclImpChRoot::GetChartData(), XclChExtTypeInfo::IsSeriesFrameFormat(), maPointFmts, XclChTypeInfo::mbCategoryAxis, mbLabelDeleted, XclChTypeInfo::meTypeCateg, XclChTypeInfo::meTypeId, mnGroupIdx, mnSeriesIdx, mxBubbleLink, mxSeriesFmt, mxTitleLink, mxValueLink, SERVICE_CHART2_DATASERIES, ScfPropertySet::SetBoolProperty(), ScfPropertySet::SetProperty(), and ScfApiHelper::VectorToSequence().
|
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().
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().
void XclImpChSeries::FillAllSourceLinks | ( | ::std::vector< ScTokenRef > & | rTokens | ) | const |
Definition at line 2111 of file xichart.cxx.
References mxBubbleLink, mxCategLink, mxTitleLink, and mxValueLink.
void XclImpChSeries::FinalizeDataFormats | ( | ) |
Updates missing series formatting by using default formatting from axes sets.
Definition at line 1912 of file xichart.cxx.
References CreateDataFormat(), EXC_CHDATAFORMAT_ALLPOINTS, EXC_CHDATAFORMAT_DEFAULT, EXC_CHDATAFORMAT_MAXPOINTCOUNT, get(), XclImpChRoot::GetChartData(), HasParentSeries(), label(), m_ErrorBars, maLabels, maPointFmts, maTrendLines, mnGroupIdx, mxSeriesFmt, mxTitleLink, mxValueLink, and p.
|
inline |
Returns the axes set identifier this series is assigned to (primary/secondary).
Definition at line 798 of file xichart.hxx.
References mnGroupIdx.
|
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.
|
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.
|
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.
|
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().
|
inline |
Returns true, if the series line is smoothed.
Definition at line 809 of file xichart.hxx.
References mxSeriesFmt.
|
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().
|
private |
Definition at line 2208 of file xichart.cxx.
References EXC_CHLEGENDEXCEPTION_DELETED, mbLabelDeleted, and rStrm.
Referenced by ReadSubRecord().
|
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().
|
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().
|
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().
|
private |
Reads a CHSOURCELINK record.
Definition at line 2123 of file xichart.cxx.
References EXC_CHSRCLINK_BUBBLES, EXC_CHSRCLINK_CATEGORY, EXC_CHSRCLINK_TITLE, EXC_CHSRCLINK_VALUES, XclImpChRoot::GetChRoot(), mxBubbleLink, mxCategLink, mxTitleLink, mxValueLink, and rStrm.
Referenced by ReadSubRecord().
|
overridevirtual |
Reads the CHSERIES record (called by base class).
Implements XclImpChGroupBase.
Definition at line 1799 of file xichart.cxx.
References EXC_BIFF8, XclRoot::GetBiff(), maData, XclChSeries::mnBubbleCount, XclChSeries::mnBubbleType, XclChSeries::mnCategCount, XclChSeries::mnCategType, XclChSeries::mnValueCount, XclChSeries::mnValueType, and rStrm.
|
overridevirtual |
Reads a record from the CHSERIES group (called by base class).
Implements XclImpChGroupBase.
Definition at line 1812 of file xichart.cxx.
References EXC_ID_CHDATAFORMAT, EXC_ID_CHLEGENDEXCEPTION, EXC_ID_CHSERERRORBAR, EXC_ID_CHSERGROUP, EXC_ID_CHSERPARENT, EXC_ID_CHSERTRENDLINE, EXC_ID_CHSOURCELINK, mnGroupIdx, ReadChDataFormat(), ReadChLegendException(), ReadChSerErrorBar(), ReadChSerParent(), ReadChSerTrendLine(), ReadChSourceLink(), and rStrm.
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.
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.
|
private |
Trend line settings (CHSERTRENDLINE records).
Definition at line 859 of file xichart.hxx.
Referenced by AddChildSeries(), CreateErrorBar(), FinalizeDataFormats(), HasChildSeries(), and ReadChSerErrorBar().
|
private |
Definition at line 850 of file xichart.hxx.
Referenced by ReadHeaderRecord().
|
private |
CHDATAFORMAT groups for data point formats.
Definition at line 857 of file xichart.hxx.
Referenced by FinalizeDataFormats(), and SetDataLabel().
|
private |
CHDATAFORMAT group for series format.
Definition at line 856 of file xichart.hxx.
Referenced by CreateDataSeries(), FinalizeDataFormats(), and SetDataFormat().
|
private |
Data point labels (CHTEXT groups).
Definition at line 858 of file xichart.hxx.
Referenced by AddChildSeries(), ConvertTrendLines(), FinalizeDataFormats(), HasChildSeries(), and ReadChSerTrendLine().
|
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().
|
private |
Error bar settings (CHSERERRORBAR records).
Definition at line 860 of file xichart.hxx.
Referenced by CreateDataSeries(), FinalizeDataFormats(), GetGroupIdx(), ReadSubRecord(), and SetDataFormat().
|
private |
0-based series index.
Definition at line 862 of file xichart.hxx.
Referenced by GetParentIdx(), HasParentSeries(), and ReadChSerParent().
|
private |
Chart type group (CHTYPEGROUP group) this series is assigned to.
Definition at line 861 of file xichart.hxx.
Referenced by CreateDataFormat(), and CreateDataSeries().
|
private |
Link data for series title.
Definition at line 854 of file xichart.hxx.
Referenced by CreateDataSeries(), FillAllSourceLinks(), and ReadChSourceLink().
|
private |
Link data for series values.
Definition at line 852 of file xichart.hxx.
Referenced by CreateCategSequence(), FillAllSourceLinks(), and ReadChSourceLink().
|
private |
Link data for series bubble sizes.
Definition at line 855 of file xichart.hxx.
Referenced by CreateDataSeries(), FinalizeDataFormats(), HasSpline(), and SetDataFormat().
|
private |
Link data for series category names.
Definition at line 853 of file xichart.hxx.
Referenced by CreateDataSeries(), CreateValueSequence(), FillAllSourceLinks(), FinalizeDataFormats(), GetTitle(), and ReadChSourceLink().
|
private |
Contents of the CHSERIES record.
Definition at line 851 of file xichart.hxx.
Referenced by CreateDataSeries(), CreateValueSequence(), FillAllSourceLinks(), FinalizeDataFormats(), and ReadChSourceLink().