19 #ifndef INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX
20 #define INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX
23 #include <rtl/ustrbuf.hxx>
27 #include <com/sun/star/awt/Rectangle.hpp>
28 #include <com/sun/star/chart/ChartDataRowSource.hpp>
38 class XStatisticDisplay;
89 const OUString& rXLinkHRefAttributeToIndicateDataProvider,
90 OUString& rCategoriesAddress,
91 OUString& rChartAddress,
92 bool& bHasRangeAtPlotArea,
93 bool & rAllRangeAddressesAvailable,
96 css::chart::ChartDataRowSource & rDataRowSource,
98 const OUString& aChartTypeServiceName,
100 const css::awt::Size & rChartSize );
105 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
108 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
109 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
114 css::uno::Reference< css::chart2::XChartDocument >
mxNewDoc;
150 virtual void SAL_CALL
characters(
const OUString& rChars )
override;
151 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
162 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
176 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
180 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
195 ::std::vector< DataRowPointStyle >& rStyleVector,
196 const css::uno::Reference< css::chart2::XDataSeries >& xSeries,
198 bool bSymbolSizeForSeriesIsMissingInFile );
203 const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList )
override;
206 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
207 virtual void SAL_CALL
endFastElement(sal_Int32 nElement)
override;
219 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
override;
242 css::uno::Reference< css::chart::XDiagram >
const & xDiagram,
246 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
267 css::uno::Reference< css::chart::XDiagram >
const & xDiagram,
271 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
286 const OUString &rSeriesStyleName,
287 ::std::vector< DataRowPointStyle >& rStyleVector,
288 const css::uno::Reference< css::chart2::XDataSeries >& xSeries,
295 const css::uno::Reference< css::xml::sax::XFastAttributeList >& Attribs)
override;
300 css::uno::Reference< css::chart2::XDataSeries >
m_xSeries;
306 #endif // INCLUDED_XMLOFF_SOURCE_CHART_SCHXMLPLOTAREACONTEXT_HXX
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
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
css::uno::Any const & rValue
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
::std::vector< OUString > & mrLabels
SchXMLDataLabelContext(SvXMLImport &rImport,::std::vector< OUString > &rLabels, DataRowPointStyle &rDataLabel)
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
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
~SchXMLPositionAttributesHelper()
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
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