LibreOffice Module chart2 (master) 1
Namespaces | Functions
RegressionCurveHelper.hxx File Reference
#include <svx/chrtitem.hxx>
#include "charttoolsdllapi.hxx"
#include <rtl/ref.hxx>
#include <vector>
Include dependency graph for RegressionCurveHelper.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
 
namespace  com::sun::star::beans
 
namespace  com::sun::star::chart2
 
namespace  com::sun::star::chart2::data
 
namespace  com::sun::star::frame
 
namespace  chart
 
namespace  chart::RegressionCurveHelper
 

Functions

rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::createMeanValueLine ()
 returns a model mean-value line More...
 
rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::createRegressionCurveByServiceName (std::u16string_view aServiceName)
 returns a model regression curve More...
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::hasMeanValueLine (const css::uno::Reference< css::chart2::XRegressionCurveContainer > &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::hasMeanValueLine (const rtl::Reference<::chart::DataSeries > &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::isMeanValueLine (const css::uno::Reference< css::chart2::XRegressionCurve > &xRegCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::isMeanValueLine (const rtl::Reference<::chart::RegressionCurveModel > &xRegCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::getMeanValueLine (const css::uno::Reference< css::chart2::XRegressionCurveContainer > &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::getMeanValueLine (const rtl::Reference<::chart::DataSeries > &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::addMeanValueLine (css::uno::Reference< css::chart2::XRegressionCurveContainer > const &xRegCnt, const css::uno::Reference< css::beans::XPropertySet > &xSeriesProp)
 creates a mean-value line and adds it to the container. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::addMeanValueLine (rtl::Reference<::chart::DataSeries > const &xRegCnt, const css::uno::Reference< css::beans::XPropertySet > &xSeriesProp)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::removeMeanValueLine (css::uno::Reference< css::chart2::XRegressionCurveContainer > const &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::removeMeanValueLine (rtl::Reference<::chart::DataSeries > const &xRegCnt)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::getFirstCurveNotMeanValueLine (const css::uno::Reference< css::chart2::XRegressionCurveContainer > &xCurveContainer)
 Returns the first regression curve found that is not of type mean-value line. More...
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::getFirstCurveNotMeanValueLine (const rtl::Reference<::chart::DataSeries > &xCurveContainer)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::getRegressionCurveAtIndex (const rtl::Reference<::chart::DataSeries > &xCurveContainer, sal_Int32 aIndex)
 Returns the regression curve found at the index provided. More...
 
OOO_DLLPUBLIC_CHARTTOOLS SvxChartRegress chart::RegressionCurveHelper::getFirstRegressTypeNotMeanValueLine (const css::uno::Reference< css::chart2::XRegressionCurveContainer > &xCurveContainer)
 Returns the type of the first regression curve found that is not of type mean-value line. More...
 
OOO_DLLPUBLIC_CHARTTOOLS SvxChartRegress chart::RegressionCurveHelper::getRegressionType (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::addRegressionCurve (SvxChartRegress eType, css::uno::Reference< css::chart2::XRegressionCurveContainer > const &xCurveContainer, const css::uno::Reference< css::beans::XPropertySet > &xPropertySource=css::uno::Reference< css::beans::XPropertySet >(), const css::uno::Reference< css::beans::XPropertySet > &xEquationProperties=css::uno::Reference< css::beans::XPropertySet >())
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::addRegressionCurve (SvxChartRegress eType, rtl::Reference<::chart::DataSeries > const &xCurveContainer, const css::uno::Reference< css::beans::XPropertySet > &xPropertySource=css::uno::Reference< css::beans::XPropertySet >(), const css::uno::Reference< css::beans::XPropertySet > &xEquationProperties=css::uno::Reference< css::beans::XPropertySet >())
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::removeAllExceptMeanValueLine (rtl::Reference<::chart::DataSeries > const &xCurveContainer)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::removeEquations (rtl::Reference<::chart::DataSeries > const &xCurveContainer)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveModelchart::RegressionCurveHelper::changeRegressionCurveType (SvxChartRegress eType, css::uno::Reference< css::chart2::XRegressionCurveContainer > const &xRegressionCurveContainer, css::uno::Reference< css::chart2::XRegressionCurve > const &xRegressionCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS rtl::Reference<::chart::RegressionCurveCalculatorchart::RegressionCurveHelper::createRegressionCurveCalculatorByServiceName (std::u16string_view aServiceName)
 returns a calculator object for regression curves (used by the view) More...
 
void chart::RegressionCurveHelper::initializeCurveCalculator (const css::uno::Reference< css::chart2::XRegressionCurveCalculator > &xOutCurveCalculator, const css::uno::Reference< css::chart2::data::XDataSource > &xSource, bool bUseXValuesIfAvailable)
 recalculates the regression parameters according to the data given in the data source. More...
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::initializeCurveCalculator (const css::uno::Reference< css::chart2::XRegressionCurveCalculator > &xOutCurveCalculator, const rtl::Reference<::chart::DataSeries > &xSeries, const rtl::Reference<::chart::ChartModel > &xModel)
 Same method as above, but uses the given XModel to determine the parameter bUseXValuesIfAvailable in the above function. More...
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::RegressionCurveHelper::getUINameForRegressionCurve (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::RegressionCurveHelper::getRegressionCurveName (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::RegressionCurveHelper::getRegressionCurveGenericName (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS OUString chart::RegressionCurveHelper::getRegressionCurveSpecificName (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS void chart::RegressionCurveHelper::resetEquationPosition (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS sal_Int32 chart::RegressionCurveHelper::getRegressionCurveIndex (const rtl::Reference<::chart::DataSeries > &xContainer, const rtl::Reference<::chart::RegressionCurveModel > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::hasEquation (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)
 
OOO_DLLPUBLIC_CHARTTOOLS bool chart::RegressionCurveHelper::MayHaveCorrelationCoefficient (const css::uno::Reference< css::chart2::XRegressionCurve > &xCurve)