19#ifndef INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
88 void SetColMaxFootnoteHeight();
108 static void GetHorizontalShadowRect(
const SwRect& _rPageRect,
111 SwRect& _orBottomShadowRect,
112 bool bPaintLeftShadow,
113 bool bPaintRightShadow,
114 bool bRightSidebar );
139 void RemoveFlyFromPage(
SwFlyFrame *pToRemove );
155 void GetContentPosition(
const Point &rPt,
SwPosition &rPos )
const;
159 void UpdateFootnoteNum();
166 void PrepareRegisterChg();
181 virtual void Cut()
override;
188 void PaintDecorators( )
const;
196 void RefreshSubsidiary(
const SwRect& )
const;
209 inline void InvalidateFlyLayout()
const;
210 inline void InvalidateFlyContent()
const;
211 inline void InvalidateFlyInCnt()
const;
212 inline void InvalidateLayout()
const;
213 inline void InvalidateContent()
const;
214 inline void InvalidateSpelling()
const;
215 inline void InvalidateSmartTags()
const;
216 inline void InvalidateAutoCompleteWords()
const;
217 inline void InvalidateWordCount()
const;
218 inline void ValidateFlyLayout()
const;
219 inline void ValidateFlyContent()
const;
220 inline void ValidateFlyInCnt()
const;
221 inline void ValidateLayout()
const;
222 inline void ValidateContent()
const;
223 inline void ValidateSpelling()
const;
224 inline void ValidateSmartTags()
const;
225 inline void ValidateAutoCompleteWords()
const;
226 inline void ValidateWordCount()
const;
227 inline bool IsInvalid()
const;
228 inline bool IsInvalidFly()
const;
229 bool IsRightShadowNeeded()
const;
230 bool IsLeftShadowNeeded()
const;
248 Color GetDrawBackgroundColor()
const;
263 void PaintMarginArea(
const SwRect& _rOutputRect,
288 static void PaintBorderAndShadow(
const SwRect& _rPageRect,
290 bool bPaintLeftShadow,
291 bool bPaintRightShadow,
292 bool bRightSidebar );
309 static void GetBorderAndShadowBoundRect(
const SwRect& _rPageRect,
312 SwRect& _orBorderAndShadowBoundRect,
313 const bool bLeftShadow,
314 const bool bRightShadow,
315 const bool bRightSidebar
318 static void PaintNotesSidebar(
const SwRect& _rPageRect,
SwViewShell* _pViewShell, sal_uInt16 nPageNum,
bool bRight);
319 static void PaintNotesSidebarArrows(
const Point &rMiddleFirst,
const Point &rMiddleSecond,
SwViewShell const * _pViewShell,
const Color& rColorUp,
const Color& rColorDown);
328 SwRect PrtWithoutHeaderAndFooter()
const;
335 bool IsOverHeaderFooterArea(
const Point& rPt,
FrameControlType &rControl )
const;
338 static const vcl::Font& GetEmptyPageFont();
344 bool CheckPageHeightValidForHideWhitespace(
SwTwips nDiff);
wrapper class for the positioning of Writer fly frames and drawing objects
virtual bool GetInfo(SfxPoolItem &) const
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
general base class for all free-flowing frames
Base class of the Writer layout elements.
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
virtual void CheckDirection(bool bVert)
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
virtual void PaintSubsidiaryLines(const SwPageFrame *, const SwRect &) const
void RefreshExtraData(const SwRect &) const
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Searches the ContentFrame owning the PrtArea containing the point.
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const override
virtual void DestroyImpl() override
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
virtual void PaintBreak() const
const SwContentFrame * ContainsContent() const
Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so t...
virtual void Cut() override
A page of the document layout.
bool IsInvalidWordCount() const
void InvalidateContent() const
void ValidateFlyInCnt() const
const SwPageDesc * GetPageDesc() const
void SetPhyPageNum(sal_uInt16 nNum)
SwContentFrame * FindLastBodyContent()
Searches the last ContentFrame in BodyText below the page.
void ValidateContent() const
SwSortedObjs * GetSortedObjs()
bool IsEndNotePage() const
void InvalidateWordCount() const
void InvalidateFlyLayout() const
Validate, invalidate and query the Page status Layout/Content and Fly/non-Fly respectively are inspec...
void InvalidateAutoCompleteWords() const
sal_uInt16 GetPhyPageNum() const
void ValidateSmartTags() const
bool IsInvalidFlyContent() const
void InvalidateFlyInCnt() const
const SwSortedObjs * GetSortedObjs() const
void InvalidateSmartTags() const
bool IsInvalidFlyLayout() const
bool m_bInvalidAutoCmplWrds
SwContentFrame * FindFirstBodyContent()
sal_uInt16 m_nPhyPageNum
Physical page number: index into list of SwRootFrame lowers.
bool m_bInvalidFlyContent
static const sal_Int8 snShadowPxWidth
void SetEndNotePage(bool b)
bool IsInvalidSmartTags() const
void ValidateFlyLayout() const
void InvalidateSpelling() const
void InvalidateLayout() const
bool IsFootnotePage() const
Foot note interface.
bool IsInvalidContent() const
void InvalidateFlyContent() const
bool IsInvalidSpelling() const
bool IsInvalidAutoCompleteWords() const
SwPageDesc * GetPageDesc()
void SetFootnotePage(bool b)
void ValidateWordCount() const
std::unique_ptr< SwSortedObjs > m_pSortedObjs
bool IsInvalidFlyInCnt() const
void ValidateSpelling() const
bool IsInvalidFly() const
void ValidateAutoCompleteWords() const
void ValidateLayout() const
bool IsInvalidLayout() const
void ValidateFlyContent() const
Of course Writer needs its own rectangles.
This class is used as parameter for creation of a block cursor selection.
class for collecting anchored objects
static SwPageDesc * FindPageDesc(SwDoc *pDoc, sal_uInt16 nPoolId)
bool SetPageDesc(const css::uno::Any &rValue, SwDoc &rDoc, SfxItemSet &rSet)
Dialog to specify the properties of date form field.
bool IsPageFrameEmpty(SwPageFrame const &rPage)
check if there's content on the page that requires it to exist
SwTextGridItem const * GetGridItem(SwPageFrame const *const)
sal_uInt16 GetGridWidth(SwTextGridItem const &, SwDoc const &)
Marks a position in the document model.