LibreOffice Module xmloff (master) 1
|
#include <SchXMLPlotAreaContext.hxx>
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, 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 | 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 |
endFastElement is called before a context will be destructed, but after an elements context has been parsed. More... | |
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 |
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 | |
SchXMLImportHelper & | mrImportHelper |
css::uno::Reference< css::chart::XDiagram > | mxDiagram |
css::uno::Reference< css::chart2::XChartDocument > | mxNewDoc |
::std::vector< SchXMLAxis > | maAxes |
OUString & | mrCategoriesAddress |
SeriesDefaultsAndStyles & | mrSeriesDefaultsAndStyles |
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 |
tSchXMLLSequencesPerIndex & | mrLSequencesPerIndex |
bool | mbGlobalChartTypeUsedBySeries |
css::awt::Size | maChartSize |
Additional Inherited Members | |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 82 of file SchXMLPlotAreaContext.hxx.
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, | ||
OUString | aChartTypeServiceName, | ||
tSchXMLLSequencesPerIndex & | rLSequencesPerIndex, | ||
const css::awt::Size & | rChartSize | ||
) |
Definition at line 122 of file SchXMLPlotAreaContext.cxx.
References SchXML3DSceneAttributesHelper::getCameraDefaultFromDiagram(), SchXMLImportHelper::GetChartDocument(), m_rbHasRangeAtPlotArea, maSceneImportHelper, mxDiagram, mxNewDoc, SAL_WARN, and SAL_WARN_IF.
|
overridevirtual |
Definition at line 208 of file SchXMLPlotAreaContext.cxx.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 404 of file SchXMLPlotAreaContext.cxx.
References CHART, SchXMLWallFloorContext::CONTEXT_TYPE_FLOOR, SchXMLStockContext::CONTEXT_TYPE_GAIN, SchXMLStockContext::CONTEXT_TYPE_LOSS, SchXMLStockContext::CONTEXT_TYPE_RANGE, SchXMLWallFloorContext::CONTEXT_TYPE_WALL, SdXML3DSceneAttributesHelper::create3DLightContext(), SvXMLImportContext::GetImport(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_4(), m_aGlobalSeriesImportInfo, m_aInnerPositioning, m_bAxisPositionAttributeImported, maAxes, maChartSize, maChartTypeServiceName, SeriesDefaultsAndStyles::maRegressionStyleVector, maSceneImportHelper, SeriesDefaultsAndStyles::maSeriesStyleVector, mbGlobalChartTypeUsedBySeries, mbPercentStacked, mbStockHasVolume, mnSeries, mrCategoriesAddress, mrImportHelper, mrLSequencesPerIndex, mrSeriesDefaultsAndStyles, mxDiagram, mxNewDoc, xmloff::token::XML_AXIS, xmloff::token::XML_COORDINATE_REGION, XML_ELEMENT, xmloff::token::XML_FLOOR, xmloff::token::XML_LIGHT, xmloff::token::XML_SERIES, xmloff::token::XML_STOCK_GAIN_MARKER, xmloff::token::XML_STOCK_LOSS_MARKER, xmloff::token::XML_STOCK_RANGE_LINE, xmloff::token::XML_WALL, and XMLOFF_WARN_UNKNOWN_ELEMENT.
|
overridevirtual |
endFastElement is called before a context will be destructed, but after an elements context has been parsed.
It may be used for actions that require virtual methods. The default is to do nothing.
Reimplemented from SvXMLImportContext.
Definition at line 503 of file SchXMLPlotAreaContext.cxx.
References SchXMLAxisContext::CorrectAxisPositions(), SchXMLTools::CreateCategories(), SchXMLImportHelper::GetChartDocument(), SvXMLImportContext::GetImport(), SchXMLPositionAttributesHelper::getRectangle(), SchXMLPositionAttributesHelper::hasPosSize(), SchXMLPositionAttributesHelper::isAutomatic(), SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_3(), m_aGlobalSeriesImportInfo, m_aInnerPositioning, m_aOuterPositioning, m_bAxisPositionAttributeImported, maAxes, maChartTypeServiceName, maSceneImportHelper, mbStockHasVolume, mnNumOfLinesProp, mrCategoriesAddress, mrImportHelper, mrLSequencesPerIndex, mxDiagram, mxNewDoc, GlobalSeriesImportInfo::rbAllRangeAddressesAvailable, SdXML3DSceneAttributesHelper::setSceneAttributes(), and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 211 of file SchXMLPlotAreaContext.cxx.
References aPropName, 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.
|
private |
Definition at line 119 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 123 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 122 of file SchXMLPlotAreaContext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 125 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 129 of file SchXMLPlotAreaContext.hxx.
Referenced by SchXMLPlotAreaContext(), and startFastElement().
|
private |
Definition at line 127 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 113 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 138 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext().
|
private |
Definition at line 133 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), and startFastElement().
|
private |
Definition at line 121 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), SchXMLPlotAreaContext(), and startFastElement().
|
private |
Definition at line 137 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext().
|
private |
Definition at line 124 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and startFastElement().
|
private |
Definition at line 117 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), and startFastElement().
|
private |
Definition at line 116 of file SchXMLPlotAreaContext.hxx.
Referenced by endFastElement(), and startFastElement().
|
private |
Definition at line 118 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext().
|
private |
Definition at line 114 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 128 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 130 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 132 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 110 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), and startFastElement().
|
private |
Definition at line 135 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and endFastElement().
|
private |
Definition at line 131 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 115 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), and startFastElement().
|
private |
Definition at line 126 of file SchXMLPlotAreaContext.hxx.
Referenced by startFastElement().
|
private |
Definition at line 111 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), SchXMLPlotAreaContext(), and startFastElement().
|
private |
Definition at line 112 of file SchXMLPlotAreaContext.hxx.
Referenced by createFastChildContext(), endFastElement(), SchXMLPlotAreaContext(), and startFastElement().