143 std::unique_ptr<SwFont> pFnt,
146 const sal_uInt16 nMinDst,
147 const bool bLabelAlignmentPosAndSpaceModeActive );
161 std::u16string_view rBulletFollowedBy,
162 std::unique_ptr<SwFont> pFnt,
165 const sal_uInt16 nMinDst,
166 const bool bLabelAlignmentPosAndSpaceModeActive );
179 OUString
const & referer,
181 const Size& rGrfSize,
184 const sal_uInt16 nMinDst,
185 const bool bLabelAlignmentPosAndSpaceModeActive );
228namespace sw::mark {
class IFieldmark; }
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...
SwBulletPortion(const sal_UCS4 cCh, std::u16string_view rBulletFollowedBy, std::unique_ptr< SwFont > pFnt, const bool bLeft, const bool bCenter, const sal_uInt16 nMinDst, const bool bLabelAlignmentPosAndSpaceModeActive)
Used in for asian layout specialities to display up to six characters in 2 rows and 2-3 columns.
SwFontScript m_aScrType[6]
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
virtual bool Format(SwTextFormatInfo &rInf) override
SwCombinedPortion(const OUString &rExpand)
Initializes the script array and clears the width array.
o3tl::enumarray< SwFontScript, sal_uInt16 > m_aWidth
virtual void Paint(const SwTextPaintInfo &rInf) const override
void SetCenter(bool bNew)
std::unique_ptr< SwFont > m_pFont
TextFrameIndex m_nNextOffset
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
TextFrameIndex GetNextOffset() const
const bool m_bPlaceHolder
void SetNextOffset(TextFrameIndex nNew)
virtual SwFieldPortion * Clone(const OUString &rExpand) const
virtual void HandlePortion(SwPortionHandler &rPH) const override
const SwFont * GetFont() const
virtual SwLinePortion * Compress() override
TextFrameIndex GetFieldLen() const
virtual void Paint(const SwTextPaintInfo &rInf) const override
TextFrameIndex m_nFieldLen
const OUString & GetExp() const
virtual bool Format(SwTextFormatInfo &rInf) override
void SetFollow(bool bNew)
void CheckScript(const SwTextSizeInfo &rInf)
void SetFont(std::unique_ptr< SwFont > pNew)
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
void SetContentControl(bool bContentControl)
virtual SwPosSize GetTextSize(const SwTextSizeInfo &rInfo) const override
TextFrameIndex m_nNextScriptChg
SwFieldPortion(const SwFieldPortion &rField)
virtual sal_uInt16 GetViewWidth(const SwTextSizeInfo &rInf) const override
void SetHasFollow(bool bNew)
sal_uInt16 m_nAttrFieldType
virtual ~SwFieldPortion() override
void TakeNextOffset(const SwFieldPortion *pField)
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
SwTwips GetRelPos() const
void SetRelPos(SwTwips nNew)
void SetBase(tools::Long nLnAscent, tools::Long nLnDescent, tools::Long nFlyAscent, tools::Long nFlyDescent)
SwGrfNumPortion(const OUString &rGraphicFollowedBy, const SvxBrushItem *pGrfBrush, OUString const &referer, const SwFormatVertOrient *pGrfOrient, const Size &rGrfSize, const bool bLeft, const bool bCenter, const sal_uInt16 nMinDst, const bool bLabelAlignmentPosAndSpaceModeActive)
void SetAnimated(bool bNew)
std::unique_ptr< SvxBrushItem > m_pBrush
virtual ~SwGrfNumPortion() override
SwTwips GetGrfHeight() const
virtual bool Format(SwTextFormatInfo &rInf) override
We can create multiple NumFields Tricky, if one enters enough previous-text in the dialog box to caus...
sal_Int16 GetOrient() const
void StopAnimation(const OutputDevice *pOut)
virtual void Paint(const SwTextPaintInfo &rInf) const override
A hidden NumberPortion is not displayed, unless there are TextPortions in this line or there's only o...
void SetId(tools::Long nNew) const
Distinguish only for painting/hide.
virtual SwFieldPortion * Clone(const OUString &rExpand) const override
SwHiddenPortion(const OUString &rExpand, std::unique_ptr< SwFont > pFntL=nullptr)
virtual bool GetExpText(const SwTextSizeInfo &rInf, OUString &rText) const override
virtual void Paint(const SwTextPaintInfo &rInf) 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)
SwNumberPortion(const OUString &rExpand, std::unique_ptr< SwFont > pFnt, const bool bLeft, const bool bCenter, const sal_uInt16 nMinDst, const bool bLabelAlignmentPosAndSpaceModeActive)
bool mbLabelAlignmentPosAndSpaceModeActive
virtual void FormatEOL(SwTextFormatInfo &rInf) override
A FormatEOL indicates that the subsequent text did not fit onto the line anymore.
virtual void Paint(const SwTextPaintInfo &rInf) const override
A hidden NumberPortion is not displayed, unless there are TextPortions in this line or there's just o...
virtual SwFieldPortion * Clone(const OUString &rExpand) const override
virtual TextFrameIndex GetModelPositionForViewPoint(sal_uInt16 nOfst) const override
the parameter is actually SwTwips apparently?
virtual bool Format(SwTextFormatInfo &rInf) override
We can create multiple NumFields Tricky, if one enters enough previous-text in the dialog box to caus...
The SwPortionHandler interface implements a visitor for the layout engine's text portions.
struct _xmlTextWriter * xmlTextWriterPtr