23#include <com/sun/star/text/RubyAdjust.hpp>
100 , m_bFormatted(false)
101 , m_bFollowField(false)
102 , m_bFlyInContent(false)
136 void ActualizeTabulator();
145 inline bool HasBrackets()
const;
147 bool IsRevers()
const {
return 0 != (2 & m_nDirection); }
Provides access to settings of a document.
SwBidiPortion(TextFrameIndex nEnd, sal_uInt8 nLv)
virtual bool ChgSpaceAdd(SwLineLayout *pCurr, tools::Long nSpaceAdd) const override
virtual tools::Long CalcSpacing(tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override
TextFrameIndex GetSpaceCnt(const SwTextSizeInfo &rInf) const
sal_uInt8 GetLevel() const
TextFrameIndex GetSmallerSpaceCnt() const
virtual ~SwDoubleLinePortion() override
void SetBrackets(const SwDoubleLinePortion &rDouble)
TextFrameIndex m_nBlank1
Number of blanks in the first line.
SwTwips GetLineDiff() const
static void ResetSpaceAdd(SwLineLayout *pCurr)
std::unique_ptr< SwBracket > m_pBracket
void PaintBracket(SwTextPaintInfo &rInf, tools::Long nSpaceAdd, bool bOpen) const
virtual tools::Long CalcSpacing(tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override
virtual bool ChgSpaceAdd(SwLineLayout *pCurr, tools::Long nSpaceAdd) const override
SwDoubleLinePortion(SwDoubleLinePortion &rDouble, TextFrameIndex nEnd)
sal_uInt16 PreWidth() const
void FormatBrackets(SwTextFormatInfo &rInf, SwTwips &nMaxWidth)
sal_uInt16 BracketWidth()
TextFrameIndex m_nBlank2
Number of blanks in the second line.
void CalcBlanks(SwTextFormatInfo &rInf)
TextFrameIndex GetSpaceCnt() const
SwBracket * GetBrackets() const
sal_uInt16 PostWidth() const
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
Collection of SwLinePortion instances, representing one line of text.
Base class for anything that can be part of a line in the Writer layout.
virtual void Paint(const SwTextPaintInfo &rInf) const =0
virtual tools::Long CalcSpacing(tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const
virtual void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const
virtual void HandlePortion(SwPortionHandler &rPH) const
void SetLen(TextFrameIndex const nLen)
void SetWhichPor(const PortionType nNew)
bool IsFollowField() const
bool HasFlyInContent() const
RubyPosition m_eRubyPosition
void SetFlyInContent(bool bNew)
void SetRubyPosition(RubyPosition eNew)
RubyPosition GetRubyPosition() const
bool HasTabulator() const
const SwLineLayout & GetRoot() const
sal_uInt8 GetDirection() const
void SetDirection(sal_uInt8 nNew)
SwMultiPortion(TextFrameIndex const nEnd)
The SwPortionHandler interface implements a visitor for the layout engine's text portions.
SwRotatedPortion(TextFrameIndex const nEnd, sal_uInt8 nDir)
void Adjust(SwTextFormatInfo &rInf)
SwRubyPortion(const SwRubyPortion &rRuby, TextFrameIndex nEnd)
void Adjust_(SwTextFormatInfo &rInf)
TextFrameIndex GetRubyOffset() const
css::text::RubyAdjust GetAdjustment() const
TextFrameIndex m_nRubyOffset
css::text::RubyAdjust m_nAdjustment
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
SwTextCursor * pTextCursor
SwTextCursorSave(SwTextCursor *pTextCursor, SwMultiPortion *pMulti, SwTwips nY, SwTwips &nX, TextFrameIndex nCurrStart, tools::Long nSpaceAdd)
struct _xmlTextWriter * xmlTextWriterPtr
const SfxPoolItem * pItem
TextFrameIndex nStartOfAttr