diff options
Diffstat (limited to 'sw/source/ui/misc/insfnote.cxx')
-rw-r--r-- | sw/source/ui/misc/insfnote.cxx | 58 |
1 files changed, 3 insertions, 55 deletions
diff --git a/sw/source/ui/misc/insfnote.cxx b/sw/source/ui/misc/insfnote.cxx index 7e9d4894faaa..3fbb9effb9f8 100644 --- a/sw/source/ui/misc/insfnote.cxx +++ b/sw/source/ui/misc/insfnote.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -58,7 +59,7 @@ static sal_Bool bFootnote = sal_True; Beschreibung: Einfuegen der Fussnote durch OK ------------------------------------------------------------------------*/ -void __EXPORT SwInsFootNoteDlg::Apply() +void SwInsFootNoteDlg::Apply() { String aStr; @@ -92,37 +93,12 @@ void __EXPORT SwInsFootNoteDlg::Apply() } else { -/* - rSh.StartUndo( UNDO_UI_INSERT_FOOTNOTE ); - rSh.InsertFootnote( aStr, aEndNoteBtn.IsChecked(), !bExtCharAvailable ); - if ( bExtCharAvailable ) - { - rSh.Left( CRSR_SKIP_CHARS, sal_True, 1, sal_False ); - SfxItemSet aSet( rSh.GetAttrPool(), RES_CHRATR_FONT, RES_CHRATR_FONT ); - rSh.GetAttr( aSet ); - SvxFontItem &rFont = (SvxFontItem &) aSet.Get( RES_CHRATR_FONT ); - SvxFontItem aFont( rFont.GetFamily(), aFontName, - rFont.GetStyleName(), rFont.GetPitch(), - eCharSet ); - aSet.Put( aFont ); - rSh.SetAttr( aSet, SETATTR_DONTEXPAND ); - // zur Bearbeitung des Fussnotentextes - rSh.ResetSelect(0, sal_False); - rSh.GotoFtnTxt(); - } - rSh.EndUndo( UNDO_UI_INSERT_FOOTNOTE ); -*/ } bFootnote = aFtnBtn.IsChecked(); } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) { aNumberCharEdit.GrabFocus(); @@ -131,10 +107,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberCharHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) { aNumberCharBtn.Check( sal_True ); @@ -144,10 +116,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberEditHdl, void *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) { aOkBtn.Enable( sal_True ); @@ -155,10 +123,6 @@ IMPL_LINK_INLINE_START( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) } IMPL_LINK_INLINE_END( SwInsFootNoteDlg, NumberAutoBtnHdl, Button *, EMPTYARG ) -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwInsFootNoteDlg, NumberExtCharHdl, Button *, EMPTYARG ) { aNumberCharBtn.Check( sal_True ); @@ -202,10 +166,6 @@ IMPL_LINK( SwInsFootNoteDlg, NumberExtCharHdl, Button *, EMPTYARG ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - IMPL_LINK( SwInsFootNoteDlg, NextPrevHdl, Button *, pBtn ) { Apply(); @@ -222,10 +182,6 @@ IMPL_LINK( SwInsFootNoteDlg, NextPrevHdl, Button *, pBtn ) return 0; } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, sal_Bool bEd) : SvxStandardDialog(pParent,SW_RES(DLG_INS_FOOTNOTE)), @@ -275,11 +231,6 @@ SwInsFootNoteDlg::SwInsFootNoteDlg(Window *pParent, SwWrtShell &rShell, sal_Bool } } - -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - SwInsFootNoteDlg::~SwInsFootNoteDlg() { rSh.SetCareWin(0); @@ -288,10 +239,6 @@ SwInsFootNoteDlg::~SwInsFootNoteDlg() rSh.ResetSelect(0, sal_False); } -/*------------------------------------------------------------------------ - Beschreibung: -------------------------------------------------------------------------*/ - void SwInsFootNoteDlg::Init() { SwFmtFtn aFtnNote; @@ -355,3 +302,4 @@ void SwInsFootNoteDlg::Init() rSh.EndAction(); } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |