Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
27a4d559
Kaydet (Commit)
27a4d559
authored
Tem 03, 2013
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixes to compiler errors, setRegressionProperties description.
Change-Id: I40ef93746e5f2a43ce58f0080db0b643e22404a1
üst
926275d0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
10 deletions
+30
-10
LinearRegressionCurveCalculator.hxx
chart2/source/inc/LinearRegressionCurveCalculator.hxx
+2
-1
RegressionCurveCalculator.hxx
chart2/source/inc/RegressionCurveCalculator.hxx
+2
-1
LinearRegressionCurveCalculator.cxx
chart2/source/tools/LinearRegressionCurveCalculator.cxx
+5
-5
RegressionCurveCalculator.cxx
chart2/source/tools/RegressionCurveCalculator.cxx
+2
-1
XRegressionCurveCalculator.idl
offapi/com/sun/star/chart2/XRegressionCurveCalculator.idl
+16
-0
SchXMLSeries2Context.cxx
xmloff/source/chart/SchXMLSeries2Context.cxx
+3
-2
No files found.
chart2/source/inc/LinearRegressionCurveCalculator.hxx
Dosyayı görüntüle @
27a4d559
...
...
@@ -36,7 +36,8 @@ private:
sal_Int32
aDegree
,
sal_Bool
aForceIntercept
,
double
aInterceptValue
,
sal_Int32
aPeriod
);
sal_Int32
aPeriod
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
com
::
sun
::
star
::
uno
::
Sequence
<
com
::
sun
::
star
::
geometry
::
RealPoint2D
>
SAL_CALL
getCurveValues
(
double
min
,
...
...
chart2/source/inc/RegressionCurveCalculator.hxx
Dosyayı görüntüle @
27a4d559
...
...
@@ -62,7 +62,8 @@ protected:
sal_Int32
aDegree
,
sal_Bool
aForceIntercept
,
double
aInterceptValue
,
sal_Int32
aPeriod
);
sal_Int32
aPeriod
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
recalculateRegression
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
double
>&
aXValues
,
...
...
chart2/source/tools/LinearRegressionCurveCalculator.cxx
Dosyayı görüntüle @
27a4d559
...
...
@@ -26,7 +26,6 @@
using
namespace
::
com
::
sun
::
star
;
namespace
chart
{
...
...
@@ -38,10 +37,11 @@ LinearRegressionCurveCalculator::~LinearRegressionCurveCalculator()
{}
void
LinearRegressionCurveCalculator
::
setRegressionProperties
(
sal_Int32
/*aDegree*/
,
sal_Bool
aForceIntercept
,
double
aInterceptValue
,
sal_Int32
aPeriod
)
sal_Int32
/*aDegree*/
,
sal_Bool
aForceIntercept
,
double
aInterceptValue
,
sal_Int32
aPeriod
)
throw
(
uno
::
RuntimeException
)
{
PolynomialRegressionCurveCalculator
::
setRegressionProperties
(
1
,
...
...
chart2/source/tools/RegressionCurveCalculator.cxx
Dosyayı görüntüle @
27a4d559
...
...
@@ -73,7 +73,8 @@ void RegressionCurveCalculator::setRegressionProperties(
sal_Int32
aDegree
,
sal_Bool
aForceIntercept
,
double
aInterceptValue
,
sal_Int32
aPeriod
)
sal_Int32
aPeriod
)
throw
(
uno
::
RuntimeException
)
{
mDegree
=
aDegree
;
mForceIntercept
=
aForceIntercept
;
...
...
offapi/com/sun/star/chart2/XRegressionCurveCalculator.idl
Dosyayı görüntüle @
27a4d559
...
...
@@ -36,7 +36,23 @@ module chart2
interface
XRegressionCurveCalculator
:
com
::
sun
::
star
::
uno
::
XInterface
{
/**
set
calculation
properties
for
curve
calculation
.
@
param
degree
Degree
of
polynomial
regression
curve
,
value
should
be
greater
than
zero
If
the
curve
is
not
polynomial
,
this
property
has
no
effect
.
@
param
period
Period
of
a
moving
average
regression
curve
,
value
should
greater
or
equal
to
2
If
the
curve
is
not
moving
average
regression
curve
,
this
property
has
no
effect
.
@
param
forceIntercept
Should
force
the
intercept
value
.
@
param
interceptValue
Intercept
value
.
*/
void
setRegressionProperties
(
[
in
]
long
degree
,
[
in
]
boolean
forceIntercept
,
[
in
]
double
interceptValue
,
...
...
xmloff/source/chart/SchXMLSeries2Context.cxx
Dosyayı görüntüle @
27a4d559
...
...
@@ -871,7 +871,7 @@ void SchXMLSeries2Context::setStylesToRegressionCurves(
try
{
OUString
aServiceName
;
XMLPropStyleContext
*
pPropStyleContext
;
XMLPropStyleContext
*
pPropStyleContext
=
NULL
;
if
(
!
rCurrentStyleName
.
isEmpty
())
{
...
...
@@ -910,7 +910,8 @@ void SchXMLSeries2Context::setStylesToRegressionCurves(
if
(
xRegCurve
.
is
())
{
Reference
<
beans
::
XPropertySet
>
xCurveProperties
(
xRegCurve
,
uno
::
UNO_QUERY
);
pPropStyleContext
->
FillPropertySet
(
xCurveProperties
);
if
(
pPropStyleContext
!=
NULL
)
pPropStyleContext
->
FillPropertySet
(
xCurveProperties
);
xRegCurve
->
setEquationProperties
(
iStyle
->
m_xEquationProperties
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment