LibreOffice Module sw (master) 1
|
Iterator for Booknotes. More...
#include <ww8scan.hxx>
Public Member Functions | |
WW8PLCFx_Book (SvStream *pTableSt, const WW8Fib &rFib) | |
virtual | ~WW8PLCFx_Book () override |
tools::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 tools::Long | GetNoSprms (WW8_CP &rStart, WW8_CP &rEnd, sal_Int32 &rLen) override |
virtual void | advance () override |
const OUString * | GetName () const |
WW8_CP | GetStartPos () const |
tools::Long | GetLen () const |
bool | GetIsEnd () const |
tools::Long | GetHandle () const |
void | SetStatus (sal_uInt16 nIndex, eBookStatus eStat) |
void | MapName (OUString &rName) |
OUString | GetBookmark (tools::Long nStart, tools::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 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 WW8Fib & | GetFIB () 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_Book & | operator= (const WW8PLCFx_Book &)=delete |
Private Attributes | |
std::unique_ptr< WW8PLCFspecial > | m_pBook [2] |
std::vector< OUString > | m_aBookNames |
std::vector< eBookStatus > | m_aStatus |
tools::Long | m_nIMax |
sal_uInt16 | m_nIsEnd |
sal_Int32 | m_nBookmarkId |
Iterator for Booknotes.
Definition at line 750 of file ww8scan.hxx.
|
privatedelete |
Definition at line 4282 of file ww8scan.cxx.
References WW8Fib::GetFIBCharset(), GetIMax(), m_aBookNames, m_aStatus, WW8Fib::m_chseTables, WW8Fib::m_fcPlcfbkf, WW8Fib::m_fcPlcfbkl, WW8Fib::m_fcSttbfbkmk, WW8Fib::m_lcbPlcfbkf, WW8Fib::m_lcbPlcfbkl, WW8Fib::m_lcbSttbfbkmk, WW8Fib::m_lid, m_nIMax, WW8Fib::m_nVersion, m_pBook, and WW8ReadSTTBF().
|
overridevirtual |
Definition at line 4311 of file ww8scan.cxx.
|
overridevirtual |
OUString WW8PLCFx_Book::GetBookmark | ( | tools::Long | nStart, |
tools::Long | nEnd, | ||
sal_uInt16 & | nIndex | ||
) |
Definition at line 4462 of file ww8scan.cxx.
References GetData, i, m_aBookNames, m_pBook, nIndex, and p.
Referenced by SwWW8ImplReader::Read_F_FormCheckBox(), SwWW8ImplReader::Read_F_FormListBox(), and SwWW8ImplReader::Read_F_FormTextBox().
tools::Long WW8PLCFx_Book::GetHandle | ( | ) | const |
Definition at line 4446 of file ww8scan.cxx.
References GetData, GetIdx(), LONG_MAX, m_nIsEnd, m_pBook, and p.
Referenced by GetStatus(), and SwWW8ImplReader::Read_Book().
|
overridevirtual |
Implements WW8PLCFx.
Definition at line 4315 of file ww8scan.cxx.
References m_nIMax, and m_pBook.
Referenced by advance(), GetHandle(), GetName(), and GetNoSprms().
|
overridevirtual |
|
inline |
|
inline |
Definition at line 779 of file ww8scan.hxx.
References m_nIsEnd.
Referenced by SwWW8ImplReader::Read_Book().
tools::Long WW8PLCFx_Book::GetLen | ( | ) | const |
Definition at line 4410 of file ww8scan.cxx.
References Get(), m_nIsEnd, m_pBook, and p.
Referenced by SwWW8ImplReader::Read_Book().
const OUString * WW8PLCFx_Book::GetName | ( | ) | const |
Definition at line 4534 of file ww8scan.cxx.
References GetIdx(), m_aBookNames, m_nIMax, m_nIsEnd, and m_pBook.
Referenced by SwWW8ImplReader::Read_Book().
|
overridevirtual |
Reimplemented from WW8PLCFx.
Definition at line 4357 of file ww8scan.cxx.
References Get(), GetIdx(), m_nIMax, m_nIsEnd, m_pBook, pData, and WW8_CP_MAX.
|
inline |
Definition at line 776 of file ww8scan.hxx.
References m_nIsEnd, m_pBook, and WW8_CP_MAX.
Referenced by SwWW8ImplReader::Read_Book().
eBookStatus WW8PLCFx_Book::GetStatus | ( | ) | const |
Definition at line 4438 of file ww8scan.cxx.
References BOOK_NORMAL, GetHandle(), m_aStatus, and m_nIMax.
Referenced by SwWW8ImplReader::Read_Book().
OUString WW8PLCFx_Book::GetUniqueBookmarkName | ( | const OUString & | rSuggestedName | ) |
Definition at line 4496 of file ww8scan.cxx.
References i, m_aBookNames, m_nBookmarkId, and p.
Referenced by SwWW8ImplReader::Read_F_FormCheckBox(), SwWW8ImplReader::Read_F_FormListBox(), and SwWW8ImplReader::Read_F_FormTextBox().
void WW8PLCFx_Book::MapName | ( | OUString & | rName | ) |
Definition at line 4517 of file ww8scan.cxx.
References i, m_aBookNames, and m_pBook.
|
privatedelete |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
void WW8PLCFx_Book::SetStatus | ( | sal_uInt16 | nIndex, |
eBookStatus | eStat | ||
) |
Definition at line 4430 of file ww8scan.cxx.
References m_aStatus, m_nIMax, nIndex, and SAL_WARN_IF.
Referenced by SwWW8ImplReader::Read_F_FormCheckBox(), SwWW8ImplReader::Read_F_FormListBox(), and SwWW8ImplReader::Read_F_FormTextBox().
|
overridevirtual |
|
private |
Definition at line 754 of file ww8scan.hxx.
Referenced by GetBookmark(), GetName(), GetUniqueBookmarkName(), MapName(), and WW8PLCFx_Book().
|
private |
Definition at line 755 of file ww8scan.hxx.
Referenced by GetStatus(), SetStatus(), and WW8PLCFx_Book().
|
private |
Definition at line 758 of file ww8scan.hxx.
Referenced by GetUniqueBookmarkName().
|
private |
Definition at line 756 of file ww8scan.hxx.
Referenced by advance(), GetIdx(), GetIdx2(), GetIMax(), GetName(), GetNoSprms(), GetStatus(), SetIdx(), SetIdx2(), SetStatus(), and WW8PLCFx_Book().
|
private |
Definition at line 757 of file ww8scan.hxx.
Referenced by advance(), GetHandle(), GetIdx2(), GetIsEnd(), GetLen(), GetName(), GetNoSprms(), GetStartPos(), SeekPos(), SetIdx2(), and Where().
|
private |
Definition at line 753 of file ww8scan.hxx.
Referenced by advance(), GetBookmark(), GetHandle(), GetIdx(), GetIdx2(), GetLen(), GetName(), GetNoSprms(), GetStartPos(), MapName(), SeekPos(), SetIdx(), SetIdx2(), Where(), and WW8PLCFx_Book().