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

simple Iterator for SPRMs More...

#include <ww8scan.hxx>

Collaboration diagram for WW8SprmIter:
[legend]

Public Member Functions

 WW8SprmIter (const sal_uInt8 *pSprms_, sal_Int32 nLen_, const wwSprmParser &rSprmParser)
 
void SetSprms (const sal_uInt8 *pSprms_, sal_Int32 nLen_)
 
SprmResult FindSprm (sal_uInt16 nId, const sal_uInt8 *pNextByteMatch=nullptr)
 
void advance ()
 
const sal_uInt8GetSprms () const
 
const sal_uInt8GetCurrentParams () const
 
sal_uInt16 GetCurrentId () const
 
sal_Int32 GetRemLen () const
 

Private Member Functions

void UpdateMyMembers ()
 
 WW8SprmIter (const WW8SprmIter &)=delete
 
WW8SprmIteroperator= (const WW8SprmIter &)=delete
 

Private Attributes

const wwSprmParsermrSprmParser
 
const sal_uInt8pSprms
 
const sal_uInt8pCurrentParams
 
sal_uInt16 nCurrentId
 
sal_uInt16 nCurrentSize
 
sal_Int32 nRemLen
 

Detailed Description

simple Iterator for SPRMs

Definition at line 260 of file ww8scan.hxx.

Constructor & Destructor Documentation

WW8SprmIter::WW8SprmIter ( const sal_uInt8 pSprms_,
sal_Int32  nLen_,
const wwSprmParser rSprmParser 
)
explicit

Definition at line 871 of file ww8scan.cxx.

References UpdateMyMembers().

WW8SprmIter::WW8SprmIter ( const WW8SprmIter )
privatedelete

Member Function Documentation

void WW8SprmIter::advance ( )
SprmResult WW8SprmIter::FindSprm ( sal_uInt16  nId,
const sal_uInt8 pNextByteMatch = nullptr 
)
sal_uInt16 WW8SprmIter::GetCurrentId ( ) const
inline
const sal_uInt8* WW8SprmIter::GetCurrentParams ( ) const
inline
sal_Int32 WW8SprmIter::GetRemLen ( ) const
inline
const sal_uInt8* WW8SprmIter::GetSprms ( ) const
inline
WW8SprmIter& WW8SprmIter::operator= ( const WW8SprmIter )
privatedelete
void WW8SprmIter::SetSprms ( const sal_uInt8 pSprms_,
sal_Int32  nLen_ 
)

Definition at line 878 of file ww8scan.cxx.

References nRemLen, pSprms, and UpdateMyMembers().

Referenced by SwWW8ImplReader::InsertTxbxText().

void WW8SprmIter::UpdateMyMembers ( )
private

Member Data Documentation

const wwSprmParser& WW8SprmIter::mrSprmParser
private

Definition at line 263 of file ww8scan.hxx.

Referenced by FindSprm(), and UpdateMyMembers().

sal_uInt16 WW8SprmIter::nCurrentId
private

Definition at line 267 of file ww8scan.hxx.

Referenced by GetCurrentId(), and UpdateMyMembers().

sal_uInt16 WW8SprmIter::nCurrentSize
private

Definition at line 268 of file ww8scan.hxx.

Referenced by advance(), and UpdateMyMembers().

sal_Int32 WW8SprmIter::nRemLen
private

Definition at line 270 of file ww8scan.hxx.

Referenced by advance(), GetRemLen(), SetSprms(), and UpdateMyMembers().

const sal_uInt8* WW8SprmIter::pCurrentParams
private

Definition at line 266 of file ww8scan.hxx.

Referenced by GetCurrentParams(), and UpdateMyMembers().

const sal_uInt8* WW8SprmIter::pSprms
private

Definition at line 265 of file ww8scan.hxx.

Referenced by advance(), SetSprms(), and UpdateMyMembers().


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