2000-09-18 16:15:01 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* $RCSfile: impfnote.hxx,v $
|
|
|
|
* $Revision: 1.8 $
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
2008-04-10 19:58:33 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2000-09-18 16:15:01 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
#ifndef _IMPFNOTE_HXX
|
|
|
|
#define _IMPFNOTE_HXX
|
|
|
|
|
|
|
|
#include <sfx2/tabdlg.hxx>
|
|
|
|
#ifndef _BUTTON_HXX //autogen
|
|
|
|
#include <vcl/button.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _LSTBOX_HXX //autogen
|
|
|
|
#include <vcl/lstbox.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _FIXED_HXX //autogen
|
|
|
|
#include <vcl/fixed.hxx>
|
|
|
|
#endif
|
|
|
|
#ifndef _FIELD_HXX //autogen
|
|
|
|
#include <vcl/field.hxx>
|
|
|
|
#endif
|
2001-03-02 13:10:47 +00:00
|
|
|
#include <numberingtypelistbox.hxx>
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
class SwWrtShell;
|
|
|
|
|
|
|
|
class SwEndNoteOptionPage : public SfxTabPage
|
|
|
|
{
|
2001-02-09 07:01:42 +00:00
|
|
|
FixedText aNumTypeFT;
|
2001-03-02 13:10:47 +00:00
|
|
|
SwNumberingTypeListBox aNumViewBox;
|
2000-09-18 16:15:01 +00:00
|
|
|
FixedText aOffsetLbl;
|
|
|
|
NumericField aOffsetFld;
|
2001-02-09 07:01:42 +00:00
|
|
|
FixedText aNumCountFT;
|
2000-09-18 16:15:01 +00:00
|
|
|
ListBox aNumCountBox;
|
|
|
|
FixedText aPrefixFT;
|
|
|
|
Edit aPrefixED;
|
|
|
|
FixedText aSuffixFT;
|
|
|
|
Edit aSuffixED;
|
2001-02-09 07:01:42 +00:00
|
|
|
FixedText aPosFT;
|
|
|
|
RadioButton aPosPageBox;
|
|
|
|
RadioButton aPosChapterBox;
|
2001-06-01 10:04:53 +00:00
|
|
|
FixedLine aNumFL;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
FixedText aParaTemplLbl;
|
|
|
|
ListBox aParaTemplBox;
|
|
|
|
FixedText aPageTemplLbl;
|
|
|
|
ListBox aPageTemplBox;
|
2001-06-01 10:04:53 +00:00
|
|
|
FixedLine aTemplFL;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
FixedText aFtnCharAnchorTemplLbl;
|
|
|
|
ListBox aFtnCharAnchorTemplBox;
|
|
|
|
FixedText aFtnCharTextTemplLbl;
|
|
|
|
ListBox aFtnCharTextTemplBox;
|
2001-06-01 10:04:53 +00:00
|
|
|
FixedLine aCharTemplFL;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
FixedText aContLbl;
|
|
|
|
Edit aContEdit;
|
|
|
|
FixedText aContFromLbl;
|
|
|
|
Edit aContFromEdit;
|
2001-06-01 10:04:53 +00:00
|
|
|
FixedLine aContFL;
|
2000-09-18 16:15:01 +00:00
|
|
|
|
2001-10-10 10:35:20 +00:00
|
|
|
String aNumDoc;
|
2000-09-18 16:15:01 +00:00
|
|
|
String aNumPage;
|
2001-07-02 10:52:55 +00:00
|
|
|
String aNumChapter;
|
2000-09-18 16:15:01 +00:00
|
|
|
SwWrtShell *pSh;
|
|
|
|
BOOL bPosDoc;
|
|
|
|
BOOL bEndNote;
|
|
|
|
|
|
|
|
inline void SelectNumbering(int eNum);
|
|
|
|
int GetNumbering() const;
|
|
|
|
|
2001-07-02 10:52:55 +00:00
|
|
|
DECL_LINK( PosPageHdl, Button * );
|
|
|
|
DECL_LINK( PosChapterHdl, Button * );
|
|
|
|
DECL_LINK( NumCountHdl, ListBox * );
|
2000-09-18 16:15:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
SwEndNoteOptionPage( Window *pParent, BOOL bEndNote,
|
|
|
|
const SfxItemSet &rSet );
|
|
|
|
~SwEndNoteOptionPage();
|
|
|
|
|
|
|
|
static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
|
|
|
|
virtual BOOL FillItemSet(SfxItemSet &rSet);
|
|
|
|
virtual void Reset( const SfxItemSet& );
|
|
|
|
|
|
|
|
void SetShell( SwWrtShell &rShell );
|
|
|
|
};
|
|
|
|
|
|
|
|
class SwFootNoteOptionPage : public SwEndNoteOptionPage
|
|
|
|
{
|
|
|
|
SwFootNoteOptionPage( Window *pParent, const SfxItemSet &rSet );
|
|
|
|
~SwFootNoteOptionPage();
|
|
|
|
|
|
|
|
public:
|
|
|
|
static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|