LibreOffice
LibreOffice 6.2 SDK API Reference
XRegressionCurveCalculator.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef com_sun_star_chart2_XRegressionCurveCalculator_idl
20 #define com_sun_star_chart2_XRegressionCurveCalculator_idl
21 
27 
28 module com
29 {
30 module sun
31 {
32 module star
33 {
34 module chart2
35 {
36 
38 {
56  void setRegressionProperties( [in] long degree,
57  [in] boolean forceIntercept,
58  [in] double interceptValue,
59  [in] long period);
60 
72  void recalculateRegression( [in] sequence< double > aXValues,
73  [in] sequence< double > aYValues);
74 
75 
91  double getCurveValue( [in] double x )
93 
122  sequence< com::sun::star::geometry::RealPoint2D > getCurveValues(
123  [in] double min,
124  [in] double max,
125  [in] long nPointCount,
126  [in] XScaling xScalingX,
127  [in] XScaling xScalingY,
128  [in] boolean bMaySkipPointsInCalculation )
130 
143  double getCorrelationCoefficient();
144 
154  string getRepresentation();
155 
161  string getFormattedRepresentation( [in] com::sun::star::util::XNumberFormatsSupplier xNumFmtSupplier,
162  [in] long nNumberFormatKey,
163  [in] long nFormulaLength );
164 
170  void setXYNames( [in] string aXName,
171  [in] string aYName );
172 
173 };
174 
175 } ; // chart2
176 } ; // com
177 } ; // sun
178 } ; // star
179 
180 #endif
181 
182 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: XScaling.idl:29
Definition: Ambiguous.idl:22
Definition: XRegressionCurveCalculator.idl:37
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
supplies the collection of NumberFormats (for example, in a document) and the settings belonging to t...
Definition: XNumberFormatsSupplier.idl:36
base interface of all UNO interfaces
Definition: XInterface.idl:47