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
adc4c530
Kaydet (Commit)
adc4c530
authored
Haz 24, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
only show dialog elements if entry is not collapsed
Change-Id: Id85e7b2360c2630c894ce7e4e9ee505810cefe76
üst
9a906437
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
condformatdlg.cxx
sc/source/ui/condformat/condformatdlg.cxx
+24
-0
No files found.
sc/source/ui/condformat/condformatdlg.cxx
Dosyayı görüntüle @
adc4c530
...
@@ -459,6 +459,10 @@ void ScCondFrmtEntry::SwitchToType( ScCondFormatEntryType eType )
...
@@ -459,6 +459,10 @@ void ScCondFrmtEntry::SwitchToType( ScCondFormatEntryType eType )
maCondText
.
append
(
getExpression
(
maLbCondType
.
GetSelectEntryPos
()));
maCondText
.
append
(
getExpression
(
maLbCondType
.
GetSelectEntryPos
()));
maFtCondition
.
SetText
(
maCondText
.
makeStringAndClear
());
maFtCondition
.
SetText
(
maCondText
.
makeStringAndClear
());
maFtCondition
.
Show
();
maFtCondition
.
Show
();
maLbType
.
Hide
();
HideCondElements
();
HideColorScaleElements
();
HideDataBarElements
();
}
}
break
;
break
;
default
:
default
:
...
@@ -466,6 +470,7 @@ void ScCondFrmtEntry::SwitchToType( ScCondFormatEntryType eType )
...
@@ -466,6 +470,7 @@ void ScCondFrmtEntry::SwitchToType( ScCondFormatEntryType eType )
maLbType
.
Show
();
maLbType
.
Show
();
maFtCondition
.
SetText
(
rtl
::
OUString
(
""
));
maFtCondition
.
SetText
(
rtl
::
OUString
(
""
));
maFtCondition
.
Hide
();
maFtCondition
.
Hide
();
maLbType
.
Show
();
break
;
break
;
}
}
}
}
...
@@ -609,6 +614,21 @@ void ScCondFrmtEntry::SetFormulaType()
...
@@ -609,6 +614,21 @@ void ScCondFrmtEntry::SetFormulaType()
void
ScCondFrmtEntry
::
Select
()
void
ScCondFrmtEntry
::
Select
()
{
{
SetControlForeground
(
Color
(
COL_RED
));
SetControlForeground
(
Color
(
COL_RED
));
switch
(
meType
)
{
case
CONDITION
:
SetCondType
();
break
;
case
COLORSCALE
:
SetColorScaleType
();
break
;
case
DATABAR
:
SetDataBarType
();
break
;
case
FORMULA
:
SetFormulaType
();
break
;
}
SwitchToType
(
meType
);
SwitchToType
(
meType
);
mbActive
=
true
;
mbActive
=
true
;
SetHeight
();
SetHeight
();
...
@@ -1045,6 +1065,10 @@ IMPL_LINK_NOARG( ScCondFormatList, AddBtnHdl )
...
@@ -1045,6 +1065,10 @@ IMPL_LINK_NOARG( ScCondFormatList, AddBtnHdl )
{
{
ScCondFrmtEntry
*
pNewEntry
=
new
ScCondFrmtEntry
(
this
,
mpDoc
);
ScCondFrmtEntry
*
pNewEntry
=
new
ScCondFrmtEntry
(
this
,
mpDoc
);
maEntries
.
push_back
(
pNewEntry
);
maEntries
.
push_back
(
pNewEntry
);
for
(
EntryContainer
::
iterator
itr
=
maEntries
.
begin
();
itr
!=
maEntries
.
end
();
++
itr
)
{
itr
->
Deselect
();
}
pNewEntry
->
Select
();
pNewEntry
->
Select
();
RecalcAll
();
RecalcAll
();
return
0
;
return
0
;
...
...
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