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

Handles the import of PlcfAtnBkf and PlcfAtnBkl: start / end position of annotation marks. More...

#include <ww8scan.hxx>

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

Public Member Functions

 WW8PLCFx_AtnBook (SvStream *pTableSt, const WW8Fib &rFib)
 
virtual ~WW8PLCFx_AtnBook () 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 an annotation 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_AtnBook (const WW8PLCFx_AtnBook &)=delete
 
WW8PLCFx_AtnBookoperator= (const WW8PLCFx_AtnBook &)=delete
 

Private Attributes

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

Detailed Description

Handles the import of PlcfAtnBkf and PlcfAtnBkl: start / end position of annotation marks.

Definition at line 782 of file ww8scan.hxx.

Constructor & Destructor Documentation

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

Definition at line 4526 of file ww8scan.cxx.

Member Function Documentation

void WW8PLCFx_AtnBook::advance ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4591 of file ww8scan.cxx.

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

long WW8PLCFx_AtnBook::getHandle ( ) const

Handle is the unique ID of an annotation mark.

Definition at line 4615 of file ww8scan.cxx.

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

sal_uInt32 WW8PLCFx_AtnBook::GetIdx ( ) const
overridevirtual

Implements WW8PLCFx.

Definition at line 4530 of file ww8scan.cxx.

References m_pBook, and nIMax.

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

sal_uInt32 WW8PLCFx_AtnBook::GetIdx2 ( ) const
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4541 of file ww8scan.cxx.

References m_bIsEnd, m_pBook, and nIMax.

bool WW8PLCFx_AtnBook::getIsEnd ( ) const

Definition at line 4631 of file ww8scan.cxx.

References m_bIsEnd.

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

Reimplemented from WW8PLCFx.

Definition at line 4575 of file ww8scan.cxx.

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

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

Implements WW8PLCFx.

Definition at line 4558 of file ww8scan.cxx.

References m_bIsEnd, and m_pBook.

void WW8PLCFx_AtnBook::SetIdx ( sal_uInt32  nI)
overridevirtual

Implements WW8PLCFx.

Definition at line 4535 of file ww8scan.cxx.

References m_pBook, and nIMax.

void WW8PLCFx_AtnBook::SetIdx2 ( sal_uInt32  nIdx)
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4549 of file ww8scan.cxx.

References m_bIsEnd, m_pBook, and nIMax.

WW8_CP WW8PLCFx_AtnBook::Where ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4570 of file ww8scan.cxx.

References m_bIsEnd, and m_pBook.

Member Data Documentation

bool WW8PLCFx_AtnBook::m_bIsEnd
private

Definition at line 789 of file ww8scan.hxx.

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

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

Start and end positions.

Definition at line 786 of file ww8scan.hxx.

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

sal_Int32 WW8PLCFx_AtnBook::nIMax
private

Number of annotation marks.

Definition at line 788 of file ww8scan.hxx.

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


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