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

#include <SchXMLPlotAreaContext.hxx>

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

Public Member Functions

 SchXMLPlotAreaContext (SchXMLImportHelper &rImpHelper, SvXMLImport &rImport, const OUString &rXLinkHRefAttributeToIndicateDataProvider, OUString &rCategoriesAddress, OUString &rChartAddress, bool &bHasRangeAtPlotArea, bool &rAllRangeAddressesAvailable, bool &rColHasLabels, bool &rRowHasLabels, css::chart::ChartDataRowSource &rDataRowSource, SeriesDefaultsAndStyles &rSeriesDefaultsAndStyles, OUString aChartTypeServiceName, tSchXMLLSequencesPerIndex &rLSequencesPerIndex, const css::awt::Size &rChartSize)
 
virtual ~SchXMLPlotAreaContext () 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
 

Private Attributes

SchXMLImportHelpermrImportHelper
 
css::uno::Reference< css::chart::XDiagram > mxDiagram
 
css::uno::Reference< css::chart2::XChartDocument > mxNewDoc
 
::std::vector< SchXMLAxismaAxes
 
OUString & mrCategoriesAddress
 
SeriesDefaultsAndStylesmrSeriesDefaultsAndStyles
 
sal_Int32 mnNumOfLinesProp
 
bool mbStockHasVolume
 
sal_Int32 mnSeries
 
GlobalSeriesImportInfo m_aGlobalSeriesImportInfo
 
SchXML3DSceneAttributesHelper maSceneImportHelper
 
SchXMLPositionAttributesHelper m_aOuterPositioning
 
SchXMLPositionAttributesHelper m_aInnerPositioning
 
bool mbPercentStacked
 
bool m_bAxisPositionAttributeImported
 
OUString msAutoStyleName
 
const OUString & m_rXLinkHRefAttributeToIndicateDataProvider
 
OUString & mrChartAddress
 
bool & m_rbHasRangeAtPlotArea
 
bool & mrColHasLabels
 
bool & mrRowHasLabels
 
css::chart::ChartDataRowSource & mrDataRowSource
 
OUString maChartTypeServiceName
 
tSchXMLLSequencesPerIndexmrLSequencesPerIndex
 
bool mbGlobalChartTypeUsedBySeries
 
css::awt::Size maChartSize
 

Additional Inherited Members

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

Detailed Description

Definition at line 82 of file SchXMLPlotAreaContext.hxx.

Constructor & Destructor Documentation

◆ SchXMLPlotAreaContext()

SchXMLPlotAreaContext::SchXMLPlotAreaContext ( SchXMLImportHelper rImpHelper,
SvXMLImport rImport,
const OUString &  rXLinkHRefAttributeToIndicateDataProvider,
OUString &  rCategoriesAddress,
OUString &  rChartAddress,
bool &  bHasRangeAtPlotArea,
bool &  rAllRangeAddressesAvailable,
bool &  rColHasLabels,
bool &  rRowHasLabels,
css::chart::ChartDataRowSource &  rDataRowSource,
SeriesDefaultsAndStyles rSeriesDefaultsAndStyles,
OUString  aChartTypeServiceName,
tSchXMLLSequencesPerIndex rLSequencesPerIndex,
const css::awt::Size &  rChartSize 
)

◆ ~SchXMLPlotAreaContext()

SchXMLPlotAreaContext::~SchXMLPlotAreaContext ( )
overridevirtual

Definition at line 208 of file SchXMLPlotAreaContext.cxx.

Member Function Documentation

◆ createFastChildContext()

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

◆ endFastElement()

void SchXMLPlotAreaContext::endFastElement ( sal_Int32  Element)
overridevirtual

◆ startFastElement()

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

Reimplemented from SvXMLImportContext.

Definition at line 211 of file SchXMLPlotAreaContext.cxx.

References aPropName, sax_fastparser::castToFastAttributeList(), CHART, XMLPropStyleContext::FillPropertySet(), SvXMLStylesContext::FindStyleChildContext(), SchXMLImportHelper::GetAutoStylesContext(), SchXMLImportHelper::GetChartDocument(), SchXMLImportHelper::GetChartFamilyID(), SvXMLImportContext::GetImport(), SchXMLTools::getPropertyFromContext(), uno::Any::hasValue(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0(), xmloff::token::IsXMLToken(), m_aOuterPositioning, m_rbHasRangeAtPlotArea, m_rXLinkHRefAttributeToIndicateDataProvider, maChartTypeServiceName, SeriesDefaultsAndStyles::maDataCaptionDefault, SeriesDefaultsAndStyles::maDeepDefault, SeriesDefaultsAndStyles::maLinesOnProperty, SeriesDefaultsAndStyles::maMeanValueDefault, SeriesDefaultsAndStyles::maPercentDefault, SeriesDefaultsAndStyles::maRegressionCurvesDefault, maSceneImportHelper, SeriesDefaultsAndStyles::maStackedBarsConnectedDefault, SeriesDefaultsAndStyles::maStackedDefault, SeriesDefaultsAndStyles::maSymbolTypeDefault, mbPercentStacked, mbStockHasVolume, mnNumOfLinesProp, mrChartAddress, mrColHasLabels, mrDataRowSource, mrImportHelper, mrRowHasLabels, mrSeriesDefaultsAndStyles, msAutoStyleName, mxDiagram, mxNewDoc, SdXML3DSceneAttributesHelper::processSceneAttribute(), SchXMLPositionAttributesHelper::readAutomaticPositioningProperties(), SchXMLPositionAttributesHelper::readPositioningAttribute(), SAL_WARN, SVG, TABLE, TOOLS_INFO_EXCEPTION, u, xmloff::token::XML_AMBIENT_COLOR, xmloff::token::XML_BOTH, xmloff::token::XML_CELL_RANGE_ADDRESS, xmloff::token::XML_COLUMN, xmloff::token::XML_DATA_SOURCE_HAS_LABELS, xmloff::token::XML_DISTANCE, XML_ELEMENT, xmloff::token::XML_FOCAL_LENGTH, xmloff::token::XML_HEIGHT, xmloff::token::XML_LIGHTING_MODE, xmloff::token::XML_PROJECTION, xmloff::token::XML_ROW, xmloff::token::XML_SHADE_MODE, xmloff::token::XML_SHADOW_SLANT, xmloff::token::XML_STYLE_NAME, xmloff::token::XML_TRANSFORM, xmloff::token::XML_VPN, xmloff::token::XML_VRP, xmloff::token::XML_VUP, xmloff::token::XML_WIDTH, xmloff::token::XML_X, xmloff::token::XML_Y, and XMLOFF_WARN_UNKNOWN.

Member Data Documentation

◆ m_aGlobalSeriesImportInfo

GlobalSeriesImportInfo SchXMLPlotAreaContext::m_aGlobalSeriesImportInfo
private

Definition at line 119 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ m_aInnerPositioning

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aInnerPositioning
private

Definition at line 123 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ m_aOuterPositioning

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aOuterPositioning
private

Definition at line 122 of file SchXMLPlotAreaContext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ m_bAxisPositionAttributeImported

bool SchXMLPlotAreaContext::m_bAxisPositionAttributeImported
private

Definition at line 125 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ m_rbHasRangeAtPlotArea

bool& SchXMLPlotAreaContext::m_rbHasRangeAtPlotArea
private

Definition at line 129 of file SchXMLPlotAreaContext.hxx.

Referenced by SchXMLPlotAreaContext(), and startFastElement().

◆ m_rXLinkHRefAttributeToIndicateDataProvider

const OUString& SchXMLPlotAreaContext::m_rXLinkHRefAttributeToIndicateDataProvider
private

Definition at line 127 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ maAxes

::std::vector< SchXMLAxis > SchXMLPlotAreaContext::maAxes
private

Definition at line 113 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ maChartSize

css::awt::Size SchXMLPlotAreaContext::maChartSize
private

Definition at line 138 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

◆ maChartTypeServiceName

OUString SchXMLPlotAreaContext::maChartTypeServiceName
private

◆ maSceneImportHelper

SchXML3DSceneAttributesHelper SchXMLPlotAreaContext::maSceneImportHelper
private

◆ mbGlobalChartTypeUsedBySeries

bool SchXMLPlotAreaContext::mbGlobalChartTypeUsedBySeries
private

Definition at line 137 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

◆ mbPercentStacked

bool SchXMLPlotAreaContext::mbPercentStacked
private

Definition at line 124 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and startFastElement().

◆ mbStockHasVolume

bool SchXMLPlotAreaContext::mbStockHasVolume
private

◆ mnNumOfLinesProp

sal_Int32 SchXMLPlotAreaContext::mnNumOfLinesProp
private

Definition at line 116 of file SchXMLPlotAreaContext.hxx.

Referenced by endFastElement(), and startFastElement().

◆ mnSeries

sal_Int32 SchXMLPlotAreaContext::mnSeries
private

Definition at line 118 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

◆ mrCategoriesAddress

OUString& SchXMLPlotAreaContext::mrCategoriesAddress
private

Definition at line 114 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ mrChartAddress

OUString& SchXMLPlotAreaContext::mrChartAddress
private

Definition at line 128 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ mrColHasLabels

bool& SchXMLPlotAreaContext::mrColHasLabels
private

Definition at line 130 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ mrDataRowSource

css::chart::ChartDataRowSource& SchXMLPlotAreaContext::mrDataRowSource
private

Definition at line 132 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ mrImportHelper

SchXMLImportHelper& SchXMLPlotAreaContext::mrImportHelper
private

◆ mrLSequencesPerIndex

tSchXMLLSequencesPerIndex& SchXMLPlotAreaContext::mrLSequencesPerIndex
private

Definition at line 135 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

◆ mrRowHasLabels

bool& SchXMLPlotAreaContext::mrRowHasLabels
private

Definition at line 131 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ mrSeriesDefaultsAndStyles

SeriesDefaultsAndStyles& SchXMLPlotAreaContext::mrSeriesDefaultsAndStyles
private

Definition at line 115 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and startFastElement().

◆ msAutoStyleName

OUString SchXMLPlotAreaContext::msAutoStyleName
private

Definition at line 126 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

◆ mxDiagram

css::uno::Reference< css::chart::XDiagram > SchXMLPlotAreaContext::mxDiagram
private

◆ mxNewDoc

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

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