56 {
return *this < rRange || *this > rRange; }
105 SwTwips GetHangingMargin_()
const;
111 virtual void Height(
const SwTwips nNew,
const bool bText =
true)
override;
126 void SetFly(
const bool bNew ) { m_bFly = bNew; }
127 bool IsFly()
const {
return m_bFly; }
128 void SetRest(
const bool bNew ) { m_bRest = bNew; }
150 void SetDummy(
const bool bNew ) { m_bDummy = bNew; }
177 {
return GetHangingMargin_(); }
185 void CreateSpaceAdd(
const tools::Long nInit = 0 );
187 sal_uInt16
GetLLSpaceAddCount()
const {
return sal::static_int_cast< sal_uInt16 >(m_pLLSpaceAdd->size()); }
190 if ( nIdx == GetLLSpaceAddCount() )
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(); }
237 void MaxAscentDescent(
SwTwips& _orAscent,
242 const bool _bNoFlyCntPorAndLinePor =
false )
const;
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...
bool operator>(const SwCharRange &rRange) const
SwCharRange & operator+=(const SwCharRange &rRange)
bool operator<(const SwCharRange &rRange) const
bool operator!=(const SwCharRange &rRange) const
TextFrameIndex const & Start() const
TextFrameIndex const & Len() const
void LeftMove(TextFrameIndex const nNew)
SwCharRange(TextFrameIndex const nInitStart=TextFrameIndex(0), TextFrameIndex const nInitLen=TextFrameIndex(0))
Text portion for the Format -> Paragraph -> Drop Caps functionality.
Collection of SwLinePortion instances, representing one line of text.
std::unique_ptr< std::deque< sal_uInt16 > > m_pKanaComp
void SetBlinking(const bool bNew)
std::unique_ptr< std::vector< tools::Long > > m_pLLSpaceAdd
void SetKanaComp(std::unique_ptr< std::deque< sal_uInt16 > > pNew)
std::deque< sal_uInt16 > & GetKanaComp()
void SetRedline(const bool bNew)
void SetUnderscore(const bool bNew)
void SetFormatAdj(const bool bNew)
void SetRedlineEndType(const enum RedlineType eNew)
enum RedlineType m_eRedlineEnd
void SetMidHyph(const bool bNew)
void SetForcedLeftMargin()
sal_uInt16 GetLLSpaceAddCount() const
SwTwips GetTextHeight() const
void SetHanging(const bool bNew)
bool HasForcedLeftMargin() const
void RemoveFirstLLSpaceAdd()
void SetClipping(const bool bNew)
void SetLLSpaceAdd(tools::Long nNew, sal_uInt16 nIdx)
const SwLineLayout * GetNext() const
tools::Long GetLLSpaceAdd(sal_uInt16 nIdx)
void SetFly(const bool bNew)
SwTwips GetHangingMargin() const
void SetRedlineText(const OUString &sText)
bool HasUnderscore() const
void SetRedlineEnd(const bool bNew)
void SetRealHeight(SwTwips nNew)
RedlineType GetRedlineEndType() const
SwTwips GetRealHeight() const
void SetContent(const bool bNew)
void SetEndHyph(const bool bNew)
void SetNext(SwLineLayout *pNew)
void SetDummy(const bool bNew)
void SetRest(const bool bNew)
const OUString * GetRedlineText() const
bool HasRedlineEnd() const
std::vector< tools::Long > * GetpLLSpaceAdd() const
std::deque< sal_uInt16 > * GetpKanaComp() const
Base class for anything that can be part of a line in the Writer layout.
virtual SwLinePortion * Append(SwLinePortion *pPortion)
virtual void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const
virtual SwLinePortion * Insert(SwLinePortion *pPortion)
Collection of SwLineLayout instances, represents the paragraph text in Writer layout.
bool HasContentPortions() const
bool IsPrepMustFit() const
void SetErgoSumNum(const OUString &rErgo)
void SetFootnoteNum(const bool bNew)
bool HasNumberingPortion(FootnoteOrNot) const
TextFrameIndex GetParLen() const
const SwDropPortion * FindDropPortion() const
bool IsPrepWidows() const
bool IsPrepAdjust() const
const SwScriptInfo & GetScriptInfo() const
SwCharRange & GetReformat()
SwScriptInfo m_aScriptInfo
void SetDelta(tools::Long nDelta)
void dumpAsXml(xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override
bool IsFollowField() const
void SetPrepMustFit(const bool bNew)
const SwCharRange & GetReformat() const
void SetFollowField(const bool bNew)
bool IsFootnoteNum() const
void SetMargin(const bool bNew=true)
bool IsFixLineHeight() const
bool UpdateQuoVadis(std::u16string_view rQuo)
Is called in SwTextFrame::Prepare()
const SwRepaint & GetRepaint() const
virtual ~SwParaPortion() override
tools::Long GetDelta() const
SwScriptInfo & GetScriptInfo()
Of course Writer needs its own rectangles.
void SetRightOfst(const SwTwips nNew)
SwTwips GetOffset() const
SwTwips GetRightOfst() const
void SetOffset(const SwTwips nNew)
This portion represents a part of the paragraph string.
virtual bool Format(SwTextFormatInfo &rInf) override
struct _xmlTextWriter * xmlTextWriterPtr
constexpr sal_Int32 COMPLETE_STRING