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
fd4d8cee
Kaydet (Commit)
fd4d8cee
authored
Agu 25, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Now we don't need to increment progress bar on every edit cell.
Change-Id: Id5d460c134c6683a4e876856575ce269a43ea66f
üst
d5d96b15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
xmlexprt.cxx
sc/source/filter/xml/xmlexprt.cxx
+3
-7
xmlexprt.hxx
sc/source/filter/xml/xmlexprt.hxx
+1
-1
No files found.
sc/source/filter/xml/xmlexprt.cxx
Dosyayı görüntüle @
fd4d8cee
...
...
@@ -3340,18 +3340,14 @@ void ScXMLExport::WriteCell(ScMyCell& aCell, sal_Int32 nEqualCellCount)
WriteAnnotation
(
aCell
);
WriteDetective
(
aCell
);
bool
bEditCell
=
false
;
if
(
!
bIsEmpty
)
{
if
(
aCell
.
nType
==
table
::
CellContentType_TEXT
&&
aCell
.
maBaseCell
.
meType
==
CELLTYPE_EDIT
)
{
bEditCell
=
true
;
WriteEditCell
(
aCell
.
maBaseCell
.
mpEditText
);
}
else
if
(
aCell
.
nType
==
table
::
CellContentType_FORMULA
&&
IsMultiLineFormulaCell
(
aCell
))
{
bEditCell
=
true
;
WriteMultiLineFormulaResult
(
aCell
.
maBaseCell
.
mpFormula
);
}
else
...
...
@@ -3364,7 +3360,7 @@ void ScXMLExport::WriteCell(ScMyCell& aCell, sal_Int32 nEqualCellCount)
}
WriteShapes
(
aCell
);
if
(
!
bIsEmpty
)
IncrementProgressBar
(
bEditCell
);
IncrementProgressBar
(
false
);
}
void
ScXMLExport
::
WriteEditCell
(
const
EditTextObject
*
pText
)
...
...
@@ -5006,10 +5002,10 @@ void ScXMLExport::CollectUserDefinedNamespaces(const SfxItemPool* pPool, sal_uIn
XML_NAMESPACE_PRESENTATION
);
}
void
ScXMLExport
::
IncrementProgressBar
(
bool
b
EditCell
,
sal_Int32
nInc
)
void
ScXMLExport
::
IncrementProgressBar
(
bool
b
Flush
,
sal_Int32
nInc
)
{
nProgressCount
+=
nInc
;
if
(
b
EditCell
||
nProgressCount
>
100
)
if
(
b
Flush
||
nProgressCount
>
100
)
{
GetProgressBarHelper
()
->
Increment
(
nProgressCount
);
nProgressCount
=
0
;
...
...
sc/source/filter/xml/xmlexprt.hxx
Dosyayı görüntüle @
fd4d8cee
...
...
@@ -220,7 +220,7 @@ class ScXMLExport : public SvXMLExport
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>&
xRowProperties
,
const
OUString
*
pOldName
,
sal_Int32
&
rIndex
);
void
IncrementProgressBar
(
bool
b
EditCell
,
sal_Int32
nInc
=
1
);
void
IncrementProgressBar
(
bool
b
Flush
,
sal_Int32
nInc
=
1
);
void
CopySourceStream
(
sal_Int32
nStartOffset
,
sal_Int32
nEndOffset
,
sal_Int32
&
rNewStart
,
sal_Int32
&
rNewEnd
);
...
...
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