LibreOffice Module sw (master) 1
|
Iterator for Piece Table Exceptions of Fkps works only with FCs, not with CPs ! ( Low-Level ) More...
#include <ww8scan.hxx>
Classes | |
class | WW8Fkp |
Public Member Functions | |
WW8PLCFx_Fc_FKP (SvStream *pSt, SvStream *pTableSt, SvStream *pDataSt, const WW8Fib &rFib, ePLCFT ePl, WW8_FC nStartFcL) | |
virtual | ~WW8PLCFx_Fc_FKP () override |
virtual sal_uInt32 | GetIdx () const override |
virtual void | SetIdx (sal_uInt32 nIdx) override |
virtual bool | SeekPos (WW8_FC nFcPos) override |
virtual WW8_FC | Where () override |
sal_uInt8 * | GetSprmsAndPos (WW8_FC &rStart, WW8_FC &rEnd, sal_Int32 &rLen) |
virtual void | advance () override |
virtual sal_uInt16 | GetIstd () const override |
void | GetPCDSprms (WW8PLCFxDesc &rDesc) |
SprmResult | HasSprm (sal_uInt16 nId, bool bFindFirst=true) |
void | HasSprm (sal_uInt16 nId, std::vector< SprmResult > &rResult) |
bool | HasFkp () 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 WW8Fib & | GetFIB () const |
void | SetStartFc (WW8_FC nFc) |
WW8_FC | GetStartFc () const |
void | SetDirty (bool bIn) |
bool | GetDirty () const |
Protected Attributes | |
WW8Fkp * | m_pFkp |
ePLCFT | m_ePLCF |
std::unique_ptr< WW8PLCFx_PCDAttrs > | m_pPCDAttrs |
Private Types | |
enum | Limits { eMaxCache = 50000 } |
Private Member Functions | |
bool | NewFkp () |
WW8PLCFx_Fc_FKP (const WW8PLCFx_Fc_FKP &)=delete | |
WW8PLCFx_Fc_FKP & | operator= (const WW8PLCFx_Fc_FKP &)=delete |
Private Attributes | |
SvStream * | m_pFKPStrm |
SvStream * | m_pDataStrm |
std::unique_ptr< WW8PLCF > | m_pPLCF |
std::deque< std::unique_ptr< WW8Fkp > > | maFkpCache |
Iterator for Piece Table Exceptions of Fkps works only with FCs, not with CPs ! ( Low-Level )
Definition at line 499 of file ww8scan.hxx.
|
private |
Enumerator | |
---|---|
eMaxCache |
Definition at line 604 of file ww8scan.hxx.
|
privatedelete |
WW8PLCFx_Fc_FKP::WW8PLCFx_Fc_FKP | ( | SvStream * | pSt, |
SvStream * | pTableSt, | ||
SvStream * | pDataSt, | ||
const WW8Fib & | rFib, | ||
ePLCFT | ePl, | ||
WW8_FC | nStartFcL | ||
) |
Definition at line 3141 of file ww8scan.cxx.
References CHP, WW8PLCFx::GetStartFc(), WW8Fib::m_cpnBteChp, WW8Fib::m_cpnBtePap, WW8Fib::m_fcPlcfbteChpx, WW8Fib::m_fcPlcfbtePapx, WW8Fib::m_lcbPlcfbteChpx, WW8Fib::m_lcbPlcfbtePapx, WW8Fib::m_nVersion, WW8Fib::m_pnChpFirst, WW8Fib::m_pnPapFirst, m_pPLCF, and WW8PLCFx::SetStartFc().
|
overridevirtual |
Definition at line 3160 of file ww8scan.cxx.
References m_pPCDAttrs, m_pPLCF, and maFkpCache.
|
overridevirtual |
Implements WW8PLCFx.
Reimplemented in WW8PLCFx_Cp_FKP.
Definition at line 3246 of file ww8scan.cxx.
References WW8PLCFx_Fc_FKP::WW8Fkp::advance(), m_pFkp, NewFkp(), WW8PLCFx_Fc_FKP::WW8Fkp::Where(), and WW8_FC_MAX.
Referenced by WW8PLCFx_Cp_FKP::advance().
|
overridevirtual |
Implements WW8PLCFx.
Definition at line 3167 of file ww8scan.cxx.
References WW8PLCFx_Fc_FKP::WW8Fkp::GetIdx(), m_pFkp, m_pPLCF, and u.
|
overridevirtual |
Reimplemented from WW8PLCFx.
Definition at line 3259 of file ww8scan.cxx.
References WW8PLCFx_Fc_FKP::WW8Fkp::GetIstd(), and m_pFkp.
Referenced by WW8FlyPara::ReadFull().
void WW8PLCFx_Fc_FKP::GetPCDSprms | ( | WW8PLCFxDesc & | rDesc | ) |
Definition at line 3264 of file ww8scan.cxx.
References m_pFkp, m_pPCDAttrs, NewFkp(), WW8PLCFxDesc::nSprmsLen, and WW8PLCFxDesc::pMemPos.
Referenced by HasSprm(), SwWW8ImplReader::InsertTxbxText(), and WW8TabDesc::WW8TabDesc().
Definition at line 3229 of file ww8scan.cxx.
References WW8PLCFx_Fc_FKP::WW8Fkp::Get(), m_pFkp, NewFkp(), and WW8_FC_MAX.
Referenced by WW8PLCFx_Cp_FKP::advance(), and WW8PLCFx_Cp_FKP::GetSprms().
|
inline |
Definition at line 629 of file ww8scan.hxx.
References m_pFkp.
Referenced by SwWW8ImplReader::SearchRowEnd(), and WW8TabDesc::WW8TabDesc().
SprmResult WW8PLCFx_Fc_FKP::HasSprm | ( | sal_uInt16 | nId, |
bool | bFindFirst = true |
||
) |
Definition at line 3280 of file ww8scan.cxx.
References WW8SprmIter::FindSprm(), GetPCDSprms(), WW8PLCFx_Fc_FKP::WW8Fkp::GetSprmParser(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), m_pFkp, NewFkp(), nId, WW8PLCFxDesc::nSprmsLen, WW8PLCFxDesc::pMemPos, and SprmResult::pSprm.
Referenced by SwWW8ImplReader::IsDropCap(), lcl_HasExplicitLeft(), lcl_ReadBorders(), SwWW8ImplReader::ParseTabPos(), WW8FlyPara::Read(), WW8FlyPara::ReadFull(), SwWW8ImplReader::SearchRowEnd(), SetValSprm(), and WW8TabDesc::WW8TabDesc().
void WW8PLCFx_Fc_FKP::HasSprm | ( | sal_uInt16 | nId, |
std::vector< SprmResult > & | rResult | ||
) |
Definition at line 3312 of file ww8scan.cxx.
References WW8SprmIter::advance(), wwSprmParser::DistanceToData(), WW8SprmIter::GetCurrentId(), WW8SprmIter::GetCurrentParams(), GetPCDSprms(), WW8SprmIter::GetRemLen(), WW8PLCFx_Fc_FKP::WW8Fkp::GetSprmParser(), WW8SprmIter::GetSprms(), wwSprmParser::GetSprmSize(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), m_pFkp, NewFkp(), nId, WW8PLCFxDesc::nSprmsLen, and WW8PLCFxDesc::pMemPos.
|
private |
Definition at line 3061 of file ww8scan.cxx.
References eMaxCache, ww::eWW1, ww::eWW2, ww::eWW6, ww::eWW7, ww::eWW8, WW8PLCFx::GetFIB(), WW8PLCFx::GetFIBVersion(), WW8PLCFx_Fc_FKP::WW8Fkp::GetFilePos(), WW8PLCFx::GetStartFc(), WW8PLCFx_Fc_FKP::WW8Fkp::IsMustRemainCache(), WW8PLCFx_Fc_FKP::WW8Fkp::m_ePLCF, m_pDataStrm, m_pFkp, m_pFKPStrm, m_pPLCF, maFkpCache, PLCF_END, WW8PLCFx_Fc_FKP::WW8Fkp::Reset(), WW8PLCFx::SetStartFc(), and WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp().
Referenced by advance(), GetPCDSprms(), GetSprmsAndPos(), HasSprm(), SetIdx(), and Where().
|
privatedelete |
|
overridevirtual |
Implements WW8PLCFx.
Reimplemented in WW8PLCFx_Cp_FKP.
Definition at line 3194 of file ww8scan.cxx.
References WW8PLCFx_Fc_FKP::WW8Fkp::GetFilePos(), m_pFkp, m_pPLCF, WW8PLCFx_Fc_FKP::WW8Fkp::SeekPos(), and WW8PLCFx::SetStartFc().
Referenced by WW8PLCFx_Cp_FKP::SeekPos().
|
overridevirtual |
Implements WW8PLCFx.
Definition at line 3175 of file ww8scan.cxx.
References m_pFkp, m_pPLCF, NewFkp(), and WW8PLCFx_Fc_FKP::WW8Fkp::SetIdx().
|
overridevirtual |
Implements WW8PLCFx.
Reimplemented in WW8PLCFx_Cp_FKP.
Definition at line 3217 of file ww8scan.cxx.
References m_pFkp, NewFkp(), WW8PLCFx_Fc_FKP::WW8Fkp::Where(), Where(), and WW8_FC_MAX.
Referenced by Where(), and WW8PLCFx_Cp_FKP::Where().
|
protected |
Definition at line 612 of file ww8scan.hxx.
Referenced by WW8PLCFx_Cp_FKP::advance(), and WW8PLCFx_Cp_FKP::GetSprms().
|
private |
Definition at line 585 of file ww8scan.hxx.
Referenced by NewFkp().
|
protected |
Definition at line 588 of file ww8scan.hxx.
Referenced by advance(), GetIdx(), GetIstd(), GetPCDSprms(), GetSprmsAndPos(), HasFkp(), HasSprm(), NewFkp(), WW8PLCFx_Cp_FKP::Restore(), WW8PLCFx_Cp_FKP::Save(), SeekPos(), SetIdx(), and Where().
|
private |
Definition at line 584 of file ww8scan.hxx.
Referenced by NewFkp().
|
protected |
Definition at line 613 of file ww8scan.hxx.
Referenced by GetPCDSprms(), WW8PLCFx_Cp_FKP::SeekPos(), WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), and ~WW8PLCFx_Fc_FKP().
|
private |
Definition at line 586 of file ww8scan.hxx.
Referenced by GetIdx(), NewFkp(), SeekPos(), SetIdx(), WW8PLCFx_Fc_FKP(), and ~WW8PLCFx_Fc_FKP().
|
private |
Definition at line 603 of file ww8scan.hxx.
Referenced by NewFkp(), and ~WW8PLCFx_Fc_FKP().