LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WW8PLCF Class Reference

#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 voidGetData (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_uInt8pPLCF_Contents
 
sal_Int32 nIMax
 
sal_Int32 nIdx
 
int nStru
 

Detailed Description

Definition at line 292 of file ww8scan.hxx.

Constructor & Destructor Documentation

WW8PLCF::WW8PLCF ( SvStream rSt,
WW8_FC  nFilePos,
sal_Int32  nPLCF,
int  nStruct,
WW8_CP  nStartPos = -1 
)

Definition at line 2257 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 2279 of file ww8scan.cxx.

References GeneratePLCF(), nIMax, ReadPLCF(), SAL_MAX_INT32, SAL_WARN, and SeekPos().

Member Function Documentation

void WW8PLCF::advance ( )
inline

Definition at line 328 of file ww8scan.hxx.

References nIdx.

Referenced by SwWW8ImplReader::CoreLoad(), and WW8PLCF_HdFt::GetTextPos().

void WW8PLCF::GeneratePLCF ( SvStream rSt,
sal_Int32  nPN,
sal_Int32  ncpN 
)
private
bool WW8PLCF::Get ( WW8_CP rStart,
WW8_CP rEnd,
void *&  rpValue 
) const
const void* WW8PLCF::GetData ( sal_Int32  nInIdx) const
inline

Definition at line 330 of file ww8scan.hxx.

References nStru.

sal_Int32 WW8PLCF::GetIdx ( ) const
inline

Definition at line 322 of file ww8scan.hxx.

References nIdx.

sal_Int32 WW8PLCF::GetIMax ( ) const
inline

Definition at line 324 of file ww8scan.hxx.

References nIMax.

void WW8PLCF::MakeFailedPLCF ( )
private

Definition at line 2334 of file ww8scan.cxx.

References nIMax, pPLCF_Contents, pPLCF_PosArray, and WW8_CP_MAX.

Referenced by GeneratePLCF(), and ReadPLCF().

void WW8PLCF::ReadPLCF ( SvStream rSt,
WW8_FC  nFilePos,
sal_uInt32  nPLCF 
)
private
bool WW8PLCF::SeekPos ( WW8_CP  nPos)

Definition at line 2441 of file ww8scan.cxx.

References nIdx, nIMax, and pPLCF_PosArray.

Referenced by WW8PLCF().

void WW8PLCF::SetIdx ( sal_Int32  nI)
inline

Definition at line 323 of file ww8scan.hxx.

Referenced by WW8PLCF_HdFt::GetTextPos(), and WW8PLCF_HdFt::GetTextPosExact().

void WW8PLCF::TruncToSortedRange ( )
private

Definition at line 2342 of file ww8scan.cxx.

References nIMax, pPLCF_PosArray, and SAL_WARN.

Referenced by ReadPLCF().

WW8_CP WW8PLCF::Where ( ) const

Definition at line 2490 of file ww8scan.cxx.

References nIdx, nIMax, pPLCF_PosArray, and WW8_CP_MAX.

Member Data Documentation

sal_Int32 WW8PLCF::nIdx
private

Definition at line 298 of file ww8scan.hxx.

Referenced by advance(), Get(), GetIdx(), ReadPLCF(), SeekPos(), and Where().

sal_Int32 WW8PLCF::nIMax
private
int WW8PLCF::nStru
private

Definition at line 299 of file ww8scan.hxx.

Referenced by GeneratePLCF(), Get(), and GetData().

sal_uInt8* WW8PLCF::pPLCF_Contents
private

Definition at line 296 of file ww8scan.hxx.

Referenced by GeneratePLCF(), Get(), MakeFailedPLCF(), and ReadPLCF().

std::unique_ptr<WW8_CP[]> WW8PLCF::pPLCF_PosArray
private

The documentation for this class was generated from the following files: