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

#include <txatritr.hxx>

Collaboration diagram for SwLanguageIterator:
[legend]

Public Member Functions

 SwLanguageIterator (const SwTextNode &rTextNd, sal_Int32 nStart)
 
bool Next ()
 
sal_Int32 GetChgPos () const
 
LanguageType GetLanguage () const
 

Private Member Functions

void AddToStack (const SwTextAttr &rAttr)
 
void SearchNextChg ()
 

Private Attributes

SwScriptIterator m_aScriptIter
 
std::deque< const SwTextAttr * > m_aStack
 
const SwTextNodem_rTextNode
 
const SfxPoolItemm_pParaItem
 
const SfxPoolItemm_pCurrentItem
 
size_t m_nAttrPos
 
sal_Int32 m_nChgPos
 

Detailed Description

Definition at line 49 of file txatritr.hxx.

Constructor & Destructor Documentation

◆ SwLanguageIterator()

SwLanguageIterator::SwLanguageIterator ( const SwTextNode rTextNd,
sal_Int32  nStart 
)

Definition at line 87 of file txatritr.cxx.

References SearchNextChg().

Member Function Documentation

◆ AddToStack()

void SwLanguageIterator::AddToStack ( const SwTextAttr rAttr)
private

Definition at line 147 of file txatritr.cxx.

References End, SwTextAttr::End(), and m_aStack.

Referenced by SearchNextChg().

◆ GetChgPos()

sal_Int32 SwLanguageIterator::GetChgPos ( ) const
inline

Definition at line 67 of file txatritr.hxx.

References m_nChgPos.

Referenced by SwTextNode::Convert(), and SwTextFrame::SmartTagScan().

◆ GetLanguage()

LanguageType SwLanguageIterator::GetLanguage ( ) const
inline

Definition at line 68 of file txatritr.hxx.

Referenced by SwTextNode::Convert(), and SwTextFrame::SmartTagScan().

◆ Next()

bool SwLanguageIterator::Next ( void  )

◆ SearchNextChg()

void SwLanguageIterator::SearchNextChg ( )
private

Member Data Documentation

◆ m_aScriptIter

SwScriptIterator SwLanguageIterator::m_aScriptIter
private

Definition at line 51 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

◆ m_aStack

std::deque<const SwTextAttr*> SwLanguageIterator::m_aStack
private

Definition at line 53 of file txatritr.hxx.

Referenced by AddToStack(), Next(), and SearchNextChg().

◆ m_nAttrPos

size_t SwLanguageIterator::m_nAttrPos
private

Definition at line 57 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

◆ m_nChgPos

sal_Int32 SwLanguageIterator::m_nChgPos
private

Definition at line 58 of file txatritr.hxx.

Referenced by GetChgPos(), Next(), and SearchNextChg().

◆ m_pCurrentItem

const SfxPoolItem* SwLanguageIterator::m_pCurrentItem
private

Definition at line 56 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

◆ m_pParaItem

const SfxPoolItem* SwLanguageIterator::m_pParaItem
private

Definition at line 55 of file txatritr.hxx.

Referenced by SearchNextChg().

◆ m_rTextNode

const SwTextNode& SwLanguageIterator::m_rTextNode
private

Definition at line 54 of file txatritr.hxx.

Referenced by SearchNextChg().


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