LibreOffice Module sw (master) 1
rootfrm.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#ifndef INCLUDED_SW_SOURCE_CORE_INC_ROOTFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_ROOTFRM_HXX
21
22#include "layfrm.hxx"
23#include <viewsh.hxx>
24#include <doc.hxx>
27#include <set>
28#include <vector>
29
30class SwContentFrame;
31class SdrPage;
32class SwFrameFormat;
33class SwPaM;
34class SwCursor;
35class SwShellCursor;
36class SwTableCursor;
37class SwLayVout;
38class SwViewOption;
39class SwSelectionList;
40struct SwPosition;
42
43namespace sw {
44 enum class RedlineMode
45 {
47 };
48
49 enum class FieldmarkMode { ShowCommand = 1, ShowResult = 2, ShowBoth = 3 };
51};
52
54{
55 Size = 0x01,
56 PrtArea = 0x02,
57 Pos = 0x04,
58 Table = 0x08,
59 Section = 0x10,
60 LineNum = 0x20,
61 Direction = 0x40,
62};
63
64namespace o3tl
65{
66 template<> struct typed_flags<SwInvalidateFlags> : is_typed_flags<SwInvalidateFlags, 0x7f> {};
67};
68
70{
71 Next,
72 Prev
73};
74
75using SwCurrShells = std::set<CurrShell*>;
76
77class SwSectionFrame;
79class SwFlyFrame;
81
85{
86 // Needs to disable the Superfluous temporarily
87 friend void AdjustSizeChgNotify( SwRootFrame *pRoot );
88
89 // Maintains the mpLastPage (Cut() and Paste() of SwPageFrame
90 friend inline void SetLastPage( SwPageFrame* );
91
92 // For creating and destroying of the virtual output device manager
93 friend void FrameInit(); // Creates s_pVout
94 friend void FrameFinit(); // Destroys s_pVout
95
96 std::vector<SwRect> maPageRects;// returns the current rectangle for each page frame
97 // the rectangle is extended to the top/bottom/left/right
98 // for pages located at the outer margins
99 SwRect maPagesArea; // the area covered by the pages
100 tools::Long mnViewWidth; // the current page layout bases on this view width
101 sal_uInt16 mnColumns; // the current page layout bases on this number of columns
102 bool mbBookMode; // the current page layout is in book view
103 bool mbSidebarChanged; // the notes sidebar state has changed
104
105 bool mbNeedGrammarCheck; // true when sth needs to be checked (not necessarily started yet!)
106
108 static bool s_isInPaint; // Protection against double Paints
109 static bool s_isNoVirDev;// No virt. Device for SystemPaints
112
114 static constexpr sal_Int64 MIN_BROWSE_WIDTH = o3tl::toTwips(20000, o3tl::Length::mm100);
115
116 bool mbCheckSuperfluous :1; // Search for empty Pages?
117 bool mbIdleFormat :1; // Trigger Idle Formatter?
118 bool mbBrowseWidthValid :1; // Is mnBrowseWidth valid?
120 bool mbAssertFlyPages :1; // Insert more Pages for Flys if needed?
121 bool mbTableUpdateInProgress : 1; // tdf#139426 to allow suppression of AssertFlyPages during TableUpdate
122 bool mbIsVirtPageNum :1; // Do we have a virtual pagenumber?
123 bool mbIsNewLayout :1; // Layout loaded or newly created
124 bool mbCallbackActionEnabled:1; // No Action in Notification desired
125 // @see dcontact.cxx, ::Changed()
130
137
140
143
166 friend class CurrShell;
167 friend void SetShell( SwViewShell *pSh );
168 friend void InitCurrShells( SwRootFrame *pRoot );
171 std::unique_ptr<SwCurrShells> mpCurrShells;
172
175
176 std::unique_ptr<SwDestroyList> mpDestroy;
177 std::unique_ptr<SwFlyDestroyList> mpFlyDestroy;
178
179 sal_uInt16 mnPhyPageNums;
180 sal_uInt16 mnAccessibleShells; // Number of accessible shells
181
182 void ImplCalcBrowseWidth();
183 void ImplInvalidateBrowseWidth();
184
185 void DeleteEmptySct_(); // Destroys the registered SectionFrames
187 void DeleteEmptyFlys_();
188 void RemoveFromList_( SwSectionFrame* pSct ); // Removes SectionFrames from the Delete List
189
190 virtual void DestroyImpl() override;
191 virtual ~SwRootFrame() override;
192
193 virtual void MakeAll(vcl::RenderContext* pRenderContext) override;
194
195public:
196
198 static void RemoveMasterObjs( SdrPage *pPg );
199
200 void AllCheckPageDescs() const;
201 void AllInvalidateAutoCompleteWords() const;
202 void AllAddPaintRect() const;
203 void AllRemoveFootnotes() ;
204 void AllInvalidateSmartTagsOrSpelling(bool bSmartTags) const;
205
207 static bool FlushVout();
208
210 static bool HasSameRect( const SwRect& rRect );
211
213 void Init(SwFrameFormat*);
214
215 SwViewShell *GetCurrShell() const { return mpCurrShell; }
216 void DeRegisterShell( SwViewShell *pSh );
217
225 void StartAllAction();
226 void EndAllAction();
227
232 void UnoRemoveAllActions();
233 void UnoRestoreAllActions();
234
235 const SdrPage* GetDrawPage() const { return mpDrawPage; }
236 SdrPage* GetDrawPage() { return mpDrawPage; }
237 void SetDrawPage( SdrPage* pNew ){ mpDrawPage = pNew; }
238
240 SwCursorMoveState* = nullptr, bool bTestBackground = false ) const override;
241
242 virtual void PaintSwFrame( vcl::RenderContext& rRenderContext, SwRect const&,
243 SwPrintData const*const pPrintData = nullptr ) const override;
244 virtual SwTwips ShrinkFrame( SwTwips, bool bTst = false, bool bInfo = false ) override;
245 virtual SwTwips GrowFrame ( SwTwips, bool bTst = false, bool bInfo = false ) override;
246#ifdef DBG_UTIL
247 virtual void Cut() override;
248 virtual void Paste( SwFrame* pParent, SwFrame* pSibling = nullptr ) override;
249#endif
250
251 virtual bool FillSelection( SwSelectionList& rList, const SwRect& rRect ) const override;
252
253 Point GetNextPrevContentPos( const Point &rPoint, bool bNext ) const;
254
255 virtual Size ChgSize( const Size& aNewSize ) override;
256
258 {
259 mbIdleFormat = true;
260
261 SwViewShell* pCurrShell = GetCurrShell();
262 // May be NULL if called from SfxBaseModel::dispose
263 // (this happens in the build test 'rtfexport').
264 if (pCurrShell != nullptr)
265 pCurrShell->GetDoc()->getIDocumentTimerAccess().StartIdling();
266 }
267 bool IsIdleFormat() const { return mbIdleFormat; }
268 void ResetIdleFormat() { mbIdleFormat = false; }
269
270 bool IsNeedGrammarCheck() const { return mbNeedGrammarCheck; }
271 void SetNeedGrammarCheck( bool bVal )
272 {
273 mbNeedGrammarCheck = bVal;
274
275 if ( bVal )
276 {
277 SwViewShell* pCurrShell = GetCurrShell();
278 // May be NULL if called from SfxBaseModel::dispose
279 // (this happens in the build test 'rtfexport').
280 if (pCurrShell != nullptr)
281 pCurrShell->GetDoc()->getIDocumentTimerAccess().StartIdling();
282 }
283 }
284
286 void SetAssertFlyPages() { mbAssertFlyPages = true; }
287 void AssertFlyPages();
288 bool IsAssertFlyPages() const { return mbAssertFlyPages; }
289
290 void SetTableUpdateInProgress(bool bValue) { mbTableUpdateInProgress = bValue; }
291 bool IsTableUpdateInProgress() const { return mbTableUpdateInProgress; }
292
297 static void AssertPageFlys( SwPageFrame * );
298
300 void InvalidateAllContent( SwInvalidateFlags nInvalidate );
301
307 void InvalidateAllObjPos();
308
310 void SetSuperfluous() { mbCheckSuperfluous = true; }
311 bool IsSuperfluous() const { return mbCheckSuperfluous; }
312 void RemoveSuperfluous();
313
318 sal_uInt16 GetCurrPage( const SwPaM* ) const;
319 sal_uInt16 SetCurrPage( SwCursor*, sal_uInt16 nPageNum );
320 Point GetPagePos( sal_uInt16 nPageNum ) const;
321 sal_uInt16 GetPageNum() const { return mnPhyPageNums; }
322 void DecrPhyPageNums() { --mnPhyPageNums; }
323 void IncrPhyPageNums() { ++mnPhyPageNums; }
324 bool IsVirtPageNum() const { return mbIsVirtPageNum; }
325 inline void SetVirtPageNum( const bool bOf ) const;
326 bool IsDummyPage( sal_uInt16 nPageNum ) const;
327
335 const SwPageFrame* GetPageAtPos( const Point& rPt, const Size* pSize = nullptr, bool bExtend = false ) const;
336
344 bool IsBetweenPages(const Point& rPt) const;
345
346 void CalcFrameRects( SwShellCursor& );
347
354 bool MakeTableCursors( SwTableCursor& );
355
356 void DisallowTurbo() const { const_cast<SwRootFrame*>(this)->mbTurboAllowed = false; }
357 void ResetTurboFlag() const { const_cast<SwRootFrame*>(this)->mbTurboAllowed = true; }
358 bool IsTurboAllowed() const { return mbTurboAllowed; }
359 void SetTurbo( const SwContentFrame *pContent ) { mpTurbo = pContent; }
360 void ResetTurbo() { mpTurbo = nullptr; }
361 const SwContentFrame *GetTurbo() const { return mpTurbo; }
362
364 void UpdateFootnoteNums(); // Only for page by page numbering!
365
367 void RemoveFootnotes( SwPageFrame *pPage = nullptr, bool bPageOnly = false,
368 bool bEndNotes = false );
369 void CheckFootnotePageDescs( bool bEndNote );
370
371 const SwPageFrame *GetLastPage() const { return mpLastPage; }
372 SwPageFrame *GetLastPage() { return mpLastPage; }
373
374 static bool IsInPaint() { return s_isInPaint; }
375
376 static void SetNoVirDev(const bool bNew) { s_isNoVirDev = bNew; }
377
378 inline tools::Long GetBrowseWidth() const;
379 inline void InvalidateBrowseWidth();
380
381 bool IsNewLayout() const { return mbIsNewLayout; }
382 void ResetNewLayout() { mbIsNewLayout = false;}
383
388 void InsertEmptySct( SwSectionFrame* pDel );
391 void InsertEmptyFly(SwFlyFrame* pDel);
392 void DeleteEmptySct() { if( mpDestroy ) DeleteEmptySct_(); }
393 void DeleteEmptyFlys() { if( mpFlyDestroy ) DeleteEmptyFlys_(); }
394 void RemoveFromList( SwSectionFrame* pSct ) { if( mpDestroy ) RemoveFromList_( pSct ); }
395#ifdef DBG_UTIL
396 bool IsInDelList( SwSectionFrame* pSct ) const;
397#endif
398
399 void SetCallbackActionEnabled( bool b ) { mbCallbackActionEnabled = b; }
400 bool IsCallbackActionEnabled() const { return mbCallbackActionEnabled; }
401
402 bool IsAnyShellAccessible() const { return mnAccessibleShells > 0; }
403 void AddAccessibleShell() { ++mnAccessibleShells; }
404 void RemoveAccessibleShell() { --mnAccessibleShells; }
405
418 SwPageFrame* GetPageByPageNum( sal_uInt16 _nPageNum ) const;
419
420 void CheckViewLayout( const SwViewOption* pViewOpt, const SwRect* pVisArea );
421 bool IsLeftToRightViewLayout() const;
422 const SwRect& GetPagesArea() const { return maPagesArea; }
423 void SetSidebarChanged() { mbSidebarChanged = true; }
424
425 bool IsLayoutFreezed() const { return mbLayoutFreezed; }
426 void FreezeLayout( bool freeze ) { mbLayoutFreezed = freeze; }
427
428 void RemovePage( SwPageFrame **pDel, SwRemoveResult eResult );
429
434 bool IsHideRedlines() const { return mbHideRedlines; }
435 void SetHideRedlines(bool);
436 sw::FieldmarkMode GetFieldmarkMode() const { return m_FieldmarkMode; }
437 void SetFieldmarkMode(sw::FieldmarkMode, sw::ParagraphBreakMode);
438 sw::ParagraphBreakMode GetParagraphBreakMode() const { return m_ParagraphBreakMode; }
439 bool HasMergedParas() const;
440
441 void dumpAsXml(xmlTextWriterPtr writer = nullptr) const override;
442};
443
445{
446 if ( !mbBrowseWidthValid )
447 const_cast<SwRootFrame*>(this)->ImplCalcBrowseWidth();
448 return mnBrowseWidth;
449}
450
452{
453 if ( mbBrowseWidthValid )
455}
456
457inline void SwRootFrame::SetVirtPageNum( const bool bOf) const
458{
459 const_cast<SwRootFrame*>(this)->mbIsVirtPageNum = bOf;
460}
461
465{
466 private:
469
470 public:
471 explicit DisableCallbackAction(SwRootFrame & rRootFrame)
472 : m_rRootFrame(rRootFrame)
473 , m_bOldCallbackActionState(rRootFrame.IsCallbackActionEnabled())
474 {
476 }
477
479 {
481 }
482};
483
484#endif // INCLUDED_SW_SOURCE_CORE_INC_ROOTFRM_HXX
485
486/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SwRootFrame * pRoot
Definition: viewsh.hxx:608
helper class to disable creation of an action by a callback event in particular, change event from a ...
Definition: rootfrm.hxx:465
SwRootFrame & m_rRootFrame
Definition: rootfrm.hxx:467
DisableCallbackAction(SwRootFrame &rRootFrame)
Definition: rootfrm.hxx:471
bool m_bOldCallbackActionState
Definition: rootfrm.hxx:468
virtual void StartIdling()=0
Start the idle task.
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
Definition: cntfrm.hxx:59
IDocumentTimerAccess const & getIDocumentTimerAccess() const
Definition: doc.cxx:263
general base class for all free-flowing frames
Definition: flyfrm.hxx:79
Style of a layout element.
Definition: frmfmt.hxx:72
Base class of the Writer layout elements.
Definition: frame.hxx:315
virtual void dumpAsXml(xmlTextWriterPtr writer=nullptr) const =0
virtual Size ChgSize(const Size &aNewSize)
Definition: wsfrm.cxx:742
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
Definition: layfrm.hxx:36
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
Definition: calcmove.cxx:944
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Searches the ContentFrame owning the PrtArea containing the point.
Definition: trvlfrm.cxx:151
virtual SwTwips GrowFrame(SwTwips, bool bTst=false, bool bInfo=false) override
Definition: wsfrm.cxx:2641
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const override
Definition: trvlfrm.cxx:367
virtual void DestroyImpl() override
Definition: ssfrm.cxx:487
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
Definition: wsfrm.cxx:1350
virtual SwTwips ShrinkFrame(SwTwips, bool bTst=false, bool bInfo=false) override
Definition: wsfrm.cxx:2840
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
Definition: paintfrm.cxx:3511
virtual void Cut() override
Definition: wsfrm.cxx:1447
PaM is Point and Mark: a selection of the document model.
Definition: pam.hxx:188
A page of the document layout.
Definition: pagefrm.hxx:60
Of course Writer needs its own rectangles.
Definition: swrect.hxx:35
The root element of a Writer document layout.
Definition: rootfrm.hxx:85
void AddAccessibleShell()
Definition: rootfrm.hxx:403
bool IsAssertFlyPages() const
Definition: rootfrm.hxx:288
void DeleteEmptySct()
Definition: rootfrm.hxx:392
bool IsNewLayout() const
Definition: rootfrm.hxx:381
SwPageFrame * mpLastPage
We should not need to always struggle to find the last page, so store it here.
Definition: rootfrm.hxx:142
SwViewShell * mpCurrShell
Definition: rootfrm.hxx:169
void ResetTurboFlag() const
Definition: rootfrm.hxx:357
void SetVirtPageNum(const bool bOf) const
Definition: rootfrm.hxx:457
void FreezeLayout(bool freeze)
Definition: rootfrm.hxx:426
bool IsSuperfluous() const
Definition: rootfrm.hxx:311
std::unique_ptr< SwCurrShells > mpCurrShells
Definition: rootfrm.hxx:171
const SwContentFrame * mpTurbo
If we only have to format one ContentFrame, its in mpTurbo.
Definition: rootfrm.hxx:139
static bool s_isInPaint
Definition: rootfrm.hxx:108
SwViewShell * GetCurrShell() const
Definition: rootfrm.hxx:215
static bool IsInPaint()
Definition: rootfrm.hxx:374
bool IsVirtPageNum() const
Definition: rootfrm.hxx:324
bool mbIdleFormat
Definition: rootfrm.hxx:117
std::unique_ptr< SwDestroyList > mpDestroy
Definition: rootfrm.hxx:176
bool IsLayoutFreezed() const
Definition: rootfrm.hxx:425
void ImplInvalidateBrowseWidth()
Definition: pagechg.cxx:1790
SdrPage * GetDrawPage()
Definition: rootfrm.hxx:236
sal_uInt16 mnAccessibleShells
Page count.
Definition: rootfrm.hxx:180
const SwContentFrame * GetTurbo() const
Definition: rootfrm.hxx:361
tools::Long GetBrowseWidth() const
Definition: rootfrm.hxx:444
void SetSuperfluous()
Remove superfluous Pages.
Definition: rootfrm.hxx:310
bool mbIsVirtPageNum
Definition: rootfrm.hxx:122
bool IsAnyShellAccessible() const
Definition: rootfrm.hxx:402
bool mbTableUpdateInProgress
Definition: rootfrm.hxx:121
const SdrPage * GetDrawPage() const
Definition: rootfrm.hxx:235
std::vector< SwRect > maPageRects
Definition: rootfrm.hxx:96
void InvalidateBrowseWidth()
Definition: rootfrm.hxx:451
sal_uInt16 GetPageNum() const
Definition: rootfrm.hxx:321
void SetTurbo(const SwContentFrame *pContent)
Definition: rootfrm.hxx:359
void SetIdleFlags()
Definition: rootfrm.hxx:257
const SwRect & GetPagesArea() const
Definition: rootfrm.hxx:422
SwRect maPagesArea
Definition: rootfrm.hxx:99
bool IsTableUpdateInProgress() const
Definition: rootfrm.hxx:291
sal_uInt16 mnPhyPageNums
Definition: rootfrm.hxx:179
sal_uInt16 mnColumns
Definition: rootfrm.hxx:101
void ResetIdleFormat()
Definition: rootfrm.hxx:268
void DecrPhyPageNums()
Definition: rootfrm.hxx:322
bool mbLayoutFreezed
Definition: rootfrm.hxx:126
bool IsHideRedlines() const
Replacement for sw::DocumentRedlineManager::GetRedlineFlags() (this is layout-level redline hiding).
Definition: rootfrm.hxx:434
bool IsCallbackActionEnabled() const
Definition: rootfrm.hxx:400
bool mbCallbackActionEnabled
Definition: rootfrm.hxx:124
SwViewShell * mpWaitingCurrShell
Definition: rootfrm.hxx:170
void SetNeedGrammarCheck(bool bVal)
Definition: rootfrm.hxx:271
bool mbBrowseWidthValid
Definition: rootfrm.hxx:118
SwPageFrame * GetLastPage()
Definition: rootfrm.hxx:372
bool mbAssertFlyPages
Definition: rootfrm.hxx:120
const SwPageFrame * GetLastPage() const
Definition: rootfrm.hxx:371
SdrPage * mpDrawPage
One Page per DrawModel per Document; is always the size of the Root.
Definition: rootfrm.hxx:174
void RemoveAccessibleShell()
Definition: rootfrm.hxx:404
bool IsIdleFormat() const
Definition: rootfrm.hxx:267
bool mbSidebarChanged
Definition: rootfrm.hxx:103
sw::FieldmarkMode GetFieldmarkMode() const
Definition: rootfrm.hxx:436
void ResetNewLayout()
Definition: rootfrm.hxx:382
tools::Long mnViewWidth
Definition: rootfrm.hxx:100
void SetDrawPage(SdrPage *pNew)
Definition: rootfrm.hxx:237
void DisallowTurbo() const
Definition: rootfrm.hxx:356
tools::Long mnBrowseWidth
For BrowseMode mnBrowseWidth is the outer margin of the object most to the right.
Definition: rootfrm.hxx:136
bool mbBookMode
Definition: rootfrm.hxx:102
static void SetNoVirDev(const bool bNew)
Definition: rootfrm.hxx:376
void RemoveFromList(SwSectionFrame *pSct)
Definition: rootfrm.hxx:394
void SetCallbackActionEnabled(bool b)
Definition: rootfrm.hxx:399
void SetTableUpdateInProgress(bool bValue)
Definition: rootfrm.hxx:290
bool IsTurboAllowed() const
Definition: rootfrm.hxx:358
bool mbCheckSuperfluous
Definition: rootfrm.hxx:116
sw::FieldmarkMode m_FieldmarkMode
Definition: rootfrm.hxx:128
void ResetTurbo()
Definition: rootfrm.hxx:360
void SetSidebarChanged()
Definition: rootfrm.hxx:423
void SetAssertFlyPages()
Makes sure that all requested page-bound Flys find a Page.
Definition: rootfrm.hxx:286
sw::ParagraphBreakMode GetParagraphBreakMode() const
Definition: rootfrm.hxx:438
bool mbTurboAllowed
Definition: rootfrm.hxx:119
void IncrPhyPageNums()
Definition: rootfrm.hxx:323
void DeleteEmptyFlys()
Definition: rootfrm.hxx:393
static bool s_isNoVirDev
Definition: rootfrm.hxx:109
static SwLayVout * s_pVout
Definition: rootfrm.hxx:107
bool mbNeedGrammarCheck
Definition: rootfrm.hxx:105
sw::ParagraphBreakMode m_ParagraphBreakMode
Definition: rootfrm.hxx:129
std::unique_ptr< SwFlyDestroyList > mpFlyDestroy
Definition: rootfrm.hxx:177
bool IsNeedGrammarCheck() const
Definition: rootfrm.hxx:270
void ImplCalcBrowseWidth()
Definition: pagechg.cxx:1801
bool mbHideRedlines
Definition: rootfrm.hxx:127
bool mbIsNewLayout
Definition: rootfrm.hxx:123
static SwRootFrame * s_pLast
The last, still alive SwRootFrame instance, for debugging.
Definition: rootfrm.hxx:111
This class is used as parameter for creation of a block cursor selection.
Represents the current text cursor of one opened edit window.
Definition: viscrs.hxx:140
SwDoc * GetDoc() const
Definition: viewsh.hxx:308
void Init()
struct _xmlTextWriter * xmlTextWriterPtr
constexpr auto toTwips(N number, Length from)
Dialog to specify the properties of date form field.
ParagraphBreakMode
Definition: rootfrm.hxx:50
FieldmarkMode
Definition: rootfrm.hxx:49
RedlineMode
Definition: rootfrm.hxx:45
long Long
void FrameInit()
Definition: newfrm.cxx:296
void SetShell(SwViewShell *pSh)
Definition: newfrm.cxx:353
void FrameFinit()
Definition: newfrm.cxx:307
void InitCurrShells(SwRootFrame *pRoot)
Definition: newfrm.cxx:390
void AdjustSizeChgNotify(SwRootFrame *pRoot)
Definition: pagechg.cxx:834
void SetLastPage(SwPageFrame *pPage)
Definition: pagechg.cxx:853
SwInvalidateFlags
Definition: rootfrm.hxx:54
std::set< CurrShell * > SwCurrShells
Definition: rootfrm.hxx:75
SwRemoveResult
Definition: rootfrm.hxx:70
Marks a position in the document model.
Definition: pam.hxx:38
#define SW_DLLPUBLIC
Definition: swdllapi.h:28
tools::Long SwTwips
Definition: swtypes.hxx:51