22#include <rtl/ustring.hxx>
34 std::vector<std::unique_ptr<TextCharAttrib> >
maAttribs;
48 std::unique_ptr<TextCharAttrib> pReleased = std::move(
maAttribs[
n]);
53 void InsertAttrib( std::unique_ptr<TextCharAttrib> pAttrib );
85 void InsertText( sal_Int32 nPos, std::u16string_view rText );
87 void RemoveText( sal_Int32 nPos, sal_Int32 nChars );
89 std::unique_ptr<TextNode>
Split( sal_Int32 nPos );
118 OUString
GetText( sal_uInt32 nPara )
const;
TextCharAttribList & operator=(const TextCharAttribList &)=delete
TextCharAttrib * FindAttrib(sal_uInt16 nWhich, sal_Int32 nPos)
std::vector< std::unique_ptr< TextCharAttrib > > maAttribs
void InsertAttrib(std::unique_ptr< TextCharAttrib > pAttrib)
bool HasBoundingAttrib(sal_Int32 nBound)
const TextCharAttrib & GetAttrib(sal_uInt16 n) const
TextCharAttrib * FindEmptyAttrib(sal_uInt16 nWhich, sal_Int32 nPos)
TextCharAttrib & GetAttrib(sal_uInt16 n)
std::unique_ptr< TextCharAttrib > RemoveAttrib(sal_uInt16 n)
void DeleteEmptyAttribs()
TextCharAttribList(const TextCharAttribList &)=delete
TextPaM InsertText(const TextPaM &rPaM, sal_Unicode c)
void SetLeftMargin(sal_uInt16 n)
OUString GetText(const sal_Unicode *pSep) const
bool IsValidPaM(const TextPaM &rPaM)
const std::vector< std::unique_ptr< TextNode > > & GetNodes() const
TextPaM ConnectParagraphs(TextNode *pLeft, const TextNode *pRight)
void RemoveChars(const TextPaM &rPaM, sal_Int32 nChars)
std::vector< std::unique_ptr< TextNode > > maTextNodes
std::vector< std::unique_ptr< TextNode > > & GetNodes()
TextPaM InsertParaBreak(const TextPaM &rPaM)
sal_Int32 GetTextLen(const sal_Unicode *pSep, const TextSelection *pSel=nullptr) const
sal_uInt16 GetLeftMargin() const
void CollapseAttribs(sal_Int32 nIndex, sal_Int32 nDelChars)
void ExpandAttribs(sal_Int32 nIndex, sal_Int32 nNewChars)
const TextCharAttribList & GetCharAttribs() const
void Append(const TextNode &rNode)
std::unique_ptr< TextNode > Split(sal_Int32 nPos)
void RemoveText(sal_Int32 nPos, sal_Int32 nChars)
TextCharAttribList maCharAttribs
const TextCharAttrib & GetCharAttrib(sal_uInt16 nPos) const
TextNode(const TextNode &)=delete
TextCharAttribList & GetCharAttribs()
void InsertText(sal_Int32 nPos, std::u16string_view rText)
const OUString & GetText() const
void operator=(const TextNode &)=delete