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
b68ed302
Kaydet (Commit)
b68ed302
authored
Kas 02, 2016
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
check only Column elements when computing column index
Change-Id: I4856227c05e97daefbae7e98c0e9d70f84e1a2b4
üst
6f364298
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spreadsheetml2ooo.xsl
...er/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
+3
-3
No files found.
filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
Dosyayı görüntüle @
b68ed302
...
@@ -5122,18 +5122,18 @@
...
@@ -5122,18 +5122,18 @@
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<xsl:variable
name=
"recent-index"
<xsl:variable
name=
"recent-index"
select=
"preceding-sibling::
*
[@ss:Index][last()]"
/>
select=
"preceding-sibling::
ss:Column
[@ss:Index][last()]"
/>
<xsl:choose>
<xsl:choose>
<xsl:when
test=
"$recent-index"
>
<xsl:when
test=
"$recent-index"
>
<xsl:variable
name=
"nodes-up-to-current"
<xsl:variable
name=
"nodes-up-to-current"
select=
"set:intersection(preceding-sibling::
*, $recent-index/following-sibling::*
)"
/>
select=
"set:intersection(preceding-sibling::
ss:Column, $recent-index/following-sibling::ss:Column
)"
/>
<xsl:variable
name=
"allSpans"
select=
"$nodes-up-to-current/@ss:Span"
/>
<xsl:variable
name=
"allSpans"
select=
"$nodes-up-to-current/@ss:Span"
/>
<xsl:value-of
<xsl:value-of
select=
"$recent-index/@ss:Index + count($nodes-up-to-current) + sum($allSpans) + count($allSpans)"
select=
"$recent-index/@ss:Index + count($nodes-up-to-current) + sum($allSpans) + count($allSpans)"
/>
/>
</xsl:when>
</xsl:when>
<xsl:otherwise>
<xsl:otherwise>
<xsl:variable
name=
"allSpans"
select=
"preceding-sibling::
*
/@ss:Span"
/>
<xsl:variable
name=
"allSpans"
select=
"preceding-sibling::
ss:Column
/@ss:Span"
/>
<xsl:value-of
select=
"$currentCount + sum($allSpans) + count($allSpans)"
/>
<xsl:value-of
select=
"$currentCount + sum($allSpans) + count($allSpans)"
/>
</xsl:otherwise>
</xsl:otherwise>
...
...
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