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

Iterator for Piece Table Exceptions of Fkps works only with FCs, not with CPs ! ( Low-Level ) More...

#include <ww8scan.hxx>

Inheritance diagram for WW8PLCFx_Fc_FKP:
[legend]
Collaboration diagram for WW8PLCFx_Fc_FKP:
[legend]

Classes

class  WW8Fkp
 

Public Member Functions

 WW8PLCFx_Fc_FKP (SvStream *pSt, SvStream *pTableSt, SvStream *pDataSt, const WW8Fib &rFib, ePLCFT ePl, WW8_FC nStartFcL)
 
virtual ~WW8PLCFx_Fc_FKP () override
 
virtual sal_uInt32 GetIdx () const override
 
virtual void SetIdx (sal_uInt32 nIdx) override
 
virtual bool SeekPos (WW8_FC nFcPos) override
 
virtual WW8_FC Where () override
 
sal_uInt8GetSprmsAndPos (WW8_FC &rStart, WW8_FC &rEnd, sal_Int32 &rLen)
 
virtual void advance () override
 
virtual sal_uInt16 GetIstd () const override
 
void GetPCDSprms (WW8PLCFxDesc &rDesc)
 
SprmResult HasSprm (sal_uInt16 nId, bool bFindFirst=true)
 
void HasSprm (sal_uInt16 nId, std::vector< SprmResult > &rResult)
 
bool HasFkp () const
 
- Public Member Functions inherited from WW8PLCFx
 WW8PLCFx (const WW8Fib &rFib, bool bSprm)
 
virtual ~WW8PLCFx ()
 
bool IsSprm () const
 
virtual sal_uInt32 GetIdx () const =0
 
virtual void SetIdx (sal_uInt32 nIdx)=0
 
virtual sal_uInt32 GetIdx2 () const
 
virtual void SetIdx2 (sal_uInt32 nIdx)
 
virtual bool SeekPos (WW8_CP nCpPos)=0
 
virtual WW8_FC Where ()=0
 
virtual void GetSprms (WW8PLCFxDesc *p)
 
virtual tools::Long GetNoSprms (WW8_CP &rStart, WW8_CP &, sal_Int32 &rLen)
 
virtual void advance ()=0
 
virtual sal_uInt16 GetIstd () const
 
virtual void Save (WW8PLCFxSave1 &rSave) const
 
virtual void Restore (const WW8PLCFxSave1 &rSave)
 
ww::WordVersion GetFIBVersion () const
 
const WW8FibGetFIB () const
 
void SetStartFc (WW8_FC nFc)
 
WW8_FC GetStartFc () const
 
void SetDirty (bool bIn)
 
bool GetDirty () const
 

Protected Attributes

WW8Fkpm_pFkp
 
ePLCFT m_ePLCF
 
std::unique_ptr< WW8PLCFx_PCDAttrsm_pPCDAttrs
 

Private Types

enum  Limits { eMaxCache = 50000 }
 

Private Member Functions

bool NewFkp ()
 
 WW8PLCFx_Fc_FKP (const WW8PLCFx_Fc_FKP &)=delete
 
WW8PLCFx_Fc_FKPoperator= (const WW8PLCFx_Fc_FKP &)=delete
 

Private Attributes

SvStreamm_pFKPStrm
 
SvStreamm_pDataStrm
 
std::unique_ptr< WW8PLCFm_pPLCF
 
std::deque< std::unique_ptr< WW8Fkp > > maFkpCache
 

Detailed Description

Iterator for Piece Table Exceptions of Fkps works only with FCs, not with CPs ! ( Low-Level )

Definition at line 499 of file ww8scan.hxx.

Member Enumeration Documentation

◆ Limits

Enumerator
eMaxCache 

Definition at line 604 of file ww8scan.hxx.

Constructor & Destructor Documentation

◆ WW8PLCFx_Fc_FKP() [1/2]

WW8PLCFx_Fc_FKP::WW8PLCFx_Fc_FKP ( const WW8PLCFx_Fc_FKP )
privatedelete

◆ WW8PLCFx_Fc_FKP() [2/2]

WW8PLCFx_Fc_FKP::WW8PLCFx_Fc_FKP ( SvStream pSt,
SvStream pTableSt,
SvStream pDataSt,
const WW8Fib rFib,
ePLCFT  ePl,
WW8_FC  nStartFcL 
)

◆ ~WW8PLCFx_Fc_FKP()

WW8PLCFx_Fc_FKP::~WW8PLCFx_Fc_FKP ( )
overridevirtual

Definition at line 3160 of file ww8scan.cxx.

References m_pPCDAttrs, m_pPLCF, and maFkpCache.

Member Function Documentation

◆ advance()

void WW8PLCFx_Fc_FKP::advance ( )
overridevirtual

Implements WW8PLCFx.

Reimplemented in WW8PLCFx_Cp_FKP.

Definition at line 3246 of file ww8scan.cxx.

References WW8PLCFx_Fc_FKP::WW8Fkp::advance(), m_pFkp, NewFkp(), WW8PLCFx_Fc_FKP::WW8Fkp::Where(), and WW8_FC_MAX.

Referenced by WW8PLCFx_Cp_FKP::advance().

◆ GetIdx()

sal_uInt32 WW8PLCFx_Fc_FKP::GetIdx ( ) const
overridevirtual

Implements WW8PLCFx.

Definition at line 3167 of file ww8scan.cxx.

References WW8PLCFx_Fc_FKP::WW8Fkp::GetIdx(), m_pFkp, m_pPLCF, and u.

◆ GetIstd()

sal_uInt16 WW8PLCFx_Fc_FKP::GetIstd ( ) const
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 3259 of file ww8scan.cxx.

References WW8PLCFx_Fc_FKP::WW8Fkp::GetIstd(), and m_pFkp.

Referenced by WW8FlyPara::ReadFull().

◆ GetPCDSprms()

void WW8PLCFx_Fc_FKP::GetPCDSprms ( WW8PLCFxDesc rDesc)

◆ GetSprmsAndPos()

sal_uInt8 * WW8PLCFx_Fc_FKP::GetSprmsAndPos ( WW8_FC rStart,
WW8_FC rEnd,
sal_Int32 &  rLen 
)

◆ HasFkp()

bool WW8PLCFx_Fc_FKP::HasFkp ( ) const
inline

Definition at line 629 of file ww8scan.hxx.

References m_pFkp.

Referenced by SwWW8ImplReader::SearchRowEnd(), and WW8TabDesc::WW8TabDesc().

◆ HasSprm() [1/2]

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

◆ HasSprm() [2/2]

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

◆ NewFkp()

bool WW8PLCFx_Fc_FKP::NewFkp ( )
private

◆ operator=()

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

◆ SeekPos()

bool WW8PLCFx_Fc_FKP::SeekPos ( WW8_FC  nFcPos)
overridevirtual

◆ SetIdx()

void WW8PLCFx_Fc_FKP::SetIdx ( sal_uInt32  nIdx)
overridevirtual

Implements WW8PLCFx.

Definition at line 3175 of file ww8scan.cxx.

References m_pFkp, m_pPLCF, NewFkp(), and WW8PLCFx_Fc_FKP::WW8Fkp::SetIdx().

◆ Where()

WW8_FC WW8PLCFx_Fc_FKP::Where ( )
overridevirtual

Implements WW8PLCFx.

Reimplemented in WW8PLCFx_Cp_FKP.

Definition at line 3217 of file ww8scan.cxx.

References m_pFkp, NewFkp(), WW8PLCFx_Fc_FKP::WW8Fkp::Where(), Where(), and WW8_FC_MAX.

Referenced by Where(), and WW8PLCFx_Cp_FKP::Where().

Member Data Documentation

◆ m_ePLCF

ePLCFT WW8PLCFx_Fc_FKP::m_ePLCF
protected

Definition at line 612 of file ww8scan.hxx.

Referenced by WW8PLCFx_Cp_FKP::advance(), and WW8PLCFx_Cp_FKP::GetSprms().

◆ m_pDataStrm

SvStream* WW8PLCFx_Fc_FKP::m_pDataStrm
private

Definition at line 585 of file ww8scan.hxx.

Referenced by NewFkp().

◆ m_pFkp

WW8Fkp* WW8PLCFx_Fc_FKP::m_pFkp
protected

◆ m_pFKPStrm

SvStream* WW8PLCFx_Fc_FKP::m_pFKPStrm
private

Definition at line 584 of file ww8scan.hxx.

Referenced by NewFkp().

◆ m_pPCDAttrs

std::unique_ptr<WW8PLCFx_PCDAttrs> WW8PLCFx_Fc_FKP::m_pPCDAttrs
protected

◆ m_pPLCF

std::unique_ptr<WW8PLCF> WW8PLCFx_Fc_FKP::m_pPLCF
private

Definition at line 586 of file ww8scan.hxx.

Referenced by GetIdx(), NewFkp(), SeekPos(), SetIdx(), WW8PLCFx_Fc_FKP(), and ~WW8PLCFx_Fc_FKP().

◆ maFkpCache

std::deque<std::unique_ptr<WW8Fkp> > WW8PLCFx_Fc_FKP::maFkpCache
private

Definition at line 603 of file ww8scan.hxx.

Referenced by NewFkp(), and ~WW8PLCFx_Fc_FKP().


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