44 : m_nStart( nInitStart ), m_nLen(nInitLen) {}
48 {
if ( nNew < m_nStart ) { m_nLen += m_nStart-nNew; m_nStart = nNew; } }
52 {
return m_nStart < rRange.
m_nStart; }
56 {
return *this < rRange || *this > rRange; }
111 virtual void Height(
const sal_uInt16 nNew,
const bool bText =
true)
override;
187 sal_uInt16
GetLLSpaceAddCount()
const {
return sal::static_int_cast< sal_uInt16 >(m_pLLSpaceAdd->size()); }
191 m_pLLSpaceAdd->push_back( nNew );
193 (*m_pLLSpaceAdd)[ nIdx ] = nNew;
200 void SetKanaComp( std::unique_ptr<std::deque<sal_uInt16>> pNew ){ m_pKanaComp = std::move(pNew); }
202 std::deque<sal_uInt16>*
GetpKanaComp()
const {
return m_pKanaComp.get(); }
242 const bool _bNoFlyCntPorAndLinePor =
false )
const;
void SetRedlineText(const OUString &sText)
virtual SwLinePortion * Insert(SwLinePortion *pPortion) override
std::deque< sal_uInt16 > * GetpKanaComp() const
void SetRedlineEndType(const enum RedlineType eNew)
void SetRest(const bool bNew)
bool IsFootnoteNum() const
SwScriptInfo m_aScriptInfo
const SwRepaint & GetRepaint() const
void SetKanaComp(std::unique_ptr< std::deque< sal_uInt16 >> pNew)
bool IsPrepAdjust() const
const SwCharRange & GetReformat() const
void SetFormatAdj(const bool bNew)
SwTwips GetHangingMargin_() const
void SetFly(const bool bNew)
sal_uInt16 Height() const
SwCharRange & operator+=(const SwCharRange &rRange)
SwMarginPortion * CalcLeftMargin()
std::deque< sal_uInt16 > & GetKanaComp()
SwTwips GetHangingMargin() const
void SetFootnoteNum(const bool bNew)
virtual ~SwParaPortion() override
void CalcLine(SwTextFormatter &rLine, SwTextFormatInfo &rInf)
void SetErgoSumNum(const OUString &rErgo)
bool operator>(const SwCharRange &rRange) const
void MaxAscentDescent(SwTwips &_orAscent, SwTwips &_orDescent, SwTwips &_orObjAscent, SwTwips &_orObjDescent, const SwLinePortion *_pDontConsiderPortion=nullptr, const bool _bNoFlyCntPorAndLinePor=false) const
determine ascent and descent for positioning of as-character anchored object
Of course Writer needs its own rectangles.
RedlineType GetRedlineEndType() const
bool HasForcedLeftMargin() const
const tools::Long & GetDelta() const
Collection of SwLineLayout instances, represents the paragraph text in Writer layout.
tools::Long GetLLSpaceAdd(sal_uInt16 nIdx)
bool HasRedlineEnd() const
bool operator!=(const SwCharRange &rRange) const
TextFrameIndex const & Start() const
virtual ~SwLineLayout() override
sal_uInt16 GetLLSpaceAddCount() const
void SetClipping(const bool bNew)
bool operator<(const SwCharRange &rRange) const
This portion represents a part of the paragraph string.
void SetRedline(const bool bNew)
bool IsFollowField() const
const SwLineLayout * GetNext() const
void SetEndHyph(const bool bNew)
void SetRealHeight(sal_uInt16 nNew)
const OUString * GetRedlineText() const
TextFrameIndex const & Len() const
Collection of SwLinePortion instances, representing one line of text.
sal_uInt16 GetTextHeight() const
SwCharRange & GetReformat()
void SetRedlineEnd(const bool bNew)
SwLinePortion * GetFirstPortion() const
std::unique_ptr< std::deque< sal_uInt16 > > m_pKanaComp
bool IsPrepWidows() const
std::unique_ptr< std::vector< tools::Long > > m_pLLSpaceAdd
virtual SwLinePortion * Append(SwLinePortion *pPortion) override
const SwScriptInfo & GetScriptInfo() const
TextFrameIndex GetParLen() const
SwCharRange(TextFrameIndex const nInitStart=TextFrameIndex(0), TextFrameIndex const nInitLen=TextFrameIndex(0))
SwTwips GetRightOfst() const
void LeftMove(TextFrameIndex const nNew)
virtual bool Format(SwTextFormatInfo &rInf) override
Base class for anything that can be part of a line in the Writer layout.
void SetForcedLeftMargin()
bool IsPrepMustFit() const
void SetHanging(const bool bNew)
bool UpdateQuoVadis(std::u16string_view rQuo)
Is called in SwTextFrame::Prepare()
void SetNext(SwLineLayout *pNew)
enum RedlineType m_eRedlineEnd
void SetDummy(const bool bNew)
void RemoveFirstLLSpaceAdd()
void SetRightOfst(const SwTwips nNew)
void CreateSpaceAdd(const tools::Long nInit=0)
SwScriptInfo & GetScriptInfo()
void SetFollowField(const bool bNew)
bool IsFixLineHeight() const
const SwDropPortion * FindDropPortion() const
void SetPrepMustFit(const bool bNew)
void SetMargin(const bool bNew=true)
sal_uInt16 GetRealHeight() const
SwTwips GetOffset() const
void SetContent(const bool bNew)
void SetOffset(const SwTwips nNew)
std::vector< tools::Long > * GetpLLSpaceAdd() const
void SetMidHyph(const bool bNew)
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...
void SetBlinking(const bool bNew)
const sal_Int32 COMPLETE_STRING
bool HasUnderscore() const
void SetUnderscore(const bool bNew)
void SetLLSpaceAdd(tools::Long nNew, sal_uInt16 nIdx)
void Init(SwLinePortion *pNextPortion=nullptr)