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, const 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 startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
 
virtual void SAL_CALL endUnknownElement (const OUString &Namespace, const OUString &Name) 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 83 of file SchXMLPlotAreaContext.hxx.

Constructor & Destructor Documentation

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,
const OUString &  aChartTypeServiceName,
tSchXMLLSequencesPerIndex rLSequencesPerIndex,
const css::awt::Size &  rChartSize 
)
SchXMLPlotAreaContext::~SchXMLPlotAreaContext ( )
overridevirtual

Definition at line 206 of file SchXMLPlotAreaContext.cxx.

Member Function Documentation

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

Reimplemented from SvXMLImportContext.

Definition at line 209 of file SchXMLPlotAreaContext.cxx.

References 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

GlobalSeriesImportInfo SchXMLPlotAreaContext::m_aGlobalSeriesImportInfo
private

Definition at line 120 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aInnerPositioning
private

Definition at line 124 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aOuterPositioning
private

Definition at line 123 of file SchXMLPlotAreaContext.hxx.

Referenced by endFastElement(), and startFastElement().

bool SchXMLPlotAreaContext::m_bAxisPositionAttributeImported
private

Definition at line 126 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

bool& SchXMLPlotAreaContext::m_rbHasRangeAtPlotArea
private

Definition at line 130 of file SchXMLPlotAreaContext.hxx.

Referenced by SchXMLPlotAreaContext(), and startFastElement().

const OUString& SchXMLPlotAreaContext::m_rXLinkHRefAttributeToIndicateDataProvider
private

Definition at line 128 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

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

Definition at line 114 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

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

Definition at line 139 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

OUString SchXMLPlotAreaContext::maChartTypeServiceName
private
SchXML3DSceneAttributesHelper SchXMLPlotAreaContext::maSceneImportHelper
private
bool SchXMLPlotAreaContext::mbGlobalChartTypeUsedBySeries
private

Definition at line 138 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

bool SchXMLPlotAreaContext::mbPercentStacked
private

Definition at line 125 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and startFastElement().

bool SchXMLPlotAreaContext::mbStockHasVolume
private
sal_Int32 SchXMLPlotAreaContext::mnNumOfLinesProp
private

Definition at line 117 of file SchXMLPlotAreaContext.hxx.

Referenced by endFastElement(), and startFastElement().

sal_Int32 SchXMLPlotAreaContext::mnSeries
private

Definition at line 119 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext().

OUString& SchXMLPlotAreaContext::mrCategoriesAddress
private

Definition at line 115 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

OUString& SchXMLPlotAreaContext::mrChartAddress
private

Definition at line 129 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

bool& SchXMLPlotAreaContext::mrColHasLabels
private

Definition at line 131 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

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

Definition at line 133 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

SchXMLImportHelper& SchXMLPlotAreaContext::mrImportHelper
private
tSchXMLLSequencesPerIndex& SchXMLPlotAreaContext::mrLSequencesPerIndex
private

Definition at line 136 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and endFastElement().

bool& SchXMLPlotAreaContext::mrRowHasLabels
private

Definition at line 132 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

SeriesDefaultsAndStyles& SchXMLPlotAreaContext::mrSeriesDefaultsAndStyles
private

Definition at line 116 of file SchXMLPlotAreaContext.hxx.

Referenced by createFastChildContext(), and startFastElement().

OUString SchXMLPlotAreaContext::msAutoStyleName
private

Definition at line 127 of file SchXMLPlotAreaContext.hxx.

Referenced by startFastElement().

css::uno::Reference< css::chart::XDiagram > SchXMLPlotAreaContext::mxDiagram
private
css::uno::Reference< css::chart2::XChartDocument > SchXMLPlotAreaContext::mxNewDoc
private

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