19#ifndef INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_PAGEFRM_HXX
90 void SetColMaxFootnoteHeight();
110 static void GetHorizontalShadowRect(
const SwRect& _rPageRect,
113 SwRect& _orBottomShadowRect,
114 bool bPaintLeftShadow,
115 bool bPaintRightShadow,
116 bool bRightSidebar );
126 std::vector<basegfx::B2DPolygon> GetSubsidiaryLinesPolygons(
const SwViewShell& rViewShell)
const;
143 void RemoveFlyFromPage(
SwFlyFrame *pToRemove );
163 void UpdateFootnoteNum();
170 void PrepareRegisterChg();
185 virtual void Cut()
override;
192 void PaintDecorators( )
const;
201 void RefreshSubsidiary(
const SwRect& )
const;
214 inline void InvalidateFlyLayout()
const;
215 inline void InvalidateFlyContent()
const;
216 inline void InvalidateFlyInCnt()
const;
218 inline void InvalidateContent()
const;
219 inline void InvalidateSpelling()
const;
220 inline void InvalidateSmartTags()
const;
221 inline void InvalidateAutoCompleteWords()
const;
222 inline void InvalidateWordCount()
const;
223 inline void ValidateFlyLayout()
const;
224 inline void ValidateFlyContent()
const;
225 inline void ValidateFlyInCnt()
const;
226 inline void ValidateLayout()
const;
227 inline void ValidateContent()
const;
228 inline void ValidateSpelling()
const;
229 inline void ValidateSmartTags()
const;
230 inline void ValidateAutoCompleteWords()
const;
231 inline void ValidateWordCount()
const;
232 inline bool IsInvalid()
const;
233 inline bool IsInvalidFly()
const;
234 bool IsRightShadowNeeded()
const;
235 bool IsLeftShadowNeeded()
const;
253 Color GetDrawBackgroundColor()
const;
268 void PaintMarginArea(
const SwRect& _rOutputRect,
293 static void PaintBorderAndShadow(
const SwRect& _rPageRect,
295 bool bPaintLeftShadow,
296 bool bPaintRightShadow,
297 bool bRightSidebar );
314 static void GetBorderAndShadowBoundRect(
const SwRect& _rPageRect,
317 SwRect& _orBorderAndShadowBoundRect,
318 const bool bLeftShadow,
319 const bool bRightShadow,
320 const bool bRightSidebar
323 static void PaintNotesSidebar(
const SwRect& _rPageRect,
SwViewShell* _pViewShell, sal_uInt16 nPageNum,
bool bRight);
324 static void PaintNotesSidebarArrows(
const Point &rMiddleFirst,
const Point &rMiddleSecond,
SwViewShell const * _pViewShell,
const Color& rColorUp,
const Color& rColorDown);
333 SwRect PrtWithoutHeaderAndFooter()
const;
343 static const vcl::Font& GetEmptyPageFont();
349 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 =0
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 &)
std::vector< tools::Rectangle > RectangleVector
Marks a position in the document model.