LibreOffice Module sw (master) 1
|
#include <ww8scan.hxx>
Public Member Functions | |
WW8ScannerBase (SvStream *pSt, SvStream *pTableSt, SvStream *pDataSt, WW8Fib *pWwF) | |
~WW8ScannerBase () | |
bool | AreThereFootnotes () const |
bool | AreThereEndnotes () const |
tools::Long | GetEndnoteCount () const |
WW8_CP | WW8Fc2Cp (WW8_FC nFcPos) const |
WW8_FC | WW8Cp2Fc (WW8_CP nCpPos, bool *pIsUnicode=nullptr, WW8_CP *pNextPieceCp=nullptr, bool *pTestFlag=nullptr) const |
sal_Int32 | WW8ReadString (SvStream &rStrm, OUString &rStr, WW8_CP nCurrentStartCp, tools::Long nTotalLen, rtl_TextEncoding eEnc) const |
Private Member Functions | |
friend | WW8PLCFx_PCDAttrs::WW8PLCFx_PCDAttrs (const WW8Fib &rFib, WW8PLCFx_PCD *pPLCFx_PCD, const WW8ScannerBase *pBase) |
friend | WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP (SvStream *, SvStream *, SvStream *, const WW8ScannerBase &, ePLCFT) |
friend | WW8PLCFMan::WW8PLCFMan (const WW8ScannerBase *, ManTypes, tools::Long, bool) |
std::unique_ptr< WW8PLCFpcd > | OpenPieceTable (SvStream *pStr, const WW8Fib *pWwF) |
WW8ScannerBase (const WW8ScannerBase &)=delete | |
WW8ScannerBase & | operator= (const WW8ScannerBase &)=delete |
Friends | |
class | SwWW8FltControlStack |
Definition at line 1027 of file ww8scan.hxx.
|
privatedelete |
WW8ScannerBase::WW8ScannerBase | ( | SvStream * | pSt, |
SvStream * | pTableSt, | ||
SvStream * | pDataSt, | ||
WW8Fib * | pWwF | ||
) |
Definition at line 1741 of file ww8scan.cxx.
References checkSeek(), CHP, WW8Fib::GetFIBVersion(), ww::IsSevenMinus(), WW8Fib::m_fcAtrdExtra, WW8Fib::m_fcPlcfandRef, WW8Fib::m_fcPlcfandText, WW8Fib::m_fcPlcfdoaHdr, WW8Fib::m_fcPlcfdoaMom, WW8Fib::m_fcPlcfendRef, WW8Fib::m_fcPlcfendText, WW8Fib::m_fcPlcffndRef, WW8Fib::m_fcPlcffndText, WW8Fib::m_fcPlcfHdrtxbxBkd, WW8Fib::m_fcPlcfHdrtxbxText, WW8Fib::m_fcPlcfspaHdr, WW8Fib::m_fcPlcfspaMom, WW8Fib::m_fcPlcfTch, WW8Fib::m_fcPlcftxbxBkd, WW8Fib::m_fcPlcftxbxText, WW8Fib::m_fcPlcfwkb, WW8Fib::m_lcbAtrdExtra, WW8Fib::m_lcbPlcfandRef, WW8Fib::m_lcbPlcfandText, WW8Fib::m_lcbPlcfdoaHdr, WW8Fib::m_lcbPlcfdoaMom, WW8Fib::m_lcbPlcfendRef, WW8Fib::m_lcbPlcfendText, WW8Fib::m_lcbPlcffndRef, WW8Fib::m_lcbPlcffndText, WW8Fib::m_lcbPlcfHdrtxbxBkd, WW8Fib::m_lcbPlcfHdrtxbxText, WW8Fib::m_lcbPlcfspaHdr, WW8Fib::m_lcbPlcfspaMom, WW8Fib::m_lcbPlcfTch, WW8Fib::m_lcbPlcftxbxBkd, WW8Fib::m_lcbPlcftxbxText, WW8Fib::m_lcbPlcfwkb, WW8Fib::m_nVersion, m_pAndPLCF, m_pAtnBook, m_pBook, m_pChpPLCF, m_pEdnPLCF, m_pExtendedAtrds, m_pFactoidBook, m_pFieldAndPLCF, m_pFieldEdnPLCF, m_pFieldFootnotePLCF, m_pFieldHdFtPLCF, m_pFieldPLCF, m_pFieldTxbxHdFtPLCF, m_pFieldTxbxPLCF, m_pFootnotePLCF, m_pHdFtFdoa, m_pHdFtTxbx, m_pHdFtTxbxBkd, m_pMagicTables, m_pMainFdoa, m_pMainTxbx, m_pMainTxbxBkd, m_pPapPLCF, m_pPieceIter, m_pPiecePLCF, m_pPLCFx_PCD, m_pPLCFx_PCDAttrs, m_pSepPLCF, m_pSubdocs, m_pWw8Fib, MAN_AND, MAN_EDN, MAN_FTN, MAN_HDFT, MAN_MAINTEXT, MAN_TXBX, MAN_TXBX_HDFT, OpenPieceTable(), PAP, SvStream::ReadBytes(), SvStream::remainingSize(), SvStream::Seek(), and SvStream::Tell().
WW8ScannerBase::~WW8ScannerBase | ( | ) |
Definition at line 1886 of file ww8scan.cxx.
References m_aPieceGrpprls, m_pAndPLCF, m_pAtnBook, m_pBook, m_pChpPLCF, m_pEdnPLCF, m_pFactoidBook, m_pFieldAndPLCF, m_pFieldEdnPLCF, m_pFieldFootnotePLCF, m_pFieldHdFtPLCF, m_pFieldPLCF, m_pFieldTxbxHdFtPLCF, m_pFieldTxbxPLCF, m_pFootnotePLCF, m_pHdFtFdoa, m_pHdFtTxbx, m_pHdFtTxbxBkd, m_pMagicTables, m_pMainFdoa, m_pMainTxbx, m_pMainTxbxBkd, m_pPapPLCF, m_pPieceIter, m_pPiecePLCF, m_pPLCFx_PCD, m_pPLCFx_PCDAttrs, m_pSepPLCF, and m_pSubdocs.
|
inline |
Definition at line 1083 of file ww8scan.hxx.
References m_pEdnPLCF.
|
inline |
Definition at line 1082 of file ww8scan.hxx.
References m_pFootnotePLCF.
|
inline |
Definition at line 1084 of file ww8scan.hxx.
References m_pEdnPLCF.
|
private |
Definition at line 1678 of file ww8scan.cxx.
References checkRead(), checkSeek(), ww::eWW2, WW8Fib::GetFIBVersion(), m_aPieceGrpprls, WW8Fib::m_fcClx, WW8Fib::m_fComplex, WW8Fib::m_lcbClx, WW8Fib::m_nVersion, m_pWw8Fib, p, SvStream::ReadInt16(), SvStream::ReadInt32(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::remainingSize(), SvStream::Seek(), and SvStream::Tell().
Referenced by WW8ScannerBase().
|
privatedelete |
WW8_FC WW8ScannerBase::WW8Cp2Fc | ( | WW8_CP | nCpPos, |
bool * | pIsUnicode = nullptr , |
||
WW8_CP * | pNextPieceCp = nullptr , |
||
bool * | pTestFlag = nullptr |
||
) | const |
Definition at line 1566 of file ww8scan.cxx.
References o3tl::checked_add(), o3tl::checked_sub(), WW8Fib::m_fcMin, WW8Fib::m_fExtChar, WW8Fib::m_nVersion, m_pPieceIter, m_pWw8Fib, nSmallestPossibleFib, pData, SAL_WARN, WW8PLCFx_PCD::TransformPieceAddress(), WW8_CP_MAX, and WW8_FC_MAX.
Referenced by WW8PLCFx_Cp_FKP::SeekPos(), and WW8ReadString().
Definition at line 1444 of file ww8scan.cxx.
References o3tl::checked_add(), o3tl::checked_sub(), WW8Fib::m_fcMin, WW8Fib::m_fExtChar, WW8Fib::m_nVersion, m_pPieceIter, m_pWw8Fib, pData, SAL_WARN, WW8PLCFx_PCD::TransformPieceAddress(), WW8_CP_MAX, and WW8_FC_MAX.
Referenced by WW8PLCFx_PCD::CurrentPieceFc2Cp(), WW8PLCFx_Cp_FKP::GetSprms(), and WW8PLCFx_Cp_FKP::Where().
|
private |
|
private |
|
private |
sal_Int32 WW8ScannerBase::WW8ReadString | ( | SvStream & | rStrm, |
OUString & | rStr, | ||
WW8_CP | nCurrentStartCp, | ||
tools::Long | nTotalLen, | ||
rtl_TextEncoding | eEnc | ||
) | const |
Definition at line 2089 of file ww8scan.cxx.
References o3tl::checked_sub(), checkSeek(), read_uInt16s_ToOUString(), read_uInt8s_ToOUString(), rStrm, and WW8Cp2Fc().
|
friend |
Definition at line 1035 of file ww8scan.hxx.
|
private |
Definition at line 1071 of file ww8scan.hxx.
Referenced by OpenPieceTable(), and ~WW8ScannerBase().
|
private |
Definition at line 1044 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1063 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1062 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1039 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1043 of file ww8scan.hxx.
Referenced by AreThereEndnotes(), GetEndnoteCount(), WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1061 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), and WW8ScannerBase().
|
private |
Smart tag bookmarks.
Definition at line 1065 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1051 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1050 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1049 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1046 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1045 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1048 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1047 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1042 of file ww8scan.hxx.
Referenced by AreThereFootnotes(), WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1053 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1056 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1057 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1058 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1052 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1054 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1055 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1040 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1068 of file ww8scan.hxx.
Referenced by WW8Cp2Fc(), WW8Fc2Cp(), WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1067 of file ww8scan.hxx.
Referenced by WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1069 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1070 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1041 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1059 of file ww8scan.hxx.
Referenced by WW8PLCFMan::WW8PLCFMan(), WW8ScannerBase(), and ~WW8ScannerBase().
|
private |
Definition at line 1038 of file ww8scan.hxx.
Referenced by OpenPieceTable(), WW8Cp2Fc(), WW8Fc2Cp(), WW8PLCFMan::WW8PLCFMan(), WW8PLCFx_Cp_FKP::WW8PLCFx_Cp_FKP(), and WW8ScannerBase().