20#ifndef INCLUDED_SW_SOURCE_CORE_INC_FRMTOOL_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_FRMTOOL_HXX
50namespace sw {
struct Extent; }
53#define FAR_AWAY (SAL_MAX_INT32 - 20000)
57#define GRFNUM_REPLACE 2
63 std::vector<sw::Extent>::const_iterator
const* pIter,
64 std::vector<sw::Extent>::const_iterator
const* pEnd,
68 std::vector<sw::Extent>::const_iterator
const* pIter,
69 std::vector<sw::Extent>::const_iterator
const* pEnd,
85 const bool bConsiderBackgroundTransparency =
false );
88 const SwRect& rOriginalLayoutRect,
99 const OUString& rName,
100 const OUString& rTitle,
101 const OUString& rDescription);
108 const OUString& rName,
109 const OUString& rTitle,
110 const OUString& rDescription);
131 const bool bVerticalLayoutLRBT,
const bool bJoinWithPrev,
132 const bool bJoinWithNext);
172 bool isRightPage,
bool bFirst,
bool bInsertEmpty,
bool bFootnote,
173 SwFrame *pSibling,
bool bVeryFirstPage =
false );
180 const SwRect* pOldRect =
nullptr );
212 sw::BroadcastingModify
const&,
215 std::pair<Point, bool>
const* pViewPosAndCalcFrame =
nullptr);
315 std::shared_ptr<SvxLRSpaceItem>
m_xLR;
383 const SwFrame& _rCmpFrame )
const;
406 inline sal_uInt16
CalcTop()
const;
412 inline bool IsLine()
const;
420 const SwFrame* _pPrevFrame =
nullptr )
const;
428 const SwFrame* _pPrevFrame =
nullptr )
const;
488 const SwFrame* _pPrevFrame )
const
585 bool& obIsLineSpacingProportional,
586 bool bIdenticalStyles );
const SwFrame * m_pConstructor
virtual SwCacheObj * NewObj() override
Can be use in NewObj.
SwBorderAttrAccess(SwCache &rCache, const SwFrame *pOwner)
const SvxShadowItem & m_rShadow
bool JoinedWithNext(const SwFrame &_rFrame) const
sal_uInt16 CalcRightLine() const
void SetGetCacheLine(bool bNew) const
bool JoinedWithPrev(const SwFrame &_rFrame, const SwFrame *_pPrevFrame=nullptr) const
SwBorderAttrs(const sw::BorderCacheOwner *pOwner, const SwFrame *pConstructor)
const SvxBoxItem & GetBox() const
sal_uInt16 m_nGetBottomLine
const SvxULSpaceItem & m_rUL
std::unique_ptr< SvxRightMarginItem > m_pRightMargin
const Size & GetSize() const
tools::Long CalcLeft(const SwFrame *pCaller) const
bool CmpLeftRight(const SwBorderAttrs &rCmpAttrs, const SwFrame *pCaller, const SwFrame *pCmp) const
sal_uInt16 CalcTopLine() const
const SvxULSpaceItem & GetULSpace() const
sal_uInt16 CalcLeftLine() const
void GetBottomLine_(const SwFrame &_rFrame)
sal_uInt16 CalcTop() const
void GetTopLine_(const SwFrame &_rFrame, const SwFrame *_pPrevFrame)
bool m_bCachedJoinedWithNext
void CalcJoinedWithNext(const SwFrame &_rFrame)
sal_uInt16 GetTopLine(const SwFrame &_rFrame, const SwFrame *_pPrevFrame=nullptr) const
sal_uInt16 GetBottomLine(const SwFrame &_rFrame) const
bool m_bCachedJoinedWithPrev
const SwAttrSet & GetAttrSet() const
const SvxShadowItem & GetShadow() const
std::unique_ptr< SvxFirstLineIndentItem > m_pFirstLineIndent
sal_uInt16 m_nLineSpacing
sal_uInt16 CalcBottomLine() const
bool m_bCachedGetBottomLine
tools::Long CalcRight(const SwFrame *pCaller) const
sal_uInt16 CalcLineSpacing() const
std::shared_ptr< SvxLRSpaceItem > m_xLR
void CalcJoinedWithPrev(const SwFrame &_rFrame, const SwFrame *_pPrevFrame)
std::unique_ptr< SvxTextLeftMarginItem > m_pTextLeftMargin
bool JoinWithCmp(const SwFrame &_rCallerFrame, const SwFrame &_rCmpFrame) const
const SwAttrSet & m_rAttrSet
const SvxBoxItem & m_rBox
sal_uInt16 CalcBottom() const
virtual ~SwBorderAttrs() override
Access class for the Cache.
The Cache object base class Users of the Cache must derive a class from the SwCacheObj and store thei...
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
bool mbChkHeightOfLastLine
bool mbInvalidatePrevPrtArea
SwTwips mnHeightOfLastLine
SwContentNotify(SwContentFrame *pContentFrame)
bool mbBordersJoinedWithPrev
void SetInvalidatePrevPrtArea()
void SetBordersJoinedWithPrev()
helper class to check if a frame has been deleted during an operation WARNING! This should only be us...
bool HasBeenDeleted() const
return true if mpFrame != 0 and mpFrame is not client of pRegIn false otherwise
const sw::BroadcastingModify * mpRegIn
SwDeletionChecker(const SwFrame *pFrame)
general base class for all free-flowing frames
SwFlyNotify(SwFlyFrame *pFlyFrame)
const SwRect m_aFrameAndSpace
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
SwFrameNotify(SwFrame *pFrame)
SwTwips mnFlyAnchorOfstNoWrap
const SwRect & getFrameArea() const
Base class of the Writer layout elements.
SwLayNotify(SwLayoutFrame *pLayFrame)
void SetLowersComplete(bool b)
bool IsLowersComplete() const
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame.
Marks a node in the document model.
Base class of the Writer document model elements.
const SdrObject * m_pCurrent
const SdrObject * Bottom()
const SdrObject * operator()() const
void Current(const SdrObject *pNew)
SwOrderIter(const SwPageFrame *pPage)
const SwPageFrame * m_pPage
A page of the document layout.
Of course Writer needs its own rectangles.
The root element of a Writer document layout.
Represents the visualization of a paragraph.
SwTextNode is a paragraph in the document model.
Bookkeeping helper for SwCache caching writer borders.
const bool m_wasAlreadySuppressed
FlyCreationSuppressor(bool isAlreadySuppressedAllowed=true)
std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr
Dialog to specify the properties of date form field.
bool IsRightPageByNumber(SwRootFrame const &rLayout, sal_uInt16 nPageNum)
bool HasPageBreakBefore(SwPageFrame const &rPage)
o3tl::strong_int< sal_Int32, struct Tag_SwNodeOffset > SwNodeOffset
Marks a position in the document model.