LibreOffice Module sw (master)  1
SwUndoFmt.cxx
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 #include <poolfmt.hxx>
21 #include <charfmt.hxx>
22 #include <frmfmt.hxx>
23 #include <SwUndoFmt.hxx>
24 #include <SwRewriter.hxx>
25 #include <swundo.hxx>
26 #include <undobj.hxx>
27 #include <fmtcol.hxx>
28 #include <doc.hxx>
29 #include <strings.hrc>
30 
32 (SwUndoId nUndoId, SwFormat * _pNew, SwFormat const * _pDerivedFrom, SwDoc * _pDoc)
33  : SwUndo(nUndoId, _pDoc), pNew(_pNew),
34  pDoc(_pDoc), pNewSet(nullptr), nId(0), bAuto(false)
35 {
36  if (_pDerivedFrom)
37  sDerivedFrom = _pDerivedFrom->GetName();
38 }
39 
41 {
42 }
43 
45 {
46  if (pNew)
47  {
48  if (sNewName.isEmpty())
49  sNewName = pNew->GetName();
50 
51  if (!sNewName.isEmpty())
52  pNew = Find(sNewName);
53 
54  if (pNew)
55  {
58  bAuto = pNew->IsAuto();
59 
60  Delete();
61  }
62  }
63 }
64 
66 {
67  SwFormat * pDerivedFrom = Find(sDerivedFrom);
68  SwFormat * pFormat = Create(pDerivedFrom);
69 
70  if (pFormat && pNewSet)
71  {
72  pFormat->SetAuto(bAuto);
73  pDoc->ChgFormat(*pFormat, *pNewSet);
74  pFormat->SetPoolFormatId((pFormat->GetPoolFormatId()
76  | nId);
77 
78  pNew = pFormat;
79  }
80  else
81  pNew = nullptr;
82 }
83 
85 {
86  if (sNewName.isEmpty() && pNew)
87  sNewName = pNew->GetName();
88 
89  SwRewriter aRewriter;
90 
91  aRewriter.AddRule(UndoArg1, sNewName);
92 
93  return aRewriter;
94 }
95 
97 (SwUndoId nUndoId, SwFormat const * _pOld, SwDoc * _pDoc)
98  : SwUndo(nUndoId, _pDoc),
99  pDoc(_pDoc), sOldName(_pOld->GetName()),
100  aOldSet(_pOld->GetAttrSet())
101 {
102  sDerivedFrom = _pOld->DerivedFrom()->GetName();
104  bAuto = _pOld->IsAuto();
105 }
106 
108 {
109 }
110 
112 {
113  SwFormat * pDerivedFrom = Find(sDerivedFrom);
114 
115  SwFormat * pFormat = Create(pDerivedFrom);
116 
117  if (pFormat)
118  {
119  pDoc->ChgFormat(*pFormat, aOldSet);
120  pFormat->SetAuto(bAuto);
121  pFormat->SetPoolFormatId((pFormat->GetPoolFormatId() &
123  | nId);
124  }
125 }
126 
128 {
129  SwFormat * pOld = Find(sOldName);
130 
131  if (pOld)
132  {
133  Delete(pOld);
134  }
135 }
136 
138 {
139  SwRewriter aRewriter;
140 
141  aRewriter.AddRule(UndoArg1, sOldName);
142 
143  return aRewriter;
144 }
145 
147  const OUString & _sOldName,
148  const OUString & _sNewName,
149  SwDoc * _pDoc)
150  : SwUndo(nUndoId, _pDoc), sOldName(_sOldName),
151  sNewName(_sNewName), pDoc(_pDoc)
152 {
153 }
154 
156 {
157 }
158 
160 {
161  SwFormat * pFormat = Find(sNewName);
162 
163  if (pFormat)
164  {
165  pDoc->RenameFormat(*pFormat, sOldName, true);
166  }
167 }
168 
170 {
171  SwFormat * pFormat = Find(sOldName);
172 
173  if (pFormat)
174  {
175  pDoc->RenameFormat(*pFormat, sNewName, true);
176  }
177 }
178 
180 {
181  SwRewriter aRewriter;
182 
183  aRewriter.AddRule(UndoArg1, sOldName);
184  aRewriter.AddRule(UndoArg2, SwResId(STR_YIELDS));
185  aRewriter.AddRule(UndoArg3, sNewName);
186 
187  return aRewriter;
188 }
189 
191 (SwTextFormatColl * _pNew, SwTextFormatColl const * _pDerivedFrom, SwDoc * _pDoc)
192  : SwUndoFormatCreate(SwUndoId::TXTFMTCOL_CREATE, _pNew, _pDerivedFrom, _pDoc)
193 {
194 }
195 
197 {
198  return pDoc->MakeTextFormatColl(sNewName, static_cast<SwTextFormatColl *>(pDerivedFrom), true);
199 }
200 
202 {
203  pDoc->DelTextFormatColl(static_cast<SwTextFormatColl *>(pNew), true);
204 }
205 
206 SwFormat * SwUndoTextFormatCollCreate::Find(const OUString & rName) const
207 {
208  return pDoc->FindTextFormatCollByName(rName);
209 }
210 
212  SwDoc * _pDoc)
214 {
215 }
216 
218 {
219  return pDoc->MakeTextFormatColl(sOldName, static_cast<SwTextFormatColl *>(pDerivedFrom), true);
220 }
221 
223 {
224  pDoc->DelTextFormatColl(static_cast<SwTextFormatColl *>(pOld), true);
225 }
226 
227 SwFormat * SwUndoTextFormatCollDelete::Find(const OUString & rName) const
228 {
229  return pDoc->FindTextFormatCollByName(rName);
230 }
231 
233  SwTextFormatColl const *_pDerivedFrom, SwDoc *_pDoc)
234  : SwUndoTextFormatCollCreate(_pNew, _pDerivedFrom, _pDoc)
235 {
236 }
237 
239 {
240  return pDoc->MakeCondTextFormatColl(sNewName, static_cast<SwTextFormatColl *>(pDerivedFrom), true);
241 }
242 
244  SwDoc * _pDoc)
245  : SwUndoTextFormatCollDelete(_pOld, _pDoc)
246 {
247 }
248 
250 {
251  return pDoc->MakeCondTextFormatColl(sOldName, static_cast<SwTextFormatColl *>(pDerivedFrom), true);
252 }
253 
255  const OUString & sInitNewName,
256  SwDoc * _pDoc)
257  : SwUndoRenameFormat(SwUndoId::TXTFMTCOL_RENAME, sInitOldName, sInitNewName, _pDoc)
258 {
259 }
260 
261 SwFormat * SwUndoRenameFormatColl::Find(const OUString & rName) const
262 {
263  return pDoc->FindTextFormatCollByName(rName);
264 }
265 
267  SwCharFormat const * pDerivedFrom,
268  SwDoc * pDocument)
269  : SwUndoFormatCreate(SwUndoId::CHARFMT_CREATE, pNewFormat, pDerivedFrom, pDocument)
270 {
271 }
272 
274 {
275  return pDoc->MakeCharFormat(sNewName, static_cast<SwCharFormat *>(pDerivedFrom), true);
276 }
277 
279 {
280  pDoc->DelCharFormat(static_cast<SwCharFormat *>(pNew), true);
281 }
282 
283 SwFormat * SwUndoCharFormatCreate::Find(const OUString & rName) const
284 {
285  return pDoc->FindCharFormatByName(rName);
286 }
287 
289  : SwUndoFormatDelete(SwUndoId::CHARFMT_DELETE, pOld, pDocument)
290 {
291 }
292 
294 {
295  return pDoc->MakeCharFormat(sOldName, static_cast<SwCharFormat *>(pDerivedFrom), true);
296 }
297 
299 {
300  pDoc->DelCharFormat(static_cast<SwCharFormat *>(pFormat), true);
301 }
302 
303 SwFormat * SwUndoCharFormatDelete::Find(const OUString & rName) const
304 {
305  return pDoc->FindCharFormatByName(rName);
306 }
307 
309  const OUString & sInitNewName,
310  SwDoc * pDocument)
311  : SwUndoRenameFormat(SwUndoId::CHARFMT_RENAME, sInitOldName, sInitNewName, pDocument)
312 {
313 }
314 
315 SwFormat * SwUndoRenameCharFormat::Find(const OUString & rName) const
316 {
317  return pDoc->FindCharFormatByName(rName);
318 }
319 
321  SwFrameFormat const * pDerivedFrom,
322  SwDoc * pDocument)
323  : SwUndoFormatCreate(SwUndoId::FRMFMT_CREATE, pNewFormat, pDerivedFrom, pDocument)
324 {
325 }
326 
328 {
329  return pDoc->MakeFrameFormat(sNewName, static_cast<SwFrameFormat *>(pDerivedFrom), true, pNew->IsAuto());
330 }
331 
333 {
334  pDoc->DelFrameFormat(static_cast<SwFrameFormat *>(pNew), true);
335 }
336 
337 SwFormat * SwUndoFrameFormatCreate::Find(const OUString & rName) const
338 {
339  return pDoc->FindFrameFormatByName(rName);
340 }
341 
343  : SwUndoFormatDelete(SwUndoId::FRMFMT_DELETE, pOld, pDocument)
344 {
345 }
346 
348 {
349  return pDoc->MakeFrameFormat(sOldName, static_cast<SwFrameFormat *>(pDerivedFrom), true);
350 }
351 
353 {
354  pDoc->DelFrameFormat(static_cast<SwFrameFormat *>(pFormat), true);
355 }
356 
357 SwFormat * SwUndoFrameFormatDelete::Find(const OUString & rName) const
358 {
359  return pDoc->FindFrameFormatByName(rName);
360 }
361 
363  const OUString & sInitNewName,
364  SwDoc * pDocument)
365  : SwUndoRenameFormat(SwUndoId::FRMFMT_RENAME, sInitOldName, sInitNewName, pDocument)
366 {
367 }
368 
369 SwFormat * SwUndoRenameFrameFormat::Find(const OUString & rName) const
370 {
371  return pDoc->FindFrameFormatByName(rName);
372 }
373 
375  SwDoc * _pDoc)
376  : SwUndo(SwUndoId::NUMRULE_CREATE, _pDoc), pNew(_pNew), aNew(*_pNew), pDoc(_pDoc),
377  bInitialized(false)
378 {
379 }
380 
382 {
383  if (! bInitialized)
384  {
385  aNew = *pNew;
386  bInitialized = true;
387  }
388 
389  pDoc->DelNumRule(aNew.GetName(), true);
390 }
391 
393 {
394  pDoc->MakeNumRule(aNew.GetName(), &aNew, true);
395 }
396 
398 {
399  SwRewriter aResult;
400 
401  if (! bInitialized)
402  {
403  aNew = *pNew;
404  bInitialized = true;
405  }
406 
407  aResult.AddRule(UndoArg1, aNew.GetName());
408 
409  return aResult;
410 }
411 
413  SwDoc * _pDoc)
414  : SwUndo(SwUndoId::NUMRULE_DELETE, _pDoc), aOld(rRule), pDoc(_pDoc)
415 {
416 }
417 
419 {
420  pDoc->MakeNumRule(aOld.GetName(), &aOld, true);
421 }
422 
424 {
425  pDoc->DelNumRule(aOld.GetName(), true);
426 }
427 
429 {
430  SwRewriter aResult;
431 
432  aResult.AddRule(UndoArg1, aOld.GetName());
433 
434  return aResult;
435 }
436 
437 SwUndoNumruleRename::SwUndoNumruleRename(const OUString & _aOldName,
438  const OUString & _aNewName,
439  SwDoc * _pDoc)
440  : SwUndo(SwUndoId::NUMRULE_RENAME, _pDoc), aOldName(_aOldName), aNewName(_aNewName),
441  pDoc(_pDoc)
442 {
443 }
444 
446 {
448 }
449 
451 {
453 }
454 
456 {
457  SwRewriter aRewriter;
458 
459  aRewriter.AddRule(UndoArg1, aOldName);
460  aRewriter.AddRule(UndoArg2, SwResId(STR_YIELDS));
461  aRewriter.AddRule(UndoArg3, aNewName);
462 
463  return aRewriter;
464 }
465 
466 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwTextFormatColl * MakeTextFormatColl(const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false)
Create the FormatCollections.
Definition: docfmt.cxx:877
OUString sDerivedFrom
Definition: SwUndoFmt.hxx:36
virtual ~SwUndoFormatCreate() override
Definition: SwUndoFmt.cxx:40
virtual void Delete(SwFormat *pFormat) override
Definition: SwUndoFmt.cxx:352
sal_uInt16 nId
Definition: SwUndoFmt.hxx:40
Represents the style of a paragraph.
Definition: fmtcol.hxx:55
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:159
SwUndoNumruleDelete(const SwNumRule &aRule, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:412
SwCharFormat * MakeCharFormat(const OUString &rFormatName, SwCharFormat *pDerivedFrom, bool bBroadcast=false)
Definition: docfmt.cxx:843
SwUndoId
Definition: swundo.hxx:29
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:369
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:127
SwUndoFrameFormatDelete(SwFrameFormat const *pOld, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:342
const sal_uInt16 COLL_GET_RANGE_BITS
Definition: poolfmt.hxx:72
SwTextFormatColl * FindTextFormatCollByName(const OUString &rName) const
Definition: doc.hxx:798
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:169
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:238
SwFrameFormat * MakeFrameFormat(const OUString &rFormatName, SwFrameFormat *pDerivedFrom, bool bBroadcast=false, bool bAuto=true)
Definition: docfmt.cxx:809
Definition: doc.hxx:186
sal_Int16 nId
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:217
const OUString & GetName() const
Definition: numrule.hxx:222
virtual void Delete(SwFormat *pFormat) override
Definition: SwUndoFmt.cxx:222
void RenameFormat(SwFormat &rFormat, const OUString &sNewName, bool bBroadcast=false)
Definition: docfmt.cxx:1890
SwUndoFrameFormatCreate(SwFrameFormat *pNew, SwFrameFormat const *pDerivedFrom, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:320
SwUndoFormatDelete(SwUndoId nUndoId, SwFormat const *pOld, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:97
SwFrameFormat * FindFrameFormatByName(const OUString &rName) const
Definition: docfmt.cxx:734
SwFormat * pNew
Definition: SwUndoFmt.hxx:35
void DelCharFormat(size_t nFormat, bool bBroadcast=false)
Delete the formats.
Definition: docfmt.cxx:659
void SetPoolFormatId(sal_uInt16 nId)
Definition: format.hxx:144
virtual void Delete()=0
virtual void Delete(SwFormat *pFormat)=0
virtual ~SwUndoRenameFormat() override
Definition: SwUndoFmt.cxx:155
const OUString & GetName() const
Definition: format.hxx:111
virtual SwFormat * Create(SwFormat *pDerivedFrom)=0
const SwNumRule * pNew
Definition: SwUndoFmt.hxx:211
SwUndoTextFormatCollDelete(SwTextFormatColl const *pOld, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:211
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:337
bool RenameNumRule(const OUString &aOldName, const OUString &aNewName, bool bBroadcast=false)
Definition: docnum.cxx:1107
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:249
sal_uInt16 GetPoolFormatId() const
Get and set Pool style IDs.
Definition: format.hxx:143
SwUndoCondTextFormatCollCreate(SwConditionTextFormatColl *pNew, SwTextFormatColl const *pDerivedFrom, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:232
Base class for various Writer styles.
Definition: format.hxx:43
SwUndoRenameFormatColl(const OUString &sOldName, const OUString &sNewName, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:254
void DelTextFormatColl(size_t nFormat, bool bBroadcast=false)
Definition: docfmt.cxx:948
SwUndoNumruleCreate(const SwNumRule *pNew, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:374
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:392
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:455
Style of a layout element.
Definition: frmfmt.hxx:57
SwUndoCharFormatCreate(SwCharFormat *pNew, SwCharFormat const *pDerivedFrom, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:266
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:418
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:273
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:450
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:111
void SetAuto(bool bNew)
Definition: format.hxx:159
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:315
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:179
SwUndoNumruleRename(const OUString &aOldName, const OUString &aNewName, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:437
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:423
void AddRule(SwUndoArg eWhat, const OUString &rWith)
Definition: SwRewriter.cxx:29
virtual SwFormat * Find(const OUString &rName) const =0
virtual void Delete() override
Definition: SwUndoFmt.cxx:278
OUString SwResId(const char *pId)
Definition: swmodule.cxx:178
virtual void RedoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:65
virtual void Delete() override
Definition: SwUndoFmt.cxx:201
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:347
virtual SwFormat * Find(const OUString &rName) const =0
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:445
SwUndoFormatCreate(SwUndoId nUndoId, SwFormat *pNew, SwFormat const *pDerivedFrom, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:32
SwCharFormat * FindCharFormatByName(const OUString &rName) const
Definition: doc.hxx:770
SwFormat * DerivedFrom() const
Definition: format.hxx:108
SwUndoRenameFormat(SwUndoId nUndoId, const OUString &sOldName, const OUString &sNewName, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:146
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:283
SwUndoCondTextFormatCollDelete(SwTextFormatColl const *pOld, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:243
SwUndoRenameCharFormat(const OUString &sOldName, const OUString &sNewName, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:308
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:381
virtual ~SwUndoFormatDelete() override
Definition: SwUndoFmt.cxx:107
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:327
SwConditionTextFormatColl * MakeCondTextFormatColl(const OUString &rFormatName, SwTextFormatColl *pDerivedFrom, bool bBroadcast=false)
Definition: docfmt.cxx:911
OUString sDerivedFrom
Definition: SwUndoFmt.hxx:61
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:428
sal_uInt16 MakeNumRule(const OUString &rName, const SwNumRule *pCpy=nullptr, bool bBroadcast=false, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode=SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
Definition: docnum.cxx:2450
SwUndoCharFormatDelete(SwCharFormat const *pOld, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:288
void ChgFormat(SwFormat &rFormat, const SfxItemSet &rSet)
Definition: docfmt.cxx:1858
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:293
virtual void UndoImpl(::sw::UndoRedoContext &) override
Definition: SwUndoFmt.cxx:44
void DelFrameFormat(SwFrameFormat *pFormat, bool bBroadcast=false)
Definition: docfmt.cxx:686
SfxItemSet aOldSet
Definition: SwUndoFmt.hxx:64
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:357
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:206
virtual void Delete() override
Definition: SwUndoFmt.cxx:332
SwUndoRenameFrameFormat(const OUString &sOldName, const OUString &sNewName, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:362
bool DelNumRule(const OUString &rName, bool bBroadCast=false)
Definition: docnum.cxx:1045
const SwAttrSet & GetAttrSet() const
For querying the attribute array.
Definition: format.hxx:116
virtual SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:84
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:303
SwUndoTextFormatCollCreate(SwTextFormatColl *pNew, SwTextFormatColl const *pDerivedFrom, SwDoc *pDoc)
Definition: SwUndoFmt.cxx:191
virtual void Delete(SwFormat *pFormat) override
Definition: SwUndoFmt.cxx:298
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:227
virtual SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:137
virtual SwFormat * Find(const OUString &rName) const =0
bool IsAuto() const
Query / set AutoFormat-flag.
Definition: format.hxx:158
virtual SwFormat * Create(SwFormat *pDerivedFrom)=0
SfxItemSet * pNewSet
Definition: SwUndoFmt.hxx:39
SwRewriter GetRewriter() const override
Returns the rewriter for this object.
Definition: SwUndoFmt.cxx:397
virtual SwFormat * Create(SwFormat *pDerivedFrom) override
Definition: SwUndoFmt.cxx:196
virtual SwFormat * Find(const OUString &rName) const override
Definition: SwUndoFmt.cxx:261
sal_uInt16 nId
Definition: SwUndoFmt.hxx:65