LibreOffice Module sw (master) 1
|
Iterator for Piece Table Exceptions of Sepx. More...
#include <ww8scan.hxx>
Public Member Functions | |
WW8PLCFx_SEPX (SvStream *pSt, SvStream *pTablexySt, const WW8Fib &rFib, WW8_CP nStartCp) | |
virtual | ~WW8PLCFx_SEPX () override |
virtual sal_uInt32 | GetIdx () const override |
virtual void | SetIdx (sal_uInt32 nIdx) override |
virtual bool | SeekPos (WW8_CP nCpPos) override |
virtual WW8_CP | Where () override |
virtual void | GetSprms (WW8PLCFxDesc *p) override |
virtual void | advance () override |
SprmResult | HasSprm (sal_uInt16 nId) const |
SprmResult | HasSprm (sal_uInt16 nId, sal_uInt8 n2nd) const |
SprmResult | HasSprm (sal_uInt16 nId, const sal_uInt8 *pOtherSprms, tools::Long nOtherSprmSiz) const |
bool | Find4Sprms (sal_uInt16 nId1, sal_uInt16 nId2, sal_uInt16 nId3, sal_uInt16 nId4, SprmResult &r1, SprmResult &r2, SprmResult &r3, SprmResult &r4) 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 |
Private Member Functions | |
WW8PLCFx_SEPX (const WW8PLCFx_SEPX &)=delete | |
WW8PLCFx_SEPX & | operator= (const WW8PLCFx_SEPX &)=delete |
Private Attributes | |
wwSprmParser | maSprmParser |
SvStream * | m_pStrm |
std::unique_ptr< WW8PLCF > | m_pPLCF |
std::unique_ptr< sal_uInt8[]> | m_pSprms |
sal_uInt16 | m_nArrMax |
sal_uInt16 | m_nSprmSiz |
Iterator for Piece Table Exceptions of Sepx.
Definition at line 663 of file ww8scan.hxx.
|
privatedelete |
WW8PLCFx_SEPX::WW8PLCFx_SEPX | ( | SvStream * | pSt, |
SvStream * | pTablexySt, | ||
const WW8Fib & | rFib, | ||
WW8_CP | nStartCp | ||
) |
Definition at line 3709 of file ww8scan.cxx.
References ww::eWW2, WW8PLCFx::GetFIBVersion(), WW8Fib::m_fcPlcfsed, WW8Fib::m_lcbPlcfsed, m_nArrMax, m_pPLCF, and m_pSprms.
|
overridevirtual |
Definition at line 3721 of file ww8scan.cxx.
|
overridevirtual |
bool WW8PLCFx_SEPX::Find4Sprms | ( | sal_uInt16 | nId1, |
sal_uInt16 | nId2, | ||
sal_uInt16 | nId3, | ||
sal_uInt16 | nId4, | ||
SprmResult & | r1, | ||
SprmResult & | r2, | ||
SprmResult & | r3, | ||
SprmResult & | r4 | ||
) | const |
Definition at line 3821 of file ww8scan.cxx.
References wwSprmParser::DistanceToData(), wwSprmParser::GetSprmId(), wwSprmParser::GetSprmSize(), i, m_nSprmSiz, m_pPLCF, m_pSprms, maSprmParser, wwSprmParser::MinSprmLen(), SAL_WARN, and x.
Referenced by lcl_ReadBorders().
|
overridevirtual |
|
overridevirtual |
Reimplemented from WW8PLCFx.
Definition at line 3745 of file ww8scan.cxx.
References checkSeek(), ww::eWW2, WW8PLCFx::GetFIBVersion(), m_nArrMax, m_nSprmSiz, m_pPLCF, m_pSprms, m_pStrm, p, pData, SvStream::ReadBytes(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::remainingSize(), and WW8_CP_MAX.
SprmResult WW8PLCFx_SEPX::HasSprm | ( | sal_uInt16 | nId | ) | const |
Definition at line 3804 of file ww8scan.cxx.
References HasSprm(), m_nSprmSiz, m_pSprms, and nId.
Referenced by wwSectionManager::CreateSep(), HasSprm(), ReadBSprm(), ReadSprm(), and ReadUSprm().
SprmResult WW8PLCFx_SEPX::HasSprm | ( | sal_uInt16 | nId, |
const sal_uInt8 * | pOtherSprms, | ||
tools::Long | nOtherSprmSiz | ||
) | const |
Definition at line 3809 of file ww8scan.cxx.
References WW8SprmIter::FindSprm(), m_pPLCF, maSprmParser, and nId.
SprmResult WW8PLCFx_SEPX::HasSprm | ( | sal_uInt16 | nId, |
sal_uInt8 | n2nd | ||
) | const |
Definition at line 3874 of file ww8scan.cxx.
References WW8SprmIter::FindSprm(), m_nSprmSiz, m_pPLCF, m_pSprms, maSprmParser, and nId.
|
privatedelete |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
private |
Definition at line 670 of file ww8scan.hxx.
Referenced by GetSprms(), and WW8PLCFx_SEPX().
|
private |
Definition at line 671 of file ww8scan.hxx.
Referenced by Find4Sprms(), GetSprms(), and HasSprm().
|
private |
Definition at line 668 of file ww8scan.hxx.
Referenced by advance(), Find4Sprms(), GetIdx(), GetSprms(), HasSprm(), SeekPos(), SetIdx(), Where(), and WW8PLCFx_SEPX().
|
private |
Definition at line 669 of file ww8scan.hxx.
Referenced by Find4Sprms(), GetSprms(), HasSprm(), and WW8PLCFx_SEPX().
|
private |
Definition at line 667 of file ww8scan.hxx.
Referenced by GetSprms().
|
private |
Definition at line 666 of file ww8scan.hxx.
Referenced by Find4Sprms(), and HasSprm().