LibreOffice Module xmloff (master) 1
Namespaces | Enumerations | Functions
SchXMLTools.hxx File Reference
#include <rtl/ustring.hxx>
#include <xmloff/xmltoken.hxx>
#include "transporttypes.hxx"
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/chart2/data/XLabeledDataSequence2.hpp>
Include dependency graph for SchXMLTools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 #file
 
namespace  com::sun::star::chart2
 
namespace  com::sun::star::chart2::data
 
namespace  SchXMLTools
 

Enumerations

enum  SchXMLTools::SchXMLChartTypeEnum {
  SchXMLTools::XML_CHART_CLASS_LINE ,
  SchXMLTools::XML_CHART_CLASS_AREA ,
  SchXMLTools::XML_CHART_CLASS_CIRCLE ,
  SchXMLTools::XML_CHART_CLASS_RING ,
  SchXMLTools::XML_CHART_CLASS_SCATTER ,
  SchXMLTools::XML_CHART_CLASS_RADAR ,
  SchXMLTools::XML_CHART_CLASS_FILLED_RADAR ,
  SchXMLTools::XML_CHART_CLASS_BAR ,
  SchXMLTools::XML_CHART_CLASS_STOCK ,
  SchXMLTools::XML_CHART_CLASS_BUBBLE ,
  SchXMLTools::XML_CHART_CLASS_ADDIN ,
  SchXMLTools::XML_CHART_CLASS_UNKNOWN
}
 

Functions

bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_0 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_4 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_0 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
bool SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan3_3 (const css::uno::Reference< css::frame::XModel > &xChartModel)
 
void SchXMLTools::setBuildIDAtImportInfo (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::beans::XPropertySet > &xImportInfo)
 
SchXMLChartTypeEnum SchXMLTools::GetChartTypeEnum (std::u16string_view rClassName)
 
OUString SchXMLTools::GetChartTypeByClassName (std::u16string_view rClassName, bool bUseOldNames)
 
XMLTokenEnum SchXMLTools::getTokenByChartType (std::u16string_view rChartTypeService, bool bUseOldNames)
 
OUString SchXMLTools::GetNewChartTypeName (const OUString &rOldChartTypeName)
 
Reference< chart2::data::XLabeledDataSequence2 > SchXMLTools::GetNewLabeledDataSequence ()
 
css::uno::Reference< css::chart2::data::XDataSequence > SchXMLTools::CreateDataSequence (const OUString &rRange, const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc)
 
css::uno::Reference< css::chart2::data::XDataSequence > SchXMLTools::CreateDataSequenceWithoutConvert (const OUString &rRange, const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc)
 
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)
 
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 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 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. More...
 
css::uno::Reference< css::chart2::data::XDataProvider > SchXMLTools::getDataProviderFromParent (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc)
 
bool SchXMLTools::switchBackToDataProviderFromParent (const css::uno::Reference< css::chart2::XChartDocument > &xChartDoc, const tSchXMLLSequencesPerIndex &rLSequencesPerIndex)
 
void SchXMLTools::copyProperties (const css::uno::Reference< css::beans::XPropertySet > &xSource, const css::uno::Reference< css::beans::XPropertySet > &xDestination)