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 tools::Long GetNoSprms (WW8_CP &rStart, WW8_CP &rEnd, sal_Int32 &rLen) override
 
virtual void advance () override
 
tools::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 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
 

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 m_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 789 of file ww8scan.hxx.

Constructor & Destructor Documentation

◆ WW8PLCFx_AtnBook() [1/2]

WW8PLCFx_AtnBook::WW8PLCFx_AtnBook ( const WW8PLCFx_AtnBook )
privatedelete

◆ WW8PLCFx_AtnBook() [2/2]

WW8PLCFx_AtnBook::WW8PLCFx_AtnBook ( SvStream pTableSt,
const WW8Fib rFib 
)

◆ ~WW8PLCFx_AtnBook()

WW8PLCFx_AtnBook::~WW8PLCFx_AtnBook ( )
overridevirtual

Definition at line 4561 of file ww8scan.cxx.

Member Function Documentation

◆ advance()

void WW8PLCFx_AtnBook::advance ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4626 of file ww8scan.cxx.

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

◆ getHandle()

tools::Long WW8PLCFx_AtnBook::getHandle ( ) const

Handle is the unique ID of an annotation mark.

Definition at line 4650 of file ww8scan.cxx.

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

◆ GetIdx()

sal_uInt32 WW8PLCFx_AtnBook::GetIdx ( ) const
overridevirtual

Implements WW8PLCFx.

Definition at line 4565 of file ww8scan.cxx.

References m_nIMax, and m_pBook.

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

◆ GetIdx2()

sal_uInt32 WW8PLCFx_AtnBook::GetIdx2 ( ) const
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4576 of file ww8scan.cxx.

References m_bIsEnd, m_nIMax, and m_pBook.

◆ getIsEnd()

bool WW8PLCFx_AtnBook::getIsEnd ( ) const

Definition at line 4666 of file ww8scan.cxx.

References m_bIsEnd.

◆ GetNoSprms()

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

Reimplemented from WW8PLCFx.

Definition at line 4610 of file ww8scan.cxx.

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

◆ operator=()

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

◆ SeekPos()

bool WW8PLCFx_AtnBook::SeekPos ( WW8_CP  nCpPos)
overridevirtual

Implements WW8PLCFx.

Definition at line 4593 of file ww8scan.cxx.

References m_bIsEnd, and m_pBook.

◆ SetIdx()

void WW8PLCFx_AtnBook::SetIdx ( sal_uInt32  nI)
overridevirtual

Implements WW8PLCFx.

Definition at line 4570 of file ww8scan.cxx.

References m_nIMax, and m_pBook.

◆ SetIdx2()

void WW8PLCFx_AtnBook::SetIdx2 ( sal_uInt32  nIdx)
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4584 of file ww8scan.cxx.

References m_bIsEnd, m_nIMax, and m_pBook.

◆ Where()

WW8_CP WW8PLCFx_AtnBook::Where ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4605 of file ww8scan.cxx.

References m_bIsEnd, m_pBook, and Where().

Referenced by Where().

Member Data Documentation

◆ m_bIsEnd

bool WW8PLCFx_AtnBook::m_bIsEnd
private

Definition at line 796 of file ww8scan.hxx.

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

◆ m_nIMax

sal_Int32 WW8PLCFx_AtnBook::m_nIMax
private

Number of annotation marks.

Definition at line 795 of file ww8scan.hxx.

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

◆ m_pBook

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

Start and end positions.

Definition at line 793 of file ww8scan.hxx.

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


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