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
d83104bf
Kaydet (Commit)
d83104bf
authored
Ock 20, 2012
tarafından
Philipp Weissenbacher
Kaydeden (comit)
Michael Stahl
Ock 20, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Translate German comments
üst
f325a615
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
ftnidx.cxx
sw/source/core/doc/ftnidx.cxx
+12
-14
tblcpy.cxx
sw/source/core/doc/tblcpy.cxx
+0
-0
No files found.
sw/source/core/doc/ftnidx.cxx
Dosyayı görüntüle @
d83104bf
...
...
@@ -84,7 +84,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
if
(
!
Count
()
)
return
;
//
besorge erstmal das Nodes-Array ueber den StartIndex der ersten Fussnote
//
Get the NodesArray using the first foot note's StartIndex
SwDoc
*
pDoc
=
rStt
.
GetNode
().
GetDoc
();
if
(
pDoc
->
IsInReading
()
)
return
;
...
...
@@ -93,9 +93,8 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
const
SwEndNoteInfo
&
rEndInfo
=
pDoc
->
GetEndNoteInfo
();
const
SwFtnInfo
&
rFtnInfo
=
pDoc
->
GetFtnInfo
();
//Fuer normale Fussnoten werden Chapter- und Dokumentweise Nummerierung
//getrennt behandelt. Fuer Endnoten gibt es nur die Dokumentweise
//Nummerierung.
// For normal foot notes we treat chapter and document-wise numbering
// seperately. For Endnotes we only have chapter-wise numbering.
if
(
FTNNUM_CHAPTER
==
rFtnInfo
.
eNum
)
{
const
SwOutlineNodes
&
rOutlNds
=
pDoc
->
GetNodes
().
GetOutLineNds
();
...
...
@@ -103,21 +102,21 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
sal_uLong
nCapEnd
=
pDoc
->
GetNodes
().
GetEndOfContent
().
GetIndex
();
if
(
rOutlNds
.
Count
()
)
{
//
suche den Start des Kapitels, in den rStt steht.
//
Find the Chapter's start, which contains rStt
sal_uInt16
n
;
for
(
n
=
0
;
n
<
rOutlNds
.
Count
();
++
n
)
if
(
rOutlNds
[
n
]
->
GetIndex
()
>
rStt
.
GetIndex
()
)
break
;
//
gefunden
break
;
//
found it!
//else if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() ) //#outline level,zhaojianwei
else
if
(
rOutlNds
[
n
]
->
GetTxtNode
()
->
GetAttrOutlineLevel
()
==
1
)
//<-end,zhaojianwei
pCapStt
=
rOutlNds
[
n
];
//
Start eines neuen Kapitels
//
dann suche jetzt noch das Ende vom Bereich
pCapStt
=
rOutlNds
[
n
];
//
Beginning of a new Chapter
//
now find the end of the range
for
(
;
n
<
rOutlNds
.
Count
();
++
n
)
//if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() )//#outline level,zhaojianwei
if
(
rOutlNds
[
n
]
->
GetTxtNode
()
->
GetAttrOutlineLevel
()
==
1
)
//<-end,zhaojianwei
{
nCapEnd
=
rOutlNds
[
n
]
->
GetIndex
();
// End
e des gefundenen Kapitels
nCapEnd
=
rOutlNds
[
n
]
->
GetIndex
();
// End
of the found Chapter
break
;
}
}
...
...
@@ -125,14 +124,14 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
sal_uInt16
nPos
,
nFtnNo
=
1
;
if
(
SeekEntry
(
*
pCapStt
,
&
nPos
)
&&
nPos
)
{
//
gehe nach vorne bis der Index nicht mehr gleich ist
//
Step forward until the Index is not the same anymore
const
SwNode
*
pCmpNd
=
&
rStt
.
GetNode
();
while
(
nPos
&&
pCmpNd
==
&
((
*
this
)[
--
nPos
]
->
GetTxtNode
())
)
;
++
nPos
;
}
if
(
nPos
==
Count
()
)
// n
ichts gefunden
if
(
nPos
==
Count
()
)
// n
othing found
return
;
if
(
!
rOutlNds
.
Count
()
)
...
...
@@ -154,8 +153,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
SwUpdFtnEndNtAtEnd
aNumArr
;
// sal_Bool, damit hier auch bei Chapter-Einstellung die Endnoten
// durchlaufen.
// sal_Bool, so that also go through the Endnotes with chapter setting enabled
const
sal_Bool
bEndNoteOnly
=
FTNNUM_DOC
!=
rFtnInfo
.
eNum
;
sal_uInt16
nPos
,
nFtnNo
=
1
,
nEndNo
=
1
;
...
...
@@ -179,7 +177,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
}
}
//
ab nPos bei allen FootNotes die Array-Nummer setzen
//
Set the array number for all footnotes starting from nPos
for
(
;
nPos
<
Count
();
++
nPos
)
{
pTxtFtn
=
(
*
this
)[
nPos
];
...
...
sw/source/core/doc/tblcpy.cxx
Dosyayı görüntüle @
d83104bf
This diff is collapsed.
Click to expand it.
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