/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SRTDLG_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_SRTDLG_HXX #include #include #include #include #include #include class SwWrtShell; class CollatorResource; class SwSortDlg : public SvxStandardDialog { VclPtr m_pColLbl; VclPtr m_pTypLbl; VclPtr m_pKeyCB1; VclPtr m_pColEdt1; VclPtr m_pTypDLB1; VclPtr m_pSortUp1RB; VclPtr m_pSortDn1RB; VclPtr m_pKeyCB2; VclPtr m_pColEdt2; VclPtr m_pTypDLB2; VclPtr m_pSortUp2RB; VclPtr m_pSortDn2RB; VclPtr m_pKeyCB3; VclPtr m_pColEdt3; VclPtr m_pTypDLB3; VclPtr m_pSortUp3RB; VclPtr m_pSortDn3RB; VclPtr m_pColumnRB; VclPtr m_pRowRB; VclPtr m_pDelimTabRB; VclPtr m_pDelimFreeRB; VclPtr m_pDelimEdt; VclPtr m_pDelimPB; VclPtr m_pLangLB; VclPtr m_pCaseCB; OUString aColText; OUString aRowText; OUString aNumericText; SwWrtShell &rSh; CollatorResource* pColRes; sal_uInt16 nX; sal_uInt16 nY; virtual void Apply() override; sal_Unicode GetDelimChar() const; DECL_LINK( CheckHdl, Button*, void ); DECL_LINK( DelimHdl, Button*, void ); DECL_LINK( LanguageListBoxHdl, ListBox&, void ); void LanguageHdl(ListBox*); DECL_LINK(DelimCharHdl, Button*,void); public: SwSortDlg(vcl::Window * pParent, SwWrtShell &rSh); virtual ~SwSortDlg() override; virtual void dispose() override; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */