LibreOffice Module sc (master) 1
undosort.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
10#pragma once
11
12#include "undobase.hxx"
13#include <sortparam.hxx>
14
15namespace sc {
16
17class UndoSort : public ScSimpleUndo
18{
20
21public:
22 UndoSort( ScDocShell* pDocSh, ReorderParam aParam );
23
24 virtual OUString GetComment() const override;
25 virtual void Undo() override;
26 virtual void Redo() override;
27
28private:
29 void Execute( bool bUndo );
30};
31
32}
33
34/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual void Undo() override
Definition: undosort.cxx:27
UndoSort(ScDocShell *pDocSh, ReorderParam aParam)
Definition: undosort.cxx:19
void Execute(bool bUndo)
Definition: undosort.cxx:41
virtual void Redo() override
Definition: undosort.cxx:34
virtual OUString GetComment() const override
Definition: undosort.cxx:22
ReorderParam maParam
Definition: undosort.hxx:19
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15