59 void SetAuthor(
size_t nAuthor) { m_nAuthor = nAuthor; }
63 void SetMax(
bool bMax) { m_bMax = bMax; }
64 void SetDeleted(
bool bDeleted) { m_bDeleted = bDeleted; }
Represents the visualization of a paragraph.
virtual void Paint(const SwTextPaintInfo &rInf) const override
Marks a position in the document model.
void SetBlankWidth(const sal_uInt16 nNew)
const Point & GetRefPoint() const
virtual bool Format(SwTextFormatInfo &rInf) override
Dialog to specify the properties of date form field.
Of course Writer needs its own rectangles.
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...
virtual bool Format(SwTextFormatInfo &rInf) override
SwFlyInContentFrame * GetFlyFrame()
void GetFlyCursorOfst(Point &rPoint, SwPosition &rPos, SwCursorMoveState *pCMS) const
virtual SdrObject * GetSdrObj(const SwTextFrame &) override
virtual ~FlyContentPortion() override
SwDrawContact * m_pContact
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)
This portion represents an as-character anchored fly (shape, frame, etc.)
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)
virtual ~DrawFlyCntPortion() override
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Searches the ContentFrame owning the PrtArea containing the point.
void SetWhichPor(const PortionType nNew)
virtual void Paint(const SwTextPaintInfo &rInf) const override
sal_uInt16 GetBlankWidth() const
void SetDeleted(bool bDeleted)
void SetAlign(sw::LineAlign eAlign)
Base class for anything that can be part of a line in the Writer layout.
virtual void Paint(const SwTextPaintInfo &rInf) const override
class SwFlyPortion => we expect a frame-locale SwRect!
sw::LineAlign GetAlign() const
void SetAuthor(size_t nAuthor)
virtual SdrObject * GetSdrObj(const SwTextFrame &)=0
SwFlyCntPortion()
Use the dimensions of pFly->OutRect()
SwFlyPortion(const SwRect &rFlyRect)
FlyContentPortion(SwFlyInContentFrame *pFly)
virtual SdrObject * GetSdrObj(const SwTextFrame &) override
SwFlyInContentFrame * m_pFly
DrawFlyCntPortion(SwFrameFormat const &rFormat)