22#include <com/sun/star/i18n/ScriptType.hpp>
23#include <com/sun/star/i18n/XBreakIterator.hpp>
33 const OUString& rStr, sal_Int32 nStt,
bool const bFrwrd)
40 if ( ! bFrwrd && nStt )
43 sal_Int32
nPos = nStt;
89 : m_aScriptIter( rTNd.GetText(), nStt ),
91 m_pParaItem( nullptr ),
108 const sal_Int32 nEndPos = *pHt->
End();
123 const sal_Int32 nEndPos = *pHt->
End();
150 const sal_Int32 nEndPos = *rAttr.
End();
151 for( ; nIns <
m_aStack.size(); ++nIns )
193 const sal_Int32* pEnd = pHt->
End();
194 const sal_Int32 nHtStt = pHt->
GetStart();
195 if( nHtStt < nStt && ( !pEnd || *pEnd <= nStt ))
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
css::uno::Reference< css::i18n::XBreakIterator > const & GetBreakIter() const
const SwAttrSet & GetSwAttrSet() const
Does node has already its own auto-attributes? Access to SwAttrSet.
std::deque< const SwTextAttr * > m_aStack
SwScriptIterator m_aScriptIter
SwLanguageIterator(const SwTextNode &rTextNd, sal_Int32 nStart)
const SwTextNode & m_rTextNode
const SfxPoolItem * m_pCurrentItem
void AddToStack(const SwTextAttr &rAttr)
const SfxPoolItem * m_pParaItem
sal_uInt16 GetCurrScript() const
SwScriptIterator(const OUString &rStr, sal_Int32 nStart, bool bFrwrd=true)
sal_Int32 GetScriptChgPos() const
const OUString & GetText() const
A wrapper around SfxPoolItem to store the start position of (usually) a text portion,...
const SfxPoolItem & GetAttr() const
const sal_Int32 * End() const
sal_Int32 GetStart() const
const SwFormatCharFormat & GetCharFormat() const
SwTextNode is a paragraph in the document model.
SwpHints * GetpSwpHints()
An SwTextAttr container, stores all directly formatted text portions for a text node.
SwTextAttr * Get(size_t nPos) const
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SwFormatCharFormat > RES_TXTATR_CHARFMT(52)
sal_uInt16 GetWhichOfScript(sal_uInt16 nWhich, sal_uInt16 nScript)
double getLength(const B2DPolygon &rCandidate)