38#define LINE_BREAK_WIDTH 150
39#define SPECIAL_FONT_HEIGHT 200
53 const Color& rColor );
104 bool bBG =
false,
bool bGridKern =
false );
177 OUString & rOutString,
SwFont & rTmpFont,
int & rDeltaY)
const;
188 std::vector<std::tuple<SwScriptInfo::MarkKind, Color, OUString>>
m_oColors;
214 OUString & rOutString,
SwFont & rTmpFont,
int & rDeltaY)
const override;
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...
Indicator that the content does not fit into a fixed height frame (red triangle on the UI).
SwArrowPortion(const SwLinePortion &rPortion)
virtual SwLinePortion * Compress() override
virtual void Paint(const SwTextPaintInfo &rInf) const override
const Point & GetPos() const
for showing bookmark starts and ends; note that in contrast to SwControlCharPortion these do not have...
virtual SwLinePortion * Compress() override
virtual bool DoPaint(SwTextPaintInfo const &rInf, OUString &rOutString, SwFont &rTmpFont, int &rDeltaY) const override
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const override
virtual void HandlePortion(SwPortionHandler &rPH) const override
SwBookmarkPortion(sal_Unicode const cChar, std::vector< std::tuple< SwScriptInfo::MarkKind, Color, OUString > >rColors)
std::vector< std::tuple< SwScriptInfo::MarkKind, Color, OUString > > m_oColors
virtual void Paint(const SwTextPaintInfo &rInf) const override
virtual void Paint(const SwTextPaintInfo &rInf) const override
static constexpr OUStringLiteral S_NOBREAK_FOR_REDLINE
virtual SwLinePortion * Compress() override
SwBreakPortion(const SwLinePortion &rPortion, const SwTextAttr *pAttr)
virtual bool Format(SwTextFormatInfo &rInf) override
SwLineBreakClear m_eClear
Tracks the type of the breaking clear from SwTextLineBreak, if there is one.
SwTwips m_nTextHeight
Height of the line-break character itself, without spacing added for clearing.
void SetRedline(const RedlineType eRedline)
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
SwLineBreakClear GetClear() const
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override
the parameter is actually SwTwips apparently?
virtual void HandlePortion(SwPortionHandler &rPH) const override
sal_uInt16 mnHalfCharWidth
virtual void Paint(const SwTextPaintInfo &rInf) const override
SwControlCharPortion(sal_Unicode cChar)
virtual bool Format(SwTextFormatInfo &rInf) override
virtual bool DoPaint(SwTextPaintInfo const &rInf, OUString &rOutString, SwFont &rTmpFont, int &rDeltaY) const
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
SwHangingPortion(SwPosSize aSize)
sal_uInt16 GetInnerWidth() const
virtual void Paint(const SwTextPaintInfo &rInf) const override
SwHiddenTextPortion(TextFrameIndex const nLen)
virtual bool Format(SwTextFormatInfo &rInf) override
virtual void Paint(const SwTextPaintInfo &rInf) const override
SwKernPortion(SwLinePortion &rPortion, short nKrn, bool bBG=false, bool bGridKern=false)
virtual void FormatEOL(SwTextFormatInfo &rInf) 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.
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
This portion represents a part of the paragraph string.
const FontStrikeout m_eStrikeout
virtual void Paint(const SwTextPaintInfo &rInf) const override
SwTmpEndPortion(const SwLinePortion &rPortion, const FontLineStyle eUnderline, const FontStrikeout eStrikeout, const Color &rColor)
const FontLineStyle m_eUnderline
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
struct _xmlTextWriter * xmlTextWriterPtr