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)
 
tools::Long GetIdx () const
 
void SetIdx (tools::Long nI)
 
tools::Long GetIMax () const
 
bool SeekPos (tools::Long nPos)
 
bool SeekPosExact (tools::Long nPos)
 
sal_Int32 Where () const
 
bool Get (WW8_CP &rStart, void *&rpValue) const
 
bool GetData (tools::Long nIdx, WW8_CP &rPos, void *&rpValue) const
 
const void * GetData (tools::Long nInIdx) const
 
sal_Int32 GetPos (tools::Long nInIdx) const
 
void advance ()
 

Private Member Functions

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

Private Attributes

std::unique_ptr< sal_Int32[]> m_pPLCF_PosArray
 pointer to Pos-array and to the whole structure More...
 
sal_uInt8m_pPLCF_Contents
 pointer to content-array-part of Pos-array More...
 
tools::Long m_nIMax
 number of elements More...
 
tools::Long m_nIdx
 marker where we currently are More...
 
sal_uInt32 m_nStru
 

Detailed Description

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

Definition at line 220 of file ww8scan.hxx.

Constructor & Destructor Documentation

◆ WW8PLCFspecial() [1/2]

WW8PLCFspecial::WW8PLCFspecial ( const WW8PLCFspecial )
privatedelete

◆ WW8PLCFspecial() [2/2]

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

Member Function Documentation

◆ advance()

void WW8PLCFspecial::advance ( )
inline

Definition at line 254 of file ww8scan.hxx.

References m_nIdx, and m_nIMax.

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

◆ Get()

bool WW8PLCFspecial::Get ( WW8_CP rStart,
void *&  rpValue 
) const

◆ GetData() [1/2]

bool WW8PLCFspecial::GetData ( tools::Long  nIdx,
WW8_CP rPos,
void *&  rpValue 
) const

Definition at line 2249 of file ww8scan.cxx.

References m_nIMax, m_nStru, m_pPLCF_Contents, m_pPLCF_PosArray, and WW8_CP_MAX.

Referenced by Get().

◆ GetData() [2/2]

const void * WW8PLCFspecial::GetData ( tools::Long  nInIdx) const
inline

Definition at line 246 of file ww8scan.hxx.

References m_nIMax, m_nStru, and m_pPLCF_Contents.

◆ GetIdx()

tools::Long WW8PLCFspecial::GetIdx ( ) const
inline

Definition at line 235 of file ww8scan.hxx.

References m_nIdx.

Referenced by WW8GetFieldPara().

◆ GetIMax()

tools::Long WW8PLCFspecial::GetIMax ( ) const
inline

Definition at line 237 of file ww8scan.hxx.

References m_nIMax.

Referenced by SwWW8ImplReader::GetTxbxTextSttEndCp().

◆ GetPos()

sal_Int32 WW8PLCFspecial::GetPos ( tools::Long  nInIdx) const
inline

Definition at line 251 of file ww8scan.hxx.

References m_nIMax, m_pPLCF_PosArray, and SAL_MAX_INT32.

◆ operator=()

WW8PLCFspecial & WW8PLCFspecial::operator= ( const WW8PLCFspecial )
privatedelete

◆ SeekPos()

bool WW8PLCFspecial::SeekPos ( tools::Long  nPos)

◆ SeekPosExact()

bool WW8PLCFspecial::SeekPosExact ( tools::Long  nPos)

Definition at line 2213 of file ww8scan.cxx.

References m_nIdx, m_nIMax, m_pPLCF_PosArray, and n.

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

◆ SetIdx()

void WW8PLCFspecial::SetIdx ( tools::Long  nI)
inline

Definition at line 236 of file ww8scan.hxx.

References m_nIdx.

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

◆ Where()

sal_Int32 WW8PLCFspecial::Where ( ) const
inline

Definition at line 241 of file ww8scan.hxx.

References m_nIdx, m_nIMax, m_pPLCF_PosArray, and SAL_MAX_INT32.

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

Member Data Documentation

◆ m_nIdx

tools::Long WW8PLCFspecial::m_nIdx
private

marker where we currently are

Definition at line 226 of file ww8scan.hxx.

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

◆ m_nIMax

tools::Long WW8PLCFspecial::m_nIMax
private

number of elements

Definition at line 225 of file ww8scan.hxx.

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

◆ m_nStru

sal_uInt32 WW8PLCFspecial::m_nStru
private

Definition at line 227 of file ww8scan.hxx.

Referenced by GetData().

◆ m_pPLCF_Contents

sal_uInt8* WW8PLCFspecial::m_pPLCF_Contents
private

pointer to content-array-part of Pos-array

Definition at line 224 of file ww8scan.hxx.

Referenced by GetData(), and WW8PLCFspecial().

◆ m_pPLCF_PosArray

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

pointer to Pos-array and to the whole structure

Definition at line 223 of file ww8scan.hxx.

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


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