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
3dee5e2c
Kaydet (Commit)
3dee5e2c
authored
Nis 12, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
better variable names for range name case in xls formula import
Change-Id: Ib9de454b7445bfd4c3bb12202d53119c129a2369
üst
988e2a75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
excform8.cxx
sc/source/filter/excel/excform8.cxx
+15
-14
No files found.
sc/source/filter/excel/excform8.cxx
Dosyayı görüntüle @
3dee5e2c
...
...
@@ -141,9 +141,10 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
bool
bArrayFormula
=
false
;
TokenId
nMerk0
;
const
bool
bCondFormat
=
eFT
==
FT_CondFormat
;
const
bool
bRangeName
=
eFT
==
FT_RangeName
||
bCondFormat
;
const
bool
bRangeName
=
eFT
==
FT_RangeName
;
const
bool
bRangeNameOrCond
=
bRangeName
||
bCondFormat
;
const
bool
bSharedFormula
=
eFT
==
FT_SharedFormula
;
const
bool
bRNorSF
=
bRangeName
||
bSharedFormula
;
const
bool
bRNorSF
=
bRangeName
OrCond
||
bSharedFormula
;
ScSingleRefData
aSRD
;
ScComplexRefData
aCRD
;
...
...
@@ -510,9 +511,9 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
nCol
=
aIn
.
ReaduInt16
();
aSRD
.
SetRelTab
(
0
);
aSRD
.
SetFlag3D
(
bRangeName
&&
!
bCondFormat
);
aSRD
.
SetFlag3D
(
bRangeName
);
ExcRelToScRel8
(
nRow
,
nCol
,
aSRD
,
bRangeName
);
ExcRelToScRel8
(
nRow
,
nCol
,
aSRD
,
bRangeName
OrCond
);
switch
(
nOp
)
{
...
...
@@ -546,11 +547,11 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
rSRef1
.
SetRelTab
(
0
);
rSRef2
.
SetRelTab
(
0
);
rSRef1
.
SetFlag3D
(
bRangeName
&&
!
bCondFormat
);
rSRef2
.
SetFlag3D
(
bRangeName
&&
!
bCondFormat
);
rSRef1
.
SetFlag3D
(
bRangeName
);
rSRef2
.
SetFlag3D
(
bRangeName
);
ExcRelToScRel8
(
nRowFirst
,
nColFirst
,
aCRD
.
Ref1
,
bRangeName
);
ExcRelToScRel8
(
nRowLast
,
nColLast
,
aCRD
.
Ref2
,
bRangeName
);
ExcRelToScRel8
(
nRowFirst
,
nColFirst
,
aCRD
.
Ref1
,
bRangeName
OrCond
);
ExcRelToScRel8
(
nRowLast
,
nColLast
,
aCRD
.
Ref2
,
bRangeName
OrCond
);
if
(
IsComplColRange
(
nColFirst
,
nColLast
)
)
SetComplCol
(
aCRD
);
...
...
@@ -604,7 +605,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
nCol
=
aIn
.
ReaduInt16
();
aSRD
.
SetRelTab
(
0
);
aSRD
.
SetFlag3D
(
bRangeName
);
aSRD
.
SetFlag3D
(
bRangeName
OrCond
);
ExcRelToScRel8
(
nRow
,
nCol
,
aSRD
,
bRNorSF
);
...
...
@@ -620,8 +621,8 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
aCRD
.
Ref1
.
SetRelTab
(
0
);
aCRD
.
Ref2
.
SetRelTab
(
0
);
aCRD
.
Ref1
.
SetFlag3D
(
bRangeName
);
aCRD
.
Ref2
.
SetFlag3D
(
bRangeName
);
aCRD
.
Ref1
.
SetFlag3D
(
bRangeName
OrCond
);
aCRD
.
Ref2
.
SetFlag3D
(
bRangeName
OrCond
);
nRowFirst
=
aIn
.
ReaduInt16
();
nRowLast
=
aIn
.
ReaduInt16
();
...
...
@@ -799,7 +800,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
aSRD
.
SetAbsTab
(
nTabFirst
);
aSRD
.
SetFlag3D
(
true
);
ExcRelToScRel8
(
nRw
,
nGrbitCol
,
aSRD
,
bRangeName
);
ExcRelToScRel8
(
nRw
,
nGrbitCol
,
aSRD
,
bRangeName
OrCond
);
switch
(
nOp
)
{
...
...
@@ -875,8 +876,8 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
rR1
.
SetFlag3D
(
true
);
rR2
.
SetFlag3D
(
nTabFirst
!=
nTabLast
);
ExcRelToScRel8
(
nRw1
,
nGrbitCol1
,
aCRD
.
Ref1
,
bRangeName
);
ExcRelToScRel8
(
nRw2
,
nGrbitCol2
,
aCRD
.
Ref2
,
bRangeName
);
ExcRelToScRel8
(
nRw1
,
nGrbitCol1
,
aCRD
.
Ref1
,
bRangeName
OrCond
);
ExcRelToScRel8
(
nRw2
,
nGrbitCol2
,
aCRD
.
Ref2
,
bRangeName
OrCond
);
if
(
IsComplColRange
(
nGrbitCol1
,
nGrbitCol2
)
)
SetComplCol
(
aCRD
);
...
...
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