INTEGRATION: CWS chart19 (1.9.8); FILE MERGED
2008/01/14 16:08:42 bm 1.9.8.2: #i44768# +getRegressionCurveIndex 2008/01/11 15:58:43 bm 1.9.8.1: #i44768# make it easier to add and modify trendlines
This commit is contained in:
parent
29bc206956
commit
2901052174
1 changed files with 16 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: RegressionCurveHelper.hxx,v $
|
||||
*
|
||||
* $Revision: 1.9 $
|
||||
* $Revision: 1.10 $
|
||||
*
|
||||
* last change: $Author: ihi $ $Date: 2007-11-23 11:58:07 $
|
||||
* last change: $Author: rt $ $Date: 2008-02-18 15:59:39 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -106,7 +106,9 @@ public:
|
|||
REGRESSION_TYPE_LINEAR,
|
||||
REGRESSION_TYPE_LOG,
|
||||
REGRESSION_TYPE_EXP,
|
||||
REGRESSION_TYPE_POWER
|
||||
REGRESSION_TYPE_POWER,
|
||||
REGRESSION_TYPE_MEAN_VALUE,
|
||||
REGRESSION_TYPE_UNKNOWN
|
||||
};
|
||||
|
||||
/** Returns the first regression curve found that is not of type
|
||||
|
@ -125,6 +127,10 @@ public:
|
|||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::chart2::XRegressionCurveContainer > & xRegCnt );
|
||||
|
||||
static tRegressionType getRegressionType(
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::chart2::XRegressionCurve > & xCurve );
|
||||
|
||||
/** @param xPropertySource is taken as source to copy all properties from if
|
||||
not null
|
||||
@param xEquationProperties is set at the new regression curve as
|
||||
|
@ -221,6 +227,13 @@ public:
|
|||
static void resetEquationPosition( const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::chart2::XRegressionCurve > & xCurve );
|
||||
|
||||
/// @return the index of the given curve in the given container. -1 if not contained
|
||||
static sal_Int32 getRegressionCurveIndex(
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::chart2::XRegressionCurveContainer > & xContainer,
|
||||
const ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::chart2::XRegressionCurve > & xCurve );
|
||||
|
||||
private:
|
||||
// not implemented
|
||||
RegressionCurveHelper();
|
||||
|
|
Loading…
Reference in a new issue