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
52a6d6f5
Kaydet (Commit)
52a6d6f5
authored
Kas 03, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add (no) error cond format import from ooxml
Change-Id: I668a9b843cf281a167ca87d24b717c782bbc1e1b
üst
94700370
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
condformatbuffer.cxx
sc/source/filter/oox/condformatbuffer.cxx
+9
-2
No files found.
sc/source/filter/oox/condformatbuffer.cxx
Dosyayı görüntüle @
52a6d6f5
...
...
@@ -735,10 +735,10 @@ void CondFormatRule::finalizeImport()
aReplaceFormula
=
"LEN(TRIM(#B))>0"
;
break
;
case
XML_containsErrors
:
aReplaceFormula
=
"ISERROR(#B)"
;
eOperator
=
SC_COND_ERROR
;
break
;
case
XML_notContainsErrors
:
aReplaceFormula
=
"NOT(ISERROR(#B))"
;
eOperator
=
SC_COND_NOERROR
;
break
;
case
XML_top10
:
if
(
maModel
.
mbPercent
)
...
...
@@ -861,6 +861,13 @@ void CondFormatRule::finalizeImport()
ScCondFormatEntry
*
pNewEntry
=
new
ScCondFormatEntry
(
eOperator
,
&
aTokenArrayEqual
,
&
aTokenArrayDev
,
&
rDoc
,
aPos
,
aStyleName
);
mpFormat
->
AddEntry
(
pNewEntry
);
}
else
if
(
eOperator
==
SC_COND_ERROR
||
eOperator
==
SC_COND_NOERROR
)
{
ScDocument
&
rDoc
=
getScDocument
();
OUString
aStyleName
=
getStyles
().
createDxfStyle
(
maModel
.
mnDxfId
);
ScCondFormatEntry
*
pNewEntry
=
new
ScCondFormatEntry
(
eOperator
,
NULL
,
NULL
,
&
rDoc
,
aPos
,
aStyleName
);
mpFormat
->
AddEntry
(
pNewEntry
);
}
else
if
(
eOperator
==
SC_COND_DUPLICATE
||
eOperator
==
SC_COND_NOTDUPLICATE
)
{
ScDocument
&
rDoc
=
getScDocument
();
...
...
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