o3tl::strong_int< sal_Int32, struct Tag_TextFrameIndex > TextFrameIndex
Denotes a character index in a text frame at a layout level, after extent mapping from a text node at...
Non-breaking space or non-breaking hyphen.
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
virtual void HandlePortion(SwPortionHandler &rPH) const override
virtual void FormatEOL(SwTextFormatInfo &rInf) override
Format End of Line.
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
virtual bool Format(SwTextFormatInfo &rInf) override
Pass on the underflows and trigger them ourselves!
SwBlankPortion(sal_Unicode cCh, bool bMult=false)
static sal_uInt16 MayUnderflow(const SwTextFormatInfo &rInf, TextFrameIndex nIdx, bool bUnderflow)
If a Line is full of HardBlanks and overflows, we must not generate underflows! Causes problems with ...
virtual SwLinePortion * Compress() override
virtual void Paint(const SwTextPaintInfo &rInf) const override
virtual void Paint(const SwTextPaintInfo &rInf) const override
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
virtual bool Format(SwTextFormatInfo &rInf) override
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override
the parameter is actually SwTwips apparently?
virtual SwPosSize GetTextSize(const SwTextSizeInfo &rInfo) const override
virtual void HandlePortion(SwPortionHandler &rPH) const override
Base class for anything that can be part of a line in the Writer layout.
void SetLen(TextFrameIndex const nLen)
void SetWhichPor(const PortionType nNew)
The SwPortionHandler interface implements a visitor for the layout engine's text portions.
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
SwPostItsPortion(bool bScrpt)
virtual bool Format(SwTextFormatInfo &rInf) override
virtual void Paint(const SwTextPaintInfo &rInf) const override
This portion represents a part of the paragraph string.
struct _xmlTextWriter * xmlTextWriterPtr