This portion represents an as-character anchored fly (shape, frame, etc.)
void SetBase(const SwTextFrame &rFrame, const Point &rBase, tools::Long nLnAscent, tools::Long nLnDescent, tools::Long nFlyAscent, tools::Long nFlyDescent, AsCharFlags nFlags)
After setting the RefPoints, the ascent needs to be recalculated because it is dependent on RelPos.
void SetAlign(sw::LineAlign eAlign)
virtual SdrObject * GetSdrObj(const SwTextFrame &)=0
void SetDeleted(bool bDeleted)
virtual bool Format(SwTextFormatInfo &rInf) override
sw::LineAlign GetAlign() const
void SetAuthor(size_t nAuthor)
SwFlyCntPortion()
Use the dimensions of pFly->OutRect()
const Point & GetRefPoint() const
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Searches the ContentFrame owning the PrtArea containing the point.
Flys that are anchored as a character in the content.
virtual bool Format(SwTextFormatInfo &rInf) override
virtual void Paint(const SwTextPaintInfo &rInf) const override
class SwFlyPortion => we expect a frame-locale SwRect!
sal_uInt16 GetBlankWidth() const
void SetBlankWidth(const sal_uInt16 nNew)
SwFlyPortion(const SwRect &rFlyRect)
Base class for anything that can be part of a line in the Writer layout.
void SetWhichPor(const PortionType nNew)
Of course Writer needs its own rectangles.
Represents the visualization of a paragraph.
static DrawFlyCntPortion * Create(const SwTextFrame &rFrame, SwFrameFormat const &rFormat, const Point &rBase, tools::Long nAsc, tools::Long nDescent, tools::Long nFlyAsc, tools::Long nFlyDesc, AsCharFlags nFlags)
virtual SdrObject * GetSdrObj(const SwTextFrame &) override
DrawFlyCntPortion(SwFrameFormat const &rFormat)
virtual ~DrawFlyCntPortion() override
SwDrawContact * m_pContact
virtual void Paint(const SwTextPaintInfo &rInf) const override
FlyContentPortion(SwFlyInContentFrame *pFly)
virtual SdrObject * GetSdrObj(const SwTextFrame &) override
SwFlyInContentFrame * m_pFly
virtual ~FlyContentPortion() override
static FlyContentPortion * Create(const SwTextFrame &rFrame, SwFlyInContentFrame *pFly, const Point &rBase, tools::Long nAscent, tools::Long nDescent, tools::Long nFlyAsc, tools::Long nFlyDesc, AsCharFlags nFlags)
void GetFlyCursorOfst(Point &rPoint, SwPosition &rPos, SwCursorMoveState *pCMS) const
SwFlyInContentFrame * GetFlyFrame()
virtual void Paint(const SwTextPaintInfo &rInf) const override
Dialog to specify the properties of date form field.
Marks a position in the document model.