19 #ifndef INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
20 #define INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
68 bool m_bInvalidContent :1;
69 bool m_bInvalidLayout :1;
70 bool m_bInvalidFlyContent :1;
71 bool m_bInvalidFlyLayout :1;
72 bool m_bInvalidFlyInCnt :1;
73 bool m_bFootnotePage :1;
75 bool m_bEndNotePage :1;
76 bool m_bInvalidSpelling :1;
77 bool m_bInvalidSmartTags :1;
78 bool m_bInvalidAutoCmplWrds :1;
79 bool m_bInvalidWordCount :1;
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);
458 #endif // INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
Base class of the Writer layout elements.
void SetFootnotePage(bool b)
Marks a position in the document model.
bool IsInvalidWordCount() const
void ValidateSpelling() const
void ValidateFlyContent() const
void ValidateContent() const
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
This class is used as parameter for creation of a block cursor selection.
Dialog to specify the properties of date form field.
bool IsFootnotePage() const
Foot note interface.
Of course Writer needs its own rectangles.
SwContentFrame * FindFirstBodyContent()
void InvalidateFlyInCnt() const
void RefreshExtraData(const SwRect &) const
void ValidateWordCount() const
sal_uInt16 GetPhyPageNum() const
void ValidateAutoCompleteWords() const
wrapper class for the positioning of Writer fly frames and drawing objects
bool IsInvalidFlyInCnt() const
bool IsInvalidAutoCompleteWords() const
void InvalidateFlyContent() const
sal_uInt16 m_nPhyPageNum
Physical page number: index into list of SwRootFrame lowers.
bool IsInvalidSpelling() const
bool IsInvalidSmartTags() const
virtual void DestroyImpl() override
void InvalidateLayout() const
void InvalidateContent() const
bool IsInvalidContent() const
void ValidateFlyLayout() const
bool IsInvalidFly() const
bool IsInvalidFlyContent() const
void InvalidateAutoCompleteWords() const
const SwSortedObjs * GetSortedObjs() const
void InvalidateSpelling() const
void ValidateFlyInCnt() const
virtual void Cut() override
SwTextGridItem const * GetGridItem(SwPageFrame const *const)
SwPageDesc * GetPageDesc()
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
void InvalidateSmartTags() const
bool IsEndNotePage() const
void SetPhyPageNum(sal_uInt16 nNum)
void InvalidateFlyLayout() const
Validate, invalidate and query the Page status Layout/Content and Fly/non-Fly respectively are inspec...
A page of the document layout.
bool IsInvalidFlyLayout() const
void ValidateLayout() const
virtual void CheckDirection(bool bVert)
void ValidateSmartTags() const
SwContentFrame * FindLastBodyContent()
Searches the last ContentFrame in BodyText below the page.
virtual void PaintSubsidiaryLines(const SwPageFrame *, const SwRect &) const
general base class for all free-flowing frames
static const sal_Int8 snShadowPxWidth
bool IsPageFrameEmpty(SwPageFrame const &rPage)
check if there's content on the page that requires it to exist
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Searches the ContentFrame owning the PrtArea containing the point.
bool m_bInvalidAutoCmplWrds
virtual void PaintBreak() const
bool m_bInvalidFlyContent
sal_uInt16 GetGridWidth(SwTextGridItem const &, SwDoc const &)
virtual bool GetInfo(SfxPoolItem &) const
bool SetPageDesc(const css::uno::Any &rValue, SwDoc &rDoc, SfxItemSet &rSet)
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame...
const SwPageDesc * GetPageDesc() const
const SwContentFrame * ContainsContent() const
Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so t...
void InvalidateWordCount() const
void SetEndNotePage(bool b)
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
class for collecting anchored objects
bool IsInvalidLayout() const
static SwPageDesc * FindPageDesc(SwDoc *pDoc, sal_uInt16 nPoolId)
std::unique_ptr< SwSortedObjs > m_pSortedObjs
SwSortedObjs * GetSortedObjs()
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const override