LibreOffice Module sc (master) 1
undodat.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
20#pragma once
21
22#include "undobase.hxx"
23#include "refundo.hxx"
24#include <dpobject.hxx>
25#include <olinetab.hxx>
26#include <rangeutl.hxx>
27#include <rangelst.hxx>
28#include <queryparam.hxx>
29#include <subtotalparam.hxx>
30
31#include <memory>
32
33class ScDocShell;
34class SdrUndoAction;
35
37{
38public:
39 ScUndoDoOutline( ScDocShell* pNewDocShell,
40 SCCOLROW nNewStart, SCCOLROW nNewEnd, SCTAB nNewTab,
41 ScDocumentUniquePtr pNewUndoDoc, bool bNewColumns,
42 sal_uInt16 nNewLevel, sal_uInt16 nNewEntry, bool bNewShow );
43 virtual ~ScUndoDoOutline() override;
44
45 virtual void Undo() override;
46 virtual void Redo() override;
47 virtual void Repeat(SfxRepeatTarget& rTarget) override;
48 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
49
50 virtual OUString GetComment() const override;
51
52private:
59 sal_uInt16 nLevel;
60 sal_uInt16 nEntry;
61 bool bShow;
62};
63
65{
66public:
67 ScUndoMakeOutline( ScDocShell* pNewDocShell,
68 SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
69 SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
70 std::unique_ptr<ScOutlineTable> pNewUndoTab,
71 bool bNewColumns, bool bNewMake );
72 virtual ~ScUndoMakeOutline() override;
73
74 virtual void Undo() override;
75 virtual void Redo() override;
76 virtual void Repeat(SfxRepeatTarget& rTarget) override;
77 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
78
79 virtual OUString GetComment() const override;
80
81private:
84 std::unique_ptr<ScOutlineTable>
87 bool bMake;
88};
89
91{
92public:
93 ScUndoOutlineLevel(ScDocShell* pNewDocShell,
94 SCCOLROW nNewStart, SCCOLROW nNewEnd, SCTAB nNewTab,
95 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab,
96 bool bNewColumns, sal_uInt16 nNewLevel);
97
98 virtual void Undo() override;
99 virtual void Redo() override;
100 virtual void Repeat(SfxRepeatTarget& rTarget) override;
101 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
102
103 virtual OUString GetComment() const override;
104
105private:
110 std::unique_ptr<ScOutlineTable> xUndoTable;
112 sal_uInt16 nLevel;
113};
114
116{
117public:
118 ScUndoOutlineBlock(ScDocShell* pNewDocShell,
119 SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
120 SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
121 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab,
122 bool bNewShow);
123
124 virtual void Undo() override;
125 virtual void Redo() override;
126 virtual void Repeat(SfxRepeatTarget& rTarget) override;
127 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
128
129 virtual OUString GetComment() const override;
130
131private:
135 std::unique_ptr<ScOutlineTable> xUndoTable;
136 bool bShow;
137};
138
140{
141public:
143 SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
144 SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
145 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab);
146
147 virtual void Undo() override;
148 virtual void Redo() override;
149 virtual void Repeat(SfxRepeatTarget& rTarget) override;
150 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
151
152 virtual OUString GetComment() const override;
153
154private:
158 std::unique_ptr<ScOutlineTable> xUndoTable;
159};
160
162{
163public:
164 ScUndoAutoOutline(ScDocShell* pNewDocShell,
165 SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
166 SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
167 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab);
168
169 virtual void Undo() override;
170 virtual void Redo() override;
171 virtual void Repeat(SfxRepeatTarget& rTarget) override;
172 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
173
174 virtual OUString GetComment() const override;
175
176private:
180 std::unique_ptr<ScOutlineTable> xUndoTable;
181};
182
184{
185public:
186 ScUndoSubTotals(ScDocShell* pNewDocShell, SCTAB nNewTab,
187 const ScSubTotalParam& rNewParam, SCROW nNewEndY,
188 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab,
189 std::unique_ptr<ScRangeName> pNewUndoRange, std::unique_ptr<ScDBCollection> pNewUndoDB);
190
191 virtual void Undo() override;
192 virtual void Redo() override;
193 virtual void Repeat(SfxRepeatTarget& rTarget) override;
194 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
195
196 virtual OUString GetComment() const override;
197
198private:
200 ScSubTotalParam aParam; // The original passed parameter
201 SCROW nNewEndRow; // Size of result
203 std::unique_ptr<ScOutlineTable> xUndoTable;
204 std::unique_ptr<ScRangeName> xUndoRange;
205 std::unique_ptr<ScDBCollection> xUndoDB;
206};
207
209{
210public:
211 ScUndoQuery( ScDocShell* pNewDocShell, SCTAB nNewTab,
212 const ScQueryParam& rParam, ScDocumentUniquePtr pNewUndoDoc,
213 std::unique_ptr<ScDBCollection> pNewUndoDB, const ScRange* pOld,
214 bool bSize, const ScRange* pAdvSrc );
215 virtual ~ScUndoQuery() override;
216
217 virtual void Undo() override;
218 virtual void Redo() override;
219 virtual void Repeat(SfxRepeatTarget& rTarget) override;
220 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
221
222 virtual OUString GetComment() const override;
223
224private:
225 std::unique_ptr<SdrUndoAction> pDrawUndo;
229 std::unique_ptr<ScDBCollection> xUndoDB; // due to source and target range
235};
236
238{
239private:
240 OUString aDBName;
242
243 void DoChange( bool bUndo );
244
245public:
246 ScUndoAutoFilter( ScDocShell* pNewDocShell, const ScRange& rRange,
247 OUString aName, bool bSet );
248 virtual ~ScUndoAutoFilter() override;
249
250 virtual void Undo() override;
251 virtual void Redo() override;
252 virtual void Repeat(SfxRepeatTarget& rTarget) override;
253 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
254
255 virtual OUString GetComment() const override;
256};
257
259{
260public:
261 ScUndoDBData( ScDocShell* pNewDocShell,
262 std::unique_ptr<ScDBCollection> pNewUndoColl,
263 std::unique_ptr<ScDBCollection> pNewRedoColl );
264 virtual ~ScUndoDBData() override;
265
266 virtual void Undo() override;
267 virtual void Redo() override;
268 virtual void Repeat(SfxRepeatTarget& rTarget) override;
269 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
270
271 virtual OUString GetComment() const override;
272
273private:
274 std::unique_ptr<ScDBCollection> pUndoColl;
275 std::unique_ptr<ScDBCollection> pRedoColl;
276};
277
279{
280public:
281 ScUndoImportData(ScDocShell* pNewDocShell, SCTAB nNewTab,
282 const ScImportParam& rParam, SCCOL nNewEndX, SCROW nNewEndY,
283 SCCOL nNewFormula,
284 ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc,
285 std::unique_ptr<ScDBData> pNewUndoData, std::unique_ptr<ScDBData> pNewRedoData);
286
287 virtual void Undo() override;
288 virtual void Redo() override;
289 virtual void Repeat(SfxRepeatTarget& rTarget) override;
290 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
291
292 virtual OUString GetComment() const override;
293
294private:
301 std::unique_ptr<ScDBData> xUndoDBData;
302 std::unique_ptr<ScDBData> xRedoDBData;
305};
306
308{
309public:
310 ScUndoRepeatDB(ScDocShell* pNewDocShell, SCTAB nNewTab,
311 SCCOL nStartX, SCROW nStartY, SCCOL nEndX, SCROW nEndY,
312 SCROW nResultEndRow, SCCOL nCurX, SCROW nCurY,
313 ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr<ScOutlineTable> pNewUndoTab,
314 std::unique_ptr<ScRangeName> pNewUndoRange, std::unique_ptr<ScDBCollection> pNewUndoDB,
315 const ScRange* pOldQ, const ScRange* pNewQ);
316
317 virtual void Undo() override;
318 virtual void Redo() override;
319 virtual void Repeat(SfxRepeatTarget& rTarget) override;
320 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
321
322 virtual OUString GetComment() const override;
323
324private:
330 std::unique_ptr<ScOutlineTable> xUndoTable;
331 std::unique_ptr<ScRangeName> xUndoRange;
332 std::unique_ptr<ScDBCollection> xUndoDB;
336};
337
339{
340public:
341 ScUndoDataPilot(ScDocShell* pNewDocShell,
343 const ScDPObject* pOldObj, const ScDPObject* pNewObj,
344 bool bMove);
345
346 virtual void Undo() override;
347 virtual void Redo() override;
348 virtual void Repeat(SfxRepeatTarget& rTarget) override;
349 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
350
351 virtual OUString GetComment() const override;
352
353private:
356 std::unique_ptr<ScDPObject> xOldDPObject;
357 std::unique_ptr<ScDPObject> xNewDPObject;
359};
360
362{
363public:
364 ScUndoConsolidate(ScDocShell* pNewDocShell,
365 const ScArea& rArea, const ScConsolidateParam& rPar,
366 ScDocumentUniquePtr pNewUndoDoc, bool bReference,
367 SCROW nInsCount, std::unique_ptr<ScOutlineTable> pTab,
368 std::unique_ptr<ScDBData> pData);
369
370 virtual void Undo() override;
371 virtual void Redo() override;
372 virtual void Repeat(SfxRepeatTarget& rTarget) override;
373 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
374
375 virtual OUString GetComment() const override;
376
377private:
383 std::unique_ptr<ScOutlineTable> xUndoTab;
384 std::unique_ptr<ScDBData> xUndoData;
385};
386
388{
389public:
390 ScUndoChartData( ScDocShell* pNewDocShell,
391 OUString aName, const ScRange& rNew,
392 bool bColHdr, bool bRowHdr, bool bAdd );
393 ScUndoChartData( ScDocShell* pNewDocShell,
394 OUString aName, ScRangeListRef xNew,
395 bool bColHdr, bool bRowHdr, bool bAdd );
396 virtual ~ScUndoChartData() override;
397
398 virtual void Undo() override;
399 virtual void Redo() override;
400 virtual void Repeat(SfxRepeatTarget& rTarget) override;
401 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
402
403 virtual OUString GetComment() const override;
404
405private:
406 OUString aChartName;
410// ScRange aNewRange;
415
416 void Init();
417};
418
420{
421public:
422 ScUndoDataForm(ScDocShell* pNewDocShell,
423 SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
424 SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
425 const ScMarkData& rMark,
426 ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc,
427 std::unique_ptr<ScRefUndoData> pRefData);
428 virtual void Undo() override;
429 virtual void Redo() override;
430 virtual void Repeat(SfxRepeatTarget& rTarget) override;
431 virtual bool CanRepeat(SfxRepeatTarget& rTarget) const override;
432
433 virtual OUString GetComment() const override;
434
435private:
436 std::unique_ptr<ScMarkData> mxMarkData;
439 std::unique_ptr<ScRefUndoData> xRefUndoData;
440 std::unique_ptr<ScRefUndoData> xRefRedoData;
442
443 void DoChange( const bool bUndo );
444};
445
446/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
size_t SCSIZE
size_t typedef to be able to find places where code was changed from USHORT to size_t and is used to ...
Definition: address.hxx:44
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
Definition: markdata.hxx:43
virtual OUString GetComment() const override
Definition: undodat.cxx:912
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:968
ScUndoAutoFilter(ScDocShell *pNewDocShell, const ScRange &rRange, OUString aName, bool bSet)
Definition: undodat.cxx:900
virtual void Redo() override
Definition: undodat.cxx:961
virtual ~ScUndoAutoFilter() override
Definition: undodat.cxx:908
OUString aDBName
Definition: undodat.hxx:240
void DoChange(bool bUndo)
Definition: undodat.cxx:917
virtual void Undo() override
Definition: undodat.cxx:954
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:972
ScAddress aBlockEnd
Definition: undodat.hxx:178
virtual void Redo() override
Definition: undodat.cxx:562
ScAddress aBlockStart
Definition: undodat.hxx:177
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:180
virtual OUString GetComment() const override
Definition: undodat.cxx:519
ScUndoAutoOutline(ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab)
Definition: undodat.cxx:507
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:599
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:593
virtual void Undo() override
Definition: undodat.cxx:524
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:179
ScRangeListRef aOldRangeListRef
Definition: undodat.hxx:407
bool bNewColHeaders
Definition: undodat.hxx:412
virtual OUString GetComment() const override
Definition: undodat.cxx:1725
virtual void Redo() override
Definition: undodat.cxx:1740
virtual void Undo() override
Definition: undodat.cxx:1730
bool bOldRowHeaders
Definition: undodat.hxx:409
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1754
bool bNewRowHeaders
Definition: undodat.hxx:413
ScRangeListRef aNewRangeListRef
Definition: undodat.hxx:411
ScUndoChartData(ScDocShell *pNewDocShell, OUString aName, const ScRange &rNew, bool bColHdr, bool bRowHdr, bool bAdd)
Definition: undodat.cxx:1689
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1750
virtual ~ScUndoChartData() override
Definition: undodat.cxx:1721
OUString aChartName
Definition: undodat.hxx:406
bool bOldColHeaders
Definition: undodat.hxx:408
ScUndoConsolidate(ScDocShell *pNewDocShell, const ScArea &rArea, const ScConsolidateParam &rPar, ScDocumentUniquePtr pNewUndoDoc, bool bReference, SCROW nInsCount, std::unique_ptr< ScOutlineTable > pTab, std::unique_ptr< ScDBData > pData)
Definition: undodat.cxx:1549
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1676
std::unique_ptr< ScOutlineTable > xUndoTab
Definition: undodat.hxx:383
virtual OUString GetComment() const override
Definition: undodat.cxx:1564
SCSIZE nInsertCount
Definition: undodat.hxx:382
std::unique_ptr< ScDBData > xUndoData
Definition: undodat.hxx:384
virtual void Undo() override
Definition: undodat.cxx:1569
virtual void Redo() override
Definition: undodat.cxx:1655
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:379
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1672
ScConsolidateParam aParam
Definition: undodat.hxx:380
std::unique_ptr< ScDBCollection > pRedoColl
Definition: undodat.hxx:275
virtual void Undo() override
Definition: undodat.cxx:996
virtual void Redo() override
Definition: undodat.cxx:1014
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1032
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1036
virtual ~ScUndoDBData() override
Definition: undodat.cxx:987
ScUndoDBData(ScDocShell *pNewDocShell, std::unique_ptr< ScDBCollection > pNewUndoColl, std::unique_ptr< ScDBCollection > pNewRedoColl)
Definition: undodat.cxx:978
virtual OUString GetComment() const override
Definition: undodat.cxx:991
std::unique_ptr< ScDBCollection > pUndoColl
Definition: undodat.hxx:274
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:437
void DoChange(const bool bUndo)
Definition: undodat.cxx:1817
virtual void Redo() override
Definition: undodat.cxx:1797
std::unique_ptr< ScRefUndoData > xRefRedoData
Definition: undodat.hxx:440
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1812
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1808
bool bRedoFilled
Definition: undodat.hxx:441
virtual void Undo() override
Definition: undodat.cxx:1788
std::unique_ptr< ScRefUndoData > xRefUndoData
Definition: undodat.hxx:439
virtual OUString GetComment() const override
Definition: undodat.cxx:1783
std::unique_ptr< ScMarkData > mxMarkData
Definition: undodat.hxx:436
ScDocumentUniquePtr xRedoDoc
Definition: undodat.hxx:438
ScUndoDataForm(ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, const ScMarkData &rMark, ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc, std::unique_ptr< ScRefUndoData > pRefData)
Definition: undodat.cxx:1759
virtual void Undo() override
Definition: undodat.cxx:1434
std::unique_ptr< ScDPObject > xOldDPObject
Definition: undodat.hxx:356
ScUndoDataPilot(ScDocShell *pNewDocShell, ScDocumentUniquePtr pOldDoc, ScDocumentUniquePtr pNewDoc, const ScDPObject *pOldObj, const ScDPObject *pNewObj, bool bMove)
Definition: undodat.cxx:1407
ScDocumentUniquePtr xOldUndoDoc
Definition: undodat.hxx:354
ScDocumentUniquePtr xNewUndoDoc
Definition: undodat.hxx:355
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1543
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1538
std::unique_ptr< ScDPObject > xNewDPObject
Definition: undodat.hxx:357
virtual void Redo() override
Definition: undodat.cxx:1511
virtual OUString GetComment() const override
Definition: undodat.cxx:1421
sal_uInt16 nLevel
Definition: undodat.hxx:59
virtual ~ScUndoDoOutline() override
Definition: undodat.cxx:67
SCCOLROW nStart
Definition: undodat.hxx:53
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:135
ScDocumentUniquePtr pUndoDoc
Definition: undodat.hxx:57
virtual void Undo() override
Definition: undodat.cxx:78
virtual OUString GetComment() const override
Definition: undodat.cxx:71
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:139
sal_uInt16 nEntry
Definition: undodat.hxx:60
ScUndoDoOutline(ScDocShell *pNewDocShell, SCCOLROW nNewStart, SCCOLROW nNewEnd, SCTAB nNewTab, ScDocumentUniquePtr pNewUndoDoc, bool bNewColumns, sal_uInt16 nNewLevel, sal_uInt16 nNewEntry, bool bNewShow)
Definition: undodat.cxx:51
virtual void Redo() override
Definition: undodat.cxx:115
SCCOLROW nEnd
Definition: undodat.hxx:54
ScDocumentUniquePtr xRedoDoc
Definition: undodat.hxx:300
std::unique_ptr< ScDBData > xRedoDBData
Definition: undodat.hxx:302
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:299
virtual void Redo() override
Definition: undodat.cxx:1151
virtual OUString GetComment() const override
Definition: undodat.cxx:1061
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1235
virtual void Undo() override
Definition: undodat.cxx:1066
std::unique_ptr< ScDBData > xUndoDBData
Definition: undodat.hxx:301
ScUndoImportData(ScDocShell *pNewDocShell, SCTAB nNewTab, const ScImportParam &rParam, SCCOL nNewEndX, SCROW nNewEndY, SCCOL nNewFormula, ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc, std::unique_ptr< ScDBData > pNewUndoData, std::unique_ptr< ScDBData > pNewRedoData)
Definition: undodat.cxx:1041
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1220
SCCOL nFormulaCols
Definition: undodat.hxx:303
ScImportParam aImportParam
Definition: undodat.hxx:296
ScUndoMakeOutline(ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, std::unique_ptr< ScOutlineTable > pNewUndoTab, bool bNewColumns, bool bNewMake)
Make or delete outline groups.
Definition: undodat.cxx:145
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:229
virtual void Redo() override
Definition: undodat.cxx:197
ScAddress aBlockStart
Definition: undodat.hxx:82
virtual ~ScUndoMakeOutline() override
Definition: undodat.cxx:158
virtual OUString GetComment() const override
Definition: undodat.cxx:162
virtual void Undo() override
Definition: undodat.cxx:169
ScAddress aBlockEnd
Definition: undodat.hxx:83
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:216
std::unique_ptr< ScOutlineTable > pUndoTable
Definition: undodat.hxx:85
virtual OUString GetComment() const override
Definition: undodat.cxx:331
ScAddress aBlockEnd
Definition: undodat.hxx:133
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:416
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:134
virtual void Redo() override
Definition: undodat.cxx:388
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:135
ScUndoOutlineBlock(ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, bool bNewShow)
show/hide outline over block marks
Definition: undodat.cxx:318
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:403
ScAddress aBlockStart
Definition: undodat.hxx:132
virtual void Undo() override
Definition: undodat.cxx:338
sal_uInt16 nLevel
Definition: undodat.hxx:112
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:306
virtual OUString GetComment() const override
Definition: undodat.cxx:249
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:312
virtual void Undo() override
Definition: undodat.cxx:254
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:110
ScUndoOutlineLevel(ScDocShell *pNewDocShell, SCCOLROW nNewStart, SCCOLROW nNewEnd, SCTAB nNewTab, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, bool bNewColumns, sal_uInt16 nNewLevel)
Definition: undodat.cxx:234
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:109
virtual void Redo() override
Definition: undodat.cxx:289
virtual void Redo() override
Definition: undodat.cxx:871
std::unique_ptr< ScDBCollection > xUndoDB
Definition: undodat.hxx:229
virtual ~ScUndoQuery() override
Definition: undodat.cxx:745
bool bIsAdvanced
Definition: undodat.hxx:232
bool bDestArea
Definition: undodat.hxx:233
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:893
std::unique_ptr< SdrUndoAction > pDrawUndo
Definition: undodat.hxx:225
ScQueryParam aQueryParam
Definition: undodat.hxx:227
ScRange aAdvSource
Definition: undodat.hxx:231
SCTAB nTab
Definition: undodat.hxx:226
ScRange aOldDest
Definition: undodat.hxx:230
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:228
bool bDoSize
Definition: undodat.hxx:234
virtual void Undo() override
Definition: undodat.cxx:755
virtual OUString GetComment() const override
Definition: undodat.cxx:750
ScUndoQuery(ScDocShell *pNewDocShell, SCTAB nNewTab, const ScQueryParam &rParam, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScDBCollection > pNewUndoDB, const ScRange *pOld, bool bSize, const ScRange *pAdvSrc)
Definition: undodat.cxx:718
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:889
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:157
virtual void Undo() override
Definition: undodat.cxx:438
virtual OUString GetComment() const override
Definition: undodat.cxx:433
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:496
ScUndoRemoveAllOutlines(ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab)
Definition: undodat.cxx:421
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:502
virtual void Redo() override
Definition: undodat.cxx:478
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:158
ScAddress aBlockStart
Definition: undodat.hxx:325
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:1396
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:329
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:1402
std::unique_ptr< ScRangeName > xUndoRange
Definition: undodat.hxx:331
SCROW nNewEndRow
Definition: undodat.hxx:327
ScUndoRepeatDB(ScDocShell *pNewDocShell, SCTAB nNewTab, SCCOL nStartX, SCROW nStartY, SCCOL nEndX, SCROW nEndY, SCROW nResultEndRow, SCCOL nCurX, SCROW nCurY, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, std::unique_ptr< ScRangeName > pNewUndoRange, std::unique_ptr< ScDBCollection > pNewUndoDB, const ScRange *pOldQ, const ScRange *pNewQ)
Definition: undodat.cxx:1245
virtual void Undo() override
Definition: undodat.cxx:1275
ScAddress aCursorPos
Definition: undodat.hxx:328
std::unique_ptr< ScDBCollection > xUndoDB
Definition: undodat.hxx:332
virtual OUString GetComment() const override
Definition: undodat.cxx:1270
ScRange aNewQuery
Definition: undodat.hxx:334
ScRange aOldQuery
Definition: undodat.hxx:333
virtual void Redo() override
Definition: undodat.cxx:1376
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:330
ScAddress aBlockEnd
Definition: undodat.hxx:326
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
Definition: undodat.cxx:713
virtual OUString GetComment() const override
Definition: undodat.cxx:620
ScDocumentUniquePtr xUndoDoc
Definition: undodat.hxx:202
std::unique_ptr< ScDBCollection > xUndoDB
Definition: undodat.hxx:205
virtual void Redo() override
Definition: undodat.cxx:692
virtual void Undo() override
Definition: undodat.cxx:625
virtual void Repeat(SfxRepeatTarget &rTarget) override
Definition: undodat.cxx:709
ScUndoSubTotals(ScDocShell *pNewDocShell, SCTAB nNewTab, const ScSubTotalParam &rNewParam, SCROW nNewEndY, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, std::unique_ptr< ScRangeName > pNewUndoRange, std::unique_ptr< ScDBCollection > pNewUndoDB)
Definition: undodat.cxx:604
std::unique_ptr< ScRangeName > xUndoRange
Definition: undodat.hxx:204
SCROW nNewEndRow
Definition: undodat.hxx:201
std::unique_ptr< ScOutlineTable > xUndoTable
Definition: undodat.hxx:203
ScSubTotalParam aParam
Definition: undodat.hxx:200
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
Definition: document.hxx:2717
FilterGroup & rTarget
OUString aName
std::unique_ptr< sal_Int32[]> pData
sal_Int32 SCCOLROW
a type capable of holding either SCCOL or SCROW
Definition: types.hxx:23
sal_Int16 SCTAB
Definition: types.hxx:22
sal_Int16 SCCOL
Definition: types.hxx:21
sal_Int32 SCROW
Definition: types.hxx:17