LibreOffice Module xmloff (master)  1
Namespaces | Typedefs | Functions | Variables
SchXMLTools.cxx File Reference
#include "SchXMLTools.hxx"
#include <rtl/ustrbuf.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmlement.hxx>
#include <xmloff/xmlimppr.hxx>
#include <xmloff/prstylei.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlexp.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/maptype.hxx>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/chart2/data/LabeledDataSequence.hpp>
#include <com/sun/star/chart2/data/XDataProvider.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/chart2/data/XRangeXMLConversion.hpp>
#include <com/sun/star/chart2/data/XPivotTableDataProvider.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <comphelper/processfactory.hxx>
#include <tools/diagnose_ex.h>
#include <sal/log.hxx>
#include <algorithm>
#include <map>
Include dependency graph for SchXMLTools.cxx:

Go to the source code of this file.

Namespaces

 SchXMLTools
 

Typedefs

typedef std::map< OUString, OUString > SchXMLTools::tMakeStringStringMap
 

Functions

SchXMLChartTypeEnum SchXMLTools::GetChartTypeEnum (std::u16string_view rClassName)
 
static const tMakeStringStringMap & SchXMLTools::lcl_getChartTypeNameMap ()
 
OUString SchXMLTools::GetNewChartTypeName (const OUString &rOldChartTypeName)
 
OUString SchXMLTools::GetChartTypeByClassName (std::u16string_view rClassName, bool bUseOldNames)
 
XMLTokenEnum SchXMLTools::getTokenByChartType (const OUString &rChartTypeService, bool bUseOldNames)
 
Reference< chart2::data::XLabeledDataSequence2 > SchXMLTools::GetNewLabeledDataSequence ()
 
Reference< chart2::data::XDataSequence > SchXMLTools::CreateDataSequence (const OUString &rRange, const Reference< chart2::XChartDocument > &xChartDoc)
 
Reference< chart2::data::XDataSequence > SchXMLTools::CreateDataSequenceWithoutConvert (const OUString &rRange, const Reference< chart2::XChartDocument > &xChartDoc)
 
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)
 
uno::Any SchXMLTools::getPropertyFromContext (std::u16string_view rPropertyName, const XMLPropStyleContext *pPropStyleContext, const SvXMLStylesContext *pStylesCtxt)
 
void SchXMLTools::exportText (SvXMLExport &rExport, const OUString &rText, bool bConvertTabsLFs)
 
void SchXMLTools::exportRangeToSomewhere (SvXMLExport &rExport, const OUString &rValue)
 
void SchXMLTools::setXMLRangePropertyAtDataSequence (const Reference< chart2::data::XDataSequence > &xDataSequence, const OUString &rXMLRange)
 
bool SchXMLTools::getXMLRangePropertyFromDataSequence (const Reference< chart2::data::XDataSequence > &xDataSequence, OUString &rOutXMLRange, bool bClearProp)
 
void SchXMLTools::copyProperties (const Reference< beans::XPropertySet > &xSource, const Reference< beans::XPropertySet > &xDestination)
 
bool SchXMLTools::switchBackToDataProviderFromParent (const Reference< chart2::XChartDocument > &xChartDoc, const tSchXMLLSequencesPerIndex &rLSequencesPerIndex)
 
void SchXMLTools::setBuildIDAtImportInfo (const uno::Reference< frame::XModel > &xModel, const Reference< beans::XPropertySet > &xImportInfo)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_3 (const uno::Reference< frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0 (const uno::Reference< frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_4 (const uno::Reference< frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3 (const uno::Reference< frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_0 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
Reference< chart2::data::XDataProvider > SchXMLTools::getDataProviderFromParent (const Reference< chart2::XChartDocument > &xChartDoc)
 

Variables

const SvXMLEnumMapEntry< SchXMLChartTypeEnum > SchXMLTools::aXMLChartClassMap []