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
a7afc46b
Kaydet (Commit)
a7afc46b
authored
Tem 02, 2001
tarafından
Oliver Specht
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#85609# dont allow counting by chapter an positon at end of document
üst
dec377fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
16 deletions
+25
-16
docfnote.cxx
sw/source/ui/misc/docfnote.cxx
+19
-11
impfnote.hxx
sw/source/ui/misc/impfnote.hxx
+6
-5
No files found.
sw/source/ui/misc/docfnote.cxx
Dosyayı görüntüle @
a7afc46b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: docfnote.cxx,v $
* $RCSfile: docfnote.cxx,v $
*
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
*
* last change: $Author:
fme $ $Date: 2001-06-01 11:04:53
$
* last change: $Author:
os $ $Date: 2001-07-02 11:52:55
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -206,15 +206,16 @@ SwEndNoteOptionPage::SwEndNoteOptionPage( Window *pParent, BOOL bEN,
...
@@ -206,15 +206,16 @@ SwEndNoteOptionPage::SwEndNoteOptionPage( Window *pParent, BOOL bEN,
aContFL
(
this
,
ResId
(
FL_CONT
)),
aContFL
(
this
,
ResId
(
FL_CONT
)),
aNumPage
(
aNumCountBox
.
GetEntry
(
FTNNUM_PAGE
)),
aNumPage
(
aNumCountBox
.
GetEntry
(
FTNNUM_PAGE
)),
aNumChapter
(
aNumCountBox
.
GetEntry
(
FTNNUM_CHAPTER
)),
pSh
(
0
),
pSh
(
0
),
bPosDoc
(
FALSE
),
bPosDoc
(
FALSE
),
bEndNote
(
bEN
)
bEndNote
(
bEN
)
{
{
FreeResource
();
FreeResource
();
aPosPageBox
.
SetClickHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
PosPage
));
aPosPageBox
.
SetClickHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
PosPage
Hdl
));
aPosChapterBox
.
SetClickHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
PosChapter
));
aPosChapterBox
.
SetClickHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
PosChapter
Hdl
));
aNumCountBox
.
SetSelectHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
NumCount
));
aNumCountBox
.
SetSelectHdl
(
LINK
(
this
,
SwEndNoteOptionPage
,
NumCount
Hdl
));
}
}
...
@@ -262,6 +263,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet& )
...
@@ -262,6 +263,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet& )
{
{
aPosChapterBox
.
Check
();
aPosChapterBox
.
Check
();
aNumCountBox
.
RemoveEntry
(
aNumPage
);
aNumCountBox
.
RemoveEntry
(
aNumPage
);
aNumCountBox
.
RemoveEntry
(
aNumChapter
);
bPosDoc
=
TRUE
;
bPosDoc
=
TRUE
;
}
}
// Verweistexte
// Verweistexte
...
@@ -355,7 +357,7 @@ SfxTabPage *SwEndNoteOptionPage::Create( Window *pParent, const SfxItemSet &rSet
...
@@ -355,7 +357,7 @@ SfxTabPage *SwEndNoteOptionPage::Create( Window *pParent, const SfxItemSet &rSet
inline
void
SwEndNoteOptionPage
::
SelectNumbering
(
int
eNum
)
inline
void
SwEndNoteOptionPage
::
SelectNumbering
(
int
eNum
)
{
{
aNumCountBox
.
SelectEntryPos
(
bPosDoc
?
(
USHORT
)
eNum
-
1
:
eNum
);
aNumCountBox
.
SelectEntryPos
(
bPosDoc
?
(
USHORT
)
eNum
-
1
:
eNum
);
NumCount
(
&
aNumCountBox
);
NumCount
Hdl
(
&
aNumCountBox
);
}
}
...
@@ -390,12 +392,14 @@ void SwEndNoteOptionPage::SetShell( SwWrtShell &rShell )
...
@@ -390,12 +392,14 @@ void SwEndNoteOptionPage::SetShell( SwWrtShell &rShell )
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK
(
SwEndNoteOptionPage
,
PosPage
,
Button
*
,
EMPTYARG
)
IMPL_LINK
(
SwEndNoteOptionPage
,
PosPage
Hdl
,
Button
*
,
EMPTYARG
)
{
{
const
SwFtnNum
eNum
=
(
const
SwFtnNum
)
GetNumbering
();
const
SwFtnNum
eNum
=
(
const
SwFtnNum
)
GetNumbering
();
bPosDoc
=
FALSE
;
bPosDoc
=
FALSE
;
if
(
LISTBOX_ENTRY_NOTFOUND
==
aNumCountBox
.
GetEntryPos
(
aNumPage
))
{
if
(
LISTBOX_ENTRY_NOTFOUND
==
aNumCountBox
.
GetEntryPos
(
aNumPage
))
{
aNumCountBox
.
InsertEntry
(
aNumPage
,
FTNNUM_PAGE
);
aNumCountBox
.
InsertEntry
(
aNumPage
,
FTNNUM_PAGE
);
aNumCountBox
.
InsertEntry
(
aNumChapter
,
FTNNUM_CHAPTER
);
SelectNumbering
(
eNum
);
SelectNumbering
(
eNum
);
}
}
aPageTemplLbl
.
Enable
(
FALSE
);
aPageTemplLbl
.
Enable
(
FALSE
);
...
@@ -409,7 +413,7 @@ IMPL_LINK( SwEndNoteOptionPage, PosPage, Button *, EMPTYARG )
...
@@ -409,7 +413,7 @@ IMPL_LINK( SwEndNoteOptionPage, PosPage, Button *, EMPTYARG )
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK
(
SwEndNoteOptionPage
,
NumCount
,
ListBox
*
,
EMPTYARG
)
IMPL_LINK
(
SwEndNoteOptionPage
,
NumCount
Hdl
,
ListBox
*
,
EMPTYARG
)
{
{
BOOL
bEnable
=
TRUE
;
BOOL
bEnable
=
TRUE
;
if
(
aNumCountBox
.
GetEntryCount
()
-
1
!=
aNumCountBox
.
GetSelectEntryPos
()
)
if
(
aNumCountBox
.
GetEntryCount
()
-
1
!=
aNumCountBox
.
GetSelectEntryPos
()
)
...
@@ -430,18 +434,19 @@ IMPL_LINK( SwEndNoteOptionPage, NumCount, ListBox*, EMPTYARG )
...
@@ -430,18 +434,19 @@ IMPL_LINK( SwEndNoteOptionPage, NumCount, ListBox*, EMPTYARG )
------------------------------------------------------------------------*/
------------------------------------------------------------------------*/
IMPL_LINK_INLINE_START
(
SwEndNoteOptionPage
,
PosChapter
,
Button
*
,
EMPTYARG
)
IMPL_LINK_INLINE_START
(
SwEndNoteOptionPage
,
PosChapter
Hdl
,
Button
*
,
EMPTYARG
)
{
{
if
(
!
bPosDoc
)
if
(
!
bPosDoc
)
SelectNumbering
(
FTNNUM_DOC
);
SelectNumbering
(
FTNNUM_DOC
);
bPosDoc
=
TRUE
;
bPosDoc
=
TRUE
;
aNumCountBox
.
RemoveEntry
(
aNumPage
);
aNumCountBox
.
RemoveEntry
(
aNumPage
);
aNumCountBox
.
RemoveEntry
(
aNumChapter
);
aPageTemplLbl
.
Enable
();
aPageTemplLbl
.
Enable
();
aPageTemplBox
.
Enable
();
aPageTemplBox
.
Enable
();
return
0
;
return
0
;
}
}
IMPL_LINK_INLINE_END
(
SwEndNoteOptionPage
,
PosChapter
,
Button
*
,
EMPTYARG
)
IMPL_LINK_INLINE_END
(
SwEndNoteOptionPage
,
PosChapter
Hdl
,
Button
*
,
EMPTYARG
)
SwCharFmt
*
lcl_GetCharFormat
(
SwWrtShell
*
pSh
,
const
String
&
rCharFmtName
)
SwCharFmt
*
lcl_GetCharFormat
(
SwWrtShell
*
pSh
,
const
String
&
rCharFmtName
)
{
{
...
@@ -534,6 +539,9 @@ SfxTabPage *SwFootNoteOptionPage::Create(Window *pParent, const SfxItemSet &rSet
...
@@ -534,6 +539,9 @@ SfxTabPage *SwFootNoteOptionPage::Create(Window *pParent, const SfxItemSet &rSet
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.5 2001/06/01 11:04:53 fme
Fix #86988#: Redesign of dialogs
Revision 1.4 2001/03/02 14:08:37 os
Revision 1.4 2001/03/02 14:08:37 os
extended numbering types available
extended numbering types available
...
...
sw/source/ui/misc/impfnote.hxx
Dosyayı görüntüle @
a7afc46b
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: impfnote.hxx,v $
* $RCSfile: impfnote.hxx,v $
*
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
*
* last change: $Author:
fme $ $Date: 2001-06-01 11:04:53
$
* last change: $Author:
os $ $Date: 2001-07-02 11:52:55
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -118,6 +118,7 @@ class SwEndNoteOptionPage : public SfxTabPage
...
@@ -118,6 +118,7 @@ class SwEndNoteOptionPage : public SfxTabPage
FixedLine
aContFL
;
FixedLine
aContFL
;
String
aNumPage
;
String
aNumPage
;
String
aNumChapter
;
SwWrtShell
*
pSh
;
SwWrtShell
*
pSh
;
BOOL
bPosDoc
;
BOOL
bPosDoc
;
BOOL
bEndNote
;
BOOL
bEndNote
;
...
@@ -125,9 +126,9 @@ class SwEndNoteOptionPage : public SfxTabPage
...
@@ -125,9 +126,9 @@ class SwEndNoteOptionPage : public SfxTabPage
inline
void
SelectNumbering
(
int
eNum
);
inline
void
SelectNumbering
(
int
eNum
);
int
GetNumbering
()
const
;
int
GetNumbering
()
const
;
DECL_LINK
(
PosPage
,
Button
*
);
DECL_LINK
(
PosPage
Hdl
,
Button
*
);
DECL_LINK
(
PosChapter
,
Button
*
);
DECL_LINK
(
PosChapter
Hdl
,
Button
*
);
DECL_LINK
(
NumCount
,
ListBox
*
);
DECL_LINK
(
NumCount
Hdl
,
ListBox
*
);
public
:
public
:
...
...
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