|
LibreOffice Module xmloff (master) 1
|
Typedefs | |
| typedef std::map< OUString, OUString > | tMakeStringStringMap |
Functions | |
| SchXMLChartTypeEnum | GetChartTypeEnum (std::u16string_view rClassName) |
| static const tMakeStringStringMap & | lcl_getChartTypeNameMap () |
| OUString | GetNewChartTypeName (const OUString &rOldChartTypeName) |
| OUString | GetChartTypeByClassName (std::u16string_view rClassName, bool bUseOldNames) |
| XMLTokenEnum | getTokenByChartType (std::u16string_view rChartTypeService, bool bUseOldNames) |
| Reference< chart2::data::XLabeledDataSequence2 > | GetNewLabeledDataSequence () |
| Reference< chart2::data::XDataSequence > | CreateDataSequence (const OUString &rRange, const Reference< chart2::XChartDocument > &xChartDoc) |
| Reference< chart2::data::XDataSequence > | CreateDataSequenceWithoutConvert (const OUString &rRange, const Reference< chart2::XChartDocument > &xChartDoc) |
| void | CreateCategories (const uno::Reference< chart2::data::XDataProvider > &xDataProvider, const uno::Reference< chart2::XChartDocument > &xNewDoc, const OUString &rRangeAddress, sal_Int32 nCooSysIndex, sal_Int32 nDimensionIndex, tSchXMLLSequencesPerIndex *pLSequencesPerIndex) |
| uno::Any | getPropertyFromContext (std::u16string_view rPropertyName, const XMLPropStyleContext *pPropStyleContext, const SvXMLStylesContext *pStylesCtxt) |
| void | exportText (SvXMLExport &rExport, const OUString &rText, bool bConvertTabsLFs) |
| void | exportRangeToSomewhere (SvXMLExport &rExport, const OUString &rValue) |
| void | setXMLRangePropertyAtDataSequence (const Reference< chart2::data::XDataSequence > &xDataSequence, const OUString &rXMLRange) |
| bool | getXMLRangePropertyFromDataSequence (const Reference< chart2::data::XDataSequence > &xDataSequence, OUString &rOutXMLRange, bool bClearProp) |
| void | copyProperties (const Reference< beans::XPropertySet > &xSource, const Reference< beans::XPropertySet > &xDestination) |
| bool | switchBackToDataProviderFromParent (const Reference< chart2::XChartDocument > &xChartDoc, const tSchXMLLSequencesPerIndex &rLSequencesPerIndex) |
| void | setBuildIDAtImportInfo (const uno::Reference< frame::XModel > &xModel, const Reference< beans::XPropertySet > &xImportInfo) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan3_3 (const uno::Reference< frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan3_0 (const uno::Reference< frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan2_4 (const uno::Reference< frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan2_3 (const uno::Reference< frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan2_0 (const css::uno::Reference< css::frame::XModel > &xChartModel) |
| Reference< chart2::data::XDataProvider > | getDataProviderFromParent (const Reference< chart2::XChartDocument > &xChartDoc) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan2_3 (const css::uno::Reference< css::frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan2_4 (const css::uno::Reference< css::frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan3_0 (const css::uno::Reference< css::frame::XModel > &xChartModel) |
| bool | isDocumentGeneratedWithOpenOfficeOlderThan3_3 (const css::uno::Reference< css::frame::XModel > &xChartModel) |
| void | setBuildIDAtImportInfo (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::beans::XPropertySet > &xImportInfo) |
| css::uno::Reference< css::chart2::data::XDataSequence > | CreateDataSequence (const OUString &rRange, const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc) |
| css::uno::Reference< css::chart2::data::XDataSequence > | CreateDataSequenceWithoutConvert (const OUString &rRange, const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc) |
| void | CreateCategories (const css::uno::Reference< css::chart2::data::XDataProvider > &xDataProvider, const css::uno::Reference< css::chart2::XChartDocument > &xNewDoc, const OUString &rRangeAddress, sal_Int32 nCooSysIndex, sal_Int32 nDimensionIndex, tSchXMLLSequencesPerIndex *pLSequencesPerIndex=nullptr) |
| void | setXMLRangePropertyAtDataSequence (const css::uno::Reference< css::chart2::data::XDataSequence > &xDataSequence, const OUString &rXMLRange) |
| checks if the data sequence has the property "CachedXMLRange" (true for internal data sequences), and if so sets this property to the range given in rXMLRange More... | |
| bool | getXMLRangePropertyFromDataSequence (const css::uno::Reference< css::chart2::data::XDataSequence > &xDataSequence, OUString &rOutXMLRange, bool bClearProp) |
| checks if the data sequence has the property "CachedXMLRange" (true for internal data sequences), and if so retrieves this property and applies it to the range given in rOutXMLRange. More... | |
| css::uno::Reference< css::chart2::data::XDataProvider > | getDataProviderFromParent (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc) |
| bool | switchBackToDataProviderFromParent (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, const tSchXMLLSequencesPerIndex &rLSequencesPerIndex) |
| void | copyProperties (const css::uno::Reference< css::beans::XPropertySet > &xSource, const css::uno::Reference< css::beans::XPropertySet > &xDestination) |
Variables | |
| const SvXMLEnumMapEntry< SchXMLChartTypeEnum > | aXMLChartClassMap [] |
| typedef std::map< OUString, OUString > SchXMLTools::tMakeStringStringMap |
Definition at line 156 of file SchXMLTools.cxx.
Definition at line 53 of file SchXMLTools.hxx.
| void SchXMLTools::copyProperties | ( | const css::uno::Reference< css::beans::XPropertySet > & | xSource, |
| const css::uno::Reference< css::beans::XPropertySet > & | xDestination | ||
| ) |
| void SchXMLTools::copyProperties | ( | const Reference< beans::XPropertySet > & | xSource, |
| const Reference< beans::XPropertySet > & | xDestination | ||
| ) |
Definition at line 676 of file SchXMLTools.cxx.
References aName, aProperties, and SAL_WARN.
Referenced by SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary().
| void SchXMLTools::CreateCategories | ( | const css::uno::Reference< css::chart2::data::XDataProvider > & | xDataProvider, |
| const css::uno::Reference< css::chart2::XChartDocument > & | xNewDoc, | ||
| const OUString & | rRangeAddress, | ||
| sal_Int32 | nCooSysIndex, | ||
| sal_Int32 | nDimensionIndex, | ||
| tSchXMLLSequencesPerIndex * | pLSequencesPerIndex = nullptr |
||
| ) |
| void SchXMLTools::CreateCategories | ( | const uno::Reference< chart2::data::XDataProvider > & | xDataProvider, |
| const uno::Reference< chart2::XChartDocument > & | xNewDoc, | ||
| const OUString & | rRangeAddress, | ||
| sal_Int32 | nCooSysIndex, | ||
| sal_Int32 | nDimensionIndex, | ||
| tSchXMLLSequencesPerIndex * | pLSequencesPerIndex | ||
| ) |
Definition at line 438 of file SchXMLTools.cxx.
References aData, DBG_UNHANDLED_EXCEPTION, GetNewLabeledDataSequence(), SAL_WARN_IF, SCH_XML_CATEGORIES_INDEX, SCH_XML_PART_VALUES, setXMLRangePropertyAtDataSequence(), and TOOLS_WARN_EXCEPTION.
Referenced by SchXMLPlotAreaContext::endFastElement(), and SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary().
| css::uno::Reference< css::chart2::data::XDataSequence > SchXMLTools::CreateDataSequence | ( | const OUString & | rRange, |
| const css::uno::Reference< css::chart2::XChartDocument > & | xChartDoc | ||
| ) |
| Reference< chart2::data::XDataSequence > SchXMLTools::CreateDataSequence | ( | const OUString & | rRange, |
| const Reference< chart2::XChartDocument > & | xChartDoc | ||
| ) |
Definition at line 339 of file SchXMLTools.cxx.
References any, SAL_WARN, and setXMLRangePropertyAtDataSequence().
Referenced by SchXMLSeries2Context::startFastElement().
| css::uno::Reference< css::chart2::data::XDataSequence > SchXMLTools::CreateDataSequenceWithoutConvert | ( | const OUString & | rRange, |
| const css::uno::Reference< css::chart2::XChartDocument > & | xChartDoc | ||
| ) |
| Reference< chart2::data::XDataSequence > SchXMLTools::CreateDataSequenceWithoutConvert | ( | const OUString & | rRange, |
| const Reference< chart2::XChartDocument > & | xChartDoc | ||
| ) |
Definition at line 406 of file SchXMLTools.cxx.
References SAL_WARN, and setXMLRangePropertyAtDataSequence().
Referenced by SchXMLSeries2Context::startFastElement().
| void SchXMLTools::exportRangeToSomewhere | ( | SvXMLExport & | rExport, |
| const OUString & | rValue | ||
| ) |
Definition at line 603 of file SchXMLTools.cxx.
References SvXMLExport::GetDocHandler(), SvXMLExport::getSaneDefaultVersion(), xmloff::token::GetXMLToken(), SvtSaveOptions::ODFSVER_010, SvtSaveOptions::ODFSVER_011, xmloff::token::XML_DESC, xmloff::token::XML_G, XML_NAMESPACE_DRAW, and XML_NAMESPACE_SVG.
Referenced by SchXMLExportHelper_Impl::exportTable().
| void SchXMLTools::exportText | ( | SvXMLExport & | rExport, |
| const OUString & | rText, | ||
| bool | bConvertTabsLFs | ||
| ) |
Definition at line 547 of file SchXMLTools.cxx.
References SvXMLExport::GetDocHandler(), xmloff::token::GetXMLToken(), nPos, xmloff::token::XML_LINE_BREAK, XML_NAMESPACE_TEXT, xmloff::token::XML_P, and xmloff::token::XML_TAB_STOP.
Referenced by XMLTextParagraphExport::collectTextAutoStyles(), XMLTextParagraphExport::exportText(), SchXMLExportHelper_Impl::exportText(), XMLChartExportPropertyMapper::handleElementItem(), and lcl_exportComplexLabel().
| OUString SchXMLTools::GetChartTypeByClassName | ( | std::u16string_view | rClassName, |
| bool | bUseOldNames | ||
| ) |
Definition at line 198 of file SchXMLTools.cxx.
References xmloff::token::IsXMLToken(), xmloff::token::XML_AREA, xmloff::token::XML_BAR, xmloff::token::XML_BUBBLE, xmloff::token::XML_CIRCLE, xmloff::token::XML_FILLED_RADAR, xmloff::token::XML_LINE, xmloff::token::XML_RADAR, xmloff::token::XML_RING, xmloff::token::XML_SCATTER, xmloff::token::XML_STOCK, and xmloff::token::XML_SURFACE.
Referenced by SchXMLChartContext::startFastElement(), and SchXMLSeries2Context::startFastElement().
| SchXMLChartTypeEnum SchXMLTools::GetChartTypeEnum | ( | std::u16string_view | rClassName | ) |
Definition at line 149 of file SchXMLTools.cxx.
References aXMLChartClassMap, SvXMLUnitConverter::convertEnum(), and XML_CHART_CLASS_UNKNOWN.
Referenced by SchXMLChartContext::startFastElement().
| css::uno::Reference< css::chart2::data::XDataProvider > SchXMLTools::getDataProviderFromParent | ( | const css::uno::Reference< css::chart2::XChartDocument > & | xChartDoc | ) |
| Reference< chart2::data::XDataProvider > SchXMLTools::getDataProviderFromParent | ( | const Reference< chart2::XChartDocument > & | xChartDoc | ) |
Definition at line 834 of file SchXMLTools.cxx.
References aServiceNames, and u.
Referenced by switchBackToDataProviderFromParent().
| OUString SchXMLTools::GetNewChartTypeName | ( | const OUString & | rOldChartTypeName | ) |
Definition at line 185 of file SchXMLTools.cxx.
References lcl_getChartTypeNameMap().
Referenced by SchXMLChartContext::startFastElement().
| css::uno::Reference< css::chart2::data::XLabeledDataSequence2 > SchXMLTools::GetNewLabeledDataSequence | ( | ) |
Definition at line 332 of file SchXMLTools.cxx.
References comphelper::getProcessComponentContext().
Referenced by CreateCategories(), and SchXMLSeries2Context::startFastElement().
| css::uno::Any SchXMLTools::getPropertyFromContext | ( | std::u16string_view | rPropertyName, |
| const XMLPropStyleContext * | pPropStyleContext, | ||
| const SvXMLStylesContext * | pStylesCtxt | ||
| ) |
Definition at line 528 of file SchXMLTools.cxx.
References aPropName, SvXMLStyleContext::GetFamily(), SvXMLStylesContext::GetImportPropertyMapper(), and XMLPropStyleContext::GetProperties().
Referenced by SchXMLAxisContext::CreateAxis(), SchXMLPositionAttributesHelper::readAutomaticPositioningProperties(), SchXMLSeries2Context::setStylesToDataPoints(), SchXMLSeries2Context::setStylesToRegressionCurves(), SchXMLSeries2Context::setStylesToSeries(), SchXMLPlotAreaContext::startFastElement(), and SchXMLSeries2Context::startFastElement().
| xmloff::token::XMLTokenEnum SchXMLTools::getTokenByChartType | ( | std::u16string_view | rChartTypeService, |
| bool | bUseOldNames | ||
| ) |
Definition at line 273 of file SchXMLTools.cxx.
References SAL_WARN_IF, o3tl::starts_with(), u, xmloff::token::XML_ADD_IN, xmloff::token::XML_AREA, xmloff::token::XML_BAR, xmloff::token::XML_BUBBLE, xmloff::token::XML_CIRCLE, xmloff::token::XML_FILLED_RADAR, xmloff::token::XML_LINE, xmloff::token::XML_RADAR, xmloff::token::XML_RING, xmloff::token::XML_SCATTER, xmloff::token::XML_STOCK, and xmloff::token::XML_TOKEN_INVALID.
Referenced by SchXMLExportHelper_Impl::exportSeries(), and SchXMLExportHelper_Impl::parseDocument().
| bool SchXMLTools::getXMLRangePropertyFromDataSequence | ( | const css::uno::Reference< css::chart2::data::XDataSequence > & | xDataSequence, |
| OUString & | rOutXMLRange, | ||
| bool | bClearProp | ||
| ) |
checks if the data sequence has the property "CachedXMLRange" (true for internal data sequences), and if so retrieves this property and applies it to the range given in rOutXMLRange.
| bClearProp | If true, the property is reset to its default after it was assigned to rOutXMLRange |
| bool SchXMLTools::getXMLRangePropertyFromDataSequence | ( | const Reference< chart2::data::XDataSequence > & | xDataSequence, |
| OUString & | rOutXMLRange, | ||
| bool | bClearProp | ||
| ) |
Definition at line 647 of file SchXMLTools.cxx.
References DBG_UNHANDLED_EXCEPTION, and u.
Referenced by SchXMLTableHelper::switchRangesFromOuterToInternalIfNecessary().
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_0 | ( | const css::uno::Reference< css::frame::XModel > & | xChartModel | ) |
Definition at line 820 of file SchXMLTools.cxx.
Referenced by isDocumentGeneratedWithOpenOfficeOlderThan2_3().
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3 | ( | const css::uno::Reference< css::frame::XModel > & | xChartModel | ) |
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3 | ( | const uno::Reference< frame::XModel > & | xChartModel | ) |
Definition at line 792 of file SchXMLTools.cxx.
References isDocumentGeneratedWithOpenOfficeOlderThan2_0().
Referenced by SchXMLPlotAreaContext::createFastChildContext(), SchXMLChartContext::endFastElement(), SchXMLSeries2Context::endFastElement(), isDocumentGeneratedWithOpenOfficeOlderThan2_4(), isDocumentGeneratedWithOpenOfficeOlderThan3_0(), and SchXMLPlotAreaContext::startFastElement().
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_4 | ( | const css::uno::Reference< css::frame::XModel > & | xChartModel | ) |
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_4 | ( | const uno::Reference< frame::XModel > & | xChartModel | ) |
Definition at line 778 of file SchXMLTools.cxx.
References isDocumentGeneratedWithOpenOfficeOlderThan2_3(), and isDocumentGeneratedWithOpenOfficeOlderThan3_0().
Referenced by SchXMLPlotAreaContext::createFastChildContext().
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0 | ( | const css::uno::Reference< css::frame::XModel > & | xChartModel | ) |
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0 | ( | const uno::Reference< frame::XModel > & | xChartModel | ) |
Definition at line 766 of file SchXMLTools.cxx.
References isDocumentGeneratedWithOpenOfficeOlderThan2_3().
Referenced by isDocumentGeneratedWithOpenOfficeOlderThan2_4(), isDocumentGeneratedWithOpenOfficeOlderThan3_3(), and SchXMLPlotAreaContext::startFastElement().
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_3 | ( | const css::uno::Reference< css::frame::XModel > & | xChartModel | ) |
| bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_3 | ( | const uno::Reference< frame::XModel > & | xChartModel | ) |
Definition at line 743 of file SchXMLTools.cxx.
References isDocumentGeneratedWithOpenOfficeOlderThan3_0().
Referenced by SchXMLPlotAreaContext::endFastElement().
|
static |
Definition at line 158 of file SchXMLTools.cxx.
Referenced by GetNewChartTypeName().
| void SchXMLTools::setBuildIDAtImportInfo | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
| const css::uno::Reference< css::beans::XPropertySet > & | xImportInfo | ||
| ) |
| void SchXMLTools::setBuildIDAtImportInfo | ( | const uno::Reference< frame::XModel > & | xModel, |
| const Reference< beans::XPropertySet > & | xImportInfo | ||
| ) |
Definition at line 736 of file SchXMLTools.cxx.
References SvXMLMetaDocumentContext::setBuildId(), and xModel.
Referenced by SchXMLImport::CreateStylesContext().
| void SchXMLTools::setXMLRangePropertyAtDataSequence | ( | const css::uno::Reference< css::chart2::data::XDataSequence > & | xDataSequence, |
| const OUString & | rXMLRange | ||
| ) |
checks if the data sequence has the property "CachedXMLRange" (true for internal data sequences), and if so sets this property to the range given in rXMLRange
| void SchXMLTools::setXMLRangePropertyAtDataSequence | ( | const Reference< chart2::data::XDataSequence > & | xDataSequence, |
| const OUString & | rXMLRange | ||
| ) |
Definition at line 627 of file SchXMLTools.cxx.
References DBG_UNHANDLED_EXCEPTION, and u.
Referenced by CreateCategories(), CreateDataSequence(), CreateDataSequenceWithoutConvert(), and lcl_setErrorBarSequence().
| bool SchXMLTools::switchBackToDataProviderFromParent | ( | const css::uno::Reference< css::chart2::XChartDocument > & | xChartDoc, |
| const tSchXMLLSequencesPerIndex & | rLSequencesPerIndex | ||
| ) |
| bool SchXMLTools::switchBackToDataProviderFromParent | ( | const Reference< chart2::XChartDocument > & | xChartDoc, |
| const tSchXMLLSequencesPerIndex & | rLSequencesPerIndex | ||
| ) |
Definition at line 706 of file SchXMLTools.cxx.
References getDataProviderFromParent().
Referenced by SchXMLChartContext::endFastElement().
| const SvXMLEnumMapEntry<SchXMLChartTypeEnum> SchXMLTools::aXMLChartClassMap[] |
Definition at line 132 of file SchXMLTools.cxx.
Referenced by GetChartTypeEnum().