43 SwTextSlot aDiffText( &rInf,
this,
false,
false );
49 SwTextSlot aDiffText( &rInf,
this,
true,
false );
66 SwTextSlot aDiffText( &rInf,
this,
true,
true );
94 *const_cast<SwTextPaintInfo&>(rInf).GetFont() = aOldFont;
125 if( nIdx && !const_cast<SwTextFormatInfo&>(rInf).GetFly() )
214 : m_bScript( bScrpt )
virtual bool Format(SwTextFormatInfo &rInf)
const sal_Unicode CH_BREAK
void DrawBackBrush(const SwLinePortion &rPor) const
sal_uInt16 Height() const
virtual void Paint(const SwTextPaintInfo &rInf) const override
bool GetJoinBorderWithPrev() const
The SwPortionHandler interface implements a visitor for the layout engine's text portions.
void SetLast(SwLinePortion *pNewLast)
void DrawBorder(const SwLinePortion &rPor) const
Draw character border around a line portion.
sw::WrongListIterator * GetGrammarCheckList() const
void DrawText(const OUString &rText, const SwLinePortion &rPor, TextFrameIndex nIdx=TextFrameIndex(0), TextFrameIndex nLen=TextFrameIndex(COMPLETE_STRING), const bool bKern=false) const
void DrawPostIts(bool bScript) const
bool HasHint(TextFrameIndex nPos) const
SwPosSize GetTextSize(OutputDevice *pOut, const SwScriptInfo *pSI, const OUString &rText, TextFrameIndex nIdx, TextFrameIndex nLen) const
static sal_uInt16 GetPostItsWidth(const OutputDevice *pOut)
#define CH_TXTATR_BREAKWORD
virtual void HandlePortion(SwPortionHandler &rPH) const override
sw::WrongListIterator * GetSmartTags() const
sal_Unicode GetChar(TextFrameIndex const nPos) const
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 ...
SwPostItsPortion(bool bScrpt)
virtual bool Format(SwTextFormatInfo &rInf) override
virtual SwLinePortion * Compress() override
TextFrameIndex GetLineStart() const
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
virtual void Paint(const SwTextPaintInfo &rInf) const override
virtual void Special(TextFrameIndex nLength, const OUString &rText, PortionType nType, sal_Int32 nHeight=0, sal_Int32 nWidth=0, const SwFont *pFont=nullptr)=0
special portion.
const SwViewOption & GetOpt() const
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const
the parameter is actually SwTwips apparently?
vcl::RenderContext * GetOut()
void SetWhichPor(const PortionType nNew)
void SetUnderflow(SwLinePortion *pNew)
bool IsFlyPortion() const
const sal_Unicode CH_BLANK
bool IsKernPortion() const
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
TextFrameIndex GetIdx() const
void PrePaint(const SwTextPaintInfo &rInf, const SwLinePortion *pLast) const
TextFrameIndex GetLen() const
virtual bool Format(SwTextFormatInfo &rInf) override
Pass on the underflows and trigger them ourselves!
const OUString & GetText() const
SwLinePortion * mpNextPortion
Base class for anything that can be part of a line in the Writer layout.
TextFrameIndex mnLineLength
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override
the parameter is actually SwTwips apparently?
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
For the text replacement and restoration of SwTextSizeInfo.
virtual void FormatEOL(SwTextFormatInfo &rInf) override
Format End of Line.
PortionType GetWhichPor() const
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
virtual void Paint(const SwTextPaintInfo &rInf) const override
TextFrameIndex GetLen() const
SwLinePortion * FindPrevPortion(const SwLinePortion *pRoot)
SwLinePortion * GetLast()
virtual void HandlePortion(SwPortionHandler &rPH) const override
bool StopUnderflow() const
void SetAscent(const sal_uInt16 nNewAsc)
sal_uInt16 PrtWidth() const
bool GetJoinBorderWithNext() const
SwLinePortion * GetNextPortion() const
void SetIdx(const TextFrameIndex nNew)
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...
virtual bool Format(SwTextFormatInfo &rInf) override
virtual SwPosSize GetTextSize(const SwTextSizeInfo &rInfo) const override
void DrawMarkedText(const SwLinePortion &rPor, TextFrameIndex nLen, const bool bWrong, const bool bSmartTags, const bool bGrammarCheck) const
void DrawViewOpt(const SwLinePortion &rPor, PortionType nWhich) const
virtual bool Format(SwTextFormatInfo &rInf) override
bool IsBlankPortion() const