1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
|
/* -*- 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 .
*/
#include <ftnidx.hxx>
#include <rootfrm.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <pam.hxx>
#include <pagedesc.hxx>
#include <charfmt.hxx>
#include <UndoAttribute.hxx>
#include <hints.hxx>
#include <rolbck.hxx>
#include <doc.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentState.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <ndtxt.hxx>
#include <poolfmt.hxx>
#include <ftninfo.hxx>
SwEndNoteInfo& SwEndNoteInfo::operator=(const SwEndNoteInfo& rInfo)
{
m_pTextFormatColl = rInfo.m_pTextFormatColl;
m_pPageDesc = rInfo.m_pPageDesc;
m_pCharFormat = rInfo.m_pCharFormat;
m_pAnchorFormat = rInfo.m_pAnchorFormat;
m_aDepends.EndListeningAll();
m_aDepends.StartListening(m_pTextFormatColl);
m_aDepends.StartListening(m_pPageDesc);
m_aDepends.StartListening(m_pCharFormat);
m_aDepends.StartListening(m_pAnchorFormat);
m_aFormat = rInfo.m_aFormat;
m_nFootnoteOffset = rInfo.m_nFootnoteOffset;
m_bEndNote = rInfo.m_bEndNote;
m_sPrefix = rInfo.m_sPrefix;
m_sSuffix = rInfo.m_sSuffix;
return *this;
}
bool SwEndNoteInfo::operator==( const SwEndNoteInfo& rInfo ) const
{
return
m_pTextFormatColl == rInfo.m_pTextFormatColl &&
m_pPageDesc == rInfo.m_pPageDesc &&
m_pCharFormat == rInfo.m_pCharFormat &&
m_pAnchorFormat == rInfo.m_pAnchorFormat &&
m_aFormat.GetNumberingType() == rInfo.m_aFormat.GetNumberingType() &&
m_nFootnoteOffset == rInfo.m_nFootnoteOffset &&
m_bEndNote == rInfo.m_bEndNote &&
m_sPrefix == rInfo.m_sPrefix &&
m_sSuffix == rInfo.m_sSuffix;
}
SwEndNoteInfo::SwEndNoteInfo(const SwEndNoteInfo& rInfo) :
SwClient(nullptr),
m_aDepends(*this),
m_pTextFormatColl(rInfo.m_pTextFormatColl),
m_pPageDesc(rInfo.m_pPageDesc),
m_pCharFormat(rInfo.m_pCharFormat),
m_pAnchorFormat(rInfo.m_pAnchorFormat),
m_sPrefix( rInfo.m_sPrefix ),
m_sSuffix( rInfo.m_sSuffix ),
m_bEndNote( true ),
m_aFormat( rInfo.m_aFormat ),
m_nFootnoteOffset( rInfo.m_nFootnoteOffset )
{
m_aDepends.StartListening(m_pTextFormatColl);
m_aDepends.StartListening(m_pPageDesc);
m_aDepends.StartListening(m_pCharFormat);
m_aDepends.StartListening(m_pAnchorFormat);
}
SwEndNoteInfo::SwEndNoteInfo() :
SwClient(nullptr),
m_aDepends(*this),
m_pTextFormatColl(nullptr),
m_pPageDesc(nullptr),
m_pCharFormat(nullptr),
m_pAnchorFormat(nullptr),
m_bEndNote( true ),
m_nFootnoteOffset( 0 )
{
m_aFormat.SetNumberingType(SVX_NUM_ROMAN_LOWER);
}
SwPageDesc* SwEndNoteInfo::GetPageDesc(SwDoc& rDoc) const
{
if(!m_pPageDesc)
{
m_pPageDesc = rDoc.getIDocumentStylePoolAccess().GetPageDescFromPool( static_cast<sal_uInt16>(
m_bEndNote ? RES_POOLPAGE_ENDNOTE : RES_POOLPAGE_FOOTNOTE ) );
m_aDepends.StartListening(m_pPageDesc);
}
return m_pPageDesc;
}
bool SwEndNoteInfo::KnowsPageDesc() const
{
return m_pPageDesc != nullptr;
}
bool SwEndNoteInfo::DependsOn(const SwPageDesc* pDesc) const
{
return m_pPageDesc == pDesc;
}
void SwEndNoteInfo::ChgPageDesc(SwPageDesc* pDesc)
{
m_aDepends.EndListening(m_pPageDesc);
m_pPageDesc = pDesc;
m_aDepends.StartListening(m_pPageDesc);
}
void SwEndNoteInfo::SetFootnoteTextColl(SwTextFormatColl& rFormat)
{
m_aDepends.EndListening(m_pTextFormatColl);
m_pTextFormatColl = &rFormat;
m_aDepends.StartListening(m_pTextFormatColl);
}
SwCharFormat* SwEndNoteInfo::GetCharFormat(SwDoc& rDoc) const
{
auto pCharFormatFromDoc = rDoc.getIDocumentStylePoolAccess().GetCharFormatFromPool( static_cast<sal_uInt16>(
m_bEndNote ? RES_POOLCHR_ENDNOTE : RES_POOLCHR_FOOTNOTE ) );
if (m_pCharFormat != pCharFormatFromDoc)
{
m_aDepends.EndListening(m_pCharFormat);
m_aDepends.StartListening(pCharFormatFromDoc);
m_pCharFormat = pCharFormatFromDoc;
}
return m_pCharFormat;
}
namespace
{
void lcl_ResetPoolIdForDocAndSync(const sal_uInt16 nId, SwCharFormat* pFormat, const SwEndNoteInfo& rInfo)
{
auto pDoc = pFormat->GetDoc();
if(!pDoc)
return;
for(auto pDocFormat : *pDoc->GetCharFormats())
{
if(pDocFormat == pFormat)
pDocFormat->SetPoolFormatId(nId);
else if(pDocFormat->GetPoolFormatId() == nId)
pDocFormat->SetPoolFormatId(0);
}
rInfo.GetCharFormat(*pDoc);
rInfo.GetAnchorCharFormat(*pDoc);
}
}
void SwEndNoteInfo::SetCharFormat(SwCharFormat* pFormat)
{
lcl_ResetPoolIdForDocAndSync(
static_cast<sal_uInt16>(m_bEndNote
? RES_POOLCHR_ENDNOTE
: RES_POOLCHR_FOOTNOTE),
pFormat,
*this);
}
SwCharFormat* SwEndNoteInfo::GetAnchorCharFormat(SwDoc& rDoc) const
{
auto pAnchorFormatFromDoc = rDoc.getIDocumentStylePoolAccess().GetCharFormatFromPool( static_cast<sal_uInt16>(
m_bEndNote ? RES_POOLCHR_ENDNOTE_ANCHOR : RES_POOLCHR_FOOTNOTE_ANCHOR ) );
if(m_pAnchorFormat != pAnchorFormatFromDoc)
{
m_aDepends.EndListening(m_pAnchorFormat);
m_aDepends.StartListening(pAnchorFormatFromDoc);
m_pAnchorFormat = pAnchorFormatFromDoc;
}
return m_pAnchorFormat;
}
void SwEndNoteInfo::SetAnchorCharFormat(SwCharFormat* pFormat)
{
lcl_ResetPoolIdForDocAndSync(
static_cast<sal_uInt16>(m_bEndNote
? RES_POOLCHR_ENDNOTE_ANCHOR
: RES_POOLCHR_FOOTNOTE_ANCHOR),
pFormat,
*this);
}
SwCharFormat* SwEndNoteInfo::GetCurrentCharFormat(const bool bAnchor) const
{
return bAnchor
? m_pAnchorFormat
: m_pCharFormat;
}
void SwEndNoteInfo::SwClientNotify( const SwModify& rModify, const SfxHint& rHint)
{
if (auto pLegacyHint = dynamic_cast<const sw::LegacyModifyHint*>(&rHint))
{
const sal_uInt16 nWhich = pLegacyHint->m_pOld ? pLegacyHint->m_pOld->Which() : pLegacyHint->m_pNew ? pLegacyHint->m_pNew->Which() : 0 ;
if (RES_ATTRSET_CHG == nWhich || RES_FMT_CHG == nWhich)
{
auto pFormat = GetCurrentCharFormat(m_pCharFormat == nullptr);
if (!pFormat || !m_aDepends.IsListeningTo(pFormat) || pFormat->IsFormatInDTOR())
return;
SwDoc* pDoc = pFormat->GetDoc();
SwFootnoteIdxs& rFootnoteIdxs = pDoc->GetFootnoteIdxs();
for( size_t nPos = 0; nPos < rFootnoteIdxs.size(); ++nPos )
{
SwTextFootnote *pTextFootnote = rFootnoteIdxs[ nPos ];
const SwFormatFootnote &rFootnote = pTextFootnote->GetFootnote();
if ( rFootnote.IsEndNote() == m_bEndNote )
{
pTextFootnote->SetNumber(rFootnote.GetNumber(), rFootnote.GetNumberRLHidden(), rFootnote.GetNumStr());
}
}
}
else
CheckRegistration( pLegacyHint->m_pOld );
}
else if (auto pModifyChangedHint = dynamic_cast<const sw::ModifyChangedHint*>(&rHint))
{
auto pNew = const_cast<SwModify*>(pModifyChangedHint->m_pNew);
if(m_pAnchorFormat == &rModify)
m_pAnchorFormat = static_cast<SwCharFormat*>(pNew);
else if(m_pCharFormat == &rModify)
m_pCharFormat = static_cast<SwCharFormat*>(pNew);
else if(m_pPageDesc == &rModify)
m_pPageDesc = static_cast<SwPageDesc*>(pNew);
else if(m_pTextFormatColl == &rModify)
m_pTextFormatColl = static_cast<SwTextFormatColl*>(pNew);
}
}
SwFootnoteInfo& SwFootnoteInfo::operator=(const SwFootnoteInfo& rInfo)
{
SwEndNoteInfo::operator=(rInfo);
m_aQuoVadis = rInfo.m_aQuoVadis;
m_aErgoSum = rInfo.m_aErgoSum;
m_ePos = rInfo.m_ePos;
m_eNum = rInfo.m_eNum;
return *this;
}
bool SwFootnoteInfo::operator==( const SwFootnoteInfo& rInfo ) const
{
return m_ePos == rInfo.m_ePos &&
m_eNum == rInfo.m_eNum &&
SwEndNoteInfo::operator==(rInfo) &&
m_aQuoVadis == rInfo.m_aQuoVadis &&
m_aErgoSum == rInfo.m_aErgoSum;
}
SwFootnoteInfo::SwFootnoteInfo(const SwFootnoteInfo& rInfo) :
SwEndNoteInfo( rInfo ),
m_aQuoVadis( rInfo.m_aQuoVadis ),
m_aErgoSum( rInfo.m_aErgoSum ),
m_ePos( rInfo.m_ePos ),
m_eNum( rInfo.m_eNum )
{
m_bEndNote = false;
}
SwFootnoteInfo::SwFootnoteInfo() :
SwEndNoteInfo(),
m_ePos( FTNPOS_PAGE ),
m_eNum( FTNNUM_DOC )
{
m_aFormat.SetNumberingType(SVX_NUM_ARABIC);
m_bEndNote = false;
}
void SwDoc::SetFootnoteInfo(const SwFootnoteInfo& rInfo)
{
SwRootFrame* pTmpRoot = getIDocumentLayoutAccess().GetCurrentLayout();
if( GetFootnoteInfo() == rInfo )
return;
const SwFootnoteInfo &rOld = GetFootnoteInfo();
if (GetIDocumentUndoRedo().DoesUndo())
{
GetIDocumentUndoRedo().AppendUndo( std::make_unique<SwUndoFootNoteInfo>(rOld, this) );
}
bool bFootnotePos = rInfo.m_ePos != rOld.m_ePos;
bool bFootnoteDesc = rOld.m_ePos == FTNPOS_CHAPTER &&
rInfo.GetPageDesc( *this ) != rOld.GetPageDesc( *this );
bool bExtra = rInfo.m_aQuoVadis != rOld.m_aQuoVadis ||
rInfo.m_aErgoSum != rOld.m_aErgoSum ||
rInfo.m_aFormat.GetNumberingType() != rOld.m_aFormat.GetNumberingType() ||
rInfo.GetPrefix() != rOld.GetPrefix() ||
rInfo.GetSuffix() != rOld.GetSuffix();
SwCharFormat *pOldChrFormat = rOld.GetCharFormat( *this ),
*pNewChrFormat = rInfo.GetCharFormat( *this );
bool bFootnoteChrFormats = pOldChrFormat != pNewChrFormat;
*mpFootnoteInfo = rInfo;
if (pTmpRoot)
{
o3tl::sorted_vector<SwRootFrame*> aAllLayouts = GetAllLayouts();
if ( bFootnotePos )
for( auto aLayout : aAllLayouts )
aLayout->AllRemoveFootnotes();
else
{
for( auto aLayout : aAllLayouts )
aLayout->UpdateFootnoteNums();
if ( bFootnoteDesc )
for( auto aLayout : aAllLayouts )
aLayout->CheckFootnotePageDescs(false);
if ( bExtra )
{
// For messages regarding ErgoSum etc. we save the extra code and use the
// available methods.
SwFootnoteIdxs& rFootnoteIdxs = GetFootnoteIdxs();
for( size_t nPos = 0; nPos < rFootnoteIdxs.size(); ++nPos )
{
SwTextFootnote *pTextFootnote = rFootnoteIdxs[ nPos ];
const SwFormatFootnote &rFootnote = pTextFootnote->GetFootnote();
if ( !rFootnote.IsEndNote() )
pTextFootnote->SetNumber(rFootnote.GetNumber(), rFootnote.GetNumberRLHidden(), rFootnote.GetNumStr());
}
}
}
}
if( FTNNUM_PAGE != rInfo.m_eNum )
GetFootnoteIdxs().UpdateAllFootnote();
else if( bFootnoteChrFormats )
{
SwFormatChg aOld( pOldChrFormat );
SwFormatChg aNew( pNewChrFormat );
mpFootnoteInfo->ModifyNotification( &aOld, &aNew );
}
// #i81002# no update during loading
if ( !IsInReading() )
{
getIDocumentFieldsAccess().UpdateRefFields();
}
getIDocumentState().SetModified();
}
void SwDoc::SetEndNoteInfo(const SwEndNoteInfo& rInfo)
{
SwRootFrame* pTmpRoot = getIDocumentLayoutAccess().GetCurrentLayout();
if( GetEndNoteInfo() == rInfo )
return;
if(GetIDocumentUndoRedo().DoesUndo())
{
GetIDocumentUndoRedo().AppendUndo(
std::make_unique<SwUndoEndNoteInfo>( GetEndNoteInfo(), this ) );
}
bool bNumChg = rInfo.m_nFootnoteOffset != GetEndNoteInfo().m_nFootnoteOffset;
// this seems to be an optimization: UpdateAllFootnote() is only called
// if the offset changes; if the offset is the same,
// but type/prefix/suffix changes, just set new numbers.
bool const bExtra = !bNumChg &&
( (rInfo.m_aFormat.GetNumberingType() !=
GetEndNoteInfo().m_aFormat.GetNumberingType())
|| (rInfo.GetPrefix() != GetEndNoteInfo().GetPrefix())
|| (rInfo.GetSuffix() != GetEndNoteInfo().GetSuffix())
);
bool bFootnoteDesc = rInfo.GetPageDesc( *this ) !=
GetEndNoteInfo().GetPageDesc( *this );
SwCharFormat *pOldChrFormat = GetEndNoteInfo().GetCharFormat( *this ),
*pNewChrFormat = rInfo.GetCharFormat( *this );
bool bFootnoteChrFormats = pOldChrFormat != pNewChrFormat;
*mpEndNoteInfo = rInfo;
if ( pTmpRoot )
{
if ( bFootnoteDesc )
{
for( auto aLayout : GetAllLayouts() )
aLayout->CheckFootnotePageDescs(true);
}
if ( bExtra )
{
// For messages regarding ErgoSum etc. we save the extra code and use the
// available methods.
SwFootnoteIdxs& rFootnoteIdxs = GetFootnoteIdxs();
for( size_t nPos = 0; nPos < rFootnoteIdxs.size(); ++nPos )
{
SwTextFootnote *pTextFootnote = rFootnoteIdxs[ nPos ];
const SwFormatFootnote &rFootnote = pTextFootnote->GetFootnote();
if ( rFootnote.IsEndNote() )
pTextFootnote->SetNumber(rFootnote.GetNumber(), rFootnote.GetNumberRLHidden(), rFootnote.GetNumStr());
}
}
}
if( bNumChg )
GetFootnoteIdxs().UpdateAllFootnote();
else if( bFootnoteChrFormats )
{
SwFormatChg aOld( pOldChrFormat );
SwFormatChg aNew( pNewChrFormat );
mpEndNoteInfo->ModifyNotification( &aOld, &aNew );
}
// #i81002# no update during loading
if ( !IsInReading() )
{
getIDocumentFieldsAccess().UpdateRefFields();
}
getIDocumentState().SetModified();
}
bool SwDoc::SetCurFootnote( const SwPaM& rPam, const OUString& rNumStr,
bool bIsEndNote)
{
SwFootnoteIdxs& rFootnoteArr = GetFootnoteIdxs();
SwRootFrame* pTmpRoot = getIDocumentLayoutAccess().GetCurrentLayout();
const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End();
const sal_uLong nSttNd = pStt->nNode.GetIndex();
const sal_Int32 nSttCnt = pStt->nContent.GetIndex();
const sal_uLong nEndNd = pEnd->nNode.GetIndex();
const sal_Int32 nEndCnt = pEnd->nContent.GetIndex();
size_t nPos = 0;
rFootnoteArr.SeekEntry( pStt->nNode, &nPos );
std::unique_ptr<SwUndoChangeFootNote> pUndo;
if (GetIDocumentUndoRedo().DoesUndo())
{
GetIDocumentUndoRedo().ClearRedo(); // AppendUndo far below, so leave it
pUndo.reset(new SwUndoChangeFootNote( rPam, rNumStr, bIsEndNote ));
}
bool bChg = false;
bool bTypeChgd = false;
const size_t nPosSave = nPos;
while( nPos < rFootnoteArr.size() )
{
SwTextFootnote* pTextFootnote = rFootnoteArr[ nPos++ ];
sal_uLong nIdx = SwTextFootnote_GetIndex(pTextFootnote);
if( nIdx >= nEndNd &&
( nIdx != nEndNd || nEndCnt < pTextFootnote->GetStart() ) )
continue;
if( nIdx > nSttNd || ( nIdx == nSttNd &&
nSttCnt <= pTextFootnote->GetStart() ) )
{
const SwFormatFootnote& rFootnote = pTextFootnote->GetFootnote();
if( rFootnote.GetNumStr() != rNumStr ||
rFootnote.IsEndNote() != bIsEndNote )
{
bChg = true;
if ( pUndo )
{
pUndo->GetHistory().Add( *pTextFootnote );
}
pTextFootnote->SetNumber(rFootnote.GetNumber(), rFootnote.GetNumberRLHidden(), rNumStr);
if( rFootnote.IsEndNote() != bIsEndNote )
{
const_cast<SwFormatFootnote&>(rFootnote).SetEndNote( bIsEndNote );
bTypeChgd = true;
pTextFootnote->CheckCondColl();
//#i11339# dispose UNO wrapper when a footnote is changed to an endnote or vice versa
const_cast<SwFormatFootnote&>(rFootnote).InvalidateFootnote();
}
}
}
}
nPos = nPosSave; // There are more in the front!
while( nPos )
{
SwTextFootnote* pTextFootnote = rFootnoteArr[ --nPos ];
sal_uLong nIdx = SwTextFootnote_GetIndex(pTextFootnote);
if( nIdx <= nSttNd &&
( nIdx != nSttNd || nSttCnt > pTextFootnote->GetStart() ) )
continue;
if( nIdx < nEndNd || ( nIdx == nEndNd &&
nEndCnt >= pTextFootnote->GetStart() ) )
{
const SwFormatFootnote& rFootnote = pTextFootnote->GetFootnote();
if( rFootnote.GetNumStr() != rNumStr ||
rFootnote.IsEndNote() != bIsEndNote )
{
bChg = true;
if ( pUndo )
{
pUndo->GetHistory().Add( *pTextFootnote );
}
pTextFootnote->SetNumber(rFootnote.GetNumber(), rFootnote.GetNumberRLHidden(), rNumStr);
if( rFootnote.IsEndNote() != bIsEndNote )
{
const_cast<SwFormatFootnote&>(rFootnote).SetEndNote( bIsEndNote );
bTypeChgd = true;
pTextFootnote->CheckCondColl();
}
}
}
}
// Who needs to be triggered?
if( bChg )
{
if( pUndo )
{
GetIDocumentUndoRedo().AppendUndo(std::move(pUndo));
}
if ( bTypeChgd )
rFootnoteArr.UpdateAllFootnote();
if( FTNNUM_PAGE != GetFootnoteInfo().m_eNum )
{
if ( !bTypeChgd )
rFootnoteArr.UpdateAllFootnote();
}
else if( pTmpRoot )
{
for( auto aLayout : GetAllLayouts() )
aLayout->UpdateFootnoteNums();
}
getIDocumentState().SetModified();
}
return bChg;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|