LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
SwRootFrame Class Reference

The root element of a Writer document layout. More...

#include <rootfrm.hxx>

Inheritance diagram for SwRootFrame:
Collaboration diagram for SwRootFrame:

Public Member Functions

void AllCheckPageDescs () const
void AllInvalidateAutoCompleteWords () const
void AllAddPaintRect () const
void AllRemoveFootnotes ()
void AllInvalidateSmartTagsOrSpelling (bool bSmartTags) const
 SwRootFrame (SwFrameFormat *, SwViewShell *)
void Init (SwFrameFormat *)
SwViewShellGetCurrShell () const
void DeRegisterShell (SwViewShell *pSh)
void StartAllAction ()
 Set up Start-/EndAction for all Shells on a as high as possible (Shell section) level. More...
void EndAllAction (bool bVirDev=false)
void UnoRemoveAllActions ()
 Certain UNO Actions (e.g. More...
void UnoRestoreAllActions ()
const SdrPageGetDrawPage () const
SdrPageGetDrawPage ()
void SetDrawPage (SdrPage *pNew)
virtual bool GetCursorOfst (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
 Primary passes the call to the first page. More...
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 Paint once for every visible page which is touched by Rect. More...
virtual SwTwips ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override
virtual void Cut () override
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override
virtual bool FillSelection (SwSelectionList &rList, const SwRect &rRect) const override
Point GetNextPrevContentPos (const Point &rPoint, bool bNext) const
 Search the nearest Content to the passed point. More...
virtual Size ChgSize (const Size &aNewSize) override
void SetIdleFlags ()
bool IsIdleFormat () const
void ResetIdleFormat ()
bool IsNeedGrammarCheck () const
void SetNeedGrammarCheck (bool bVal)
void SetAssertFlyPages ()
 Makes sure that all requested page-bound Flys find a Page. More...
void AssertFlyPages ()
 Ensures that enough pages exist, so that all page bound frames and draw objects can be placed. More...
bool IsAssertFlyPages ()
void InvalidateAllContent (SwInvalidateFlags nInvalidate)
 Invalidate all Content, Size or PrtArea. More...
void InvalidateAllObjPos ()
 Invalidate/re-calculate the position of all floating screen objects (Writer fly frames and drawing objects), which are anchored to paragraph or to character. More...
void SetSuperfluous ()
 Remove superfluous Pages. More...
bool IsSuperfluous () const
void RemoveSuperfluous ()
 remove pages that are not needed at all More...
sal_uInt16 GetCurrPage (const SwPaM *) const
 Query/set the current Page and the collective Page count We'll format as much as necessary. More...
sal_uInt16 SetCurrPage (SwCursor *, sal_uInt16 nPageNum)
 Returns a PaM which sits at the beginning of the requested page. More...
Point GetPagePos (sal_uInt16 nPageNum) const
 Returns the absolute document position of the desired page. More...
sal_uInt16 GetPageNum () const
void DecrPhyPageNums ()
void IncrPhyPageNums ()
bool IsVirtPageNum () const
void SetVirtPageNum (const bool bOf) const
bool IsDummyPage (sal_uInt16 nPageNum) const
void CalcFrameRects (SwShellCursor &)
bool MakeTableCursors (SwTableCursor &)
 Calculates the cells included from the current selection. More...
void DisallowTurbo () const
void ResetTurboFlag () const
bool IsTurboAllowed () const
void SetTurbo (const SwContentFrame *pContent)
void ResetTurbo ()
const SwContentFrameGetTurbo ()
void UpdateFootnoteNums ()
 Update the footnote numbers of all Pages. More...
void RemoveFootnotes (SwPageFrame *pPage=nullptr, bool bPageOnly=false, bool bEndNotes=false)
 Remove all footnotes (but no references) More...
void CheckFootnotePageDescs (bool bEndNote)
 Change the page template of the footnote pages. More...
const SwPageFrameGetLastPage () const
SwPageFrameGetLastPage ()
long GetBrowseWidth () const
void InvalidateBrowseWidth ()
bool IsNewLayout () const
void ResetNewLayout ()
void InsertEmptySct (SwSectionFrame *pDel)
 Empty SwSectionFrames are registered here for deletion and destroyed later on or deregistered. More...
void DeleteEmptySct ()
void RemoveFromList (SwSectionFrame *pSct)
bool IsInDelList (SwSectionFrame *pSct) const
void SetCallbackActionEnabled (bool b)
bool IsCallbackActionEnabled () const
bool IsAnyShellAccessible () const
void AddAccessibleShell ()
void RemoveAccessibleShell ()
SwPageFrameGetPageByPageNum (sal_uInt16 _nPageNum) const
 Get page frame by physical page number looping through the lowers, which are page frame, in order to find the page frame with the given physical page number. More...
void CheckViewLayout (const SwViewOption *pViewOpt, const SwRect *pVisArea)
bool IsLeftToRightViewLayout () const
const SwRectGetPagesArea () const
void SetSidebarChanged ()
bool IsLayoutFreezed () const
void FreezeLayout (bool freeze)
void RemovePage (SwPageFrame **pDel, SwRemoveResult eResult)
bool IsHideRedlines () const
 Replacement for sw::DocumentRedlineManager::GetRedlineFlags() (this is layout-level redline hiding). More...
void SetHideRedlines (bool)
const SwPageFrameGetPageAtPos (const Point &rPt, const Size *pSize=nullptr, bool bExtend=false) const
 Point rPt: The point that should be used to find the page Size pSize: If given, we return the (first) page that overlaps with the rectangle defined by rPt and pSize bool bExtend: Extend each page to the left/right/top/bottom up to the next page margin. More...
bool IsBetweenPages (const Point &rPt) const
 Point rPt: The point to test. More...
- Public Member Functions inherited from SwLayoutFrame
virtual void PaintSubsidiaryLines (const SwPageFrame *, const SwRect &) const
void RefreshLaySubsidiary (const SwPageFrame *, const SwRect &) const
void RefreshExtraData (const SwRect &) const
void ChgLowersProp (const Size &rOldSize)
 Change size of lowers proportionally. More...
void AdjustColumns (const SwFormatCol *pCol, bool bAdjustAttributes)
void ChgColumns (const SwFormatCol &rOld, const SwFormatCol &rNew, const bool bChgFootnote=false)
 add or remove columns from a layoutframe. More...
void PaintColLines (const SwRect &, const SwFormatCol &, const SwPageFrame *) const
 Paints the column separation line for the inner columns. More...
const SwContentFrameGetContentPos (Point &rPoint, const bool bDontLeave, const bool bBodyOnly=false, SwCursorMoveState *pCMS=nullptr, const bool bDefaultExpand=true) const
 Finds the closest Content for the SPoint Is used for Pages, Flys and Cells if GetCursorOfst failed. More...
 SwLayoutFrame (SwFrameFormat *, SwFrame *)
const SwFrameLower () const
SwFrameLower ()
const SwContentFrameContainsContent () const
 Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so the first found ContentFrame is returned. More...
SwContentFrameContainsContent ()
 In order to save us from duplicating implementations, we cast here a little. More...
const SwCellFrameFirstCell () const
 Calls ContainsAny first to reach the innermost cell. More...
SwCellFrameFirstCell ()
const SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false) const
 Method <ContainsAny()> doesn't investigate content of footnotes by default. More...
SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false)
bool IsAnLower (const SwFrame *) const
virtual const SwFrameFormatGetFormat () const
virtual SwFrameFormatGetFormat ()
void SetFrameFormat (SwFrameFormat *)
bool MoveLowerFootnotes (SwContentFrame *pStart, SwFootnoteBossFrame *pOldBoss, SwFootnoteBossFrame *pNewBoss, const bool bFootnoteNums)
 Moving the Footnotes of all Lowers - starting from StartContent. More...
void NotifyLowerObjs (const bool _bUnlockPosOfObjs=false)
 force an unlockposition call for the lower objects. More...
void InvaPercentLowers (SwTwips nDiff=0)
 Invalidates the inner Frames, whose width and/or height are calculated using percentages. More...
void FormatWidthCols (const SwBorderAttrs &, const SwTwips nBorder, const SwTwips nMinHeight)
 Called by Format for Frames and Areas with columns. More...
SwTwips InnerHeight () const
 InnerHeight returns the height of the content and may be bigger or less than the PrtArea-Height of the layoutframe himself. More...
bool IsBefore (const SwLayoutFrame *_pCheckRefLayFrame) const
 method to check relative position of layout frame to a given layout frame. More...
SwFrameGetLastLower ()
virtual void PaintBreak () const
void SetVertPosOrientFrameFor (SwAnchoredObject *pObj)
void ClearVertPosOrientFrameFor (SwAnchoredObject *pObj)
const SwFrameGetLastLower () const
- Public Member Functions inherited from SwFrame
virtual css::uno::Sequence< css::style::TabStop > GetTabStopInfo (SwTwips)
SwFrameType GetType () const
SwTwips Shrink (SwTwips, bool bTst=false, bool bInfo=false)
SwTwips Grow (SwTwips, bool bTst=false, bool bInfo=false)
void InsertBefore (SwLayoutFrame *pParent, SwFrame *pBehind)
 Insert SwFrame into existing structure. More...
void InsertBehind (SwLayoutFrame *pParent, SwFrame *pBefore)
 Insert SwFrame into existing structure. More...
bool InsertGroupBefore (SwFrame *pParent, SwFrame *pWhere, SwFrame *pSct)
 Insert a chain of SwFrames into an existing structure. More...
void RemoveFromLayout ()
SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd)
SwLayoutFrameGetNextLeaf (MakePageType eMakePage)
 Returns the next layout leaf in which we can move the frame. More...
SwLayoutFrameGetNextFootnoteLeaf (MakePageType eMakePage)
 Return the next layout leaf in that the frame can be moved. More...
SwLayoutFrameGetNextSctLeaf (MakePageType eMakePage)
 Returns the next layout sheet where the frame can be moved in. More...
SwLayoutFrameGetPrevLeaf ()
 Returns the previous layout leaf where we can move the frame. More...
SwLayoutFrameGetPrevFootnoteLeaf (MakePageType eMakeFootnote)
 Get the preceding layout leaf in that the frame can be moved. More...
SwLayoutFrameGetPrevSctLeaf ()
 Returns the preceding layout sheet where the frame can be moved into. More...
const SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd, const SwFrame *pAnch) const
 Returns the next/previous Layout leaf that's NOT below this (or even is this itself). More...
bool WrongPageDesc (SwPageFrame *pNew)
void AppendDrawObj (SwAnchoredObject &_rNewObj)
void RemoveDrawObj (SwAnchoredObject &_rToRemoveObj)
void AppendFly (SwFlyFrame *pNew)
void RemoveFly (SwFlyFrame *pToRemove)
const SwSortedObjsGetDrawObjs () const
SwSortedObjsGetDrawObjs ()
void InvalidateObjs (const bool _bNoInvaOfAsCharAnchoredObjs=true)
virtual void PaintSwFrameShadowAndBorder (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &) const
 Paints shadows and borders. More...
void PaintBaBo (const SwRect &, const SwPageFrame *pPage, const bool bOnlyTextBackground=false) const
void PaintSwFrameBackground (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &, const bool bLowerMode=false, const bool bLowerBorder=false, const bool bOnlyTextBackground=false) const
 OD 05.09.2002 #102912# Do not paint background for fly frames without a background brush by calling <PaintBaBo> at the page or at the fly frame its anchored. More...
void PaintBorderLine (const SwRect &, const SwRect &, const SwPageFrame *, const Color *pColor, const SvxBorderLineStyle=SvxBorderLineStyle::SOLID) const
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2DCreateProcessor2D () const
void ProcessPrimitives (const drawinglayer::primitive2d::Primitive2DContainer &rSequence) const
void Retouch (const SwPageFrame *pPage, const SwRect &rRect) const
 Retouch for a section. More...
bool GetBackgroundBrush (drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes, const SvxBrushItem *&rpBrush, const Color *&rpColor, SwRect &rOrigRect, bool bLowerMode, bool bConsiderTextBox) const
 Determine the background brush for the frame: the background brush is taken from it-self or from its parent (anchor/upper). More...
void SetCompletePaint () const
void ResetCompletePaint () const
bool IsCompletePaint () const
void SetRetouche () const
void ResetRetouche () const
bool IsRetouche () const
void InvalidateInfFlags ()
bool IsInDocBody () const
bool IsInFootnote () const
bool IsInTab () const
bool IsInFly () const
bool IsInSct () const
bool IsVertical () const
bool IsVertLR () const
bool IsVertLRBT () const
void SetDerivedVert (bool bNew)
void SetInvalidVert (bool bNew)
bool IsRightToLeft () const
void SetDerivedR2L (bool bNew)
void CheckDirChange ()
 checks the layout direction and invalidates the lower frames recursively, if necessary. More...
Point GetFrameAnchorPos (bool bIgnoreFlysAnchoredAtThisFrame) const
 returns the position for anchors based on frame direction More...
bool IsFootnoteAllowed () const
virtual void CheckDirection (bool bVert)
void ReinitializeFrameSizeAttrFlags ()
bool HasFixSize () const
SwFrameGetNext ()
SwFrameGetPrev ()
SwLayoutFrameGetUpper ()
SwRootFramegetRootFrame ()
SwPageFrameFindPageFrame ()
SwFrameGetLower ()
const SwFrameGetNext () const
const SwFrameGetPrev () const
const SwLayoutFrameGetUpper () const
const SwRootFramegetRootFrame () const
SwTabFrameFindTabFrame ()
SwFootnoteFrameFindFootnoteFrame ()
SwFlyFrameFindFlyFrame ()
SwSectionFrameFindSctFrame ()
SwFrameFindNext ()
SwContentFrameFindNextCnt (const bool _bInSameFootnote=false)
SwFrameFindPrev ()
const SwPageFrameFindPageFrame () const
const SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnote=false) const
const SwFrameFindColFrame () const
const SwFrameFindFooterOrHeader () const
const SwTabFrameFindTabFrame () const
const SwFootnoteFrameFindFootnoteFrame () const
const SwFlyFrameFindFlyFrame () const
const SwSectionFrameFindSctFrame () const
const SwBodyFrameFindBodyFrame () const
const SwFrameFindNext () const
const SwContentFrameFindNextCnt (const bool _bInSameFootnote=false) const
const SwFrameFindPrev () const
const SwFrameGetLower () const
SwContentFrameFindPrevCnt ()
const SwContentFrameFindPrevCnt () const
SwFrameGetIndPrev_ () const
 Called for a frame inside a section with no direct previous frame (or only previous empty section frames) the previous frame of the outer section is returned, if the frame is the first flowing content of this section. More...
SwFrameGetIndPrev () const
SwFrameGetIndNext ()
const SwFrameGetIndNext () const
sal_uInt16 GetPhyPageNum () const
sal_uInt16 GetVirtPageNum () const
bool OnRightPage () const
bool WannaRightPage () const
 Decides if the page want to be a rightpage or not. More...
bool OnFirstPage () const
const SwLayoutFrameGetPrevLayoutLeaf () const
const SwLayoutFrameGetNextLayoutLeaf () const
SwLayoutFrameGetPrevLayoutLeaf ()
SwLayoutFrameGetNextLayoutLeaf ()
virtual void Calc (vcl::RenderContext *pRenderContext) const
void OptCalc () const
Point GetRelPos () const
const SwRect GetPaintArea () const
 |* The paintarea is the area, in which the content of a frame is allowed |* to be displayed. More...
const SwRect UnionFrame (bool bBorder=false) const
 |* The unionframe is the framearea (getFrameArea()) of a frame expanded by the |* printarea, if there's a negative margin at the left or right side. More...
void ValidateLineNum ()
bool GetValidLineNumFlag () const
void InvalidateSize_ ()
void InvalidatePrt_ ()
void InvalidatePos_ ()
void InvalidateLineNum_ ()
void InvalidateAll_ ()
void InvalidateSize ()
void InvalidatePrt ()
void InvalidatePos ()
void InvalidateLineNum ()
void InvalidateAll ()
void ImplInvalidateSize ()
void ImplInvalidatePrt ()
void ImplInvalidatePos ()
void ImplInvalidateLineNum ()
void InvalidateNextPos (bool bNoFootnote=false)
void InvalidatePage (const SwPageFrame *pPage=nullptr) const
 Invalidates the page in which the Frame is currently placed. More...
virtual bool GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const
virtual bool Prepare (const PrepareHint ePrep=PREP_CLEAR, const void *pVoid=nullptr, bool bNotify=true)
bool IsLayoutFrame () const
bool IsRootFrame () const
bool IsPageFrame () const
bool IsColumnFrame () const
bool IsFootnoteBossFrame () const
bool IsHeaderFrame () const
bool IsFooterFrame () const
bool IsFootnoteContFrame () const
bool IsFootnoteFrame () const
bool IsBodyFrame () const
bool IsColBodyFrame () const
 These SwFrame inlines are here, so that frame.hxx does not need to include layfrm.hxx. More...
bool IsPageBodyFrame () const
bool IsFlyFrame () const
bool IsSctFrame () const
bool IsTabFrame () const
bool IsRowFrame () const
bool IsCellFrame () const
bool IsContentFrame () const
bool IsTextFrame () const
bool IsNoTextFrame () const
bool IsFlowFrame () const
bool IsRetoucheFrame () const
bool IsAccessibleFrame () const
void PrepareCursor ()
bool IsProtected () const
 Is the Frame or rather the Section in which it lies protected? More...
bool IsColLocked () const
virtual bool IsDeleteForbidden () const
bool IsInDtor () const
long GetTopMargin () const
long GetBottomMargin () const
long GetLeftMargin () const
long GetRightMargin () const
void SetTopBottomMargins (long, long)
void SetLeftRightMargins (long, long)
void SetRightLeftMargins (long, long)
long GetPrtLeft () const
long GetPrtBottom () const
long GetPrtRight () const
long GetPrtTop () const
bool SetMinLeft (long)
bool SetMaxBottom (long)
bool SetMaxRight (long)
void MakeBelowPos (const SwFrame *, const SwFrame *, bool)
void MakeLeftPos (const SwFrame *, const SwFrame *, bool)
void MakeRightPos (const SwFrame *, const SwFrame *, bool)
bool IsNeighbourFrame () const
bool IsLeaveUpperAllowed () const
bool IsCoveredCell () const
bool IsInCoveredCell () const
bool KnowsFormat (const SwFormat &rFormat) const
void RegisterToFormat (SwFormat &rFormat)
void ValidateThisAndAllLowers (const sal_uInt16 nStage)
void ForbidDelete ()
void AllowDelete ()
virtual void dumpAsXml (xmlTextWriterPtr writer=nullptr) const
void dumpTopMostAsXml (xmlTextWriterPtr writer=nullptr) const
void dumpInfosAsXml (xmlTextWriterPtr writer) const
virtual void dumpAsXmlAttributes (xmlTextWriterPtr writer) const
void dumpChildrenAsXml (xmlTextWriterPtr writer) const
bool IsCollapse () const
SwLayoutFrameGetNextCellLeaf ()
SwLayoutFrameGetPrevCellLeaf ()
void SetInfFlags ()
const SwRowFrameIsInSplitTableRow () const
const SwRowFrameIsInFollowFlowRow () const
bool IsInBalancedSection () const
bool IsMoveable (const SwLayoutFrame *_pLayoutFrame=nullptr) const
 determine, if frame is moveable in given environment More...
const SwAttrSetGetAttrSet () const
 WARNING: this may not return correct RES_PAGEDESC/RES_BREAK items for SwTextFrame, use GetBreakItem()/GetPageDescItem() instead. More...
virtual const SvxFormatBreakItemGetBreakItem () const
virtual const SwFormatPageDescGetPageDescItem () const
SwFrameFindColFrame ()
SwRowFrameFindRowFrame ()
SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnotes=false)
SwTabFrameImplFindTabFrame ()
SwFootnoteFrameImplFindFootnoteFrame ()
SwFlyFrameImplFindFlyFrame ()
SwSectionFrameImplFindSctFrame ()
const SwBodyFrameImplFindBodyFrame () const
SwFrameFindFooterOrHeader ()
void ImplInvalidateNextPos (bool bNoFootnote)
void InvalidateNextPrtArea ()
 method to invalidate printing area of next frame #i11859# More...
drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper () const
bool supportsFullDrawingLayerFillAttributeSet () const
- Public Member Functions inherited from SwFrameAreaDefinition
 SwFrameAreaDefinition ()
virtual ~SwFrameAreaDefinition ()
bool isFrameAreaPositionValid () const
bool isFrameAreaSizeValid () const
bool isFramePrintAreaValid () const
bool isFrameAreaDefinitionValid () const
sal_uInt32 GetFrameId () const
const SwRectgetFrameArea () const
const SwRectgetFramePrintArea () const
virtual basegfx::B2DHomMatrix getFrameAreaTransformation () const
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation () const
virtual void transform_translate (const Point &rOffset)
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
virtual bool GetInfo (SfxPoolItem &) const
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 SfxBroadcaster (const SfxBroadcaster &rBC)
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
void Broadcast (const SfxHint &rHint)
bool HasListeners () const
size_t GetListenerCount () const
size_t GetSizeOfVector () const
SfxListenerGetListener (size_t nNo) const

Static Public Member Functions

static void RemoveMasterObjs (SdrPage *pPg)
 Remove MasterObjects from the Page (called by the ctors) More...
static bool FlushVout ()
 Output virtual Device (e.g. for animations) More...
static bool HasSameRect (const SwRect &rRect)
 Save Clipping if exactly the ClipRect is outputted. More...
static void AssertPageFlys (SwPageFrame *)
 Makes sure that, starting from the passed Page, all page-bound Frames are on the right Page (pagenumber). More...
static bool IsInPaint ()
static void SetNoVirDev (const bool bNew)
- Static Public Member Functions inherited from SwFrame
static SwCacheGetCache ()
static SwCacheGetCachePtr ()
static void SetCache (SwCache *pNew)
static void CheckPageDescs (SwPageFrame *pStart, bool bNotifyFields=true, SwPageFrame **ppPrev=nullptr)
 Check all pages (starting from the given one) if they use the right frame format. More...
static void DestroyFrame (SwFrame *const pFrame)
 this is the only way to delete a SwFrame instance More...

Protected Member Functions

virtual void MakeAll (vcl::RenderContext *pRenderContext) override
- Protected Member Functions inherited from SwLayoutFrame
virtual ~SwLayoutFrame () override
virtual void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 "Formats" the Frame; Frame and PrtArea. More...
long CalcRel (const SwFormatFrameSize &rSz) const
- Protected Member Functions inherited from SwFrame
void ColLock ()
void ColUnlock ()
virtual ~SwFrame () override
void setRootFrame (SwRootFrame *pRoot)
SwPageFrameInsertPage (SwPageFrame *pSibling, bool bFootnote)
void PrepareMake (vcl::RenderContext *pRenderContext)
 Prepares the Frame for "formatting" (MakeAll()). More...
void OptPrepareMake ()
virtual void MakePos ()
SwTwips AdjustNeighbourhood (SwTwips nDiff, bool bTst=false)
 Adjust surrounding neighbourhood after insertion. More...
SwModifyGetDep ()
 use these so we can grep for SwFrame's GetRegisteredIn accesses beware that SwTextFrame may return sw::WriterMultiListener More...
const SwModifyGetDep () const
 SwFrame (SwModify *, SwFrame *)
void CheckDir (SvxFrameDirection nDir, bool bVert, bool bOnlyBiDi, bool bBrowse)
virtual bool InvalidationAllowed (const InvalidationType _nInvalid) const
 method to determine, if an invalidation is allowed. More...
virtual void ActionOnInvalidation (const InvalidationType _nInvalid)
 method to perform additional actions on an invalidation More...
void PaintShadow (const SwRect &, SwRect &, const SwBorderAttrs &) const
 Paints a shadow if the format requests so. More...
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
virtual const IDocumentDrawModelAccessgetIDocumentDrawModelAccess ()
- Protected Member Functions inherited from SwFrameAreaDefinition
void setFrameAreaPositionValid (bool bNew)
void setFrameAreaSizeValid (bool bNew)
void setFramePrintAreaValid (bool bNew)
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)

Private Member Functions

void ImplCalcBrowseWidth ()
void ImplInvalidateBrowseWidth ()
void DeleteEmptySct_ ()
void RemoveFromList_ (SwSectionFrame *pSct)
virtual void DestroyImpl () override
virtual ~SwRootFrame () override

Private Attributes

std::vector< SwRectmaPageRects
SwRect maPagesArea
long mnViewWidth
sal_uInt16 mnColumns
bool mbBookMode
bool mbSidebarChanged
bool mbNeedGrammarCheck
bool mbCheckSuperfluous:1
bool mbIdleFormat:1
bool mbBrowseWidthValid:1
bool mbTurboAllowed:1
bool mbAssertFlyPages:1
bool mbIsVirtPageNum:1
bool mbIsNewLayout:1
bool mbCallbackActionEnabled:1
bool mbLayoutFreezed
bool mbHideRedlines
long mnBrowseWidth
 For BrowseMode mnBrowseWidth is the outer margin of the object most to the right. More...
const SwContentFramempTurbo
 If we only have to format one ContentFrame, its in mpTurbo. More...
 We should not need to always struggle to find the last page, so store it here. More...
std::unique_ptr< SwCurrShellsmpCurrShells
 One Page per DrawModel per Document; is always the size of the Root. More...
std::unique_ptr< SwDestroyListmpDestroy
sal_uInt16 mnPhyPageNums
sal_uInt16 mnAccessibleShells
 Page count. More...

Static Private Attributes

static SwLayVouts_pVout = nullptr
static bool s_isInPaint = false
static bool s_isNoVirDev = false
static constexpr sal_Int64 MIN_BROWSE_WIDTH = convertMm100ToTwip(20000)
 Width of the HTML / Web document if not defined otherwise: 20cm. More...


class CurrShell
 [ Comment from the original StarOffice checkin ]: The root takes care of the shell access. More...
void AdjustSizeChgNotify (SwRootFrame *pRoot)
void SetLastPage (SwPageFrame *)
void FrameInit ()
void FrameFinit ()
void SetShell (SwViewShell *pSh)
void InitCurrShells (SwRootFrame *pRoot)

Additional Inherited Members

- Protected Types inherited from SwFrame
enum  InvalidationType {
 enumeration for the different invalidations #i28701# More...
- Protected Attributes inherited from SwLayoutFrame
std::vector< SwAnchoredObject * > m_VertPosOrientFramesFor
- Protected Attributes inherited from SwFrame
std::unique_ptr< SwSortedObjsm_pDrawObjs
SwFrameType mnFrameType
bool mbInDtor: 1
bool mbInvalidR2L: 1
bool mbDerivedR2L: 1
bool mbRightToLeft: 1
bool mbInvalidVert: 1
bool mbDerivedVert: 1
bool mbVertical: 1
bool mbVertLR: 1
bool mbVertLRBT: 1
bool mbValidLineNum: 1
bool mbFixSize: 1
bool mbCompletePaint: 1
bool mbRetouche: 1
bool mbInfInvalid: 1
bool mbInfBody: 1
bool mbInfTab: 1
bool mbInfFly: 1
bool mbInfFootnote: 1
bool mbInfSct: 1
bool mbColLocked: 1
bool m_isInDestroy: 1
bool mbForbidDelete: 1

Detailed Description

The root element of a Writer document layout.

Lower frames are expected to be SwPageFrame instances.

Definition at line 79 of file rootfrm.hxx.

Constructor & Destructor Documentation

SwRootFrame::~SwRootFrame ( )

Definition at line 570 of file newfrm.cxx.

SwRootFrame::SwRootFrame ( SwFrameFormat pFormat,
SwViewShell pSh 

Definition at line 401 of file newfrm.cxx.

References SwFrame::mnFrameType, Root, and SwFrame::setRootFrame().

Member Function Documentation

void SwRootFrame::AddAccessibleShell ( )

Definition at line 385 of file rootfrm.hxx.

Referenced by SwAccessibleMap::SwAccessibleMap().

void SwRootFrame::AllAddPaintRect ( ) const
void SwRootFrame::AllCheckPageDescs ( ) const

Definition at line 585 of file newfrm.cxx.

References SwFrame::CheckPageDescs(), IsLayoutFreezed(), and SwLayoutFrame::Lower().

void SwRootFrame::AllInvalidateAutoCompleteWords ( ) const
void SwRootFrame::AllInvalidateSmartTagsOrSpelling ( bool  bSmartTags) const
void SwRootFrame::AllRemoveFootnotes ( )

Definition at line 606 of file newfrm.cxx.

References RemoveFootnotes().

void SwRootFrame::AssertFlyPages ( )
void SwRootFrame::AssertPageFlys ( SwPageFrame pPage)

Makes sure that, starting from the passed Page, all page-bound Frames are on the right Page (pagenumber).

Ensure that after the given page all page-bound objects are located on the correct page.

Definition at line 1654 of file pagechg.cxx.

References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFrame::GetNext(), SwFormatAnchor::GetPageNum(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwPageFrame::GetSortedObjs(), i, SwModify::NotifyClients(), SAL_INFO, and SwSortedObjs::size().

Referenced by AssertFlyPages(), SwFrame::CheckPageDescs(), InsertNewPage(), and SwFrame::InsertPage().

void SwRootFrame::CalcFrameRects ( SwShellCursor rCursor)

Definition at line 2007 of file trvlfrm.cxx.

References Add(), BIDI, SwRect::Bottom(), SwRectFnSet::BottomDist(), SwSortedObjs::Contains(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), Footer, SwFormat::GetAnchor(), SwAnchoredObject::GetAnchorFrame(), SwRectFnSet::GetBottom(), SwFrame::GetCharRect(), SwFormatAnchor::GetContentAnchor(), GetContentNode(), SwNode::GetContentNode(), GetCurrShell(), SwPosition::GetDoc(), SwNodes::GetEndOfContent(), SwShellCursor::GetEndPos(), SwTabFrame::GetFollow(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwAnchoredObject::GetFrameFormat(), SwIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwRectFnSet::GetLeft(), SwFrame::GetLower(), SwPaM::GetMark(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SdrObject::GetOrdNum(), SwViewShell::GetOut(), SwFrame::GetPaintArea(), SwPaM::GetPoint(), SwRectFnSet::GetRight(), SwTable::GetRowsToRepeat(), OutputDevice::GetSettings(), SwPageFrame::GetSortedObjs(), SwShellCursor::GetSttPos(), AllSettings::GetStyleSettings(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwTabFrame::GetTable(), SwRectFnSet::GetTop(), SwFrame::GetType(), SwTableBox::GetUpper(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SwFlyFrame::GetVirtDrawObj(), SwRectFnSet::GetWidth(), SwNodes::GoPrevious(), SwRect::HasArea(), Header, SwRect::Height(), SwSortedObjs::Insert(), SwRect::Intersection(), comphelper::LibreOfficeKit::isActive(), SwLayoutFrame::IsAnLower(), SwFrame::IsCellFrame(), SwNode::IsContentNode(), SwFormatSurround::IsContour(), SwFrame::IsInDocBody(), SwFrame::IsInFly(), SwViewOption::IsPDFExport(), SwFrame::IsRightToLeft(), SwViewShell::IsSelectAll(), SwFrame::IsTextFrame(), last(), lcl_IsInRepeatedHeadline(), SwRect::Left(), SwCursorMoveState::m_b2Lines, SwCursorMoveState::m_bNoScroll, SwCursorMoveState::m_nCursorBidiLevel, SwCursorMoveState::m_p2Lines, MV_NONE, SwPosition::nContent, SwPosition::nNode, nPos, OutputDevice::PixelToLogic(), SwRect::Pos(), SwRectFnSet::Refresh(), SwRect::Right(), ROT_270, ROT_90, RUBY, SwRectFnSet::SetBottom(), SwRectFnSet::SetLeft(), SwRectFnSet::SetRight(), SwRectFnSet::SetTop(), SwRectFnSet::SetWidth(), SwSortedObjs::size(), SwPaM::Start(), Sub(), Tab, SwRect::Union(), SwFrame::UnionFrame(), SwViewShell::VisArea(), SwRect::Width(), and Point::Y().

Referenced by SwShellCursor::FillRects().

void SwRootFrame::CheckFootnotePageDescs ( bool  bEndNote)

Change the page template of the footnote pages.

Definition at line 934 of file ftnfrm.cxx.

References SwFrame::CheckPageDescs(), SwFrame::GetNext(), SwPageFrame::IsEndNotePage(), SwPageFrame::IsFootnotePage(), and SwLayoutFrame::Lower().

void SwRootFrame::CheckViewLayout ( const SwViewOption pViewOpt,
const SwRect pVisArea 
Size SwRootFrame::ChgSize ( const Size aNewSize)

Reimplemented from SwFrame.

Definition at line 1698 of file pagechg.cxx.

References SwFrameAreaDefinition::getFrameArea(), SwFrame::InvalidatePrt_(), SwFrame::mbFixSize, and SwRect::SSize().

Referenced by CheckViewLayout().

void SwRootFrame::Cut ( )

Reimplemented from SwLayoutFrame.

Definition at line 54 of file unusedf.cxx.

void SwRootFrame::DecrPhyPageNums ( )

Definition at line 308 of file rootfrm.hxx.

void SwRootFrame::DeleteEmptySct ( )

Definition at line 375 of file rootfrm.hxx.

Referenced by SwLayAction::Action(), and SwLayAction::InternalAction().

void SwRootFrame::DeleteEmptySct_ ( )
void SwRootFrame::DeRegisterShell ( SwViewShell pSh)
void SwRootFrame::DestroyImpl ( )
void SwRootFrame::DisallowTurbo ( ) const
void SwRootFrame::EndAllAction ( bool  bVirDev = false)
bool SwRootFrame::FillSelection ( SwSelectionList rList,
const SwRect rRect 
) const
bool SwRootFrame::FlushVout ( )

Output virtual Device (e.g. for animations)

Definition at line 29 of file virtoutp.cxx.

References SwLayVout::Flush_(), and s_pVout.

Referenced by SwTextSizeInfo::NoteAnimation(), and SwNoTextFrame::PaintPicture().

void SwRootFrame::FreezeLayout ( bool  freeze)

Definition at line 408 of file rootfrm.hxx.

long SwRootFrame::GetBrowseWidth ( ) const

Definition at line 420 of file rootfrm.hxx.

References ImplCalcBrowseWidth(), mbBrowseWidthValid, and mnBrowseWidth.

sal_uInt16 SwRootFrame::GetCurrPage ( const SwPaM pActualCursor) const

Query/set the current Page and the collective Page count We'll format as much as necessary.

Returns the number of the current page.

If the method gets a PaM then the current page is the one in which the PaM sits. Otherwise the current page is the first one inside the VisibleArea. We only work on available pages!

Definition at line 975 of file trvlfrm.cxx.

References SwFrame::FindPageFrame(), GetContentNode(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwPageFrame::GetPhyPageNum(), SwPaM::GetPoint(), and SwPosition::nNode.

Referenced by SwUndoInsLayFormat::RepeatImpl().

SwViewShell* SwRootFrame::GetCurrShell ( ) const

Definition at line 204 of file rootfrm.hxx.

Referenced by SwRowFrame::AdjustCells(), SwTextFrame::AdjustFrame(), SwFrame::AdjustNeighbourhood(), AdjustSizeChgNotify(), AllAddPaintRect(), SwFrame::AppendDrawObj(), SwTextFrame::AutoSpell_(), CalcContent(), SwTextFrame::CalcFollow(), SwSectionFrame::CalcFootnoteContent(), CalcFrameRects(), SwTextFrame::CalcHeightOfLastLine(), SwContentFrame::CalcLowers(), SwLayHelper::CalcPageCount(), objectpositioning::SwToLayoutAnchoredObjectPosition::CalcPosition(), objectpositioning::SwToContentAnchoredObjectPosition::CalcPosition(), SwLayoutFrame::CalcRel(), SwFlyFrame::CalcRel(), SwFlyFrame::ChainFrames(), SwCellFrame::CheckDirection(), SwSectionFrame::CheckDirection(), SwTabFrame::CheckDirection(), SwFlyFrame::CheckDirection(), SwPageFrame::CheckDirection(), SwTextFrame::CheckDirection(), SwFrame::CheckPageDescs(), SwPageFrame::CheckPageHeightValidForHideWhitespace(), CheckViewLayout(), ChkChartSel(), SwTextFrame::ConnectFootnote(), SwFrame::CreateProcessor2D(), SwAttrIter::CtorInitAttrIter(), SwTextInfo::CtorInitTextInfo(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwCellFrame::Cut(), SwPageFrame::Cut(), SwFlowFrame::CutTree(), SwTableNode::DelFrames(), SwCellFrame::DestroyImpl(), SwPageFrame::DestroyImpl(), SwFlyFrame::DestroyImpl(), SwFrame::DestroyImpl(), SwTextFly::DrawFlyRect(), SwTextPaintInfo::DrawText_(), SwTextFly::DrawTextOpaque(), SwFrame::dumpAsXml(), SwTextFrame::EmptyHeight(), EndAllAction(), SwAutoFormat::EnsureFormatted(), SwTextFrame::FillCursorPos(), SwTextFrame::FillRegister(), SwPageFrame::FindPageDesc(), SwFlyFrame::FinitDrawObj(), SwLayoutFrame::Format(), SwFootnoteContFrame::Format(), SwSectionFrame::Format(), SwTabFrame::Format(), SwCombinedPortion::Format(), SwObjectFormatterTextFrame::FormatAnchorFrameAndItsPrevs(), SwLayAction::FormatContent(), SwLayAction::FormatLayout(), SwObjectFormatter::FormatLayout_(), SwTextFrame::FormatLine(), ExtraFormatToPositionObjs::FormatSectionToPositionObjs(), SwLayoutFrame::FormatWidthCols(), SwFrame::GetBackgroundBrush(), SwPageFrame::GetBoundRect(), SwFlyFrame::GetContour(), SwCellFrame::GetCursorOfst(), SwLayoutFrame::GetCursorOfst(), SwFlyFrame::GetCursorOfst(), SwPageFrame::GetDrawBackgrdColor(), SwTextFrame::GetFormatted(), GetFrameOfModify(), SwFrame::GetNextLeaf(), GetNextPrevContentPos(), SwTextFrame::GetScalingOfSelectedText(), GetTableSel(), SwFootnoteBossFrame::GetVarSpace(), SwSectionFrame::Grow_(), SwFlyFrame::Grow_(), SwFootnoteContFrame::GrowFrame(), SwLayoutFrame::GrowFrame(), SwContentFrame::GrowFrame(), SwTabFrame::GrowFrame(), SwTextFrame::HideAndShowObjects(), SwTextFrame::Hyphenate(), IMPL_LINK_NOARG(), ImplCalcBrowseWidth(), SwViewShell::ImplEndAction(), Init(), InsertCnt_(), SwFrame::InsertPage(), InvalidateAllContent(), IsBetweenPages(), SwTextFrame::IsHiddenNow(), SwPageFrame::IsLeftShadowNeeded(), SwPageFrame::IsOverHeaderFooterArea(), SwFlowFrame::IsPageBreak(), SwFlowFrame::IsPrevObjMove(), SwPageFrame::IsRightShadowNeeded(), SwLayAction::IsShortCut(), SwNoTextFrame::IsTransparent(), SwTextFrame::JoinFrame(), lcl_ClearArea(), lcl_ColumnRefresh(), lcl_EmergencyFormatFootnoteCont(), lcl_FormatContentOfLayoutFrame(), lcl_FormatLay(), lcl_InnerCalcLayout(), lcl_MoveAllLowerObjs(), lcl_MoveAllLowers(), lcl_RecalcSplitLine(), SwSectionFrame::MakeAll(), SwPageFrame::MakeAll(), SwTabFrame::MakeAll(), SwContentNode::MakeFramesForAdjacentContentNode(), SwSectionNode::MakeFramesForAdjacentContentNode(), SwFlyFrameFormat::MakeGraphic(), MakeNxt(), SwFlyFrame::MakeObjPos(), SwTableNode::MakeOwnFrames(), SwContentFrame::MakePrtArea(), SwCellFrame::Modify(), SwPageFrame::Modify(), SwFlowFrame::MoveBwd(), SwFlowFrame::MoveFwd(), SwFlowFrame::MoveSubTree(), SwVirtFlyDrawObj::NbcCrop(), SwVirtFlyDrawObj::NbcResize(), Notify(), Notify_Background(), sw::FlyContentPortion::Paint(), SwGrfNumPortion::Paint(), SwTextFrame::PaintEmpty(), SwTextFrame::PaintExtraData(), SwNoTextFrame::PaintPicture(), SwNoTextFrame::PaintSwFrame(), SwFlyFrame::PaintSwFrame(), SwTextFrame::PaintSwFrame(), SwPageFrame::Paste(), SwPageFrame::PrepareFooter(), SwPageFrame::PrepareHeader(), SwFrame::RemoveDrawObj(), SwLayAction::RemoveEmptyBrowserPages(), SwFrame::RemoveFly(), RemoveSuperfluous(), SwFrame::Retouch(), SwVirtFlyDrawObj::Rotate(), SetCurrPage(), SwFootnoteBossFrame::SetFootnoteDeadLine(), SwContentFrame::ShouldBwdMoved(), SwTabFrame::ShouldBwdMoved(), SwFlyFrame::Shrink_(), SwFootnoteContFrame::ShrinkFrame(), SwLayoutFrame::ShrinkFrame(), SwPageFrame::SidebarPosition(), SwTextFrame::SplitFrame(), StartAllAction(), sw_ChangeOffset(), sw_FormatNextContentForKeep(), SwTextFrame::SwClientNotify(), SwFlyFrame::SwFlyFrame(), SwPageFrame::SwPageFrame(), SwTestFormat::SwTestFormat(), SwTextPaintInfo::SwTextPaintInfo(), SwTextSizeInfo::SwTextSizeInfo(), SwFlyFrame::UnchainFrames(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), UnoRemoveAllActions(), UnoRestoreAllActions(), SwSectionFrame::UpdateAttr_(), SwPageFrame::UpdateAttr_(), SwFlyFrame::UpdateAttr_(), SwCursor::UpDown(), ValidateBodyFrame_(), SwTextFrame::ValidateFrame(), SwVirtFlyDrawObj::wrap_DoPaintObject(), SwContentNotify::~SwContentNotify(), SwFlyNotify::~SwFlyNotify(), SwFrameNotify::~SwFrameNotify(), SwLayNotify::~SwLayNotify(), and SwPosNotify::~SwPosNotify().

bool SwRootFrame::GetCursorOfst ( SwPosition pPos,
Point rPoint,
SwCursorMoveState pCMS = nullptr,
bool  bTestBackground = false 
) const
const SdrPage* SwRootFrame::GetDrawPage ( ) const
SdrPage* SwRootFrame::GetDrawPage ( )

Definition at line 225 of file rootfrm.hxx.

const SwPageFrame* SwRootFrame::GetLastPage ( ) const

Definition at line 357 of file rootfrm.hxx.

Referenced by SwPageFrame::MakeAll(), and RemoveSuperfluous().

SwPageFrame* SwRootFrame::GetLastPage ( )

Definition at line 358 of file rootfrm.hxx.

Point SwRootFrame::GetNextPrevContentPos ( const Point rPoint,
bool  bNext 
) const

Search the nearest Content to the passed point.

Only search inside the BodyText.

Only the nearest vertically one will be searched.
JP 11.10.2001: only in tables we try to find the right column - Bug 72294

Definition at line 1468 of file trvlfrm.cxx.

References SwRect::Bottom(), SwFrame::Calc(), SwLayoutFrame::ContainsContent(), GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), SwViewShell::GetOut(), SwFrame::GetPrev(), SwFrame::IsInDocBody(), lcl_IsInRepeatedHeadline(), SwRect::Left(), SwLayoutFrame::Lower(), SwRect::Pos(), SwRect::Top(), SwFrame::UnionFrame(), Point::X(), and Point::Y().

const SwPageFrame * SwRootFrame::GetPageAtPos ( const Point rPt,
const Size pSize = nullptr,
bool  bExtend = false 
) const

Point rPt: The point that should be used to find the page Size pSize: If given, we return the (first) page that overlaps with the rectangle defined by rPt and pSize bool bExtend: Extend each page to the left/right/top/bottom up to the next page margin.

Definition at line 572 of file findfrm.cxx.

References SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), GetPageNum(), SwRect::IsInside(), SwRect::IsOver(), SwLayoutFrame::Lower(), maPageRects, SwRect::Pos(), SwRect::SSize(), and Point::Y().

Referenced by SwFEShell::Copy(), SwFEShell::CopyDrawSel(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwViewShell::FillPrtDoc(), FindPage(), GetCursorOfst(), SwPostItHelper::getPageInfo(), SwViewShell::GetPageNumAndSetOffsetForPDF(), SwEditWin::IsInHeaderFooter(), SwCursorShell::IsPageAtPos(), and SwEditWin::MouseButtonDown().

SwPageFrame * SwRootFrame::GetPageByPageNum ( sal_uInt16  _nPageNum) const

Get page frame by physical page number looping through the lowers, which are page frame, in order to find the page frame with the given physical page number.

get page frame by physical page number

if no page frame is found, 0 is returned. Note: Empty page frames are also returned.

_nPageNumphysical page number of page frame to be searched and returned.
pointer to the page frame with the given physical page number
pointer to the page frame with the given physical page number

Definition at line 1585 of file trvlfrm.cxx.

References SwFrame::GetNext(), SwPageFrame::GetPhyPageNum(), and SwLayoutFrame::Lower().

Referenced by SwPagePreviewLayout::CalcPreviewPages(), and SwPagePreviewLayout::Paint().

sal_uInt16 SwRootFrame::GetPageNum ( ) const
Point SwRootFrame::GetPagePos ( sal_uInt16  nPageNum) const

Returns the absolute document position of the desired page.

Formatting is done only as far as needed and only if bFormat=true. Pos is set to the one of the last page, if the page number was chosen to big.

Null, if the operation failed.

Definition at line 1567 of file trvlfrm.cxx.

References SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwPageFrame::GetPhyPageNum(), SwFrame::IsPageFrame(), SwLayoutFrame::Lower(), and SwRect::Pos().

Referenced by SwViewShell::GetPagePos().

const SwRect& SwRootFrame::GetPagesArea ( ) const

Definition at line 404 of file rootfrm.hxx.

const SwContentFrame* SwRootFrame::GetTurbo ( )
SwTwips SwRootFrame::GrowFrame ( SwTwips  nDist,
bool  bTst = false,
bool  bInfo = false 

Reimplemented from SwLayoutFrame.

Definition at line 1393 of file pagechg.cxx.

References SwRect::SSize().

bool SwRootFrame::HasSameRect ( const SwRect rRect)

Save Clipping if exactly the ClipRect is outputted.

Definition at line 39 of file virtoutp.cxx.

References s_pVout.

Referenced by SwSaveClip::ChgClip_().

void SwRootFrame::ImplCalcBrowseWidth ( )
void SwRootFrame::ImplInvalidateBrowseWidth ( )
void SwRootFrame::IncrPhyPageNums ( )

Definition at line 309 of file rootfrm.hxx.

void SwRootFrame::Init ( SwFrameFormat pFormat)
void SwRootFrame::InsertEmptySct ( SwSectionFrame pDel)

Empty SwSectionFrames are registered here for deletion and destroyed later on or deregistered.

Definition at line 2852 of file sectfrm.cxx.

References mpDestroy.

Referenced by SwSectionFrame::DelEmpty().

void SwRootFrame::InvalidateAllContent ( SwInvalidateFlags  nInvalidate)
void SwRootFrame::InvalidateAllObjPos ( )

Invalidate/re-calculate the position of all floating screen objects (Writer fly frames and drawing objects), which are anchored to paragraph or to character.

Invalidate/re-calculate the position of all floating screen objects (Writer fly frames and drawing objects), that are anchored to paragraph or to character.

(2004-03-16 #i11860#)

Definition at line 4137 of file wsfrm.cxx.

References SwFormatAnchor::GetAnchorId(), SwFrame::GetNext(), SwPageFrame::GetSortedObjs(), SwPageFrame::InvalidateFlyLayout(), and SwLayoutFrame::Lower().

Referenced by lcl_InvalidateAllObjPos().

void SwRootFrame::InvalidateBrowseWidth ( )
bool SwRootFrame::IsAnyShellAccessible ( ) const
bool SwRootFrame::IsAssertFlyPages ( )

Definition at line 277 of file rootfrm.hxx.

Referenced by AssertFlyPages(), and SwLayAction::InternalAction().

bool SwRootFrame::IsBetweenPages ( const Point rPt) const

Point rPt: The point to test.

true: if rPt is between top/bottom margins of two pages in hide-whitespace, rPt can be near the gap, but not strictly between pages (in a page) as gap is small.
false: if rPt is in a page or not strictly between two pages

Definition at line 614 of file findfrm.cxx.

References SwRect::Bottom(), GetCurrShell(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwViewShell::GetViewOptions(), SwRect::IsInside(), SwViewOption::IsWhitespaceHidden(), SwRect::Left(), SwLayoutFrame::Lower(), MmToTwips(), SwRect::Right(), SwRect::Top(), Point::X(), and Point::Y().

Referenced by SwEditWin::MouseButtonDown(), and SwEditWin::UpdatePointer().

bool SwRootFrame::IsCallbackActionEnabled ( ) const
bool SwRootFrame::IsDummyPage ( sal_uInt16  nPageNum) const
true, when the given physical pagenumber doesn't exist or this page is an empty page.

Definition at line 1606 of file trvlfrm.cxx.

References SwFrame::GetNext(), GetPageNum(), SwFrame::GetPhyPageNum(), SwPageFrame::IsEmptyPage(), and SwLayoutFrame::Lower().

Referenced by SwViewShell::IsDummyPage().

bool SwRootFrame::IsHideRedlines ( ) const

Replacement for sw::DocumentRedlineManager::GetRedlineFlags() (this is layout-level redline hiding).

Definition at line 416 of file rootfrm.hxx.

Referenced by SwPostItMgr::AddPostIts(), SwChapterField::ChangeExpansion(), sw::CheckParaRedlineMerge(), SwGetExpField::ChgExpStr(), SwSetExpField::ChgExpStr(), SwAuthorityField::ConditionalExpandAuthIdentifier(), SwTextNode::CopyExpandText(), SwAttrIter::CtorInitAttrIter(), SwTextFrame::EmptyHeight(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwAuthorityField::ExpandCitation(), SwChapterField::ExpandImpl(), SwGetExpField::ExpandImpl(), SwGetRefField::ExpandImpl(), SwSetExpField::ExpandImpl(), SwRefPageGetField::ExpandImpl(), sw::DocumentFieldsManager::FieldsToExpand(), SwTOXIndex::FillText(), SwTOXPara::FillText(), SwGetRefFieldType::FindAnchor(), sw::ToxTextGenerator::GetAttributesForNode(), sw::GetAttrMerged(), SwTextNode::GetExpandText(), sw::GetExpandTextMerged(), SwSetExpField::GetExpStr(), sw::GetFirstAndLastNode(), SwChapterField::GetLevel(), SwTextNode::GetNum(), SwChapterField::GetNumber(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), SwEditShell::GetPaMAttr(), SwTextNode::GetParaAttr(), SwEditShell::GetSelectedText(), SwSetExpFieldType::GetSeqFieldList(), SwEditShell::GetSeqFootnoteList(), SwAuthorityFieldType::GetSequencePos(), SwTOXContent::GetText_Impl(), SwTOXPara::GetText_Impl(), SwUnoCursorHelper::GetTextFromPam(), SwChapterField::GetTitle(), SwDoc::GetTOIKeys(), SwGetExpField::GetValue(), SwSetExpField::GetValue(), SwFormatFootnote::GetViewNumStr(), sw::GotoNextLayoutTextFrame(), sw::GotoPrevLayoutTextFrame(), sw::ToxTextGenerator::HandleTextToken(), InsertCnt_(), SwDoc::InsertTableOf(), sw::IsMarkHidden(), sw::IsMarkHintHidden(), sw::IsParaPropsNode(), SwCursor::IsStartEndSentence(), lcl_RstAttr(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), lcl_SetTextFormatColl(), SwContentNode::MakeFramesForAdjacentContentNode(), SwTableNode::MakeFramesForAdjacentContentNode(), SwTableNode::MakeOwnFrames(), SwRefPageGetFieldType::MakeSetList(), SwTextFrame::PaintEmpty(), SwTextFrame::PaintExtraData(), sw::ReplaceImpl(), SetHideRedlines(), SwRefPageGetField::SetText(), SwGetExpField::SetValue(), SwSetExpField::SetValue(), UnHideRedlines(), SwTOXBaseSection::Update(), SwTOXBaseSection::UpdateAuthorities(), SwTOXBaseSection::UpdateContent(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwPageFrame::UpdateFootnoteNum(), sw::UpdateFramesForRemoveDeleteRedline(), SwTOXBaseSection::UpdateMarks(), SwTOXBaseSection::UpdateOutline(), SwTOXBaseSection::UpdateSequence(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), SwTOXBaseSection::UpdateTemplate(), SwAnnotationItem::UseElement(), and SwXMLWriter::Write_().

bool SwRootFrame::IsIdleFormat ( ) const

Definition at line 256 of file rootfrm.hxx.

bool SwRootFrame::IsInDelList ( SwSectionFrame pSct) const

Definition at line 2898 of file sectfrm.cxx.

References mpDestroy.

static bool SwRootFrame::IsInPaint ( )

Definition at line 360 of file rootfrm.hxx.

Referenced by SwViewShell::Paint(), and SwPaintQueue::Repaint().

bool SwRootFrame::IsLayoutFreezed ( ) const

Definition at line 407 of file rootfrm.hxx.

Referenced by AllCheckPageDescs().

bool SwRootFrame::IsLeftToRightViewLayout ( ) const
bool SwRootFrame::IsNeedGrammarCheck ( ) const

Definition at line 259 of file rootfrm.hxx.

Referenced by sw::DocumentTimerManager::GetNextIdleJob().

bool SwRootFrame::IsNewLayout ( ) const

Definition at line 367 of file rootfrm.hxx.

Referenced by SwViewShell::IsNewLayout().

bool SwRootFrame::IsSuperfluous ( ) const
bool SwRootFrame::IsTurboAllowed ( ) const

Definition at line 344 of file rootfrm.hxx.

Referenced by SwFrame::InvalidatePage().

bool SwRootFrame::IsVirtPageNum ( ) const

Definition at line 310 of file rootfrm.hxx.

Referenced by SwTextFormatter::NewFieldPortion().

void SwRootFrame::MakeAll ( vcl::RenderContext pRenderContext)
bool SwRootFrame::MakeTableCursors ( SwTableCursor rTableCursor)
void SwRootFrame::PaintSwFrame ( vcl::RenderContext rRenderContext,
SwRect const &  rRect,
SwPrintData const *const  pPrintData = nullptr 
) const

Paint once for every visible page which is touched by Rect.

  1. Paint borders and backgrounds
  2. Paint the draw layer (frames and drawing objects) that is below the document (hell)
  3. Paint the document content (text)
  4. Paint the draw layer that is above the document |

Reimplemented from SwLayoutFrame.

Definition at line 2899 of file paintfrm.cxx.

References SwViewShell::ActionPend(), SwPaintQueue::Add(), aGlobalRetoucheColor, BACKGROUND_PARA_OVER_DRAWINGS, SwViewShellImp::DelRegion(), SwViewShell::DLPostPaint2(), SwViewShell::DLPrePaint2(), SdrPageView::DrawPageViewGrid(), OutputDevice::DrawRect(), OutputDevice::DrawText(), SwLayVout::Enter(), vcl::Region::Exclude(), FileInit, sw::DocumentSettingManager::get(), SfxProgress::GetActiveProgress(), SwPageFrame::GetBorderAndShadowBoundRect(), SwFrameControlsManager::GetControl(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::GetDocumentSettingManager(), SwPageFrame::GetDrawBackgrdColor(), SwViewShellImp::GetDrawView(), SwView::GetEditWin(), SwPageFrame::GetEmptyPageFont(), OutputDevice::GetFillColor(), SwViewShellImp::GetFirstVisPage(), OutputDevice::GetFont(), SwLayoutFrame::GetFormat(), SwPageFrame::GetFormatPage(), SwFrameAreaDefinition::getFrameArea(), SwEditWin::GetFrameControlsManager(), IDocumentDrawModelAccess::GetHeavenId(), IDocumentDrawModelAccess::GetHellId(), SwViewShell::getIDocumentDrawModelAccess(), SwDoc::getIDocumentDrawModelAccess(), SwRectFnSet::GetLeft(), SwFrame::GetNext(), SwViewShell::GetOut(), OutputDevice::GetOutDevType(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwViewShellImp::GetRetoucheColor(), sw::Ring< value_type >::GetRingContainer(), SdrPaintView::GetSdrPageView(), SwViewOption::GetTextGridColor(), SwEditWin::GetView(), SwViewShell::GetViewOptions(), SwRectFnSet::GetWidth(), SwViewShell::GetWin(), gProp, SwViewShellImp::HasDrawView(), SwViewShell::Imp(), SwRect::Intersection(), SwRect::Intersection_(), vcl::Window::Invalidate(), IsCallbackActionEnabled(), SwPageFrame::IsEmptyPage(), IsExtraData(), SdrPaintView::IsGridVisible(), SwViewShell::IsInEndAction(), SfxObjectShell::IsInPlaceActive(), SwPageFrame::IsLeftShadowNeeded(), SwRect::IsOver(), SwFrame::IsPageFrame(), SwPageFrame::IsRightShadowNeeded(), SwViewOption::IsViewLayoutBookMode(), vcl::Window::IsVisible(), lcl_AdjustRectToPixelSize(), SwLayVout::Leave(), SwLayoutFrame::Lower(), mpCurrShell, NONE, OUTDEV_WINDOW, PageBreak, SwFrame::PaintBaBo(), SwPageFrame::PaintBorderAndShadow(), SwPageFrame::PaintBreak(), SwPageFrame::PaintDecorators(), SwViewShellImp::PaintLayer(), SwPageFrame::PaintNotesSidebar(), SwLayoutFrame::PaintSwFrame(), SwPaintProperties::pBLines, SwFrame::ProcessPrimitives(), PROTOCOL, SwPaintProperties::pSGlobalShell, SwPaintProperties::pSLines, SwPaintProperties::pSProgress, SwPaintProperties::pSSpecSubsLines, SwPaintProperties::pSSubsLines, SwPageFrame::RefreshExtraData(), SwPageFrame::RefreshSubsidiary(), ResetTurbo(), ResetTurboFlag(), sw::sidebarwindows::RIGHT, s_isInPaint, s_isNoVirDev, s_pVout, SetCallbackActionEnabled(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), SwRectFnSet::SetLeftAndWidth(), OutputDevice::SetLineColor(), SwLayVout::SetOrgRect(), SwLayAction::SetPaint(), SwPageFrame::SidebarPosition(), SwRect::SSize(), SwRect::SVRect(), SwAlignRect(), SwCalcPixStatics(), SwResId(), and SwViewShell::VisArea().

Referenced by SwViewShell::ImplEndAction(), SwViewShell::Paint(), and SwViewShell::SmoothScroll().

void SwRootFrame::Paste ( SwFrame pParent,
SwFrame pSibling = nullptr 

Reimplemented from SwLayoutFrame.

Definition at line 59 of file unusedf.cxx.

void SwRootFrame::RemoveAccessibleShell ( )

Definition at line 386 of file rootfrm.hxx.

Referenced by SwAccessibleMap::~SwAccessibleMap().

void SwRootFrame::RemoveFootnotes ( SwPageFrame pPage = nullptr,
bool  bPageOnly = false,
bool  bEndNotes = false 
void SwRootFrame::RemoveFromList ( SwSectionFrame pSct)

Definition at line 376 of file rootfrm.hxx.

Referenced by SwSectionFrame::DelEmpty(), SwSectionFrame::DestroyImpl(), and MakeFrames().

void SwRootFrame::RemoveFromList_ ( SwSectionFrame pSct)

Definition at line 2891 of file sectfrm.cxx.

References mpDestroy.

void SwRootFrame::RemoveMasterObjs ( SdrPage pPg)

Remove MasterObjects from the Page (called by the ctors)

Definition at line 574 of file newfrm.cxx.

References SdrObjList::GetObj(), SdrObjList::GetObjCount(), i, and SdrObjList::RemoveObject().

Referenced by Init().

void SwRootFrame::RemovePage ( SwPageFrame **  pDel,
SwRemoveResult  eResult 
void SwRootFrame::RemoveSuperfluous ( )
void SwRootFrame::ResetIdleFormat ( )
void SwRootFrame::ResetNewLayout ( )

Definition at line 368 of file rootfrm.hxx.

Referenced by SwViewShell::~SwViewShell().

void SwRootFrame::ResetTurbo ( )
void SwRootFrame::ResetTurboFlag ( ) const

Definition at line 343 of file rootfrm.hxx.

Referenced by SwLayAction::Action(), and PaintSwFrame().

void SwRootFrame::SetAssertFlyPages ( )
void SwRootFrame::SetCallbackActionEnabled ( bool  b)
sal_uInt16 SwRootFrame::SetCurrPage ( SwCursor pToSet,
sal_uInt16  nPageNum 
void SwRootFrame::SetDrawPage ( SdrPage pNew)
void SwRootFrame::SetHideRedlines ( bool  bHideRedlines)
void SwRootFrame::SetIdleFlags ( )
void SwRootFrame::SetNeedGrammarCheck ( bool  bVal)
static void SwRootFrame::SetNoVirDev ( const bool  bNew)

Definition at line 362 of file rootfrm.hxx.

Referenced by SwViewShell::Paint().

void SwRootFrame::SetSidebarChanged ( )

Definition at line 405 of file rootfrm.hxx.

Referenced by SwPostItHelper::setSidebarChanged().

void SwRootFrame::SetSuperfluous ( )

Remove superfluous Pages.

Definition at line 296 of file rootfrm.hxx.

Referenced by SwContentFrame::Cut(), SwFootnoteFrame::Cut(), SwTabFrame::Cut(), SwSectionFrame::Cut_(), and DeleteEmptySct_().

void SwRootFrame::SetTurbo ( const SwContentFrame pContent)

Definition at line 345 of file rootfrm.hxx.

Referenced by SwFrame::InvalidatePage().

void SwRootFrame::SetVirtPageNum ( const bool  bOf) const

Definition at line 433 of file rootfrm.hxx.

References mbIsVirtPageNum.

Referenced by SwFrame::InsertPage(), and SwFEShell::SetPageOffset().

SwTwips SwRootFrame::ShrinkFrame ( SwTwips  nDist,
bool  bTst = false,
bool  bInfo = false 

Reimplemented from SwLayoutFrame.

Definition at line 1404 of file pagechg.cxx.

References SwFrameAreaDefinition::getFrameArea(), Height, and SwRect::SSize().

void SwRootFrame::StartAllAction ( )

Set up Start-/EndAction for all Shells on a as high as possible (Shell section) level.

For the StarONE binding, which does not know the Shells directly. The ChangeLinkd of the CursorShell (UI notifications) is called automatically in the EndAllAction.

Definition at line 1866 of file pagechg.cxx.

References GetCurrShell(), and SwCursorShell::StartAction().

Referenced by SwViewShell::CalcPagesForPrint(), SwDrawContact::Changed(), SwDrawView::DeleteMarked(), sw::IMPL_LINK_NOARG(), SwLineNumberInfo::Modify(), SwHTMLTableLayout::Resize_(), sw::DocumentSettingManager::setCharacterCompressionType(), sw::DocumentSettingManager::setForbiddenCharacters(), SwDoc::SetLineNumberInfo(), and UnoActionContext::UnoActionContext().

void SwRootFrame::UnoRemoveAllActions ( )

Certain UNO Actions (e.g.

table cursor) require that all Actions are reset temporarily In order for that to work, every SwViewShell needs to remember its old Action counter

Definition at line 1898 of file pagechg.cxx.

References EndAction, SwCursorShell::EndAction(), and GetCurrShell().

Referenced by lcl_RemoveImpl().

void SwRootFrame::UnoRestoreAllActions ( )
void SwRootFrame::UpdateFootnoteNums ( )

Friends And Related Function Documentation

void AdjustSizeChgNotify ( SwRootFrame pRoot)

Definition at line 814 of file pagechg.cxx.

Referenced by CheckViewLayout().

friend class CurrShell

[ Comment from the original StarOffice checkin ]: The root takes care of the shell access.

Via the document it should be possible to get at the root frame, and thus always have access to the shell. the pointer mpCurrShell is the pointer to any of the shells for the document. Because sometimes it matters which shell is used, it is necessary to know the active shell. this is approximated by setting the pointer mpCurrShell when a shell gets the focus (FEShell). Additionally the pointer will be set temporarily by SwCurrShell typically via SET_CURR_SHELL The macro and class can be found in the SwViewShell. These object can be created nested (also for different kinds of Shells). They are collected into the Array mpCurrShells. Furthermore it can happen that a shell is activated while a curshell object is still 'active'. This one will be entered into mpWaitingCurrShell and will be activated by the last d'tor of CurrShell. One other problem is the destruction of a shell while it is active. The pointer mpCurrShell is then reset to an arbitrary other shell. If at the time of the destruction of a shell, which is still referenced by a curshell object, that will be cleaned up as well.

Definition at line 156 of file rootfrm.hxx.

void FrameFinit ( )

Definition at line 308 of file newfrm.cxx.

void FrameInit ( )

Definition at line 297 of file newfrm.cxx.

void InitCurrShells ( SwRootFrame pRoot)

Definition at line 391 of file newfrm.cxx.

Referenced by Init().

void SetLastPage ( SwPageFrame pPage)

Definition at line 833 of file pagechg.cxx.

void SetShell ( SwViewShell pSh)

Definition at line 354 of file newfrm.cxx.

Member Data Documentation

std::vector<SwRect> SwRootFrame::maPageRects

Definition at line 91 of file rootfrm.hxx.

Referenced by CheckViewLayout(), and GetPageAtPos().

SwRect SwRootFrame::maPagesArea

Definition at line 94 of file rootfrm.hxx.

Referenced by CheckViewLayout().

bool SwRootFrame::mbAssertFlyPages

Definition at line 113 of file rootfrm.hxx.

Referenced by AssertFlyPages().

bool SwRootFrame::mbBookMode

Definition at line 97 of file rootfrm.hxx.

Referenced by CheckViewLayout().

bool SwRootFrame::mbBrowseWidthValid
bool SwRootFrame::mbCallbackActionEnabled

Definition at line 116 of file rootfrm.hxx.

Referenced by Init().

bool SwRootFrame::mbCheckSuperfluous

Definition at line 109 of file rootfrm.hxx.

Referenced by AdjustSizeChgNotify(), and RemoveSuperfluous().

bool SwRootFrame::mbHideRedlines

Definition at line 119 of file rootfrm.hxx.

Referenced by SetHideRedlines().

bool SwRootFrame::mbIdleFormat

Definition at line 110 of file rootfrm.hxx.

bool SwRootFrame::mbIsNewLayout

Definition at line 115 of file rootfrm.hxx.

bool SwRootFrame::mbIsVirtPageNum

Definition at line 114 of file rootfrm.hxx.

Referenced by Init(), and SetVirtPageNum().

bool SwRootFrame::mbLayoutFreezed

Definition at line 118 of file rootfrm.hxx.

bool SwRootFrame::mbNeedGrammarCheck

Definition at line 100 of file rootfrm.hxx.

Referenced by Init().

bool SwRootFrame::mbSidebarChanged

Definition at line 98 of file rootfrm.hxx.

Referenced by CheckViewLayout().

bool SwRootFrame::mbTurboAllowed

Definition at line 112 of file rootfrm.hxx.

Referenced by DestroyImpl().

constexpr sal_Int64 SwRootFrame::MIN_BROWSE_WIDTH = convertMm100ToTwip(20000)

Width of the HTML / Web document if not defined otherwise: 20cm.

Definition at line 107 of file rootfrm.hxx.

Referenced by ImplCalcBrowseWidth().

sal_uInt16 SwRootFrame::mnAccessibleShells

Page count.

Definition at line 169 of file rootfrm.hxx.

Referenced by DestroyImpl().

long SwRootFrame::mnBrowseWidth

For BrowseMode mnBrowseWidth is the outer margin of the object most to the right.

The page's right edge should not be smaller than this value.

Definition at line 126 of file rootfrm.hxx.

Referenced by GetBrowseWidth(), and ImplCalcBrowseWidth().

sal_uInt16 SwRootFrame::mnColumns

Definition at line 96 of file rootfrm.hxx.

Referenced by CheckViewLayout().

sal_uInt16 SwRootFrame::mnPhyPageNums

Definition at line 168 of file rootfrm.hxx.

long SwRootFrame::mnViewWidth

Definition at line 95 of file rootfrm.hxx.

Referenced by CheckViewLayout().

SwViewShell* SwRootFrame::mpCurrShell
std::unique_ptr<SwCurrShells> SwRootFrame::mpCurrShells
std::unique_ptr<SwDestroyList> SwRootFrame::mpDestroy
SdrPage* SwRootFrame::mpDrawPage

One Page per DrawModel per Document; is always the size of the Root.

Definition at line 164 of file rootfrm.hxx.

Referenced by Init().

SwPageFrame* SwRootFrame::mpLastPage

We should not need to always struggle to find the last page, so store it here.

Definition at line 132 of file rootfrm.hxx.

const SwContentFrame* SwRootFrame::mpTurbo

If we only have to format one ContentFrame, its in mpTurbo.

Definition at line 129 of file rootfrm.hxx.

Referenced by DestroyImpl().

SwViewShell* SwRootFrame::mpWaitingCurrShell

Definition at line 160 of file rootfrm.hxx.

Referenced by DeRegisterShell(), SetShell(), and CurrShell::~CurrShell().

bool SwRootFrame::s_isInPaint = false

Definition at line 103 of file rootfrm.hxx.

Referenced by PaintSwFrame().

bool SwRootFrame::s_isNoVirDev = false

Definition at line 104 of file rootfrm.hxx.

Referenced by PaintSwFrame().

SwLayVout * SwRootFrame::s_pVout = nullptr

Definition at line 102 of file rootfrm.hxx.

Referenced by FlushVout(), FrameFinit(), HasSameRect(), and PaintSwFrame().

The documentation for this class was generated from the following files: