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[]> | m_pPLCF_PosArray |
sal_uInt8 * | m_pPLCF_Contents |
sal_Int32 | m_nIMax |
sal_Int32 | m_nIdx |
int | m_nStru |
Definition at line 294 of file ww8scan.hxx.
WW8PLCF::WW8PLCF | ( | SvStream & | rSt, |
WW8_FC | nFilePos, | ||
sal_Int32 | nPLCF, | ||
int | nStruct, | ||
WW8_CP | nStartPos = -1 |
||
) |
Definition at line 2264 of file ww8scan.cxx.
References m_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 2286 of file ww8scan.cxx.
References GeneratePLCF(), m_nIMax, ReadPLCF(), SAL_MAX_INT32, SAL_WARN, and SeekPos().
|
inline |
Definition at line 330 of file ww8scan.hxx.
References m_nIdx, and m_nIMax.
Referenced by SwWW8ImplReader::CoreLoad(), and WW8PLCF_HdFt::GetTextPos().
|
private |
Definition at line 2385 of file ww8scan.cxx.
References o3tl::checked_add(), checkSeek(), SvStream::GetError(), i, m_nIMax, m_nStru, m_pPLCF_Contents, m_pPLCF_PosArray, MakeFailedPLCF(), p, SvStream::ReadInt32(), SvStream::ReadUChar(), SAL_MAX_UINT16, SAL_WARN_IF, and WW8_CP_MAX.
Referenced by WW8PLCF().
Definition at line 2505 of file ww8scan.cxx.
References m_nIdx, m_nIMax, m_nStru, m_pPLCF_Contents, m_pPLCF_PosArray, and WW8_CP_MAX.
Referenced by SwWW8ImplReader::CoreLoad(), WW8PLCF_HdFt::GetTextPos(), and WW8PLCF_HdFt::GetTextPosExact().
|
inline |
Definition at line 332 of file ww8scan.hxx.
References m_nIMax, m_nStru, and m_pPLCF_Contents.
|
inline |
Definition at line 324 of file ww8scan.hxx.
References m_nIdx.
|
inline |
Definition at line 326 of file ww8scan.hxx.
References m_nIMax.
|
private |
Definition at line 2348 of file ww8scan.cxx.
References m_nIMax, m_pPLCF_Contents, m_pPLCF_PosArray, and WW8_CP_MAX.
Referenced by GeneratePLCF(), and ReadPLCF().
Definition at line 2307 of file ww8scan.cxx.
References checkRead(), checkSeek(), m_nIdx, m_nIMax, m_pPLCF_Contents, m_pPLCF_PosArray, MakeFailedPLCF(), SvStream::remainingSize(), SvStream::Seek(), SvStream::Tell(), and TruncToSortedRange().
Referenced by WW8PLCF().
bool WW8PLCF::SeekPos | ( | WW8_CP | nPos | ) |
Definition at line 2469 of file ww8scan.cxx.
References m_nIdx, m_nIMax, m_pPLCF_PosArray, n, and nPos.
Referenced by WW8PLCF().
|
inline |
Definition at line 325 of file ww8scan.hxx.
References m_nIdx.
Referenced by WW8PLCF_HdFt::GetTextPos(), and WW8PLCF_HdFt::GetTextPosExact().
|
private |
Definition at line 2380 of file ww8scan.cxx.
References m_nIMax, m_pPLCF_PosArray, and TruncToSortedRange().
Referenced by ReadPLCF(), and TruncToSortedRange().
WW8_CP WW8PLCF::Where | ( | ) | const |
Definition at line 2518 of file ww8scan.cxx.
References m_nIdx, m_nIMax, m_pPLCF_PosArray, and WW8_CP_MAX.
|
private |
Definition at line 300 of file ww8scan.hxx.
Referenced by advance(), Get(), GetIdx(), ReadPLCF(), SeekPos(), SetIdx(), and Where().
|
private |
Definition at line 299 of file ww8scan.hxx.
Referenced by advance(), GeneratePLCF(), Get(), GetData(), GetIMax(), MakeFailedPLCF(), ReadPLCF(), SeekPos(), TruncToSortedRange(), Where(), and WW8PLCF().
|
private |
Definition at line 301 of file ww8scan.hxx.
Referenced by GeneratePLCF(), Get(), and GetData().
|
private |
Definition at line 298 of file ww8scan.hxx.
Referenced by GeneratePLCF(), Get(), GetData(), MakeFailedPLCF(), and ReadPLCF().
|
private |
Definition at line 297 of file ww8scan.hxx.
Referenced by GeneratePLCF(), Get(), MakeFailedPLCF(), ReadPLCF(), SeekPos(), TruncToSortedRange(), and Where().