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

Iterator for Booknotes. More...

#include <ww8scan.hxx>

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

Public Member Functions

 WW8PLCFx_Book (SvStream *pTableSt, const WW8Fib &rFib)
 
virtual ~WW8PLCFx_Book () override
 
long GetIMax () const
 
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
 
const OUString * GetName () const
 
WW8_CP GetStartPos () const
 
long GetLen () const
 
bool GetIsEnd () const
 
long GetHandle () const
 
void SetStatus (sal_uInt16 nIndex, eBookStatus eStat)
 
void MapName (OUString &rName)
 
OUString GetBookmark (long nStart, long nEnd, sal_uInt16 &nIndex)
 
eBookStatus GetStatus () const
 
OUString GetUniqueBookmarkName (const OUString &rSuggestedName)
 
- 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_Book (const WW8PLCFx_Book &)=delete
 
WW8PLCFx_Bookoperator= (const WW8PLCFx_Book &)=delete
 

Private Attributes

std::unique_ptr< WW8PLCFspecialpBook [2]
 
std::vector< OUString > aBookNames
 
std::vector< eBookStatusaStatus
 
long nIMax
 
sal_uInt16 nIsEnd
 
sal_Int32 nBookmarkId
 

Detailed Description

Iterator for Booknotes.

Definition at line 743 of file ww8scan.hxx.

Constructor & Destructor Documentation

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

Definition at line 4277 of file ww8scan.cxx.

Member Function Documentation

void WW8PLCFx_Book::advance ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4352 of file ww8scan.cxx.

References GetIdx(), nIMax, nIsEnd, and pBook.

OUString WW8PLCFx_Book::GetBookmark ( long  nStart,
long  nEnd,
sal_uInt16 &  nIndex 
)
long WW8PLCFx_Book::GetHandle ( ) const

Definition at line 4412 of file ww8scan.cxx.

References GetData, GetIdx(), LONG_MAX, nIsEnd, and pBook.

Referenced by GetStatus(), and SwWW8ImplReader::Read_Book().

sal_uInt32 WW8PLCFx_Book::GetIdx ( ) const
overridevirtual

Implements WW8PLCFx.

Definition at line 4281 of file ww8scan.cxx.

References nIMax, and pBook.

Referenced by advance(), GetHandle(), GetName(), and GetNoSprms().

sal_uInt32 WW8PLCFx_Book::GetIdx2 ( ) const
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4292 of file ww8scan.cxx.

References nIMax, nIsEnd, and pBook.

long WW8PLCFx_Book::GetIMax ( ) const
inline

Definition at line 759 of file ww8scan.hxx.

References nIMax.

Referenced by WW8PLCFx_Book().

bool WW8PLCFx_Book::GetIsEnd ( ) const
inline

Definition at line 772 of file ww8scan.hxx.

Referenced by SwWW8ImplReader::Read_Book().

long WW8PLCFx_Book::GetLen ( ) const

Definition at line 4376 of file ww8scan.cxx.

References Get(), nIsEnd, and pBook.

Referenced by SwWW8ImplReader::Read_Book().

const OUString * WW8PLCFx_Book::GetName ( ) const

Definition at line 4500 of file ww8scan.cxx.

References aBookNames, GetIdx(), nIMax, nIsEnd, and pBook.

Referenced by SwWW8ImplReader::Read_Book().

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

Reimplemented from WW8PLCFx.

Definition at line 4323 of file ww8scan.cxx.

References Get(), GetIdx(), nIMax, nIsEnd, pBook, void(), and WW8_CP_MAX.

WW8_CP WW8PLCFx_Book::GetStartPos ( ) const
inline

Definition at line 769 of file ww8scan.hxx.

References WW8_CP_MAX.

Referenced by SwWW8ImplReader::Read_Book().

eBookStatus WW8PLCFx_Book::GetStatus ( ) const

Definition at line 4404 of file ww8scan.cxx.

References aStatus, BOOK_NORMAL, GetHandle(), and nIMax.

Referenced by SwWW8ImplReader::Read_Book().

OUString WW8PLCFx_Book::GetUniqueBookmarkName ( const OUString &  rSuggestedName)
void WW8PLCFx_Book::MapName ( OUString &  rName)

Definition at line 4483 of file ww8scan.cxx.

References aBookNames, i, and pBook.

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

Implements WW8PLCFx.

Definition at line 4306 of file ww8scan.cxx.

References nIsEnd, and pBook.

void WW8PLCFx_Book::SetIdx ( sal_uInt32  nI)
overridevirtual

Implements WW8PLCFx.

Definition at line 4286 of file ww8scan.cxx.

References nIMax, and pBook.

void WW8PLCFx_Book::SetIdx2 ( sal_uInt32  nIdx)
overridevirtual

Reimplemented from WW8PLCFx.

Definition at line 4297 of file ww8scan.cxx.

References nIMax, nIsEnd, and pBook.

void WW8PLCFx_Book::SetStatus ( sal_uInt16  nIndex,
eBookStatus  eStat 
)
WW8_CP WW8PLCFx_Book::Where ( )
overridevirtual

Implements WW8PLCFx.

Definition at line 4318 of file ww8scan.cxx.

References nIsEnd, and pBook.

Member Data Documentation

std::vector<OUString> WW8PLCFx_Book::aBookNames
private

Definition at line 747 of file ww8scan.hxx.

Referenced by GetBookmark(), GetName(), GetUniqueBookmarkName(), MapName(), and WW8PLCFx_Book().

std::vector<eBookStatus> WW8PLCFx_Book::aStatus
private

Definition at line 748 of file ww8scan.hxx.

Referenced by GetStatus(), SetStatus(), and WW8PLCFx_Book().

sal_Int32 WW8PLCFx_Book::nBookmarkId
private

Definition at line 751 of file ww8scan.hxx.

Referenced by GetUniqueBookmarkName().

long WW8PLCFx_Book::nIMax
private
sal_uInt16 WW8PLCFx_Book::nIsEnd
private

Definition at line 750 of file ww8scan.hxx.

Referenced by advance(), GetHandle(), GetIdx2(), GetLen(), GetName(), GetNoSprms(), SeekPos(), SetIdx2(), and Where().

std::unique_ptr<WW8PLCFspecial> WW8PLCFx_Book::pBook[2]
private

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