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

#include <SchXMLSeries2Context.hxx>

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

Public Member Functions

 SchXMLSeries2Context (SchXMLImportHelper &rImpHelper, SvXMLImport &rImport, const css::uno::Reference< css::chart2::XChartDocument > &xNewDoc, std::vector< SchXMLAxis > &rAxes, ::std::vector< DataRowPointStyle > &rStyleVector, ::std::vector< RegressionStyle > &rRegressionStyleVector, sal_Int32 nSeriesIndex, bool bStockHasVolume, GlobalSeriesImportInfo &rGlobalSeriesImportInfo, const OUString &aGlobalChartTypeName, tSchXMLLSequencesPerIndex &rLSequencesPerIndex, bool &rGlobalChartTypeUsedBySeries, const css::awt::Size &rChartSize)
 
virtual ~SchXMLSeries2Context () override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
 
virtual void SAL_CALL startFastElement (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
 
virtual void SAL_CALL endFastElement (sal_Int32 nElement) override
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
- Public Member Functions inherited from SvXMLImportContext
 SvXMLImportContext (SvXMLImport &rImport)
 A contexts constructor does anything that is required if an element starts. More...
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
virtual void SAL_CALL startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endFastElement (sal_Int32 Element) override
 endFastElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) override
 
virtual css::uno::Reference< XFastContextHandler > SAL_CALL createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 This method is called for all characters that are contained in the current element. More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () noexcept final override
 
virtual void SAL_CALL release () noexcept final override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () final override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () final override
 

Static Public Member Functions

static void initSeriesPropertySets (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, const css::uno::Reference< css::frame::XModel > &xChartModel)
 
static void setDefaultsToSeries (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles)
 
static void setStylesToSeries (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, const SvXMLStylesContext *pStylesCtxt, const SvXMLStyleContext *&rpStyle, OUString &rCurrStyleName, const SchXMLImportHelper &rImportHelper, const SvXMLImport &rImport, bool bIsStockChart, tSchXMLLSequencesPerIndex &rInOutLSequencesPerIndex)
 
static void setStylesToStatisticsObjects (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, const SvXMLStylesContext *pStylesCtxt, const SvXMLStyleContext *&rpStyle, OUString &rCurrStyleName)
 
static void setStylesToRegressionCurves (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, const SvXMLStylesContext *pStylesCtxt, const SvXMLStyleContext *&rpStyle, OUString const &rCurrStyleName)
 
static void setStylesToDataPoints (SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, const SvXMLStylesContext *pStylesCtxt, const SvXMLStyleContext *&rpStyle, OUString &rCurrStyleName, const SchXMLImportHelper &rImportHelper, const SvXMLImport &rImport, bool bIsStockChart, bool bIsDonutChart, bool bSwitchOffLinesForScatter)
 
static void switchSeriesLinesOff (::std::vector< DataRowPointStyle > &rSeriesStyleVector)
 

Private Attributes

SchXMLImportHelpermrImportHelper
 
css::uno::Reference< css::chart2::XChartDocument > mxNewDoc
 
::std::vector< SchXMLAxis > & mrAxes
 
::std::vector< DataRowPointStyle > & mrStyleVector
 
::std::vector< RegressionStyle > & mrRegressionStyleVector
 
css::uno::Reference< css::chart2::XDataSeries > m_xSeries
 
sal_Int32 mnSeriesIndex
 
sal_Int32 mnDataPointIndex
 
bool m_bStockHasVolume
 
GlobalSeriesImportInfom_rGlobalSeriesImportInfo
 
SchXMLAxismpAttachedAxis
 
sal_Int32 mnAttachedAxis
 
OUString msAutoStyleName
 
::std::vector< OUString > maDomainAddresses
 
OUString maGlobalChartTypeName
 
OUString maSeriesChartTypeName
 
OUString m_aSeriesRange
 
bool m_bHasDomainContext
 
tSchXMLLSequencesPerIndexmrLSequencesPerIndex
 
tSchXMLLSequencesPerIndex maPostponedSequences
 
bool & mrGlobalChartTypeUsedBySeries
 
bool mbSymbolSizeIsMissingInFile
 
css::awt::Size maChartSize
 
DataRowPointStyle mDataLabel
 

Additional Inherited Members

- Protected Member Functions inherited from SvXMLImportContext
SvXMLImportGetImport ()
 
const SvXMLImportGetImport () const
 

Detailed Description

Definition at line 40 of file SchXMLSeries2Context.hxx.

Constructor & Destructor Documentation

◆ SchXMLSeries2Context()

SchXMLSeries2Context::SchXMLSeries2Context ( SchXMLImportHelper rImpHelper,
SvXMLImport rImport,
const css::uno::Reference< css::chart2::XChartDocument > &  xNewDoc,
std::vector< SchXMLAxis > &  rAxes,
::std::vector< DataRowPointStyle > &  rStyleVector,
::std::vector< RegressionStyle > &  rRegressionStyleVector,
sal_Int32  nSeriesIndex,
bool  bStockHasVolume,
GlobalSeriesImportInfo rGlobalSeriesImportInfo,
const OUString &  aGlobalChartTypeName,
tSchXMLLSequencesPerIndex rLSequencesPerIndex,
bool &  rGlobalChartTypeUsedBySeries,
const css::awt::Size &  rChartSize 
)

Definition at line 258 of file SchXMLSeries2Context.cxx.

References maGlobalChartTypeName, and maSeriesChartTypeName.

◆ ~SchXMLSeries2Context()

SchXMLSeries2Context::~SchXMLSeries2Context ( )
overridevirtual

Definition at line 301 of file SchXMLSeries2Context.cxx.

References maPostponedSequences, and SAL_WARN_IF.

Member Function Documentation

◆ createFastChildContext()

css::uno::Reference< css::xml::sax::XFastContextHandler > SchXMLSeries2Context::createFastChildContext ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  AttrList 
)
overridevirtual

◆ endFastElement()

void SchXMLSeries2Context::endFastElement ( sal_Int32  Element)
overridevirtual

◆ initSeriesPropertySets()

void SchXMLSeries2Context::initSeriesPropertySets ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
const css::uno::Reference< css::frame::XModel > &  xChartModel 
)
static

◆ setDefaultsToSeries()

void SchXMLSeries2Context::setDefaultsToSeries ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles)
static

◆ setStylesToDataPoints()

void SchXMLSeries2Context::setStylesToDataPoints ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
const SvXMLStylesContext pStylesCtxt,
const SvXMLStyleContext *&  rpStyle,
OUString &  rCurrStyleName,
const SchXMLImportHelper rImportHelper,
const SvXMLImport rImport,
bool  bIsStockChart,
bool  bIsDonutChart,
bool  bSwitchOffLinesForScatter 
)
static

◆ setStylesToRegressionCurves()

void SchXMLSeries2Context::setStylesToRegressionCurves ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
const SvXMLStylesContext pStylesCtxt,
const SvXMLStyleContext *&  rpStyle,
OUString const &  rCurrStyleName 
)
static

◆ setStylesToSeries()

void SchXMLSeries2Context::setStylesToSeries ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
const SvXMLStylesContext pStylesCtxt,
const SvXMLStyleContext *&  rpStyle,
OUString &  rCurrStyleName,
const SchXMLImportHelper rImportHelper,
const SvXMLImport rImport,
bool  bIsStockChart,
tSchXMLLSequencesPerIndex rInOutLSequencesPerIndex 
)
static

◆ setStylesToStatisticsObjects()

void SchXMLSeries2Context::setStylesToStatisticsObjects ( SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
const SvXMLStylesContext pStylesCtxt,
const SvXMLStyleContext *&  rpStyle,
OUString &  rCurrStyleName 
)
static

◆ startFastElement()

void SchXMLSeries2Context::startFastElement ( sal_Int32  nElement,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  xAttrList 
)
overridevirtual

◆ switchSeriesLinesOff()

void SchXMLSeries2Context::switchSeriesLinesOff ( ::std::vector< DataRowPointStyle > &  rSeriesStyleVector)
static

Member Data Documentation

◆ m_aSeriesRange

OUString SchXMLSeries2Context::m_aSeriesRange
private

Definition at line 61 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bHasDomainContext

bool SchXMLSeries2Context::m_bHasDomainContext
private

Definition at line 62 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ m_bStockHasVolume

bool SchXMLSeries2Context::m_bStockHasVolume
private

Definition at line 51 of file SchXMLSeries2Context.hxx.

Referenced by startFastElement().

◆ m_rGlobalSeriesImportInfo

GlobalSeriesImportInfo& SchXMLSeries2Context::m_rGlobalSeriesImportInfo
private

Definition at line 53 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_xSeries

css::uno::Reference< css::chart2::XDataSeries > SchXMLSeries2Context::m_xSeries
private

◆ maChartSize

css::awt::Size SchXMLSeries2Context::maChartSize
private

Definition at line 67 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext().

◆ maDomainAddresses

::std::vector< OUString > SchXMLSeries2Context::maDomainAddresses
private

Definition at line 58 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ maGlobalChartTypeName

OUString SchXMLSeries2Context::maGlobalChartTypeName
private

Definition at line 59 of file SchXMLSeries2Context.hxx.

Referenced by SchXMLSeries2Context(), and startFastElement().

◆ maPostponedSequences

tSchXMLLSequencesPerIndex SchXMLSeries2Context::maPostponedSequences
private

◆ maSeriesChartTypeName

OUString SchXMLSeries2Context::maSeriesChartTypeName
private

Definition at line 60 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), SchXMLSeries2Context(), and startFastElement().

◆ mbSymbolSizeIsMissingInFile

bool SchXMLSeries2Context::mbSymbolSizeIsMissingInFile
private

◆ mDataLabel

DataRowPointStyle SchXMLSeries2Context::mDataLabel
private

Definition at line 69 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ mnAttachedAxis

sal_Int32 SchXMLSeries2Context::mnAttachedAxis
private

Definition at line 56 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), and startFastElement().

◆ mnDataPointIndex

sal_Int32 SchXMLSeries2Context::mnDataPointIndex
private

Definition at line 50 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext().

◆ mnSeriesIndex

sal_Int32 SchXMLSeries2Context::mnSeriesIndex
private

Definition at line 49 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), and startFastElement().

◆ mpAttachedAxis

SchXMLAxis* SchXMLSeries2Context::mpAttachedAxis
private

Definition at line 55 of file SchXMLSeries2Context.hxx.

Referenced by startFastElement().

◆ mrAxes

::std::vector< SchXMLAxis >& SchXMLSeries2Context::mrAxes
private

Definition at line 45 of file SchXMLSeries2Context.hxx.

Referenced by startFastElement().

◆ mrGlobalChartTypeUsedBySeries

bool& SchXMLSeries2Context::mrGlobalChartTypeUsedBySeries
private

Definition at line 65 of file SchXMLSeries2Context.hxx.

Referenced by startFastElement().

◆ mrImportHelper

SchXMLImportHelper& SchXMLSeries2Context::mrImportHelper
private

Definition at line 43 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and startFastElement().

◆ mrLSequencesPerIndex

tSchXMLLSequencesPerIndex& SchXMLSeries2Context::mrLSequencesPerIndex
private

Definition at line 63 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ mrRegressionStyleVector

::std::vector< RegressionStyle >& SchXMLSeries2Context::mrRegressionStyleVector
private

Definition at line 47 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext().

◆ mrStyleVector

::std::vector< DataRowPointStyle >& SchXMLSeries2Context::mrStyleVector
private

Definition at line 46 of file SchXMLSeries2Context.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ msAutoStyleName

OUString SchXMLSeries2Context::msAutoStyleName
private

◆ mxNewDoc

css::uno::Reference< css::chart2::XChartDocument > SchXMLSeries2Context::mxNewDoc
private

Definition at line 44 of file SchXMLSeries2Context.hxx.

Referenced by endFastElement(), and startFastElement().


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