bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / pgfnote.hxx
blobb3ca7d44f338dd06a1415d0d56fbce5605c693d6
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 _PGFNOTE_HXX
20 #define _PGFNOTE_HXX
22 #include <sfx2/tabdlg.hxx>
24 #include <vcl/field.hxx>
26 #include <vcl/fixed.hxx>
28 #include <vcl/group.hxx>
29 #include <svtools/ctrlbox.hxx>
31 /*--------------------------------------------------------------------
32 Description: footnote settings TabPage
33 --------------------------------------------------------------------*/
34 class SwFootNotePage: public SfxTabPage
36 public:
37 static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet);
38 static sal_uInt16* GetRanges();
40 virtual sal_Bool FillItemSet(SfxItemSet &rSet);
41 virtual void Reset(const SfxItemSet &rSet);
43 private:
44 SwFootNotePage(Window *pParent, const SfxItemSet &rSet);
45 ~SwFootNotePage();
47 RadioButton* m_pMaxHeightPageBtn;
48 RadioButton* m_pMaxHeightBtn;
49 MetricField* m_pMaxHeightEdit;
50 MetricField* m_pDistEdit;
52 ListBox* m_pLinePosBox;
53 LineListBox* m_pLineTypeBox;
54 MetricField* m_pLineWidthEdit;
55 ColorListBox* m_pLineColorBox;
56 MetricField* m_pLineLengthEdit;
57 MetricField* m_pLineDistEdit;
59 DECL_LINK(HeightPage, void *);
60 DECL_LINK(HeightMetric, void *);
61 DECL_LINK(HeightModify, void *);
62 DECL_LINK( LineWidthChanged_Impl, void * );
63 DECL_LINK( LineColorSelected_Impl, void * );
65 long lMaxHeight;
67 using SfxTabPage::ActivatePage;
68 using SfxTabPage::DeactivatePage;
70 virtual void ActivatePage( const SfxItemSet& rSet );
71 virtual int DeactivatePage( SfxItemSet* pSet = 0 );
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */