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
5becce4c
Kaydet (Commit)
5becce4c
authored
Şub 08, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
These method names should use singular 'Cell', not 'Cells'.
Change-Id: I9faa2727eda05be041aff4347f921ec9cd9b49d2
üst
10461da7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
xmlcelli.cxx
sc/source/filter/xml/xmlcelli.cxx
+7
-6
xmlcelli.hxx
sc/source/filter/xml/xmlcelli.hxx
+2
-2
No files found.
sc/source/filter/xml/xmlcelli.cxx
Dosyayı görüntüle @
5becce4c
...
@@ -785,7 +785,7 @@ bool isEmptyOrNote( ScDocument* pDoc, const ScAddress& rCurrentPos )
...
@@ -785,7 +785,7 @@ bool isEmptyOrNote( ScDocument* pDoc, const ScAddress& rCurrentPos )
}
}
void
ScXMLTableRowCellContext
::
AddTextAndValueCell
s
(
const
ScAddress
&
rCellPos
,
void
ScXMLTableRowCellContext
::
AddTextAndValueCell
(
const
ScAddress
&
rCellPos
,
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
,
ScAddress
&
rCurrentPos
)
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
,
ScAddress
&
rCurrentPos
)
{
{
ScMyTables
&
rTables
=
rXMLImport
.
GetTables
();
ScMyTables
&
rTables
=
rXMLImport
.
GetTables
();
...
@@ -925,7 +925,7 @@ rtl::OUString getOutputString(ScDocument* pDoc, const ScAddress& aCellPos)
...
@@ -925,7 +925,7 @@ rtl::OUString getOutputString(ScDocument* pDoc, const ScAddress& aCellPos)
}
}
void
ScXMLTableRowCellContext
::
AddNonFormulaCell
s
(
const
ScAddress
&
rCellPos
)
void
ScXMLTableRowCellContext
::
AddNonFormulaCell
(
const
ScAddress
&
rCellPos
)
{
{
::
boost
::
optional
<
rtl
::
OUString
>
pOUText
;
::
boost
::
optional
<
rtl
::
OUString
>
pOUText
;
...
@@ -942,7 +942,7 @@ void ScXMLTableRowCellContext::AddNonFormulaCells( const ScAddress& rCellPos )
...
@@ -942,7 +942,7 @@ void ScXMLTableRowCellContext::AddNonFormulaCells( const ScAddress& rCellPos )
if
(
HasSpecialContent
()
)
if
(
HasSpecialContent
()
)
bIsEmpty
=
false
;
bIsEmpty
=
false
;
AddTextAndValueCell
s
(
rCellPos
,
pOUText
,
aCurrentPos
);
AddTextAndValueCell
(
rCellPos
,
pOUText
,
aCurrentPos
);
if
(
CellsAreRepeated
()
)
if
(
CellsAreRepeated
()
)
{
{
...
@@ -1114,10 +1114,11 @@ void ScXMLTableRowCellContext::EndElement()
...
@@ -1114,10 +1114,11 @@ void ScXMLTableRowCellContext::EndElement()
aCellPos
.
SetRow
(
aCellPos
.
Row
()
-
(
nRepeatedRows
-
1
)
);
aCellPos
.
SetRow
(
aCellPos
.
Row
()
-
(
nRepeatedRows
-
1
)
);
if
(
bIsMerged
)
if
(
bIsMerged
)
DoMerge
(
aCellPos
,
nMergedCols
-
1
,
nMergedRows
-
1
);
DoMerge
(
aCellPos
,
nMergedCols
-
1
,
nMergedRows
-
1
);
if
(
!
maFormula
)
AddNonFormulaCells
(
aCellPos
);
if
(
maFormula
)
AddFormulaCell
(
aCellPos
);
else
else
Add
FormulaCell
(
aCellPos
);
Add
NonFormulaCell
(
aCellPos
);
UnlockSolarMutex
();
//if LockSolarMutex got used, we presumably need to ensure an UnlockSolarMutex
UnlockSolarMutex
();
//if LockSolarMutex got used, we presumably need to ensure an UnlockSolarMutex
...
...
sc/source/filter/xml/xmlcelli.hxx
Dosyayı görüntüle @
5becce4c
...
@@ -81,9 +81,9 @@ class ScXMLTableRowCellContext : public SvXMLImportContext
...
@@ -81,9 +81,9 @@ class ScXMLTableRowCellContext : public SvXMLImportContext
void
PutTextCell
(
const
ScAddress
&
rScCurrentPos
,
const
SCCOL
nCurrentCol
,
void
PutTextCell
(
const
ScAddress
&
rScCurrentPos
,
const
SCCOL
nCurrentCol
,
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
);
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
);
void
PutValueCell
(
const
ScAddress
&
rScCurrentPos
);
void
PutValueCell
(
const
ScAddress
&
rScCurrentPos
);
void
AddTextAndValueCell
s
(
const
ScAddress
&
rScCellPos
,
void
AddTextAndValueCell
(
const
ScAddress
&
rScCellPos
,
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
,
ScAddress
&
rScCurrentPos
);
const
::
boost
::
optional
<
rtl
::
OUString
>&
pOUText
,
ScAddress
&
rScCurrentPos
);
void
AddNonFormulaCell
s
(
const
ScAddress
&
rScCellPos
);
void
AddNonFormulaCell
(
const
ScAddress
&
rScCellPos
);
void
PutFormulaCell
(
const
ScAddress
&
rScCurrentPos
);
void
PutFormulaCell
(
const
ScAddress
&
rScCurrentPos
);
void
AddFormulaCell
(
const
ScAddress
&
rScCellPos
);
void
AddFormulaCell
(
const
ScAddress
&
rScCellPos
);
...
...
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