LibreOffice Module sw (master) 1
|
simple Iterator for SPRMs More...
#include <ww8scan.hxx>
Public Member Functions | |
WW8SprmIter (const sal_uInt8 *pSprms_, sal_Int32 nLen_, const wwSprmParser &rSprmParser) | |
void | SetSprms (const sal_uInt8 *pSprms_, sal_Int32 nLen_) |
SprmResult | FindSprm (sal_uInt16 nId, bool bFindFirst, const sal_uInt8 *pNextByteMatch=nullptr) |
void | advance () |
const sal_uInt8 * | GetSprms () const |
const sal_uInt8 * | GetCurrentParams () const |
sal_uInt16 | GetCurrentId () const |
sal_Int32 | GetRemLen () const |
Private Member Functions | |
void | UpdateMyMembers () |
WW8SprmIter (const WW8SprmIter &)=delete | |
WW8SprmIter & | operator= (const WW8SprmIter &)=delete |
Private Attributes | |
const wwSprmParser & | mrSprmParser |
const sal_uInt8 * | m_pSprms |
const sal_uInt8 * | m_pCurrentParams |
sal_uInt16 | m_nCurrentId |
sal_Int32 | m_nCurrentSize |
sal_Int32 | m_nRemLen |
simple Iterator for SPRMs
Definition at line 262 of file ww8scan.hxx.
|
explicit |
Definition at line 875 of file ww8scan.cxx.
References UpdateMyMembers().
|
privatedelete |
void WW8SprmIter::advance | ( | ) |
Definition at line 889 of file ww8scan.cxx.
References m_nCurrentSize, m_nRemLen, m_pSprms, and UpdateMyMembers().
Referenced by FindSprm(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), WW8RStyle::ImportSprms(), SwWW8ImplReader::InsertTxbxText(), WW8ListManager::ReadLVL(), WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(), and WW8TabDesc::WW8TabDesc().
SprmResult WW8SprmIter::FindSprm | ( | sal_uInt16 | nId, |
bool | bFindFirst, | ||
const sal_uInt8 * | pNextByteMatch = nullptr |
||
) |
Definition at line 924 of file ww8scan.cxx.
References advance(), wwSprmParser::DistanceToData(), GetCurrentId(), GetCurrentParams(), GetRemLen(), GetSprms(), wwSprmParser::GetSprmSize(), mrSprmParser, nId, SprmResult::nRemainingData, and SprmResult::pSprm.
Referenced by WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), and WW8PLCFx_SEPX::HasSprm().
|
inline |
Definition at line 285 of file ww8scan.hxx.
References m_nCurrentId.
Referenced by FindSprm(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), WW8RStyle::ImportSprms(), SwWW8ImplReader::InsertTxbxText(), WW8ListManager::ReadLVL(), WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(), and WW8TabDesc::WW8TabDesc().
|
inline |
Definition at line 284 of file ww8scan.hxx.
References m_pCurrentParams.
Referenced by FindSprm(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), SwWW8ImplReader::InsertTxbxText(), and WW8TabDesc::WW8TabDesc().
|
inline |
Definition at line 286 of file ww8scan.hxx.
References m_nRemLen.
Referenced by FindSprm(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), WW8RStyle::ImportSprms(), WW8ListManager::ReadLVL(), and WW8TabDesc::WW8TabDesc().
|
inline |
Definition at line 282 of file ww8scan.hxx.
References m_nRemLen, and m_pSprms.
Referenced by FindSprm(), WW8PLCFx_Fc_FKP::WW8Fkp::HasSprm(), WW8PLCFx_Fc_FKP::HasSprm(), WW8RStyle::ImportSprms(), SwWW8ImplReader::InsertTxbxText(), WW8ListManager::ReadLVL(), WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(), and WW8TabDesc::WW8TabDesc().
|
privatedelete |
void WW8SprmIter::SetSprms | ( | const sal_uInt8 * | pSprms_, |
sal_Int32 | nLen_ | ||
) |
Definition at line 882 of file ww8scan.cxx.
References m_nRemLen, m_pSprms, and UpdateMyMembers().
Referenced by SwWW8ImplReader::InsertTxbxText(), and WW8TabDesc::WW8TabDesc().
|
private |
Definition at line 902 of file ww8scan.cxx.
References wwSprmParser::DistanceToData(), wwSprmParser::GetSprmId(), wwSprmParser::GetSprmSize(), m_nCurrentId, m_nCurrentSize, m_nRemLen, m_pCurrentParams, m_pSprms, wwSprmParser::MinSprmLen(), mrSprmParser, and SAL_WARN_IF.
Referenced by advance(), SetSprms(), and WW8SprmIter().
|
private |
Definition at line 269 of file ww8scan.hxx.
Referenced by GetCurrentId(), and UpdateMyMembers().
|
private |
Definition at line 270 of file ww8scan.hxx.
Referenced by advance(), and UpdateMyMembers().
|
private |
Definition at line 272 of file ww8scan.hxx.
Referenced by advance(), GetRemLen(), GetSprms(), SetSprms(), and UpdateMyMembers().
|
private |
Definition at line 268 of file ww8scan.hxx.
Referenced by GetCurrentParams(), and UpdateMyMembers().
|
private |
Definition at line 267 of file ww8scan.hxx.
Referenced by advance(), GetSprms(), SetSprms(), and UpdateMyMembers().
|
private |
Definition at line 265 of file ww8scan.hxx.
Referenced by FindSprm(), and UpdateMyMembers().