LibreOffice Module sw (master) 1
|
#include <ww8scan.hxx>
Classes | |
class | Entry |
Public Member Functions | |
WW8Fkp (const WW8Fib &rFib, SvStream *pFKPStrm, SvStream *pDataStrm, tools::Long _nFilePos, tools::Long nItemSiz, ePLCFT ePl, WW8_FC nStartFc) | |
void | Reset (WW8_FC nPos) |
tools::Long | GetFilePos () const |
sal_uInt8 | GetIdx () const |
void | SetIdx (sal_uInt8 nI) |
bool | SeekPos (WW8_FC nFc) |
WW8_FC | Where () const |
void | advance () |
sal_uInt8 * | Get (WW8_FC &rStart, WW8_FC &rEnd, sal_Int32 &rLen) const |
sal_uInt16 | GetIstd () const |
sal_uInt8 * | GetLenAndIStdAndSprms (sal_Int32 &rLen) const |
SprmResult | HasSprm (sal_uInt16 nId, bool bFindFirst=true) |
void | HasSprm (sal_uInt16 nId, std::vector< SprmResult > &rResult) |
const wwSprmParser & | GetSprmParser () const |
void | IncMustRemainCache () |
bool | IsMustRemainCache () const |
void | DecMustRemainCache () |
Private Member Functions | |
void | FillEntry (Entry &rEntry, std::size_t nDataOffset, sal_uInt16 nLen) |
Private Attributes | |
sal_uInt8 | maRawData [512] |
std::vector< Entry > | maEntries |
tools::Long | m_nItemSize |
tools::Long | m_nFilePos |
sal_uInt8 | mnIdx |
ePLCFT | m_ePLCF |
sal_uInt8 | mnIMax |
int | mnMustRemainCached |
wwSprmParser | maSprmParser |
Definition at line 502 of file ww8scan.hxx.
WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp | ( | const WW8Fib & | rFib, |
SvStream * | pFKPStrm, | ||
SvStream * | pDataStrm, | ||
tools::Long | _nFilePos, | ||
tools::Long | nItemSiz, | ||
ePLCFT | ePl, | ||
WW8_FC | nStartFc | ||
) |
Definition at line 2656 of file ww8scan.cxx.
References WW8SprmIter::advance(), checkRead(), checkSeek(), CHP, ChpxToSprms(), ww::eWW2, FillEntry(), Get_Long(), WW8SprmIter::GetCurrentId(), WW8Fib::GetFIBVersion(), GetLenAndIStdAndSprms(), wwSprmParser::GetSprmId(), WW8SprmIter::GetSprms(), ww::IsEightPlus(), IsExpandableSprm(), IsReplaceAllSprm(), m_ePLCF, m_nFilePos, m_nItemSize, maEntries, maRawData, maSprmParser, WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mbMustDelete, mnIdx, mnIdx, mnIMax, WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mnIStd, WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mnLen, WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mpData, nPos, PAP, SvStream::ReadBytes(), SvStream::ReadUInt16(), ReadWord2Chpx(), SvStream::remainingSize(), SvStream::Seek(), SeekPos(), and SvStream::Tell().
Referenced by WW8PLCFx_Fc_FKP::NewFkp().
|
inline |
Definition at line 553 of file ww8scan.hxx.
Referenced by WW8PLCFx_Fc_FKP::advance().
|
inline |
Definition at line 580 of file ww8scan.hxx.
References mnMustRemainCached.
Referenced by WW8PLCFx_Cp_FKP::Restore().
|
private |
Definition at line 2637 of file ww8scan.cxx.
References maRawData, min(), WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mnLen, and WW8PLCFx_Fc_FKP::WW8Fkp::Entry::mpData.
Referenced by WW8Fkp().
Definition at line 2948 of file ww8scan.cxx.
References GetLenAndIStdAndSprms(), maEntries, mnIdx, mnIMax, and WW8_FC_MAX.
Referenced by WW8PLCFx_Fc_FKP::GetSprmsAndPos().
|
inline |
Definition at line 545 of file ww8scan.hxx.
References m_nFilePos.
Referenced by WW8PLCFx_Fc_FKP::NewFkp(), and WW8PLCFx_Fc_FKP::SeekPos().
|
inline |
Definition at line 546 of file ww8scan.hxx.
References mnIdx.
Referenced by WW8PLCFx_Fc_FKP::GetIdx().
|
inline |
Definition at line 559 of file ww8scan.hxx.
References maEntries, and mnIdx.
Referenced by WW8PLCFx_Fc_FKP::GetIstd().
sal_uInt8 * WW8PLCFx_Fc_FKP::WW8Fkp::GetLenAndIStdAndSprms | ( | sal_Int32 & | rLen | ) | const |
|
inline |
Definition at line 576 of file ww8scan.hxx.
References maSprmParser.
Referenced by WW8PLCFx_Fc_FKP::HasSprm().
SprmResult WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm | ( | sal_uInt16 | nId, |
bool | bFindFirst = true |
||
) |
Definition at line 2980 of file ww8scan.cxx.
References WW8SprmIter::FindSprm(), GetLenAndIStdAndSprms(), maSprmParser, mnIdx, mnIMax, and nId.
Referenced by WW8PLCFx_Fc_FKP::HasSprm().
void WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm | ( | sal_uInt16 | nId, |
std::vector< SprmResult > & | rResult | ||
) |
Definition at line 2992 of file ww8scan.cxx.
References WW8SprmIter::advance(), wwSprmParser::DistanceToData(), WW8SprmIter::GetCurrentId(), WW8SprmIter::GetCurrentParams(), GetLenAndIStdAndSprms(), WW8SprmIter::GetRemLen(), WW8SprmIter::GetSprms(), wwSprmParser::GetSprmSize(), maSprmParser, mnIdx, mnIMax, and nId.
|
inline |
Definition at line 578 of file ww8scan.hxx.
References mnMustRemainCached.
Referenced by WW8PLCFx_Cp_FKP::Save().
|
inline |
Definition at line 579 of file ww8scan.hxx.
References mnMustRemainCached.
Referenced by WW8PLCFx_Fc_FKP::NewFkp().
void WW8PLCFx_Fc_FKP::WW8Fkp::Reset | ( | WW8_FC | nPos | ) |
Definition at line 2909 of file ww8scan.cxx.
References SeekPos(), and SetIdx().
Referenced by WW8PLCFx_Fc_FKP::NewFkp().
bool WW8PLCFx_Fc_FKP::WW8Fkp::SeekPos | ( | WW8_FC | nFc | ) |
Definition at line 2916 of file ww8scan.cxx.
References maEntries, mnIdx, mnIMax, and n.
Referenced by Reset(), WW8PLCFx_Fc_FKP::SeekPos(), and WW8Fkp().
void WW8PLCFx_Fc_FKP::WW8Fkp::SetIdx | ( | sal_uInt8 | nI | ) |
Definition at line 2966 of file ww8scan.cxx.
Referenced by Reset(), and WW8PLCFx_Fc_FKP::SetIdx().
|
inline |
Definition at line 549 of file ww8scan.hxx.
References maEntries, mnIdx, mnIMax, and WW8_FC_MAX.
Referenced by WW8PLCFx_Fc_FKP::advance(), and WW8PLCFx_Fc_FKP::Where().
|
private |
Definition at line 531 of file ww8scan.hxx.
Referenced by WW8PLCFx_Fc_FKP::NewFkp(), and WW8Fkp().
|
private |
Definition at line 529 of file ww8scan.hxx.
Referenced by GetFilePos(), and WW8Fkp().
|
private |
Definition at line 526 of file ww8scan.hxx.
Referenced by WW8Fkp().
|
private |
Definition at line 524 of file ww8scan.hxx.
Referenced by Get(), GetIstd(), GetLenAndIStdAndSprms(), SeekPos(), Where(), and WW8Fkp().
|
private |
Definition at line 523 of file ww8scan.hxx.
Referenced by FillEntry(), and WW8Fkp().
|
private |
Definition at line 535 of file ww8scan.hxx.
Referenced by GetSprmParser(), HasSprm(), and WW8Fkp().
|
private |
|
private |
|
private |
Definition at line 533 of file ww8scan.hxx.
Referenced by DecMustRemainCache(), IncMustRemainCache(), and IsMustRemainCache().