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
6898506d
Kaydet (Commit)
6898506d
authored
Şub 27, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more code for conditional format API
Change-Id: Iba10222186c84c7a8ecf6928b8145dc941840421
üst
2a9d654c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
3 deletions
+34
-3
ConditionFormatOperator.idl
offapi/com/sun/star/sheet/ConditionFormatOperator.idl
+2
-0
DataBar.idl
offapi/com/sun/star/sheet/DataBar.idl
+1
-1
colorscale.hxx
sc/inc/colorscale.hxx
+4
-0
colorscale.cxx
sc/source/core/data/colorscale.cxx
+16
-0
condformatuno.hxx
sc/source/ui/inc/condformatuno.hxx
+11
-2
condformatuno.cxx
sc/source/ui/unoobj/condformatuno.cxx
+0
-0
No files found.
offapi/com/sun/star/sheet/ConditionFormatOperator.idl
Dosyayı görüntüle @
6898506d
...
...
@@ -57,6 +57,8 @@ constants ConditionFormatOperator
const
long
CONTAINS
=
20
;
const
long
NOT_CONTAINS
=
21
;
const
long
EXPRESSION
=
22
;
}
;
...
...
offapi/com/sun/star/sheet/DataBar.idl
Dosyayı görüntüle @
6898506d
...
...
@@ -28,7 +28,7 @@ service DataBar
*/
[
property
]
long
AxisPosition
;
[
property
]
boolean
Gradient
;
[
property
]
boolean
Use
Gradient
;
[
property
]
com
::
sun
::
star
::
util
::
Color
Color
;
...
...
sc/inc/colorscale.hxx
Dosyayı görüntüle @
6898506d
...
...
@@ -295,6 +295,7 @@ public:
void
SetDataBarData
(
ScDataBarFormatData
*
pData
);
const
ScDataBarFormatData
*
GetDataBarData
()
const
;
ScDataBarFormatData
*
GetDataBarData
();
virtual
void
DataChanged
(
const
ScRange
&
rRange
)
SAL_OVERRIDE
;
virtual
void
UpdateReference
(
sc
::
RefUpdateContext
&
rCxt
)
SAL_OVERRIDE
;
...
...
@@ -342,6 +343,7 @@ public:
void
SetIconSetData
(
ScIconSetFormatData
*
pData
);
const
ScIconSetFormatData
*
GetIconSetData
()
const
;
ScIconSetFormatData
*
GetIconSetData
();
virtual
void
DataChanged
(
const
ScRange
&
rRange
)
SAL_OVERRIDE
;
virtual
void
UpdateReference
(
sc
::
RefUpdateContext
&
rCxt
)
SAL_OVERRIDE
;
...
...
@@ -364,6 +366,8 @@ public:
iterator
end
();
const_iterator
end
()
const
;
size_t
size
()
const
;
private
:
double
GetMinValue
()
const
;
...
...
sc/source/core/data/colorscale.cxx
Dosyayı görüntüle @
6898506d
...
...
@@ -692,6 +692,11 @@ void ScDataBarFormat::SetDataBarData( ScDataBarFormatData* pData )
mpFormatData
.
reset
(
pData
);
}
ScDataBarFormatData
*
ScDataBarFormat
::
GetDataBarData
()
{
return
mpFormatData
.
get
();
}
const
ScDataBarFormatData
*
ScDataBarFormat
::
GetDataBarData
()
const
{
return
mpFormatData
.
get
();
...
...
@@ -953,6 +958,11 @@ void ScIconSetFormat::SetIconSetData( ScIconSetFormatData* pFormatData )
mpFormatData
.
reset
(
pFormatData
);
}
ScIconSetFormatData
*
ScIconSetFormat
::
GetIconSetData
()
{
return
mpFormatData
.
get
();
}
const
ScIconSetFormatData
*
ScIconSetFormat
::
GetIconSetData
()
const
{
return
mpFormatData
.
get
();
...
...
@@ -1167,6 +1177,12 @@ ScIconSetMap* ScIconSetFormat::getIconSetMap()
return
aIconSetMap
;
}
size_t
ScIconSetFormat
::
size
()
const
{
return
mpFormatData
->
maEntries
.
size
();
}
namespace
{
const
sal_Int32
a3TrafficLights1
[]
=
{
...
...
sc/source/ui/inc/condformatuno.hxx
Dosyayı görüntüle @
6898506d
...
...
@@ -16,6 +16,9 @@
#include <com/sun/star/sheet/XConditionalFormats.hpp>
#include <com/sun/star/sheet/XConditionalFormat.hpp>
#include <com/sun/star/sheet/XConditionEntry.hpp>
#include <com/sun/star/sheet/XColorScaleEntry.hpp>
#include <com/sun/star/sheet/XDataBarEntry.hpp>
#include <com/sun/star/sheet/XIconSetEntry.hpp>
#include <cppuhelper/weak.hxx>
#include <svl/itemprop.hxx>
...
...
@@ -26,6 +29,7 @@ class ScConditionalFormat;
class
ScIconSetFormat
;
class
ScDataBarFormat
;
class
ScColorScale
;
class
ScCondFormatEntry
;
using
namespace
com
::
sun
::
star
;
...
...
@@ -139,6 +143,7 @@ class ScConditionEntryObj : public com::sun::star::beans::XPropertySet,
{
public
:
ScConditionEntryObj
();
virtual
~
ScConditionEntryObj
();
// XConditionEntry
...
...
@@ -188,6 +193,7 @@ public:
private
:
SfxItemPropertySet
maPropSet
;
ScCondFormatEntry
*
pFormat
;
};
class
ScColorScaleFormatObj
:
public
com
::
sun
::
star
::
beans
::
XPropertySet
,
...
...
@@ -195,6 +201,7 @@ class ScColorScaleFormatObj : public com::sun::star::beans::XPropertySet,
{
public
:
ScColorScaleFormatObj
();
virtual
~
ScColorScaleFormatObj
();
// XPropertySet
...
...
@@ -247,6 +254,7 @@ class ScDataBarFormatObj : public com::sun::star::beans::XPropertySet,
public
cppu
::
OWeakObject
{
public
:
ScDataBarFormatObj
();
virtual
~
ScDataBarFormatObj
();
// XPropertySet
...
...
@@ -291,7 +299,7 @@ public:
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
private
:
ScDataBarFormat
*
pDataBar
;
ScDataBarFormat
*
m
pDataBar
;
SfxItemPropertySet
maPropSet
;
};
...
...
@@ -299,6 +307,7 @@ class ScIconSetFormatObj : public com::sun::star::beans::XPropertySet,
public
cppu
::
OWeakObject
{
public
:
ScIconSetFormatObj
();
virtual
~
ScIconSetFormatObj
();
// XPropertySet
...
...
@@ -344,7 +353,7 @@ public:
private
:
ScIconSetFormat
*
pIconSet
;
ScIconSetFormat
*
m
pIconSet
;
SfxItemPropertySet
maPropSet
;
};
...
...
sc/source/ui/unoobj/condformatuno.cxx
Dosyayı görüntüle @
6898506d
This diff is collapsed.
Click to expand it.
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