bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / break.hxx
blobf6afcaf74a24e7bc031f81b9e6c849de65082e65
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 _BREAK_HXX
20 #define _BREAK_HXX
22 #include <svx/stddlg.hxx>
24 #include <vcl/button.hxx>
26 #include <vcl/fixed.hxx>
28 #include <vcl/lstbox.hxx>
30 #include <vcl/field.hxx>
32 class SwWrtShell;
34 class SwBreakDlg: public SvxStandardDialog
36 SwWrtShell &rSh;
37 RadioButton* m_pLineBtn;
38 RadioButton* m_pColumnBtn;
39 RadioButton* m_pPageBtn;
40 FixedText* m_pPageCollText;
41 ListBox* m_pPageCollBox;
42 CheckBox* m_pPageNumBox;
43 NumericField* m_pPageNumEdit;
45 String aTemplate;
46 sal_uInt16 nKind;
47 sal_uInt16 nPgNum;
49 sal_Bool bHtmlMode;
51 DECL_LINK( ClickHdl, void * );
52 DECL_LINK( PageNumHdl, CheckBox * );
53 DECL_LINK(PageNumModifyHdl, void *);
54 DECL_LINK(OkHdl, void *);
56 void CheckEnable();
58 protected:
59 virtual void Apply();
61 public:
62 SwBreakDlg( Window *pParent, SwWrtShell &rSh );
63 ~SwBreakDlg();
65 String GetTemplateName() { return aTemplate; }
66 sal_uInt16 GetKind() { return nKind; }
67 sal_uInt16 GetPageNumber() { return nPgNum; }
70 #endif
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */