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 aSIter
 
std::deque< const SwTextAttr * > aStack
 
const SwTextNoderTextNd
 
const SfxPoolItempParaItem
 
const SfxPoolItempCurItem
 
size_t nAttrPos
 
sal_Int32 nChgPos
 

Detailed Description

Definition at line 49 of file txatritr.hxx.

Constructor & Destructor Documentation

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

Definition at line 87 of file txatritr.cxx.

References SearchNextChg().

Member Function Documentation

void SwLanguageIterator::AddToStack ( const SwTextAttr rAttr)
private

Definition at line 147 of file txatritr.cxx.

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

Referenced by SearchNextChg().

sal_Int32 SwLanguageIterator::GetChgPos ( ) const
inline

Definition at line 67 of file txatritr.hxx.

References nChgPos.

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

LanguageType SwLanguageIterator::GetLanguage ( ) const
inline

Definition at line 68 of file txatritr.hxx.

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

bool SwLanguageIterator::Next ( void  )
void SwLanguageIterator::SearchNextChg ( )
private

Member Data Documentation

SwScriptIterator SwLanguageIterator::aSIter
private

Definition at line 51 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

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

Definition at line 53 of file txatritr.hxx.

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

size_t SwLanguageIterator::nAttrPos
private

Definition at line 57 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

sal_Int32 SwLanguageIterator::nChgPos
private

Definition at line 58 of file txatritr.hxx.

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

const SfxPoolItem* SwLanguageIterator::pCurItem
private

Definition at line 56 of file txatritr.hxx.

Referenced by Next(), and SearchNextChg().

const SfxPoolItem* SwLanguageIterator::pParaItem
private

Definition at line 55 of file txatritr.hxx.

Referenced by SearchNextChg().

const SwTextNode& SwLanguageIterator::rTextNd
private

Definition at line 54 of file txatritr.hxx.

Referenced by SearchNextChg().


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