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
962a5983
Kaydet (Commit)
962a5983
authored
Ock 10, 2001
tarafından
Oliver Specht
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
copy bookmarks: keep type
üst
ed157c55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
bookmrk.hxx
sw/inc/bookmrk.hxx
+3
-2
docbm.cxx
sw/source/core/doc/docbm.cxx
+8
-4
ndcopy.cxx
sw/source/core/docnode/ndcopy.cxx
+3
-3
No files found.
sw/inc/bookmrk.hxx
Dosyayı görüntüle @
962a5983
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: bookmrk.hxx,v $
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
* last change: $Author:
hr $ $Date: 2000-09-18 17:14:24
$
* last change: $Author:
os $ $Date: 2001-01-10 13:40:27
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -138,6 +138,7 @@ public:
BOOL
IsDDEMark
()
const
{
return
DDE_BOOKMARK
==
eMarkType
;
}
BOOL
IsUNOMark
()
const
{
return
UNO_BOOKMARK
==
eMarkType
;
}
void
SetType
(
BOOKMARK_TYPE
eNewType
)
{
eMarkType
=
eNewType
;
}
BOOKMARK_TYPE
GetType
()
const
{
return
eMarkType
;
}
void
SetStartMacro
(
const
SvxMacro
&
rSt
)
{
aStartMacro
=
rSt
;
}
const
SvxMacro
&
GetStartMacro
()
{
return
aStartMacro
;
}
...
...
sw/source/core/doc/docbm.cxx
Dosyayı görüntüle @
962a5983
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: docbm.cxx,v $
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
* last change: $Author:
hr $ $Date: 2000-09-19 00:08:15
$
* last change: $Author:
os $ $Date: 2001-01-10 13:41:24
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -280,7 +280,8 @@ SaveBookmark::SaveBookmark( int eType, const SwBookmark& rBkmk,
const
SwNodeIndex
&
rMvPos
,
const
SwIndex
*
pIdx
)
:
aName
(
rBkmk
.
GetName
()
),
aShortName
(
rBkmk
.
GetShortName
()
),
aCode
(
rBkmk
.
GetKeyCode
()
),
eBkmkType
(
(
SaveBookmarkType
)
eType
)
aCode
(
rBkmk
.
GetKeyCode
()
),
eBkmkType
(
(
SaveBookmarkType
)
eType
),
eOrigBkmType
(
rBkmk
.
GetType
())
{
nNode1
=
rBkmk
.
GetPos
().
nNode
.
GetIndex
();
nCntnt1
=
rBkmk
.
GetPos
().
nContent
.
GetIndex
();
...
...
@@ -353,7 +354,7 @@ void SaveBookmark::SetInDoc( SwDoc* pDoc, const SwNodeIndex& rNewPos,
if
(
!
aPam
.
HasMark
()
||
CheckNodesRange
(
aPam
.
GetPoint
()
->
nNode
,
aPam
.
GetMark
()
->
nNode
,
TRUE
))
pDoc
->
MakeBookmark
(
aPam
,
aCode
,
aName
,
aShortName
);
pDoc
->
MakeBookmark
(
aPam
,
aCode
,
aName
,
aShortName
,
eOrigBkmType
);
}
...
...
@@ -396,6 +397,9 @@ void _DelBookmarks( const SwNodeIndex& rStt, const SwNodeIndex& rEnd,
// liegt auf der Position ??
int
eType
=
BKMK_POS_NONE
;
SwBookmark
*
pBkmk
=
rBkmks
[
nCnt
];
//simple marks should not be moved
if
(
pBkmk
->
IsMark
())
continue
;
if
(
GreaterThan
(
pBkmk
->
GetPos
(),
rStt
,
pSttIdx
)
&&
Lower
(
pBkmk
->
GetPos
(),
rEnd
,
pEndIdx
))
eType
=
BKMK_POS
;
...
...
sw/source/core/docnode/ndcopy.cxx
Dosyayı görüntüle @
962a5983
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: ndcopy.cxx,v $
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
* last change: $Author:
hr $ $Date: 2000-09-19 00:08:17
$
* last change: $Author:
os $ $Date: 2001-01-10 13:41:45
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -572,7 +572,7 @@ void lcl_CopyBookmarks( const SwPaM& rPam, SwPaM& rCpyPam )
USHRT_MAX
!=
pDestDoc
->
FindBookmark
(
sNewNm
)
)
pDestDoc
->
MakeUniqueBookmarkName
(
sNewNm
);
pDestDoc
->
MakeBookmark
(
aTmpPam
,
pBkmk
->
GetKeyCode
(),
sNewNm
,
pBkmk
->
GetShortName
()
);
pBkmk
->
GetShortName
()
,
pBkmk
->
GetType
()
);
}
pDestDoc
->
DoUndo
(
bDoesUndo
);
}
...
...
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