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

Handles the import of PlcfBkfFactoid and PlcfBklFactoid: start / end position of factoids. More...

#include <ww8scan.hxx>

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

Public Member Functions

 WW8PLCFx_FactoidBook (SvStream *pTableSt, const WW8Fib &rFib)
 
virtual ~WW8PLCFx_FactoidBook () override
 
virtual sal_uInt32 GetIdx () const override
 
virtual void SetIdx (sal_uInt32 nI) override
 
virtual sal_uInt32 GetIdx2 () const override
 
virtual void SetIdx2 (sal_uInt32 nIdx) override
 
virtual bool SeekPos (WW8_CP nCpPos) override
 
virtual WW8_CP Where () override
 
virtual long GetNoSprms (WW8_CP &rStart, WW8_CP &rEnd, sal_Int32 &rLen) override
 
virtual void advance () override
 
long getHandle () const
 Handle is the unique ID of a factoid mark. More...
 
bool getIsEnd () const
 
- Public Member Functions inherited from WW8PLCFx
 WW8PLCFx (const WW8Fib &rFib, bool bSprm)
 
virtual ~WW8PLCFx ()
 
bool IsSprm () const
 
virtual void GetSprms (WW8PLCFxDesc *p)
 
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
 

Private Member Functions

 WW8PLCFx_FactoidBook (const WW8PLCFx_FactoidBook &)=delete
 
WW8PLCFx_FactoidBookoperator= (const WW8PLCFx_FactoidBook &)=delete
 

Private Attributes

std::unique_ptr< WW8PLCFspecialm_pBook [2]
 Start and end positions. More...
 
sal_Int32 m_nIMax
 Number of factoid marks. More...
 
bool m_bIsEnd
 

Detailed Description

Handles the import of PlcfBkfFactoid and PlcfBklFactoid: start / end position of factoids.

Definition at line 812 of file ww8scan.hxx.

Constructor & Destructor Documentation

WW8PLCFx_FactoidBook::WW8PLCFx_FactoidBook ( const WW8PLCFx_FactoidBook )
privatedelete
WW8PLCFx_FactoidBook::WW8PLCFx_FactoidBook ( SvStream pTableSt,
const WW8Fib rFib 
)
WW8PLCFx_FactoidBook::~WW8PLCFx_FactoidBook ( )
overridevirtual

Definition at line 4655 of file ww8scan.cxx.

Member Function Documentation

void WW8PLCFx_FactoidBook::advance ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4720 of file ww8scan.cxx.

References GetIdx(), m_bIsEnd, m_nIMax, and m_pBook.

long WW8PLCFx_FactoidBook::getHandle ( ) const

Handle is the unique ID of a factoid mark.

Definition at line 4744 of file ww8scan.cxx.

References GetData, GetIdx(), LONG_MAX, m_bIsEnd, and m_pBook.

sal_uInt32 WW8PLCFx_FactoidBook::GetIdx ( ) const
overridevirtual

Implements WW8PLCFx.

Definition at line 4659 of file ww8scan.cxx.

References m_nIMax, and m_pBook.

Referenced by advance(), getHandle(), and GetNoSprms().

sal_uInt32 WW8PLCFx_FactoidBook::GetIdx2 ( ) const
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4670 of file ww8scan.cxx.

References m_bIsEnd, m_nIMax, and m_pBook.

bool WW8PLCFx_FactoidBook::getIsEnd ( ) const

Definition at line 4760 of file ww8scan.cxx.

References m_bIsEnd.

long WW8PLCFx_FactoidBook::GetNoSprms ( WW8_CP rStart,
WW8_CP rEnd,
sal_Int32 &  rLen 
)
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4704 of file ww8scan.cxx.

References GetIdx(), m_bIsEnd, m_nIMax, m_pBook, void(), and WW8_CP_MAX.

WW8PLCFx_FactoidBook& WW8PLCFx_FactoidBook::operator= ( const WW8PLCFx_FactoidBook )
privatedelete
bool WW8PLCFx_FactoidBook::SeekPos ( WW8_CP  nCpPos)
overridevirtual

Implements WW8PLCFx.

Definition at line 4687 of file ww8scan.cxx.

References m_bIsEnd, and m_pBook.

void WW8PLCFx_FactoidBook::SetIdx ( sal_uInt32  nI)
overridevirtual

Implements WW8PLCFx.

Definition at line 4664 of file ww8scan.cxx.

References m_nIMax, and m_pBook.

void WW8PLCFx_FactoidBook::SetIdx2 ( sal_uInt32  nIdx)
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4678 of file ww8scan.cxx.

References m_bIsEnd, m_nIMax, and m_pBook.

WW8_CP WW8PLCFx_FactoidBook::Where ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4699 of file ww8scan.cxx.

References m_bIsEnd, and m_pBook.

Member Data Documentation

bool WW8PLCFx_FactoidBook::m_bIsEnd
private

Definition at line 819 of file ww8scan.hxx.

Referenced by advance(), getHandle(), GetIdx2(), getIsEnd(), GetNoSprms(), SeekPos(), SetIdx2(), and Where().

sal_Int32 WW8PLCFx_FactoidBook::m_nIMax
private

Number of factoid marks.

Definition at line 818 of file ww8scan.hxx.

Referenced by advance(), GetIdx(), GetIdx2(), GetNoSprms(), SetIdx(), SetIdx2(), and WW8PLCFx_FactoidBook().

std::unique_ptr<WW8PLCFspecial> WW8PLCFx_FactoidBook::m_pBook[2]
private

Start and end positions.

Definition at line 816 of file ww8scan.hxx.

Referenced by advance(), getHandle(), GetIdx(), GetIdx2(), GetNoSprms(), SeekPos(), SetIdx(), SetIdx2(), Where(), and WW8PLCFx_FactoidBook().


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