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 const 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 const OUString &rSeriesStyleName,
285 ::std::vector< DataRowPointStyle >& rStyleVector,
286 const 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;
css::uno::Reference< css::chart::XStatisticDisplay > mxStockPropProvider
css::chart::ChartDataRowSource & mrDataRowSource
OUString maSeriesStyleName
SchXMLDataPointContext(SvXMLImport &rImport,::std::vector< DataRowPointStyle > &rStyleVector, const css::uno::Reference< css::chart2::XDataSeries > &xSeries, sal_Int32 &rIndex, bool bSymbolSizeForSeriesIsMissingInFile)
css::uno::Reference< css::chart::X3DDisplay > mxWallFloorSupplier
SchXMLStockContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, css::uno::Reference< css::chart::XDiagram > const &xDiagram, ContextType eContextType)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
css::uno::Reference< css::chart2::XChartDocument > mxNewDoc
SchXMLDataLabelContext(SvXMLImport &rImport, CustomLabelsInfo &rLabels, DataRowPointStyle &rDataLabel)
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)
bool & m_rbHasRangeAtPlotArea
OUStringBuffer maCharBuffer
virtual ~SchXMLDataPointContext() override
::std::vector< DataRowPointStyle > & mrStyleVector
SchXMLStatisticsObjectContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, const OUString &rSeriesStyleName,::std::vector< DataRowPointStyle > &rStyleVector, const css::uno::Reference< css::chart2::XDataSeries > &xSeries, ContextType eContextType, tSchXMLLSequencesPerIndex &rLSequencesPerIndex)
SchXMLImportHelper & mrImportHelper
SchXMLPositionAttributesHelper(SvXMLImport &rImporter)
css::awt::Size maChartSize
exports com.sun.star. chart2
ContextType meContextType
virtual ~SchXMLWallFloorContext() 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 ~SchXMLStatisticsObjectContext() override
bool m_bAxisPositionAttributeImported
::std::vector< SchXMLAxis > maAxes
void readPositioningAttribute(sal_Int32 nAttributeToken, std::string_view rValue)
SchXML3DSceneAttributesHelper(SvXMLImport &rImporter)
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 ...
OUString & mrChartAddress
SchXMLImportHelper & mrImportHelper
OUString & mrCategoriesAddress
virtual void SAL_CALL characters(const OUString &rChars) override
This method is called for all characters that are contained in the current element.
ContextType meContextType
::std::vector< OUString > & mrLabels
void getCameraDefaultFromDiagram(const css::uno::Reference< css::chart::XDiagram > &xDiagram)
const OUString & m_rXLinkHRefAttributeToIndicateDataProvider
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex
SchXMLWallFloorContext(SchXMLImportHelper &rImportHelper, SvXMLImport &rImport, css::uno::Reference< css::chart::XDiagram > const &xDiagram, ContextType eContextType)
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &AttrList) override
SchXMLCoordinateRegionContext(SvXMLImport &rImport, SchXMLPositionAttributesHelper &rPositioning)
void readAutomaticPositioningProperties(XMLPropStyleContext const *pPropStyleContext, const SvXMLStylesContext *pStylesCtxt)
SchXMLPositionAttributesHelper m_aInnerPositioning
virtual void SAL_CALL startFastElement(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
::std::vector< DataRowPointStyle > & mrStyleVector
SchXMLDataLabelSpanContext(SvXMLImport &rImport,::std::vector< OUString > &rLabels)
virtual ~SchXMLPlotAreaContext() override
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
DataRowPointStyle mDataLabel
css::awt::Point m_aPosition
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
element containing its data as element o...
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
bool mbGlobalChartTypeUsedBySeries
SchXMLPositionAttributesHelper & m_rPositioning
Used to store text content of a data point custom-label's fields and also the helper members that ind...
This class deliberately does not support XWeak, to improve performance when loading large documents...
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 ...
SchXMLPositionAttributesHelper m_aOuterPositioning
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 ...
SchXML3DSceneAttributesHelper maSceneImportHelper
::std::vector< OUString > & mrLabels
SeriesDefaultsAndStyles & mrSeriesDefaultsAndStyles
CustomLabelsInfo & mrLabels
css::awt::Rectangle getRectangle() const
SchXMLDataLabelParaContext(SvXMLImport &rImport,::std::vector< OUString > &rLabels)
OUString maChartTypeServiceName
GlobalSeriesImportInfo m_aGlobalSeriesImportInfo
virtual ~SchXMLStockContext() override
sal_Int32 mnNumOfLinesProp
DataRowPointStyle & mrDataLabelStyle
tSchXMLLSequencesPerIndex & mrLSequencesPerIndex
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
SchXMLImportHelper & mrImportHelper
SchXMLImportHelper & mrImportHelper
ContextType meContextType
::std::multimap< tSchXMLIndexWithPart, css::uno::Reference< css::chart2::data::XLabeledDataSequence > > tSchXMLLSequencesPerIndex
virtual ~SchXML3DSceneAttributesHelper()
virtual void SAL_CALL startFastElement(sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override
DataRowPointStyle mDataPoint
virtual ~SchXMLCoordinateRegionContext() override
css::uno::Reference< css::chart::XDiagram > mxDiagram