40 const std::vector<ExtTextInputAttr> &
m_rArr;
52 SwExtend(
const std::vector<ExtTextInputAttr> &rArr,
103 sal_Int32 nRedlPos,
Mode mode,
104 const std::vector<ExtTextInputAttr> *pArr =
nullptr,
116 std::pair<sal_Int32, std::pair<SwRangeRedline const*, size_t>>
GetNextRedln(
121 sal_Int32 nChkEnd, OUString& rRedlineText,
bool& bRedlineEnd,
122 RedlineType& eRedlineEnd,
size_t* pAuthorAtPos =
nullptr);
124 {
return m_pExt->Leave(rFnt, nNode, nNew); }
130 OSL_ENSURE(
ExtOn(),
"UpdateExtFont without ExtOn" );
131 m_pExt->UpdateFont( rFnt );
Used by Attribute Iterators to organize attributes on stacks to find the valid attribute in each cate...
sal_Int32 Next(SwNodeOffset nNode, sal_Int32 nNext)
const std::vector< ExtTextInputAttr > & m_rArr
short Enter(SwFont &rFnt, SwNodeOffset nNode, sal_Int32 nNew)
std::unique_ptr< SwFont > m_pFont
void UpdateFont(SwFont &rFont)
SwNodeOffset const m_nNode
position of start of SwExtTextInput
SwExtend(const std::vector< ExtTextInputAttr > &rArr, SwNodeOffset const nNode, sal_Int32 const nStart)
bool Leave_(SwFont &rFnt, SwNodeOffset nNode, sal_Int32 nNew)
sal_Int32 m_nPos
current position (inside)
sal_Int32 const m_nEnd
position of end of SwExtTextInput (in same node as start)
bool Leave(SwFont &rFnt, SwNodeOffset const nNode, sal_Int32 const nNew)
static void ActualizeFont(SwFont &rFnt, ExtTextInputAttr nAttr)
To take Asian or other languages into consideration, an SwFont object consists of 3 SwSubFonts (Latin...
std::unique_ptr< SfxItemSet > m_pSet
void Clear_(SwFont *pFnt)
void ChangeTextAttr(SwFont *pFnt, SwTextAttr const &rHt, bool bChg)
std::pair< sal_Int32, std::pair< SwRangeRedline const *, size_t > > GetNextRedln(sal_Int32 nNext, SwTextNode const *pNode, SwRedlineTable::size_type &rAct)
Ignore mode: does nothing.
sal_Int32 NextExtend(SwNodeOffset const nNode, sal_Int32 const nNext)
bool LeaveExtend(SwFont &rFnt, SwNodeOffset const nNode, sal_Int32 const nNew)
bool ChkSpecialUnderline() const
SwRedlineTable::size_type GetAct() const
bool CheckLine(SwNodeOffset nStartNode, sal_Int32 nChkStart, SwNodeOffset nEndNode, sal_Int32 nChkEnd, OUString &rRedlineText, bool &bRedlineEnd, RedlineType &eRedlineEnd, size_t *pAuthorAtPos=nullptr)
SwNodeOffset const m_nNdIdx
short EnterExtend(SwFont &rFnt, SwNodeOffset const nNode, sal_Int32 const nNew)
SwRedlineTable::size_type m_nAct
bool ChkSpecialUnderline_() const
SwRedlineItr(const SwTextNode &rTextNd, SwFont &rFnt, SwAttrHandler &rAH, sal_Int32 nRedlPos, Mode mode, const std::vector< ExtTextInputAttr > *pArr=nullptr, SwPosition const *pExtInputStart=nullptr)
short Seek(SwFont &rFnt, SwNodeOffset nNode, sal_Int32 nNew, sal_Int32 nOld)
SwAttrHandler & m_rAttrHandler
std::unique_ptr< SwExtend > m_pExt
std::deque< SwTextAttr * > m_Hints
void UpdateExtFont(SwFont &rFnt)
SwRedlineTable::size_type const m_nFirst
void FillHints(std::size_t nAuthor, RedlineType eType)
~SwRedlineItr() COVERITY_NOEXCEPT_FALSE
static constexpr size_type npos
vector_type::size_type size_type
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
SwTextNode is a paragraph in the document model.
Marks a position in the document model.
constexpr sal_Int32 COMPLETE_STRING