LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwScriptIterator Class Reference

#include <txatritr.hxx>

Public Member Functions

 SwScriptIterator (const OUString &rStr, sal_Int32 nStart, bool bFrwrd=true)
 
void Next ()
 
sal_uInt16 GetCurrScript () const
 
sal_Int32 GetScriptChgPos () const
 
const OUString & GetText () const
 

Private Attributes

const OUString & m_rText
 
sal_Int32 m_nChgPos
 
sal_uInt16 m_nCurScript
 
bool m_bForward
 

Detailed Description

Definition at line 31 of file txatritr.hxx.

Constructor & Destructor Documentation

◆ SwScriptIterator()

SwScriptIterator::SwScriptIterator ( const OUString &  rStr,
sal_Int32  nStart,
bool  bFrwrd = true 
)

Member Function Documentation

◆ GetCurrScript()

sal_uInt16 SwScriptIterator::GetCurrScript ( ) const
inline

Definition at line 44 of file txatritr.hxx.

References m_nCurScript.

Referenced by SwLanguageIterator::Next(), and SwLanguageIterator::SearchNextChg().

◆ GetScriptChgPos()

sal_Int32 SwScriptIterator::GetScriptChgPos ( ) const
inline

Definition at line 45 of file txatritr.hxx.

References COMPLETE_STRING, and m_nChgPos.

Referenced by SwLanguageIterator::SearchNextChg().

◆ GetText()

const OUString & SwScriptIterator::GetText ( ) const
inline

Definition at line 46 of file txatritr.hxx.

References m_rText.

Referenced by SwLanguageIterator::Next().

◆ Next()

void SwScriptIterator::Next ( void  )

Member Data Documentation

◆ m_bForward

bool SwScriptIterator::m_bForward
private

Definition at line 36 of file txatritr.hxx.

Referenced by Next(), and SwScriptIterator().

◆ m_nChgPos

sal_Int32 SwScriptIterator::m_nChgPos
private

Definition at line 34 of file txatritr.hxx.

Referenced by GetScriptChgPos(), Next(), and SwScriptIterator().

◆ m_nCurScript

sal_uInt16 SwScriptIterator::m_nCurScript
private

Definition at line 35 of file txatritr.hxx.

Referenced by GetCurrScript(), Next(), and SwScriptIterator().

◆ m_rText

const OUString& SwScriptIterator::m_rText
private

Definition at line 33 of file txatritr.hxx.

Referenced by GetText(), Next(), and SwScriptIterator().


The documentation for this class was generated from the following files: