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
cdd36980
Kaydet (Commit)
cdd36980
authored
May 11, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
repaint for every change when using formulas in color scales
Change-Id: I1eb42ac75228dee00079c86e7c378efb72f16e28
üst
fc48c494
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
colorscale.hxx
sc/inc/colorscale.hxx
+1
-0
colorscale.cxx
sc/source/core/data/colorscale.cxx
+11
-0
No files found.
sc/inc/colorscale.hxx
Dosyayı görüntüle @
cdd36980
...
@@ -59,6 +59,7 @@ public:
...
@@ -59,6 +59,7 @@ public:
bool
GetMin
()
const
;
bool
GetMin
()
const
;
bool
GetMax
()
const
;
bool
GetMax
()
const
;
bool
GetPercent
()
const
;
bool
GetPercent
()
const
;
bool
HasFormula
()
const
;
void
SetMin
(
bool
bMin
);
void
SetMin
(
bool
bMin
);
void
SetMax
(
bool
bMax
);
void
SetMax
(
bool
bMax
);
void
SetPercent
(
bool
bPercent
);
void
SetPercent
(
bool
bPercent
);
...
...
sc/source/core/data/colorscale.cxx
Dosyayı görüntüle @
cdd36980
...
@@ -104,6 +104,11 @@ bool ScColorScaleEntry::GetPercent() const
...
@@ -104,6 +104,11 @@ bool ScColorScaleEntry::GetPercent() const
return
mbPercent
;
return
mbPercent
;
}
}
bool
ScColorScaleEntry
::
HasFormula
()
const
{
return
mpCell
;
}
void
ScColorScaleEntry
::
SetMin
(
bool
bMin
)
void
ScColorScaleEntry
::
SetMin
(
bool
bMin
)
{
{
mbMin
=
bMin
;
mbMin
=
bMin
;
...
@@ -369,7 +374,13 @@ bool ScColorScaleFormat::CheckEntriesForRel(const ScRange& rRange) const
...
@@ -369,7 +374,13 @@ bool ScColorScaleFormat::CheckEntriesForRel(const ScRange& rRange) const
for
(
const_iterator
itr
=
begin
();
itr
!=
end
();
++
itr
)
for
(
const_iterator
itr
=
begin
();
itr
!=
end
();
++
itr
)
{
{
if
(
itr
->
GetMin
()
||
itr
->
GetMax
())
if
(
itr
->
GetMin
()
||
itr
->
GetMax
())
{
bNeedUpdate
=
true
;
bNeedUpdate
=
true
;
break
;
}
if
(
itr
->
HasFormula
())
return
true
;
}
}
// TODO: check also if the changed value is the new min/max
// TODO: check also if the changed value is the new min/max
...
...
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