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
5b736d96
Kaydet (Commit)
5b736d96
authored
Şub 07, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:deletedspecial
Change-Id: Ifdbeea8d4e49ae38b843675758fcc29aee974bdf
üst
5272bfb3
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
98 additions
and
163 deletions
+98
-163
AccessibleViewForwarder.hxx
...urce/controller/accessibility/AccessibleViewForwarder.hxx
+2
-2
DataBrowser.hxx
chart2/source/controller/dialogs/DataBrowser.hxx
+1
-2
dlg_ChartType_UNO.hxx
chart2/source/controller/inc/dlg_ChartType_UNO.hxx
+2
-4
ShapeToolbarController.hxx
chart2/source/controller/main/ShapeToolbarController.hxx
+2
-2
CharacterProperties.hxx
chart2/source/inc/CharacterProperties.hxx
+6
-11
DiagramHelper.hxx
chart2/source/inc/DiagramHelper.hxx
+1
-2
FillProperties.hxx
chart2/source/inc/FillProperties.hxx
+4
-9
LifeTime.hxx
chart2/source/inc/LifeTime.hxx
+2
-4
LinePropertiesHelper.hxx
chart2/source/inc/LinePropertiesHelper.hxx
+7
-12
ModifyListenerCallBack.hxx
chart2/source/inc/ModifyListenerCallBack.hxx
+1
-2
RegressionCurveHelper.hxx
chart2/source/inc/RegressionCurveHelper.hxx
+28
-33
RelativeSizeHelper.hxx
chart2/source/inc/RelativeSizeHelper.hxx
+1
-2
ResourceManager.hxx
chart2/source/inc/ResourceManager.hxx
+3
-10
SceneProperties.hxx
chart2/source/inc/SceneProperties.hxx
+4
-9
StatisticsHelper.hxx
chart2/source/inc/StatisticsHelper.hxx
+14
-19
UserDefinedProperties.hxx
chart2/source/inc/UserDefinedProperties.hxx
+3
-8
DataPointProperties.hxx
chart2/source/model/main/DataPointProperties.hxx
+4
-9
DataSeriesProperties.hxx
chart2/source/model/main/DataSeriesProperties.hxx
+4
-9
ResourceManager.cxx
chart2/source/tools/ResourceManager.cxx
+5
-6
VDiagram.hxx
chart2/source/view/inc/VDiagram.hxx
+1
-1
VLegendSymbolFactory.hxx
chart2/source/view/inc/VLegendSymbolFactory.hxx
+3
-7
No files found.
chart2/source/controller/accessibility/AccessibleViewForwarder.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -44,8 +44,8 @@ public:
virtual
Size
PixelToLogic
(
const
Size
&
rSize
)
const
SAL_OVERRIDE
;
private
:
AccessibleViewForwarder
(
AccessibleViewForwarder
&
);
AccessibleViewForwarder
&
operator
=
(
AccessibleViewForwarder
&
);
AccessibleViewForwarder
(
AccessibleViewForwarder
&
)
SAL_DELETED_FUNCTION
;
AccessibleViewForwarder
&
operator
=
(
AccessibleViewForwarder
&
)
SAL_DELETED_FUNCTION
;
AccessibleChartView
*
m_pAccChartView
;
vcl
::
Window
*
m_pWindow
;
...
...
chart2/source/controller/dialogs/DataBrowser.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -185,8 +185,7 @@ private:
DECL_LINK
(
SeriesHeaderGotFocus
,
impl
::
SeriesHeaderEdit
*
);
DECL_LINK
(
SeriesHeaderChanged
,
impl
::
SeriesHeaderEdit
*
);
/// not implemented: inhibit copy construction
DataBrowser
(
const
DataBrowser
&
);
DataBrowser
(
const
DataBrowser
&
)
SAL_DELETED_FUNCTION
;
};
}
// namespace chart
...
...
chart2/source/controller/inc/dlg_ChartType_UNO.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -59,10 +59,8 @@ private:
// OPropertyArrayUsageHelper
virtual
::
cppu
::
IPropertyArrayHelper
*
createArrayHelper
(
)
const
SAL_OVERRIDE
;
//no default constructor
ChartTypeUnoDlg
();
ChartTypeUnoDlg
(
const
ChartTypeUnoDlg
&
);
// no defined
void
operator
=
(
const
ChartTypeUnoDlg
&
);
// no defined
ChartTypeUnoDlg
(
const
ChartTypeUnoDlg
&
)
SAL_DELETED_FUNCTION
;
void
operator
=
(
const
ChartTypeUnoDlg
&
)
SAL_DELETED_FUNCTION
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
m_xChartModel
;
};
...
...
chart2/source/controller/main/ShapeToolbarController.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -49,8 +49,8 @@ class ShapeToolbarController : public ::svt::ToolboxController
TToolbarHelper
m_pToolbarController
;
sal_uInt16
m_nToolBoxId
;
sal_uInt16
m_nSlotId
;
ShapeToolbarController
(
const
ShapeToolbarController
&
);
void
operator
=
(
const
ShapeToolbarController
&
);
ShapeToolbarController
(
const
ShapeToolbarController
&
)
SAL_DELETED_FUNCTION
;
void
operator
=
(
const
ShapeToolbarController
&
)
SAL_DELETED_FUNCTION
;
public
:
ShapeToolbarController
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
);
...
...
chart2/source/inc/CharacterProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -35,9 +35,8 @@ namespace chart
// com.sun.star.style.CharacterProperties
// com.sun.star.style.CharacterPropertiesAsian
// com.sun.star.style.CharacterPropertiesComplex
class
OOO_DLLPUBLIC_CHARTTOOLS
CharacterProperties
namespace
CharacterProperties
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -121,20 +120,16 @@ public:
FAST_PROPERTY_ID_END_CHAR_PROP
};
static
void
AddPropertiesToVector
(
OOO_DLLPUBLIC_CHARTTOOLS
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
static
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
OOO_DLLPUBLIC_CHARTTOOLS
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
static
bool
IsCharacterPropertyHandle
(
sal_Int32
nHandle
);
OOO_DLLPUBLIC_CHARTTOOLS
bool
IsCharacterPropertyHandle
(
sal_Int32
nHandle
);
static
::
com
::
sun
::
star
::
awt
::
FontDescriptor
createFontDescriptorFromPropertySet
(
OOO_DLLPUBLIC_CHARTTOOLS
::
com
::
sun
::
star
::
awt
::
FontDescriptor
createFontDescriptorFromPropertySet
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XMultiPropertySet
>
&
xMultiPropSet
);
private
:
// not implemented
CharacterProperties
();
};
}
}
// namespace chart
...
...
chart2/source/inc/DiagramHelper.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -345,8 +345,7 @@ public:
,
bool
bConvertAlsoFromAutoPositioning
);
private
:
// not implemented
DiagramHelper
();
DiagramHelper
()
SAL_DELETED_FUNCTION
;
};
...
...
chart2/source/inc/FillProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -30,9 +30,8 @@ namespace chart
{
// implements service FillProperties
class
OOO_DLLPUBLIC_CHARTTOOLS
FillProperties
namespace
FillProperties
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -64,15 +63,11 @@ public:
,
PROP_FILL_BACKGROUND
};
static
void
AddPropertiesToVector
(
OOO_DLLPUBLIC_CHARTTOOLS
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
static
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
private
:
// not implemented
FillProperties
();
};
OOO_DLLPUBLIC_CHARTTOOLS
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
}
}
// namespace chart
...
...
chart2/source/inc/LifeTime.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -203,10 +203,8 @@ private:
bool
m_bLongLastingCallRegistered
;
private
:
// these make no sense
LifeTimeGuard
(
::
osl
::
Mutex
&
rMutex
);
LifeTimeGuard
(
const
LifeTimeGuard
&
);
LifeTimeGuard
&
operator
=
(
const
LifeTimeGuard
&
);
LifeTimeGuard
(
const
LifeTimeGuard
&
)
SAL_DELETED_FUNCTION
;
LifeTimeGuard
&
operator
=
(
const
LifeTimeGuard
&
)
SAL_DELETED_FUNCTION
;
};
template
<
class
T
>
...
...
chart2/source/inc/LinePropertiesHelper.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -30,9 +30,8 @@ namespace chart
{
// implements service LineProperties
class
LinePropertiesHelper
namespace
LinePropertiesHelper
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -46,22 +45,18 @@ public:
PROP_LINE_JOINT
};
OOO_DLLPUBLIC_CHARTTOOLS
static
void
AddPropertiesToVector
(
OOO_DLLPUBLIC_CHARTTOOLS
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
OOO_DLLPUBLIC_CHARTTOOLS
static
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
OOO_DLLPUBLIC_CHARTTOOLS
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
SAL_DLLPRIVATE
static
bool
IsLineVisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
bool
IsLineVisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xLineProperties
);
SAL_DLLPRIVATE
static
void
SetLineVisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
void
SetLineVisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xLineProperties
);
static
void
SetLineInvisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
void
SetLineInvisible
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xLineProperties
);
private
:
// not implemented
LinePropertiesHelper
();
};
}
}
// namespace chart
...
...
chart2/source/inc/ModifyListenerCallBack.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -43,8 +43,7 @@ public:
SAL_DLLPRIVATE
void
stopListening
();
private
:
//methods
SAL_DLLPRIVATE
ModifyListenerCallBack
();
SAL_DLLPRIVATE
ModifyListenerCallBack
(
const
ModifyListenerCallBack
&
);
ModifyListenerCallBack
(
const
ModifyListenerCallBack
&
)
SAL_DELETED_FUNCTION
;
private
:
//member
ModifyListenerCallBack_impl
*
pModifyListener_impl
;
...
...
chart2/source/inc/RegressionCurveHelper.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -35,26 +35,25 @@
namespace
chart
{
class
OOO_DLLPUBLIC_CHARTTOOLS
RegressionCurveHelper
namespace
RegressionCurveHelper
{
public
:
/// returns a model mean-value line
SAL_DLLPRIVATE
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
createMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
xContext
);
/// returns a model regression curve
SAL_DLLPRIVATE
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
createRegressionCurveByServiceName
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
xContext
,
const
OUString
&
aServiceName
);
static
bool
hasMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
bool
hasMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>
&
xRegCnt
);
static
bool
isMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
bool
isMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
&
xRegCurve
);
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
getMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>
&
xRegCnt
);
...
...
@@ -63,24 +62,24 @@ public:
@param xSeriesProp
If set, this property-set will be used to apply a line color
*/
static
void
addMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
void
addMeanValueLine
(
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xRegCnt
,
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
,
const
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
xSeriesProp
);
static
void
removeMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
void
removeMeanValueLine
(
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xRegCnt
);
/** Returns the first regression curve found that is not of type
mean-value line
*/
static
css
::
uno
::
Reference
<
com
::
sun
::
star
::
chart2
::
XRegressionCurve
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
com
::
sun
::
star
::
chart2
::
XRegressionCurve
>
getFirstCurveNotMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
);
/** Returns the regression curve found at the index provided.
*/
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
getRegressionCurveAtIndex
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
,
sal_Int32
aIndex
);
...
...
@@ -88,10 +87,10 @@ public:
/** Returns the type of the first regression curve found that is not of type
mean-value line
*/
static
SvxChartRegress
getFirstRegressTypeNotMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
SvxChartRegress
getFirstRegressTypeNotMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
);
static
SvxChartRegress
getRegressionType
(
OOO_DLLPUBLIC_CHARTTOOLS
SvxChartRegress
getRegressionType
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
/** @param xPropertySource is taken as source to copy all properties from if
...
...
@@ -99,7 +98,7 @@ public:
@param xEquationProperties is set at the new regression curve as
equation properties if not null
*/
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
addRegressionCurve
(
SvxChartRegress
eType
,
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
,
...
...
@@ -109,13 +108,13 @@ public:
const
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>&
xEquationProperties
=
css
::
uno
::
Reference
<
css
::
beans
::
XPropertySet
>
()
);
static
bool
removeAllExceptMeanValueLine
(
OOO_DLLPUBLIC_CHARTTOOLS
bool
removeAllExceptMeanValueLine
(
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
);
static
void
removeEquations
(
OOO_DLLPUBLIC_CHARTTOOLS
void
removeEquations
(
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xCurveContainer
);
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
changeRegressionCurveType
(
SvxChartRegress
eType
,
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xRegressionCurveContainer
,
...
...
@@ -123,7 +122,7 @@ public:
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
/// returns a calculator object for regression curves (used by the view)
static
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveCalculator
>
OOO_DLLPUBLIC_CHARTTOOLS
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveCalculator
>
createRegressionCurveCalculatorByServiceName
(
const
OUString
&
aServiceName
);
/** recalculates the regression parameters according to the data given in
...
...
@@ -141,7 +140,7 @@ public:
If false, the sequence (1, 2, 3, ...) will always be used, even if
there is a data-sequence with role "values-x"
*/
SAL_DLLPRIVATE
static
void
initializeCurveCalculator
(
void
initializeCurveCalculator
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveCalculator
>&
xOutCurveCalculator
,
const
css
::
uno
::
Reference
<
css
::
chart2
::
data
::
XDataSource
>&
xSource
,
bool
bUseXValuesIfAvailable
=
true
);
...
...
@@ -151,41 +150,37 @@ public:
necessary that the data::XDataSource is an XDataSeries, thus this parameter
also changed.
*/
static
void
initializeCurveCalculator
(
OOO_DLLPUBLIC_CHARTTOOLS
void
initializeCurveCalculator
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveCalculator
>&
xOutCurveCalculator
,
const
css
::
uno
::
Reference
<
css
::
chart2
::
XDataSeries
>&
xSeries
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XModel
>&
xModel
);
static
OUString
getUINameForRegressionCurve
(
OOO_DLLPUBLIC_CHARTTOOLS
OUString
getUINameForRegressionCurve
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
static
OUString
getRegressionCurveName
(
OOO_DLLPUBLIC_CHARTTOOLS
OUString
getRegressionCurveName
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
static
OUString
getRegressionCurveGenericName
(
OOO_DLLPUBLIC_CHARTTOOLS
OUString
getRegressionCurveGenericName
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
static
OUString
getRegressionCurveSpecificName
(
OOO_DLLPUBLIC_CHARTTOOLS
OUString
getRegressionCurveSpecificName
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
static
std
::
vector
<
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
>
OOO_DLLPUBLIC_CHARTTOOLS
std
::
vector
<
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>
>
getAllRegressionCurvesNotMeanValueLine
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XDiagram
>&
xDiagram
);
static
void
resetEquationPosition
(
OOO_DLLPUBLIC_CHARTTOOLS
void
resetEquationPosition
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
/// @return the index of the given curve in the given container. -1 if not contained
static
sal_Int32
getRegressionCurveIndex
(
OOO_DLLPUBLIC_CHARTTOOLS
sal_Int32
getRegressionCurveIndex
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurveContainer
>&
xContainer
,
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
static
bool
hasEquation
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
private
:
// instatiation not allowed
RegressionCurveHelper
();
};
OOO_DLLPUBLIC_CHARTTOOLS
bool
hasEquation
(
const
css
::
uno
::
Reference
<
css
::
chart2
::
XRegressionCurve
>&
xCurve
);
}
}
// namespace chart
...
...
chart2/source/inc/RelativeSizeHelper.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -41,8 +41,7 @@ public:
const
::
com
::
sun
::
star
::
awt
::
Size
&
rNewReferenceSize
);
private
:
// not implemented
RelativeSizeHelper
();
RelativeSizeHelper
()
SAL_DELETED_FUNCTION
;
};
}
// namespace chart
...
...
chart2/source/inc/ResourceManager.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -27,17 +27,10 @@ class ResMgr;
namespace
chart
{
class
ResourceManager
namespace
ResourceManager
{
public
:
static
::
ResMgr
&
getResourceManager
();
private
:
// not implemented -- avoid instantiation
ResourceManager
();
static
::
ResMgr
*
m_pResourceManager
;
};
::
ResMgr
&
getResourceManager
();
}
}
// namespace chart
...
...
chart2/source/inc/SceneProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -30,9 +30,8 @@ namespace chart
{
// implements service SceneProperties
class
OOO_DLLPUBLIC_CHARTTOOLS
SceneProperties
namespace
SceneProperties
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -72,15 +71,11 @@ public:
PROP_SCENE_LIGHT_ON_8
};
static
void
AddPropertiesToVector
(
OOO_DLLPUBLIC_CHARTTOOLS
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
static
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
private
:
// not implemented
SceneProperties
();
};
OOO_DLLPUBLIC_CHARTTOOLS
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
}
}
// namespace chart
...
...
chart2/source/inc/StatisticsHelper.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -29,9 +29,8 @@
namespace
chart
{
class
OOO_DLLPUBLIC_CHARTTOOLS
StatisticsHelper
namespace
StatisticsHelper
{
public
:
/** Calculates 1/n * sum (x_i - x_mean)^2.
@see http://mathworld.wolfram.com/Variance.html
...
...
@@ -39,16 +38,16 @@ public:
@param bUnbiasedEstimator
If true, 1/(n-1) * sum (x_i - x_mean)^2 is returned.
*/
static
double
getVariance
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
,
OOO_DLLPUBLIC_CHARTTOOLS
double
getVariance
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
,
bool
bUnbiasedEstimator
=
false
);
// square root of the variance
static
double
getStandardDeviation
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
);
OOO_DLLPUBLIC_CHARTTOOLS
double
getStandardDeviation
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
);
// also called "Standard deviation of the mean (SDOM)"
static
double
getStandardError
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
);
OOO_DLLPUBLIC_CHARTTOOLS
double
getStandardError
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
double
>
&
rData
);
static
::
com
::
sun
::
star
::
uno
::
Reference
<
OOO_DLLPUBLIC_CHARTTOOLS
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
data
::
XLabeledDataSequence
>
getErrorLabeledDataSequenceFromDataSource
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
@@ -56,7 +55,7 @@ public:
bool
bPositiveValue
,
bool
bYError
=
true
);
static
::
com
::
sun
::
star
::
uno
::
Reference
<
OOO_DLLPUBLIC_CHARTTOOLS
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
data
::
XDataSequence
>
getErrorDataSequenceFromDataSource
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
@@ -64,14 +63,14 @@ public:
bool
bPositiveValue
,
bool
bYError
=
true
);
static
double
getErrorFromDataSource
(
OOO_DLLPUBLIC_CHARTTOOLS
double
getErrorFromDataSource
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
data
::
XDataSource
>
&
xDataSource
,
sal_Int32
nIndex
,
bool
bPositiveValue
,
bool
bYError
=
true
);
static
void
setErrorDataSequence
(
OOO_DLLPUBLIC_CHARTTOOLS
void
setErrorDataSequence
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
data
::
XDataSource
>
&
xDataSource
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
@@ -82,7 +81,7 @@ public:
OUString
*
pXMLRange
=
0
);
/// @return the newly created or existing error bar object
static
::
com
::
sun
::
star
::
uno
::
Reference
<
OOO_DLLPUBLIC_CHARTTOOLS
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
addErrorBars
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
...
@@ -92,32 +91,28 @@ public:
sal_Int32
nStyle
,
bool
bYError
=
true
);
static
::
com
::
sun
::
star
::
uno
::
Reference
<
OOO_DLLPUBLIC_CHARTTOOLS
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
getErrorBars
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XDataSeries
>
&
xDataSeries
,
bool
bYError
=
true
);
static
bool
hasErrorBars
(
OOO_DLLPUBLIC_CHARTTOOLS
bool
hasErrorBars
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XDataSeries
>
&
xDataSeries
,
bool
bYError
=
true
);
static
void
removeErrorBars
(
OOO_DLLPUBLIC_CHARTTOOLS
void
removeErrorBars
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XDataSeries
>
&
xDataSeries
,
bool
bYError
=
true
);
static
bool
usesErrorBarRanges
(
OOO_DLLPUBLIC_CHARTTOOLS
bool
usesErrorBarRanges
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
chart2
::
XDataSeries
>
&
xDataSeries
,
bool
bYError
=
true
);
private
:
// not implemented
StatisticsHelper
();
};
}
}
// namespace chart
...
...
chart2/source/inc/UserDefinedProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -30,9 +30,8 @@ namespace chart
{
// implements service com.sun.star.xml.UserDefinedAttributesSupplier
class
OOO_DLLPUBLIC_CHARTTOOLS
UserDefinedProperties
namespace
UserDefinedProperties
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -47,13 +46,9 @@ public:
PROP_XML_USERDEF
};
static
void
AddPropertiesToVector
(
OOO_DLLPUBLIC_CHARTTOOLS
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
private
:
// not implemented
UserDefinedProperties
();
};
}
}
// namespace chart
...
...
chart2/source/model/main/DataPointProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -29,9 +29,8 @@ namespace chart
{
// implements service DataPointProperties
class
DataPointProperties
namespace
DataPointProperties
{
public
:
// FastProperty Ids for properties
enum
{
...
...
@@ -85,15 +84,11 @@ public:
// additionally some properites from ::chart::LineProperties
};
static
void
AddPropertiesToVector
(
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
static
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
private
:
// not implemented
DataPointProperties
();
};
void
AddDefaultsToMap
(
::
chart
::
tPropertyValueMap
&
rOutMap
);
}
}
// namespace chart
...
...
chart2/source/model/main/DataSeriesProperties.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -28,9 +28,8 @@
namespace
chart
{
class
DataSeriesProperties
namespace
DataSeriesProperties
{
public
:
enum
{
PROP_DATASERIES_ATTRIBUTED_DATA_POINTS
=
FAST_PROPERTY_ID_START_DATA_SERIES
,
...
...
@@ -39,15 +38,11 @@ public:
PROP_DATASERIES_ATTACHED_AXIS_INDEX
};
static
void
AddPropertiesToVector
(
void
AddPropertiesToVector
(
::
std
::
vector
<
::
com
::
sun
::
star
::
beans
::
Property
>
&
rOutProperties
);
static
void
AddDefaultsToMap
(
tPropertyValueMap
&
rOutMap
);
private
:
// not implemented
DataSeriesProperties
();
};
void
AddDefaultsToMap
(
tPropertyValueMap
&
rOutMap
);
}
}
// namespace chart
...
...
chart2/source/tools/ResourceManager.cxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -24,15 +24,14 @@
namespace
chart
{
ResMgr
*
ResourceManager
::
m_pResourceManager
=
0
;
ResMgr
&
ResourceManager
::
getResourceManager
()
{
// not threadsafe
if
(
!
m_pResourceManager
)
m_pResourceManager
=
ResMgr
::
CreateResMgr
(
"chartcontroller"
);
OSL_ASSERT
(
m_pResourceManager
);
return
*
m_pResourceManager
;
static
ResMgr
*
pResourceManager
=
0
;
if
(
!
pResourceManager
)
pResourceManager
=
ResMgr
::
CreateResMgr
(
"chartcontroller"
);
OSL_ASSERT
(
pResourceManager
);
return
*
pResourceManager
;
}
}
// namespace chart
...
...
chart2/source/view/inc/VDiagram.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -78,7 +78,7 @@ private: //methods
void
adjustAspectRatio3d
(
const
::
com
::
sun
::
star
::
awt
::
Size
&
rAvailableSize
);
private
:
//members
VDiagram
(
const
VDiagram
&
rD
);
VDiagram
(
const
VDiagram
&
rD
)
SAL_DELETED_FUNCTION
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>
m_xTarget
;
...
...
chart2/source/view/inc/VLegendSymbolFactory.hxx
Dosyayı görüntüle @
5b736d96
...
...
@@ -27,9 +27,8 @@
namespace
chart
{
class
VLegendSymbolFactory
namespace
VLegendSymbolFactory
{
public
:
enum
tPropertyType
{
PROP_TYPE_FILLED_SERIES
,
...
...
@@ -39,7 +38,7 @@ public:
PROP_TYPE_FILL_AND_LINE
};
static
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
createSymbol
(
const
::
com
::
sun
::
star
::
awt
::
Size
&
rEntryKeyAspectRatio
,
...
...
@@ -52,10 +51,7 @@ public:
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
&
xLegendEntryProperties
,
tPropertyType
ePropertyType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rExplicitSymbol
/*should contain a ::com::sun::star::chart2::Symbol without automatic symbol if the charttype does support symbols else empty*/
);
private
:
VLegendSymbolFactory
();
};
}
}
// namespace chart
...
...
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