LibreOffice Module sw (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
WW8PLCFx_Fc_FKP::WW8Fkp Class Reference

#include <ww8scan.hxx>

Collaboration diagram for WW8PLCFx_Fc_FKP::WW8Fkp:
[legend]

Classes

class  Entry
 

Public Member Functions

 WW8Fkp (const WW8Fib &rFib, SvStream *pFKPStrm, SvStream *pDataStrm, tools::Long _nFilePos, tools::Long nItemSiz, ePLCFT ePl, WW8_FC nStartFc)
 
void Reset (WW8_FC nPos)
 
tools::Long GetFilePos () const
 
sal_uInt8 GetIdx () const
 
void SetIdx (sal_uInt8 nI)
 
bool SeekPos (WW8_FC nFc)
 
WW8_FC Where () const
 
void advance ()
 
sal_uInt8Get (WW8_FC &rStart, WW8_FC &rEnd, sal_Int32 &rLen) const
 
sal_uInt16 GetIstd () const
 
sal_uInt8GetLenAndIStdAndSprms (sal_Int32 &rLen) const
 
SprmResult HasSprm (sal_uInt16 nId, bool bFindFirst=true)
 
void HasSprm (sal_uInt16 nId, std::vector< SprmResult > &rResult)
 
const wwSprmParserGetSprmParser () const
 
void IncMustRemainCache ()
 
bool IsMustRemainCache () const
 
void DecMustRemainCache ()
 

Private Member Functions

void FillEntry (Entry &rEntry, std::size_t nDataOffset, sal_uInt16 nLen)
 

Private Attributes

sal_uInt8 maRawData [512]
 
std::vector< EntrymaEntries
 
tools::Long m_nItemSize
 
tools::Long m_nFilePos
 
sal_uInt8 mnIdx
 
ePLCFT m_ePLCF
 
sal_uInt8 mnIMax
 
int mnMustRemainCached
 
wwSprmParser maSprmParser
 

Detailed Description

Definition at line 502 of file ww8scan.hxx.

Constructor & Destructor Documentation

◆ WW8Fkp()

WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp ( const WW8Fib rFib,
SvStream pFKPStrm,
SvStream pDataStrm,
tools::Long  _nFilePos,
tools::Long  nItemSiz,
ePLCFT  ePl,
WW8_FC  nStartFc 
)

Member Function Documentation

◆ advance()

void WW8PLCFx_Fc_FKP::WW8Fkp::advance ( )
inline

Definition at line 553 of file ww8scan.hxx.

References mnIdx, and mnIMax.

Referenced by WW8PLCFx_Fc_FKP::advance().

◆ DecMustRemainCache()

void WW8PLCFx_Fc_FKP::WW8Fkp::DecMustRemainCache ( )
inline

Definition at line 580 of file ww8scan.hxx.

References mnMustRemainCached.

Referenced by WW8PLCFx_Cp_FKP::Restore().

◆ FillEntry()

void WW8PLCFx_Fc_FKP::WW8Fkp::FillEntry ( Entry rEntry,
std::size_t  nDataOffset,
sal_uInt16  nLen 
)
private

◆ Get()

sal_uInt8 * WW8PLCFx_Fc_FKP::WW8Fkp::Get ( WW8_FC rStart,
WW8_FC rEnd,
sal_Int32 &  rLen 
) const

Definition at line 2948 of file ww8scan.cxx.

References GetLenAndIStdAndSprms(), maEntries, mnIdx, mnIMax, and WW8_FC_MAX.

Referenced by WW8PLCFx_Fc_FKP::GetSprmsAndPos().

◆ GetFilePos()

tools::Long WW8PLCFx_Fc_FKP::WW8Fkp::GetFilePos ( ) const
inline

Definition at line 545 of file ww8scan.hxx.

References m_nFilePos.

Referenced by WW8PLCFx_Fc_FKP::NewFkp(), and WW8PLCFx_Fc_FKP::SeekPos().

◆ GetIdx()

sal_uInt8 WW8PLCFx_Fc_FKP::WW8Fkp::GetIdx ( ) const
inline

Definition at line 546 of file ww8scan.hxx.

References mnIdx.

Referenced by WW8PLCFx_Fc_FKP::GetIdx().

◆ GetIstd()

sal_uInt16 WW8PLCFx_Fc_FKP::WW8Fkp::GetIstd ( ) const
inline

Definition at line 559 of file ww8scan.hxx.

References maEntries, and mnIdx.

Referenced by WW8PLCFx_Fc_FKP::GetIstd().

◆ GetLenAndIStdAndSprms()

sal_uInt8 * WW8PLCFx_Fc_FKP::WW8Fkp::GetLenAndIStdAndSprms ( sal_Int32 &  rLen) const

Definition at line 2974 of file ww8scan.cxx.

References maEntries, and mnIdx.

Referenced by Get(), HasSprm(), and WW8Fkp().

◆ GetSprmParser()

const wwSprmParser & WW8PLCFx_Fc_FKP::WW8Fkp::GetSprmParser ( ) const
inline

Definition at line 576 of file ww8scan.hxx.

References maSprmParser.

Referenced by WW8PLCFx_Fc_FKP::HasSprm().

◆ HasSprm() [1/2]

SprmResult WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm ( sal_uInt16  nId,
bool  bFindFirst = true 
)

◆ HasSprm() [2/2]

void WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm ( sal_uInt16  nId,
std::vector< SprmResult > &  rResult 
)

◆ IncMustRemainCache()

void WW8PLCFx_Fc_FKP::WW8Fkp::IncMustRemainCache ( )
inline

Definition at line 578 of file ww8scan.hxx.

References mnMustRemainCached.

Referenced by WW8PLCFx_Cp_FKP::Save().

◆ IsMustRemainCache()

bool WW8PLCFx_Fc_FKP::WW8Fkp::IsMustRemainCache ( ) const
inline

Definition at line 579 of file ww8scan.hxx.

References mnMustRemainCached.

Referenced by WW8PLCFx_Fc_FKP::NewFkp().

◆ Reset()

void WW8PLCFx_Fc_FKP::WW8Fkp::Reset ( WW8_FC  nPos)

Definition at line 2909 of file ww8scan.cxx.

References SeekPos(), and SetIdx().

Referenced by WW8PLCFx_Fc_FKP::NewFkp().

◆ SeekPos()

bool WW8PLCFx_Fc_FKP::WW8Fkp::SeekPos ( WW8_FC  nFc)

Definition at line 2916 of file ww8scan.cxx.

References maEntries, mnIdx, mnIMax, and n.

Referenced by Reset(), WW8PLCFx_Fc_FKP::SeekPos(), and WW8Fkp().

◆ SetIdx()

void WW8PLCFx_Fc_FKP::WW8Fkp::SetIdx ( sal_uInt8  nI)

Definition at line 2966 of file ww8scan.cxx.

References mnIdx, and mnIMax.

Referenced by Reset(), and WW8PLCFx_Fc_FKP::SetIdx().

◆ Where()

WW8_FC WW8PLCFx_Fc_FKP::WW8Fkp::Where ( ) const
inline

Definition at line 549 of file ww8scan.hxx.

References maEntries, mnIdx, mnIMax, and WW8_FC_MAX.

Referenced by WW8PLCFx_Fc_FKP::advance(), and WW8PLCFx_Fc_FKP::Where().

Member Data Documentation

◆ m_ePLCF

ePLCFT WW8PLCFx_Fc_FKP::WW8Fkp::m_ePLCF
private

Definition at line 531 of file ww8scan.hxx.

Referenced by WW8PLCFx_Fc_FKP::NewFkp(), and WW8Fkp().

◆ m_nFilePos

tools::Long WW8PLCFx_Fc_FKP::WW8Fkp::m_nFilePos
private

Definition at line 529 of file ww8scan.hxx.

Referenced by GetFilePos(), and WW8Fkp().

◆ m_nItemSize

tools::Long WW8PLCFx_Fc_FKP::WW8Fkp::m_nItemSize
private

Definition at line 526 of file ww8scan.hxx.

Referenced by WW8Fkp().

◆ maEntries

std::vector<Entry> WW8PLCFx_Fc_FKP::WW8Fkp::maEntries
private

Definition at line 524 of file ww8scan.hxx.

Referenced by Get(), GetIstd(), GetLenAndIStdAndSprms(), SeekPos(), Where(), and WW8Fkp().

◆ maRawData

sal_uInt8 WW8PLCFx_Fc_FKP::WW8Fkp::maRawData[512]
private

Definition at line 523 of file ww8scan.hxx.

Referenced by FillEntry(), and WW8Fkp().

◆ maSprmParser

wwSprmParser WW8PLCFx_Fc_FKP::WW8Fkp::maSprmParser
private

Definition at line 535 of file ww8scan.hxx.

Referenced by GetSprmParser(), HasSprm(), and WW8Fkp().

◆ mnIdx

sal_uInt8 WW8PLCFx_Fc_FKP::WW8Fkp::mnIdx
private

◆ mnIMax

sal_uInt8 WW8PLCFx_Fc_FKP::WW8Fkp::mnIMax
private

Definition at line 532 of file ww8scan.hxx.

Referenced by advance(), Get(), HasSprm(), SeekPos(), SetIdx(), Where(), and WW8Fkp().

◆ mnMustRemainCached

int WW8PLCFx_Fc_FKP::WW8Fkp::mnMustRemainCached
private

Definition at line 533 of file ww8scan.hxx.

Referenced by DecMustRemainCache(), IncMustRemainCache(), and IsMustRemainCache().


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