Files
libreoffice/sw/source/ui/misc/impfnote.hxx

133 lines
3.7 KiB
C++
Raw Normal View History

2000-09-18 16:15:01 +00:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2000-09-18 16:15:01 +00:00
*
* $RCSfile: impfnote.hxx,v $
2000-09-18 16:15:01 +00:00
*
* $Revision: 1.7 $
2000-09-18 16:15:01 +00:00
*
* last change: $Author: rt $ $Date: 2005-09-09 10:32:25 $
2000-09-18 16:15:01 +00:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2000-09-18 16:15:01 +00:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2000-09-18 16:15:01 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2000-09-18 16:15:01 +00:00
*
* This library 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 for more details.
2000-09-18 16:15:01 +00:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
2000-09-18 16:15:01 +00:00
*
************************************************************************/
#ifndef _IMPFNOTE_HXX
#define _IMPFNOTE_HXX
#ifndef _SFXTABDLG_HXX //autogen
#include <sfx2/tabdlg.hxx>
#endif
#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
#ifndef _NUMBERINGTYPELISTBOX_HXX
#include <numberingtypelistbox.hxx>
#endif
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
String aNumDoc;
2000-09-18 16:15:01 +00:00
String aNumPage;
String aNumChapter;
2000-09-18 16:15:01 +00:00
SwWrtShell *pSh;
BOOL bPosDoc;
BOOL bEndNote;
inline void SelectNumbering(int eNum);
int GetNumbering() const;
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