LibreOffice Module sc (master)
1
sc
source
ui
inc
undoconvert.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 <
cellvalues.hxx
>
14
15
namespace
sc
16
{
17
class
UndoFormulaToValue
:
public
ScSimpleUndo
18
{
19
TableValues
maUndoValues
;
20
21
public
:
22
UndoFormulaToValue
(
ScDocShell
* pDocSh,
TableValues
& rUndoValues);
23
24
virtual
OUString
GetComment
()
const override
;
25
virtual
void
Undo
()
override
;
26
virtual
void
Redo
()
override
;
27
28
private
:
29
void
Execute
();
30
};
31
}
32
33
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
cellvalues.hxx
ScDocShell
Definition:
docsh.hxx:81
ScSimpleUndo
Definition:
undobase.hxx:35
sc::TableValues
Stores cell values for multiple tables.
Definition:
cellvalues.hxx:89
sc::UndoFormulaToValue
Definition:
undoconvert.hxx:18
sc::UndoFormulaToValue::GetComment
virtual OUString GetComment() const override
Definition:
undoconvert.cxx:23
sc::UndoFormulaToValue::Redo
virtual void Redo() override
Definition:
undoconvert.cxx:33
sc::UndoFormulaToValue::Execute
void Execute()
Definition:
undoconvert.cxx:38
sc::UndoFormulaToValue::Undo
virtual void Undo() override
Definition:
undoconvert.cxx:28
sc::UndoFormulaToValue::UndoFormulaToValue
UndoFormulaToValue(ScDocShell *pDocSh, TableValues &rUndoValues)
Definition:
undoconvert.cxx:17
sc::UndoFormulaToValue::maUndoValues
TableValues maUndoValues
Definition:
undoconvert.hxx:19
sc
CAUTION! The following defines must be in the same namespace as the respective type.
Definition:
broadcast.cxx:15
undobase.hxx
Generated on Sun Jul 30 2023 04:29:23 for LibreOffice Module sc (master) by
1.9.3