bump product version to 4.1.6.2
[LibreOffice.git] / sw / source / ui / inc / srtdlg.hxx
blobe4a9d2efcde91bfc9673778d56f05d202fe9693c
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 _SRTDLG_HXX
20 #define _SRTDLG_HXX
22 #include <vcl/fixed.hxx>
23 #include <vcl/button.hxx>
24 #include <vcl/field.hxx>
25 #include <vcl/lstbox.hxx>
26 #include <svx/stddlg.hxx>
27 #include <svx/langbox.hxx>
29 class SwWrtShell;
30 class CollatorResource;
32 class SwSortDlg : public SvxStandardDialog
34 FixedText* m_pColLbl;
35 FixedText* m_pTypLbl;
37 CheckBox* m_pKeyCB1;
38 NumericField* m_pColEdt1;
39 ListBox* m_pTypDLB1;
40 RadioButton* m_pSortUp1RB;
41 RadioButton* m_pSortDn1RB;
43 CheckBox* m_pKeyCB2;
44 NumericField* m_pColEdt2;
45 ListBox* m_pTypDLB2;
46 RadioButton* m_pSortUp2RB;
47 RadioButton* m_pSortDn2RB;
49 CheckBox* m_pKeyCB3;
50 NumericField* m_pColEdt3;
51 ListBox* m_pTypDLB3;
52 RadioButton* m_pSortUp3RB;
53 RadioButton* m_pSortDn3RB;
55 RadioButton* m_pColumnRB;
56 RadioButton* m_pRowRB;
58 RadioButton* m_pDelimTabRB;
59 RadioButton* m_pDelimFreeRB;
60 Edit* m_pDelimEdt;
61 PushButton* m_pDelimPB;
63 SvxLanguageBox* m_pLangLB;
65 CheckBox* m_pCaseCB;
67 String aColTxt;
68 String aRowTxt;
69 String aNumericTxt;
71 SwWrtShell &rSh;
72 CollatorResource* pColRes;
74 sal_uInt16 nX;
75 sal_uInt16 nY;
77 virtual void Apply();
78 sal_Unicode GetDelimChar() const;
80 DECL_LINK( CheckHdl, CheckBox * );
81 DECL_LINK( DelimHdl, RadioButton* );
82 DECL_LINK( LanguageHdl, ListBox* );
83 DECL_LINK(DelimCharHdl, void *);
85 public:
86 SwSortDlg(Window * pParent, SwWrtShell &rSh);
87 ~SwSortDlg();
90 #endif
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */