22#include <rtl/ustrbuf.hxx>
26#include <com/sun/star/awt/Rectangle.hpp>
27#include <com/sun/star/chart/ChartDataRowSource.hpp>
37 class XStatisticDisplay;
87 const OUString& rXLinkHRefAttributeToIndicateDataProvider,
88 OUString& rCategoriesAddress,
89 OUString& rChartAddress,
90 bool& bHasRangeAtPlotArea,
91 bool & rAllRangeAddressesAvailable,
94 css::chart::ChartDataRowSource & rDataRowSource,
96 OUString aChartTypeServiceName,
98 const css::awt::Size & rChartSize );
103 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
106 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
107 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
112 css::uno::Reference< css::chart2::XChartDocument >
mxNewDoc;
148 virtual void SAL_CALL
characters(
const OUString& rChars )
override;
149 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
160 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
174 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
178 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
193 ::std::vector< DataRowPointStyle >& rStyleVector,
194 const css::uno::Reference< css::chart2::XDataSeries >& xSeries,
196 bool bSymbolSizeForSeriesIsMissingInFile );
201 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
204 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
205 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
217 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
240 css::uno::Reference< css::chart::XDiagram >
const & xDiagram,
244 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
265 css::uno::Reference< css::chart::XDiagram >
const & xDiagram,
269 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
284 OUString aSeriesStyleName,
285 ::std::vector< DataRowPointStyle >& rStyleVector,
286 css::uno::Reference< css::chart2::XDataSeries > xSeries,
293 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
298 css::uno::Reference< css::chart2::XDataSeries >
m_xSeries;
virtual ~SchXML3DSceneAttributesHelper()
void getCameraDefaultFromDiagram(const css::uno::Reference< css::chart::XDiagram > &xDiagram)
SchXML3DSceneAttributesHelper(SvXMLImport &rImporter)
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
virtual ~SchXMLCoordinateRegionContext() override
SchXMLCoordinateRegionContext(SvXMLImport &rImport, SchXMLPositionAttributesHelper &rPositioning)
SchXMLPositionAttributesHelper & m_rPositioning
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
DataRowPointStyle & mrDataLabelStyle
SchXMLDataLabelContext(SvXMLImport &rImport, CustomLabelsInfo &rLabels, DataRowPointStyle &rDataLabel)
CustomLabelsInfo & mrLabels
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
SchXMLDataLabelParaContext(SvXMLImport &rImport, ::std::vector< OUString > &rLabels)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
::std::vector< OUString > & mrLabels
virtual void SAL_CALL characters(const OUString &rChars) override
This method is called for all characters that are contained in the current element.
SchXMLDataLabelSpanContext(SvXMLImport &rImport, ::std::vector< OUString > &rLabels)
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 ...
OUStringBuffer maCharBuffer
::std::vector< OUString > & mrLabels
virtual ~SchXMLDataPointContext() override
::std::vector< DataRowPointStyle > & mrStyleVector
DataRowPointStyle mDataLabel
SchXMLDataPointContext(SvXMLImport &rImport, ::std::vector< DataRowPointStyle > &rStyleVector, const css::uno::Reference< css::chart2::XDataSeries > &xSeries, sal_Int32 &rIndex, bool bSymbolSizeForSeriesIsMissingInFile)
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 ...
DataRowPointStyle mDataPoint
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
With this class you can import a <chart:chart> element containing its data as <table:table> element o...
css::chart::ChartDataRowSource & mrDataRowSource
::std::vector< SchXMLAxis > maAxes
bool m_bAxisPositionAttributeImported
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
SchXML3DSceneAttributesHelper maSceneImportHelper
OUString maChartTypeServiceName
css::awt::Size maChartSize
css::uno::Reference< css::chart::XDiagram > mxDiagram
SchXMLPositionAttributesHelper m_aOuterPositioning
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
sal_Int32 mnNumOfLinesProp
SchXMLImportHelper & mrImportHelper
bool & m_rbHasRangeAtPlotArea
GlobalSeriesImportInfo m_aGlobalSeriesImportInfo
css::uno::Reference< css::chart2::XChartDocument > mxNewDoc
bool mbGlobalChartTypeUsedBySeries
SchXMLPositionAttributesHelper m_aInnerPositioning
virtual ~SchXMLPlotAreaContext() override
const OUString & m_rXLinkHRefAttributeToIndicateDataProvider
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)
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex
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 ...
SeriesDefaultsAndStyles & mrSeriesDefaultsAndStyles
OUString & mrChartAddress
OUString & mrCategoriesAddress
void readPositioningAttribute(sal_Int32 nAttributeToken, std::string_view rValue)
void readAutomaticPositioningProperties(XMLPropStyleContext const *pPropStyleContext, const SvXMLStylesContext *pStylesCtxt)
SchXMLPositionAttributesHelper(SvXMLImport &rImporter)
css::awt::Point m_aPosition
css::awt::Rectangle getRectangle() const
@ CONTEXT_TYPE_MEAN_VALUE_LINE
@ CONTEXT_TYPE_ERROR_INDICATOR
OUString maSeriesStyleName
ContextType meContextType
css::uno::Reference< css::chart2::XDataSeries > m_xSeries
virtual void SAL_CALL startFastElement(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex
SchXMLImportHelper & mrImportHelper
::std::vector< DataRowPointStyle > & mrStyleVector
virtual ~SchXMLStatisticsObjectContext() override
SchXMLStatisticsObjectContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, OUString aSeriesStyleName, ::std::vector< DataRowPointStyle > &rStyleVector, css::uno::Reference< css::chart2::XDataSeries > xSeries, ContextType eContextType, tSchXMLLSequencesPerIndex &rLSequencesPerIndex)
SchXMLStockContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, css::uno::Reference< css::chart::XDiagram > const &xDiagram, ContextType eContextType)
SchXMLImportHelper & mrImportHelper
virtual ~SchXMLStockContext() override
virtual void SAL_CALL startFastElement(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
css::uno::Reference< css::chart::XStatisticDisplay > mxStockPropProvider
ContextType meContextType
SchXMLImportHelper & mrImportHelper
css::uno::Reference< css::chart::X3DDisplay > mxWallFloorSupplier
virtual void SAL_CALL startFastElement(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
SchXMLWallFloorContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, css::uno::Reference< css::chart::XDiagram > const &xDiagram, ContextType eContextType)
ContextType meContextType
virtual ~SchXMLWallFloorContext() override
This class deliberately does not support XWeak, to improve performance when loading large documents.
Used to store text content of a data point custom-label's fields and also the helper members that ind...
::std::multimap< tSchXMLIndexWithPart, css::uno::Reference< css::chart2::data::XLabeledDataSequence > > tSchXMLLSequencesPerIndex