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

among others for fields, that is, the same number of attr as positions, if Ctor-Param bNoEnd = false More...

#include <ww8scan.hxx>

Public Member Functions

 WW8PLCFspecial (SvStream *pSt, sal_uInt32 nFilePos, sal_uInt32 nPLCF, sal_uInt32 nStruct)
 
long GetIdx () const
 
void SetIdx (long nI)
 
long GetIMax () const
 
bool SeekPos (long nPos)
 
bool SeekPosExact (long nPos)
 
sal_Int32 Where () const
 
bool Get (WW8_CP &rStart, void *&rpValue) const
 
bool GetData (long nIdx, WW8_CP &rPos, void *&rpValue) const
 
const voidGetData (long nInIdx) const
 
sal_Int32 GetPos (long nInIdx) const
 
void advance ()
 

Private Member Functions

 WW8PLCFspecial (const WW8PLCFspecial &)=delete
 
WW8PLCFspecialoperator= (const WW8PLCFspecial &)=delete
 

Private Attributes

std::unique_ptr< sal_Int32[]> pPLCF_PosArray
 pointer to Pos-array and to the whole structure More...
 
sal_uInt8pPLCF_Contents
 pointer to content-array-part of Pos-array More...
 
long nIMax
 number of elements More...
 
long nIdx
 marker where we currently are More...
 
sal_uInt32 nStru
 

Detailed Description

among others for fields, that is, the same number of attr as positions, if Ctor-Param bNoEnd = false

Definition at line 218 of file ww8scan.hxx.

Constructor & Destructor Documentation

WW8PLCFspecial::WW8PLCFspecial ( const WW8PLCFspecial )
privatedelete
WW8PLCFspecial::WW8PLCFspecial ( SvStream pSt,
sal_uInt32  nFilePos,
sal_uInt32  nPLCF,
sal_uInt32  nStruct 
)

Member Function Documentation

void WW8PLCFspecial::advance ( )
inline

Definition at line 252 of file ww8scan.hxx.

References nIdx.

Referenced by SwWW8ImplReader::GetTxbxTextSttEndCp(), WW8GetFieldPara(), and WW8SkipField().

bool WW8PLCFspecial::Get ( WW8_CP rStart,
void *&  rpValue 
) const
bool WW8PLCFspecial::GetData ( long  nIdx,
WW8_CP rPos,
void *&  rpValue 
) const

Definition at line 2242 of file ww8scan.cxx.

References nIMax, nStru, pPLCF_Contents, pPLCF_PosArray, and WW8_CP_MAX.

Referenced by Get().

const void* WW8PLCFspecial::GetData ( long  nInIdx) const
inline

Definition at line 244 of file ww8scan.hxx.

References nStru.

long WW8PLCFspecial::GetIdx ( ) const
inline

Definition at line 233 of file ww8scan.hxx.

References nIdx.

Referenced by WW8GetFieldPara().

long WW8PLCFspecial::GetIMax ( ) const
inline

Definition at line 235 of file ww8scan.hxx.

References nIMax.

Referenced by SwWW8ImplReader::GetTxbxTextSttEndCp().

sal_Int32 WW8PLCFspecial::GetPos ( long  nInIdx) const
inline

Definition at line 249 of file ww8scan.hxx.

References SAL_MAX_INT32.

WW8PLCFspecial& WW8PLCFspecial::operator= ( const WW8PLCFspecial )
privatedelete
bool WW8PLCFspecial::SeekPos ( long  nPos)
bool WW8PLCFspecial::SeekPosExact ( long  nPos)

Definition at line 2206 of file ww8scan.cxx.

References nIdx, nIMax, and pPLCF_PosArray.

Referenced by wwSectionManager::CreateSep(), and SwWW8ImplReader::ReadChar().

void WW8PLCFspecial::SetIdx ( long  nI)
inline

Definition at line 234 of file ww8scan.hxx.

Referenced by SwWW8ImplReader::GetTxbxTextSttEndCp(), and WW8GetFieldPara().

sal_Int32 WW8PLCFspecial::Where ( ) const
inline

Definition at line 239 of file ww8scan.hxx.

References nIdx, and SAL_MAX_INT32.

Referenced by wwSectionManager::CreateSep(), and SwWW8ImplReader::ReadChar().

Member Data Documentation

long WW8PLCFspecial::nIdx
private

marker where we currently are

Definition at line 224 of file ww8scan.hxx.

Referenced by advance(), Get(), GetIdx(), SeekPos(), SeekPosExact(), Where(), and WW8PLCFspecial().

long WW8PLCFspecial::nIMax
private

number of elements

Definition at line 223 of file ww8scan.hxx.

Referenced by GetData(), GetIMax(), SeekPos(), SeekPosExact(), and WW8PLCFspecial().

sal_uInt32 WW8PLCFspecial::nStru
private

Definition at line 225 of file ww8scan.hxx.

Referenced by GetData().

sal_uInt8* WW8PLCFspecial::pPLCF_Contents
private

pointer to content-array-part of Pos-array

Definition at line 222 of file ww8scan.hxx.

Referenced by GetData(), and WW8PLCFspecial().

std::unique_ptr<sal_Int32[]> WW8PLCFspecial::pPLCF_PosArray
private

pointer to Pos-array and to the whole structure

Definition at line 221 of file ww8scan.hxx.

Referenced by GetData(), SeekPos(), SeekPosExact(), and WW8PLCFspecial().


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