LibreOffice Module sw (master)
1
|
#include <ww8scan.hxx>
Public Member Functions | |
WW8PLCF (SvStream &rSt, WW8_FC nFilePos, sal_Int32 nPLCF, int nStruct, WW8_CP nStartPos=-1) | |
WW8PLCF (SvStream &rSt, WW8_FC nFilePos, sal_Int32 nPLCF, int nStruct, WW8_CP nStartPos, sal_Int32 nPN, sal_Int32 ncpN) | |
sal_Int32 | GetIdx () const |
void | SetIdx (sal_Int32 nI) |
sal_Int32 | GetIMax () const |
bool | SeekPos (WW8_CP nPos) |
WW8_CP | Where () const |
bool | Get (WW8_CP &rStart, WW8_CP &rEnd, void *&rpValue) const |
void | advance () |
const void * | GetData (sal_Int32 nInIdx) const |
Private Member Functions | |
void | ReadPLCF (SvStream &rSt, WW8_FC nFilePos, sal_uInt32 nPLCF) |
void | GeneratePLCF (SvStream &rSt, sal_Int32 nPN, sal_Int32 ncpN) |
void | MakeFailedPLCF () |
void | TruncToSortedRange () |
Private Attributes | |
std::unique_ptr< WW8_CP[]> | pPLCF_PosArray |
sal_uInt8 * | pPLCF_Contents |
sal_Int32 | nIMax |
sal_Int32 | nIdx |
int | nStru |
Definition at line 293 of file ww8scan.hxx.
WW8PLCF::WW8PLCF | ( | SvStream & | rSt, |
WW8_FC | nFilePos, | ||
sal_Int32 | nPLCF, | ||
int | nStruct, | ||
WW8_CP | nStartPos = -1 |
||
) |
Definition at line 2263 of file ww8scan.cxx.
References nIMax, ReadPLCF(), SAL_WARN, and SeekPos().
WW8PLCF::WW8PLCF | ( | SvStream & | rSt, |
WW8_FC | nFilePos, | ||
sal_Int32 | nPLCF, | ||
int | nStruct, | ||
WW8_CP | nStartPos, | ||
sal_Int32 | nPN, | ||
sal_Int32 | ncpN | ||
) |
Definition at line 2285 of file ww8scan.cxx.
References GeneratePLCF(), nIMax, ReadPLCF(), SAL_MAX_INT32, SAL_WARN, and SeekPos().
|
inline |
Definition at line 329 of file ww8scan.hxx.
References nIdx.
Referenced by SwWW8ImplReader::CoreLoad(), and WW8PLCF_HdFt::GetTextPos().
Definition at line 2377 of file ww8scan.cxx.
References o3tl::checked_add(), checkSeek(), SvStream::GetError(), i, MakeFailedPLCF(), nIMax, nStru, p, pPLCF_Contents, SvStream::ReadInt32(), SvStream::ReadUChar(), SAL_MAX_UINT16, SAL_WARN_IF, and WW8_CP_MAX.
Referenced by WW8PLCF().
Definition at line 2497 of file ww8scan.cxx.
References nIdx, nStru, pPLCF_Contents, and WW8_CP_MAX.
Referenced by SwWW8ImplReader::CoreLoad(), WW8PLCF_HdFt::GetTextPos(), and WW8PLCF_HdFt::GetTextPosExact().
|
inline |
Definition at line 331 of file ww8scan.hxx.
References nStru.
|
inline |
Definition at line 323 of file ww8scan.hxx.
References nIdx.
|
inline |
Definition at line 325 of file ww8scan.hxx.
References nIMax.
|
private |
Definition at line 2340 of file ww8scan.cxx.
References nIMax, pPLCF_Contents, pPLCF_PosArray, and WW8_CP_MAX.
Referenced by GeneratePLCF(), and ReadPLCF().
Definition at line 2306 of file ww8scan.cxx.
References checkRead(), checkSeek(), MakeFailedPLCF(), nIdx, nIMax, pPLCF_Contents, pPLCF_PosArray, SvStream::remainingSize(), SvStream::Seek(), SvStream::Tell(), and TruncToSortedRange().
Referenced by WW8PLCF().
bool WW8PLCF::SeekPos | ( | WW8_CP | nPos | ) |
|
inline |
Definition at line 324 of file ww8scan.hxx.
Referenced by WW8PLCF_HdFt::GetTextPos(), and WW8PLCF_HdFt::GetTextPosExact().
|
private |
WW8_CP WW8PLCF::Where | ( | ) | const |
Definition at line 2510 of file ww8scan.cxx.
References nIdx, and WW8_CP_MAX.
|
private |
Definition at line 299 of file ww8scan.hxx.
Referenced by advance(), Get(), GetIdx(), ReadPLCF(), SeekPos(), and Where().
|
private |
Definition at line 298 of file ww8scan.hxx.
Referenced by GeneratePLCF(), GetIMax(), MakeFailedPLCF(), ReadPLCF(), SeekPos(), TruncToSortedRange(), and WW8PLCF().
|
private |
Definition at line 300 of file ww8scan.hxx.
Referenced by GeneratePLCF(), Get(), and GetData().
|
private |
Definition at line 297 of file ww8scan.hxx.
Referenced by GeneratePLCF(), Get(), MakeFailedPLCF(), and ReadPLCF().
|
private |
Definition at line 296 of file ww8scan.hxx.
Referenced by MakeFailedPLCF(), and ReadPLCF().