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 &rLocalName, 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 void StartElement (const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 StartElement is called after a context has been constructed and before an elements context is parsed. More...
 
virtual SvXMLImportContextRef CreateChildContext (sal_uInt16 nPrefix, const OUString &rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttrList) override
 Create a children element context. More...
 
virtual void EndElement () override
 EndElement is called before a context will be destructed, but after an elements context has been parsed. More...
 
- Public Member Functions inherited from SvXMLImportContext
bool IsPrefixFilledIn () const
 
sal_uInt16 GetPrefix () const
 
const OUString & GetLocalName () const
 
 SvXMLImportContext (SvXMLImport &rImport, sal_uInt16 nPrfx, const OUString &rLName)
 A contexts constructor does anything that is required if an element starts. More...
 
 SvXMLImportContext (SvXMLImport &rImport)
 
virtual ~SvXMLImportContext ()
 A contexts destructor does anything that is required if an element ends. More...
 
virtual void Characters (const OUString &rChars)
 This method is called for all characters that are contained in the current element. 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
 
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
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) final override
 
virtual void SAL_CALL acquire () final override throw ()
 
virtual void SAL_CALL release () final override throw ()
 
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 84 of file SchXMLPlotAreaContext.hxx.

Constructor & Destructor Documentation

SchXMLPlotAreaContext::SchXMLPlotAreaContext ( SchXMLImportHelper rImpHelper,
SvXMLImport rImport,
const OUString &  rLocalName,
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

SvXMLImportContextRef SchXMLPlotAreaContext::CreateChildContext ( sal_uInt16  nPrefix,
const OUString &  rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList 
)
overridevirtual
void SchXMLPlotAreaContext::EndElement ( )
overridevirtual
void SchXMLPlotAreaContext::StartElement ( const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttrList)
overridevirtual

StartElement is called after a context has been constructed and before an elements context is parsed.

It may be used for actions that require virtual methods. The default is to do nothing.

Reimplemented from SvXMLImportContext.

Definition at line 209 of file SchXMLPlotAreaContext.cxx.

References XMLPropStyleContext::FillPropertySet(), SvXMLStylesContext::FindStyleChildContext(), SvXMLTokenMap::Get(), SchXMLImportHelper::GetAutoStylesContext(), SchXMLImportHelper::GetChartDocument(), SchXMLImportHelper::GetChartFamilyID(), SvXMLImportContext::GetImport(), SvXMLNamespaceMap::GetKeyByAttrName(), SvXMLImport::GetNamespaceMap(), SchXMLImportHelper::GetPlotAreaAttrTokenMap(), SchXMLTools::getPropertyFromContext(), xmloff::token::GetXMLToken(), uno::Any::hasValue(), i, SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0(), 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, TOOLS_INFO_EXCEPTION, xmloff::token::XML_BOTH, xmloff::token::XML_COLUMN, xmloff::token::XML_ROW, XML_TOK_PA_AMBIENT_COLOR, XML_TOK_PA_CHART_ADDRESS, XML_TOK_PA_DISTANCE, XML_TOK_PA_DS_HAS_LABELS, XML_TOK_PA_FOCAL_LENGTH, XML_TOK_PA_HEIGHT, XML_TOK_PA_LIGHTING_MODE, XML_TOK_PA_PROJECTION, XML_TOK_PA_SHADE_MODE, XML_TOK_PA_SHADOW_SLANT, XML_TOK_PA_STYLE_NAME, XML_TOK_PA_TRANSFORM, XML_TOK_PA_VPN, XML_TOK_PA_VRP, XML_TOK_PA_VUP, XML_TOK_PA_WIDTH, XML_TOK_PA_X, and XML_TOK_PA_Y.

Member Data Documentation

GlobalSeriesImportInfo SchXMLPlotAreaContext::m_aGlobalSeriesImportInfo
private

Definition at line 120 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aInnerPositioning
private

Definition at line 124 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

SchXMLPositionAttributesHelper SchXMLPlotAreaContext::m_aOuterPositioning
private

Definition at line 123 of file SchXMLPlotAreaContext.hxx.

Referenced by EndElement(), and StartElement().

bool SchXMLPlotAreaContext::m_bAxisPositionAttributeImported
private

Definition at line 126 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

bool& SchXMLPlotAreaContext::m_rbHasRangeAtPlotArea
private

Definition at line 130 of file SchXMLPlotAreaContext.hxx.

Referenced by SchXMLPlotAreaContext(), and StartElement().

const OUString& SchXMLPlotAreaContext::m_rXLinkHRefAttributeToIndicateDataProvider
private

Definition at line 128 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

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

Definition at line 114 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

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

Definition at line 139 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext().

OUString SchXMLPlotAreaContext::maChartTypeServiceName
private

Definition at line 134 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), EndElement(), and StartElement().

SchXML3DSceneAttributesHelper SchXMLPlotAreaContext::maSceneImportHelper
private
bool SchXMLPlotAreaContext::mbGlobalChartTypeUsedBySeries
private

Definition at line 138 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext().

bool SchXMLPlotAreaContext::mbPercentStacked
private

Definition at line 125 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and StartElement().

bool SchXMLPlotAreaContext::mbStockHasVolume
private

Definition at line 118 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), EndElement(), and StartElement().

sal_Int32 SchXMLPlotAreaContext::mnNumOfLinesProp
private

Definition at line 117 of file SchXMLPlotAreaContext.hxx.

Referenced by EndElement(), and StartElement().

sal_Int32 SchXMLPlotAreaContext::mnSeries
private

Definition at line 119 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext().

OUString& SchXMLPlotAreaContext::mrCategoriesAddress
private

Definition at line 115 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

OUString& SchXMLPlotAreaContext::mrChartAddress
private

Definition at line 129 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

bool& SchXMLPlotAreaContext::mrColHasLabels
private

Definition at line 131 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

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

Definition at line 133 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

SchXMLImportHelper& SchXMLPlotAreaContext::mrImportHelper
private

Definition at line 111 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), EndElement(), and StartElement().

tSchXMLLSequencesPerIndex& SchXMLPlotAreaContext::mrLSequencesPerIndex
private

Definition at line 136 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and EndElement().

bool& SchXMLPlotAreaContext::mrRowHasLabels
private

Definition at line 132 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

SeriesDefaultsAndStyles& SchXMLPlotAreaContext::mrSeriesDefaultsAndStyles
private

Definition at line 116 of file SchXMLPlotAreaContext.hxx.

Referenced by CreateChildContext(), and StartElement().

OUString SchXMLPlotAreaContext::msAutoStyleName
private

Definition at line 127 of file SchXMLPlotAreaContext.hxx.

Referenced by StartElement().

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: