bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / misc / impfnote.hxx
blob037b6cb806ba2631b01e490f8bd3df4c2c15cbc4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _IMPFNOTE_HXX
20 #define _IMPFNOTE_HXX
22 #include <sfx2/tabdlg.hxx>
23 #include <vcl/button.hxx>
24 #include <vcl/lstbox.hxx>
25 #include <vcl/fixed.hxx>
26 #include <vcl/field.hxx>
27 #include <numberingtypelistbox.hxx>
29 class SwWrtShell;
31 class SwEndNoteOptionPage : public SfxTabPage
33 SwNumberingTypeListBox* m_pNumViewBox;
34 FixedText* m_pOffsetLbl;
35 NumericField* m_pOffsetFld;
36 ListBox* m_pNumCountBox;
37 Edit* m_pPrefixED;
38 Edit* m_pSuffixED;
39 FixedText* m_pPosFT;
40 RadioButton* m_pPosPageBox;
41 RadioButton* m_pPosChapterBox;
43 VclContainer *m_pStylesContainer;
45 ListBox* m_pParaTemplBox;
46 FixedText* m_pPageTemplLbl;
47 ListBox* m_pPageTemplBox;
49 ListBox* m_pFtnCharAnchorTemplBox;
50 ListBox* m_pFtnCharTextTemplBox;
52 Edit* m_pContEdit;
53 Edit* m_pContFromEdit;
55 String aNumDoc;
56 String aNumPage;
57 String aNumChapter;
58 SwWrtShell *pSh;
59 bool bPosDoc;
60 bool bEndNote;
62 inline void SelectNumbering(int eNum);
63 int GetNumbering() const;
65 DECL_LINK(PosPageHdl, void *);
66 DECL_LINK(PosChapterHdl, void *);
67 DECL_LINK(NumCountHdl, void *);
70 public:
71 SwEndNoteOptionPage( Window *pParent, bool bEndNote,
72 const SfxItemSet &rSet );
73 ~SwEndNoteOptionPage();
75 static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
76 virtual sal_Bool FillItemSet(SfxItemSet &rSet);
77 virtual void Reset( const SfxItemSet& );
79 void SetShell( SwWrtShell &rShell );
82 class SwFootNoteOptionPage : public SwEndNoteOptionPage
84 SwFootNoteOptionPage( Window *pParent, const SfxItemSet &rSet );
85 ~SwFootNoteOptionPage();
87 public:
88 static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
93 #endif
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */