19#ifndef INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
89 void SetColMaxFootnoteHeight();
109 static void GetHorizontalShadowRect(
const SwRect& _rPageRect,
112 SwRect& _orBottomShadowRect,
113 bool bPaintLeftShadow,
114 bool bPaintRightShadow,
115 bool bRightSidebar );
140 void RemoveFlyFromPage(
SwFlyFrame *pToRemove );
156 void GetContentPosition(
const Point &rPt,
SwPosition &rPos )
const;
160 void UpdateFootnoteNum();
167 void PrepareRegisterChg();
182 virtual void Cut()
override;
189 void PaintDecorators( )
const;
197 void RefreshSubsidiary(
const SwRect& )
const;
210 inline void InvalidateFlyLayout()
const;
211 inline void InvalidateFlyContent()
const;
212 inline void InvalidateFlyInCnt()
const;
214 inline void InvalidateContent()
const;
215 inline void InvalidateSpelling()
const;
216 inline void InvalidateSmartTags()
const;
217 inline void InvalidateAutoCompleteWords()
const;
218 inline void InvalidateWordCount()
const;
219 inline void ValidateFlyLayout()
const;
220 inline void ValidateFlyContent()
const;
221 inline void ValidateFlyInCnt()
const;
222 inline void ValidateLayout()
const;
223 inline void ValidateContent()
const;
224 inline void ValidateSpelling()
const;
225 inline void ValidateSmartTags()
const;
226 inline void ValidateAutoCompleteWords()
const;
227 inline void ValidateWordCount()
const;
228 inline bool IsInvalid()
const;
229 inline bool IsInvalidFly()
const;
230 bool IsRightShadowNeeded()
const;
231 bool IsLeftShadowNeeded()
const;
249 Color GetDrawBackgroundColor()
const;
264 void PaintMarginArea(
const SwRect& _rOutputRect,
289 static void PaintBorderAndShadow(
const SwRect& _rPageRect,
291 bool bPaintLeftShadow,
292 bool bPaintRightShadow,
293 bool bRightSidebar );
310 static void GetBorderAndShadowBoundRect(
const SwRect& _rPageRect,
313 SwRect& _orBorderAndShadowBoundRect,
314 const bool bLeftShadow,
315 const bool bRightShadow,
316 const bool bRightSidebar
319 static void PaintNotesSidebar(
const SwRect& _rPageRect,
SwViewShell* _pViewShell, sal_uInt16 nPageNum,
bool bRight);
320 static void PaintNotesSidebarArrows(
const Point &rMiddleFirst,
const Point &rMiddleSecond,
SwViewShell const * _pViewShell,
const Color& rColorUp,
const Color& rColorDown);
329 SwRect PrtWithoutHeaderAndFooter()
const;
336 bool IsOverHeaderFooterArea(
const Point& rPt,
FrameControlType &rControl )
const;
339 static const vcl::Font& GetEmptyPageFont();
345 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 dumpAsXml(xmlTextWriterPtr writer=nullptr) const
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
struct _xmlTextWriter * xmlTextWriterPtr
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.