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
b9264a4f
Kaydet (Commit)
b9264a4f
authored
Ock 15, 2001
tarafından
jp
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
IsSelOvr: skip over hidden paragraphs
üst
e5dfee73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
7 deletions
+36
-7
swcrsr.cxx
sw/source/core/crsr/swcrsr.cxx
+36
-7
No files found.
sw/source/core/crsr/swcrsr.cxx
Dosyayı görüntüle @
b9264a4f
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: swcrsr.cxx,v $
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
* last change: $Author: jp $ $Date: 200
0-11-20 16:37:48
$
* last change: $Author: jp $ $Date: 200
1-01-15 17:37:37
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -400,12 +400,41 @@ FASTBOOL SwCursor::IsSelOvr( int eFlags )
// neu: Bereiche ueberpruefen
const
SwNode
*
pNd
=
&
GetPoint
()
->
nNode
.
GetNode
();
if
(
pNd
->
IsCntntNode
()
&&
!
((
SwCntntNode
*
)
pNd
)
->
GetFrm
()
&&
0
==
(
SwUnoCrsr
*
)
*
this
)
if
(
pNd
->
IsCntntNode
()
&&
0
==
(
SwUnoCrsr
*
)
*
this
)
{
DeleteMark
();
RestoreSavePos
();
return
TRUE
;
// ohne Frames geht gar nichts!
const
SwCntntFrm
*
pFrm
=
((
SwCntntNode
*
)
pNd
)
->
GetFrm
();
if
(
pFrm
&&
0
==
pFrm
->
Frm
().
Height
()
&&
0
!=
(
SELOVER_CHANGEPOS
&
eFlags
)
)
{
// skip to the next / prev valida paragraph with a layout
SwNodeIndex
&
rPtIdx
=
GetPoint
()
->
nNode
;
int
bGoNxt
=
pSavePos
->
nNode
<
rPtIdx
.
GetIndex
();
while
(
0
!=
(
pFrm
=
(
bGoNxt
?
pFrm
->
GetNextCntntFrm
()
:
pFrm
->
GetPrevCntntFrm
()
))
&&
0
==
pFrm
->
Frm
().
Height
()
)
;
SwCntntNode
*
pCNd
;
if
(
pFrm
&&
0
!=
(
pCNd
=
(
SwCntntNode
*
)
pFrm
->
GetNode
())
)
{
// set this cntntNode as new position
rPtIdx
=
*
pCNd
;
// ContentIndex noch anmelden:
xub_StrLen
nTmpPos
=
bGoNxt
?
0
:
pCNd
->
Len
();
GetPoint
()
->
nContent
.
Assign
(
pCNd
,
nTmpPos
);
// sollten wir in einer Tabelle gelandet sein?
if
(
IsInProtectTable
(
TRUE
)
)
pFrm
=
0
;
}
}
if
(
!
pFrm
)
{
DeleteMark
();
RestoreSavePos
();
return
TRUE
;
// ohne Frames geht gar nichts!
}
}
// darf der Cursor in geschuetzen "Nodes" stehen?
...
...
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