20 #ifndef INCLUDED_SW_SOURCE_CORE_INC_FRMTOOL_HXX
21 #define INCLUDED_SW_SOURCE_CORE_INC_FRMTOOL_HXX
49 namespace sw {
struct Extent; }
50 namespace basegfx {
namespace utils {
class B2DClipState; } }
52 #define FAR_AWAY (SAL_MAX_INT32 - 20000) // initial position of a Fly
53 #define BROWSE_HEIGHT (56700L * 10L) // 10 Meters
56 #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);
122 const bool bVerticalLayoutLRBT,
const bool bJoinWithPrev,
123 const bool bJoinWithNext);
134 bool bPages =
false,
sal_uLong nEndIndex = 0,
154 bool bOdd,
bool bFirst,
bool bInsertEmpty,
bool bFootnote,
162 const SwRect* pOldRect =
nullptr );
197 std::pair<Point, bool>
const* pViewPosAndCalcFrame =
nullptr);
267 mbInvalidatePrevPrtArea =
true;
272 mbBordersJoinedWithPrev =
true;
286 std::shared_ptr<SvxLRSpaceItem>
m_rLR;
354 const SwFrame& _rCmpFrame )
const;
377 inline sal_uInt16
CalcTop()
const;
383 inline bool IsLine()
const;
391 const SwFrame* _pPrevFrame =
nullptr )
const;
399 const SwFrame* _pPrevFrame =
nullptr )
const;
460 const SwFrame* _pPrevFrame )
const
478 const_cast<SwBorderAttrs*>(
this)->m_bCachedGetTopLine =
false;
555 bool& obIsLineSpacingProportional );
SwTwips mnFlyAnchorOfstNoWrap
void SetInvalidatePrevPrtArea()
sal_uInt16 CalcBottomLine() const
Base class of the Writer layout elements.
sal_uInt16 m_nLineSpacing
SwFlyNotify(SwFlyFrame *pFlyFrame)
Represents the visualization of a paragraph.
const SvxBoxItem & m_rBox
Marks a position in the document model.
const SwFrame * m_pConstructor
const SwPageFrame * m_pPage
const SwRect & getFrameArea() const
~SwFrameNotify() COVERITY_NOEXCEPT_FALSE
SwTwips mnHeightOfLastLine
void Current(const SdrObject *pNew)
std::shared_ptr< SvxLRSpaceItem > m_rLR
bool JoinedWithPrev(const SwFrame &_rFrame, const SwFrame *_pPrevFrame=nullptr) const
SwLayNotify(SwLayoutFrame *pLayFrame)
const SvxShadowItem & GetShadow() const
SwFrameNotify(SwFrame *pFrame)
bool JoinWithCmp(const SwFrame &_rCallerFrame, const SwFrame &_rCmpFrame) const
sal_uInt16 CalcTopLine() const
void SetBordersJoinedWithPrev()
Dialog to specify the properties of date form field.
Of course Writer needs its own rectangles.
long CalcRight(const SwFrame *pCaller) const
The root element of a Writer document layout.
virtual SwCacheObj * NewObj() override
Can be use in NewObj.
long CalcLeft(const SwFrame *pCaller) const
sal_uInt16 CalcLeftLine() const
SwBorderAttrs(const SwModify *pOwner, const SwFrame *pConstructor)
bool IsLowersComplete() const
bool m_bCachedGetBottomLine
const SvxShadowItem & m_rShadow
std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr
void CalcJoinedWithNext(const SwFrame &_rFrame)
void CalcJoinedWithPrev(const SwFrame &_rFrame, const SwFrame *_pPrevFrame)
void GetTopLine_(const SwFrame &_rFrame, const SwFrame *_pPrevFrame)
const SwAttrSet & m_rAttrSet
const SwRect aFrameAndSpace
helper class to check if a frame has been deleted during an operation WARNING! This should only be us...
SwPageFrame *const pOldPage
void SetGetCacheLine(bool bNew) const
sal_uInt16 GetBottomLine(const SwFrame &_rFrame) const
bool CmpLeftRight(const SwBorderAttrs &rCmpAttrs, const SwFrame *pCaller, const SwFrame *pCmp) const
SwOrderIter(const SwPageFrame *pPage)
const SvxBoxItem & GetBox() const
SwBorderAttrAccess(SwCache &rCache, const SwFrame *pOwner)
const SwAttrSet & GetAttrSet() const
sal_uInt16 GetTopLine(const SwFrame &_rFrame, const SwFrame *_pPrevFrame=nullptr) const
const SdrObject * m_pCurrent
Marks a node in the document model.
bool m_bCachedJoinedWithNext
SwContentNotify(SwContentFrame *pContentFrame)
bool mbBordersJoinedWithPrev
A page of the document layout.
bool mbChkHeightOfLastLine
SwDeletionChecker(const SwFrame *pFrame)
sal_uInt16 CalcTop() const
SwTextNode is a paragraph in the document model.
general base class for all free-flowing frames
sal_uInt16 CalcLineSpacing() const
const SvxULSpaceItem & m_rUL
const SdrObject * operator()() const
The Cache object base class Users of the Cache must derive a class from the SwCacheObj and store thei...
void SetLowersComplete(bool b)
sal_uInt16 CalcBottom() const
void GetBottomLine_(const SwFrame &_rFrame)
bool JoinedWithNext(const SwFrame &_rFrame) const
bool mbInvalidatePrevPrtArea
bool HasBeenDeleted() const
return true if mpFrame != 0 and mpFrame is not client of pRegIn false otherwise
const Size & GetSize() const
Access class for the Cache.
A layout frame is a frame that contains other frames (m_pLower), e.g. SwPageFrame or SwTabFrame...
sal_uInt16 m_nGetBottomLine
virtual ~SwBorderAttrs() override
const SdrObject * Bottom()
bool m_bCachedJoinedWithPrev
const SvxULSpaceItem & GetULSpace() const
sal_uInt16 CalcRightLine() const