26 #include <com/sun/star/text/WrapTextMode.hpp>
70 sal_uInt16
GetCount()
const {
return mvItems.size(); }
182 SwAnchoredObjList::size_type nPos,
183 const SwRect &rLine )
const;
190 SwAnchoredObjList::size_type nPos,
191 const SwRect &rLine )
const;
199 const bool bInFootnote,
200 const bool bInFooterOrHeader );
246 const SwRect& rRect )
const;
SwAnchoredObjList * GetAnchoredObjList() const
void SetNextTop(tools::Long nNew) const
Represents the visualization of a paragraph.
SwTwips GetMinBottom() const
void SetIgnoreCurrentFrame(bool bNew)
bool IsAnyFrame() const
Same as IsAnyFrame(const SwRect&), but uses the current frame print area.
bool IsAnyObj(const SwRect &rRect) const
true when a frame or DrawObj must be taken in account.
bool mbIgnoreObjsInHeaderFooter
boolean, indicating if objects in page header|footer are considered for text frames not in page heade...
SwRect GetFrame_(const SwRect &rPortion) const
This method will be called during the LineIter formatting.
const SwTextFrame * GetMaster_()
void ClrObject(sal_uInt16 nPos)
void DrawFlyRect(OutputDevice *pOut, const SwRect &rRect)
Two subtleties needs to be mentioned:
The purpose of this class is to be the universal interface between formatting/text output and the pos...
SwAnchoredObjList * InitAnchoredObjList()
SwContourCache * pContourCache
Contour-cache global variable, initialized/destroyed in txtinit.cxx and needed in txtfly...
Of course Writer needs its own rectangles.
SwTwips CalcMinBottom() const
const SwAnchoredObject * mpCurrAnchoredObj
bool mbIgnoreCurrentFrame
const SwTextFrame * m_pMaster
SwRect GetFrame(const SwRect &rPortion) const
wrapper class for the positioning of Writer fly frames and drawing objects
void CalcLeftMargin(SwRect &rFly, SwAnchoredObjList::size_type nPos, const SwRect &rLine) const
The left margin is the left margin of the current PrintArea or it is determined by the last FlyFrame...
sal_uLong m_nCurrFrameNodeIndex
Stores the upper edge of the "next" frame.
void DrawTextOpaque(SwDrawTextInfo &rInf)
This method is called by DrawText().
void SetIgnoreObjsInHeaderFooter(const bool bNew)
std::vector< CacheItem > mvItems
const SdrObject * mpSdrObj
void SetIgnoreContour(bool bNew)
static SwRect CalcBoundRect(const SwAnchoredObject *pAnchoredObj, const SwRect &rLine, const SwTextFrame *pFrame, const tools::Long nXPos, const bool bRight)
Computes the rectangle that will cover the object in the given line.
bool GetTop(const SwAnchoredObject *_pAnchoredObj, const bool bInFootnote, const bool bInFooterOrHeader)
#i26945# - change first parameter Now it's the instance of the floating screen obj...
SwRect AnchoredObjToRect(const SwAnchoredObject *pAnchoredObj, const SwRect &rRect) const
Determines the demanded rectangle for an anchored object, considering its surround for text wrapping...
const SdrObject * GetObject(sal_uInt16 nPos) const
void CalcRightMargin(SwRect &rFly, SwAnchoredObjList::size_type nPos, const SwRect &rLine) const
The right margin is the right margin or it is determined by the next object standing on the line...
A page of the document layout.
sal_uInt16 GetCount() const
tools::Long GetNextTop() const
std::vector< SwAnchoredObject * > SwAnchoredObjList
std::unique_ptr< TextRanger > mxTextRanger
const SwTextFrame * m_pCurrFrame
SwAnchoredObjList::size_type GetPos(const SwAnchoredObject *pAnchoredObj) const
std::unique_ptr< SwAnchoredObjList > mpAnchoredObjList
const SwTextFrame * GetMaster() const
friend void ClrContourCache()
const SwPageFrame * m_pPage
void ClrContourCache(const SdrObject *pObj)
SwRect ContourRect(const SwFormat *pFormat, const SdrObject *pObj, const SwTextFrame *pFrame, const SwRect &rLine, const tools::Long nXPos, const bool bRight)
bool ForEach(const SwRect &rRect, SwRect *pRect, bool bAvoid) const
Look for the first object which overlaps with the rectangle.
css::text::WrapTextMode GetSurroundForTextWrap(const SwAnchoredObject *pAnchoredObj) const
void CtorInitTextFly(const SwTextFrame *pFrame)