LibreOffice Module sw (master) 1
srtdlg.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SRTDLG_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_SRTDLG_HXX
21
23#include <svx/langbox.hxx>
24#include <vcl/weld.hxx>
25
26class SwWrtShell;
27
29{
31 std::unique_ptr<weld::Label> m_xColLbl;
32
33 std::unique_ptr<weld::CheckButton> m_xKeyCB1;
34 std::unique_ptr<weld::SpinButton> m_xColEdt1;
35 std::unique_ptr<weld::ComboBox> m_xTypDLB1;
36 std::unique_ptr<weld::RadioButton> m_xSortUp1RB;
37 std::unique_ptr<weld::RadioButton> m_xSortDn1RB;
38
39 std::unique_ptr<weld::CheckButton> m_xKeyCB2;
40 std::unique_ptr<weld::SpinButton> m_xColEdt2;
41 std::unique_ptr<weld::ComboBox> m_xTypDLB2;
42 std::unique_ptr<weld::RadioButton> m_xSortUp2RB;
43 std::unique_ptr<weld::RadioButton> m_xSortDn2RB;
44
45 std::unique_ptr<weld::CheckButton> m_xKeyCB3;
46 std::unique_ptr<weld::SpinButton> m_xColEdt3;
47 std::unique_ptr<weld::ComboBox> m_xTypDLB3;
48 std::unique_ptr<weld::RadioButton> m_xSortUp3RB;
49 std::unique_ptr<weld::RadioButton> m_xSortDn3RB;
50
51 std::unique_ptr<weld::RadioButton> m_xColumnRB;
52 std::unique_ptr<weld::RadioButton> m_xRowRB;
53
54 std::unique_ptr<weld::RadioButton> m_xDelimTabRB;
55 std::unique_ptr<weld::RadioButton> m_xDelimFreeRB;
56 std::unique_ptr<weld::Entry> m_xDelimEdt;
57 std::unique_ptr<weld::Button> m_xDelimPB;
58
59 std::unique_ptr<SvxLanguageBox> m_xLangLB;
60
61 std::unique_ptr<weld::CheckButton> m_xCaseCB;
62
63 OUString m_aColText;
64 OUString m_aRowText;
66
68 std::unique_ptr<CollatorResource> m_xColRes;
69
70 sal_uInt16 m_nX;
71 sal_uInt16 m_nY;
72
73 void Apply();
75
76 DECL_LINK(CheckHdl, weld::Toggleable&, void);
77 DECL_LINK(DelimHdl, weld::Toggleable&, void);
78 DECL_LINK(LanguageListBoxHdl, weld::ComboBox&, void);
79 void LanguageHdl(weld::ComboBox const*);
80 DECL_LINK(DelimCharHdl, weld::Button&, void);
81
82public:
83 SwSortDlg(weld::Window* pParent, SwWrtShell& rSh);
84 virtual short run() override;
85};
86
87#endif
88
89/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
std::unique_ptr< weld::RadioButton > m_xSortUp3RB
Definition: srtdlg.hxx:48
std::unique_ptr< SvxLanguageBox > m_xLangLB
Definition: srtdlg.hxx:59
void LanguageHdl(weld::ComboBox const *)
Definition: srtdlg.cxx:375
OUString m_aColText
Definition: srtdlg.hxx:63
sal_uInt16 m_nY
Definition: srtdlg.hxx:71
std::unique_ptr< weld::SpinButton > m_xColEdt1
Definition: srtdlg.hxx:34
std::unique_ptr< weld::SpinButton > m_xColEdt3
Definition: srtdlg.hxx:46
std::unique_ptr< weld::Button > m_xDelimPB
Definition: srtdlg.hxx:57
std::unique_ptr< weld::SpinButton > m_xColEdt2
Definition: srtdlg.hxx:40
std::unique_ptr< weld::RadioButton > m_xSortDn2RB
Definition: srtdlg.hxx:43
OUString m_aNumericText
Definition: srtdlg.hxx:65
sal_Unicode GetDelimChar() const
Definition: srtdlg.cxx:208
std::unique_ptr< weld::RadioButton > m_xSortUp2RB
Definition: srtdlg.hxx:42
std::unique_ptr< weld::CheckButton > m_xKeyCB2
Definition: srtdlg.hxx:39
DECL_LINK(LanguageListBoxHdl, weld::ComboBox &, void)
std::unique_ptr< weld::RadioButton > m_xSortDn3RB
Definition: srtdlg.hxx:49
std::unique_ptr< weld::ComboBox > m_xTypDLB2
Definition: srtdlg.hxx:41
std::unique_ptr< weld::RadioButton > m_xSortDn1RB
Definition: srtdlg.hxx:37
std::unique_ptr< weld::RadioButton > m_xSortUp1RB
Definition: srtdlg.hxx:36
SwSortDlg(weld::Window *pParent, SwWrtShell &rSh)
Definition: srtdlg.cxx:91
DECL_LINK(DelimCharHdl, weld::Button &, void)
std::unique_ptr< weld::RadioButton > m_xRowRB
Definition: srtdlg.hxx:52
std::unique_ptr< CollatorResource > m_xColRes
Definition: srtdlg.hxx:68
std::unique_ptr< weld::Label > m_xColLbl
Definition: srtdlg.hxx:31
SwWrtShell & m_rSh
Definition: srtdlg.hxx:67
std::unique_ptr< weld::Entry > m_xDelimEdt
Definition: srtdlg.hxx:56
DECL_LINK(CheckHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xKeyCB3
Definition: srtdlg.hxx:45
OUString m_aRowText
Definition: srtdlg.hxx:64
std::unique_ptr< weld::RadioButton > m_xDelimTabRB
Definition: srtdlg.hxx:54
std::unique_ptr< weld::RadioButton > m_xColumnRB
Definition: srtdlg.hxx:51
std::unique_ptr< weld::RadioButton > m_xDelimFreeRB
Definition: srtdlg.hxx:55
std::unique_ptr< weld::CheckButton > m_xKeyCB1
Definition: srtdlg.hxx:33
void Apply()
Definition: srtdlg.cxx:229
std::unique_ptr< weld::ComboBox > m_xTypDLB3
Definition: srtdlg.hxx:47
std::unique_ptr< weld::CheckButton > m_xCaseCB
Definition: srtdlg.hxx:61
weld::Window * m_pParent
Definition: srtdlg.hxx:30
DECL_LINK(DelimHdl, weld::Toggleable &, void)
std::unique_ptr< weld::ComboBox > m_xTypDLB1
Definition: srtdlg.hxx:35
virtual short run() override
Definition: srtdlg.cxx:220
sal_uInt16 m_nX
Definition: srtdlg.hxx:70
Used by the UI to modify the document model.
Definition: wrtsh.hxx:97
sal_uInt16 sal_Unicode