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

#include <ww8scan.hxx>

Collaboration diagram for WW8PLCFMan:
[legend]

Public Types

enum  WW8PLCFManLimits { MAN_PLCF_COUNT = 12 }
 

Public Member Functions

 WW8PLCFMan (const WW8ScannerBase *pBase, ManTypes nType, long nStartCp, bool bDoingDrawTextBox=false)
 
 ~WW8PLCFMan ()
 
WW8_CP Where () const
 
bool Get (WW8PLCFManResult *pResult) const
 
void advance ()
 
sal_uInt16 GetColl () const
 
WW8PLCFx_FLDGetField () const
 
WW8PLCFx_SubDocGetEdn () const
 
WW8PLCFx_SubDocGetFootnote () const
 
WW8PLCFx_SubDocGetAtn () const
 
WW8PLCFx_BookGetBook () const
 
WW8PLCFx_AtnBookGetAtnBook () const
 
WW8PLCFx_FactoidBookGetFactoidBook () const
 
long GetCpOfs () const
 
SprmResult HasParaSprm (sal_uInt16 nId) const
 
SprmResult HasCharSprm (sal_uInt16 nId) const
 
void HasCharSprm (sal_uInt16 nId, std::vector< SprmResult > &rResult) const
 
WW8PLCFx_Cp_FKPGetChpPLCF () const
 
WW8PLCFx_Cp_FKPGetPapPLCF () const
 
WW8PLCFx_SEPXGetSepPLCF () const
 
WW8PLCFxDescGetPap () const
 
void TransferOpenSprms (std::stack< sal_uInt16 > &rStack)
 
void SeekPos (long nNewCp)
 
void SaveAllPLCFx (WW8PLCFxSaveAll &rSave) const
 
void RestoreAllPLCFx (const WW8PLCFxSaveAll &rSave)
 
WW8PLCFspecialGetFdoa () const
 
WW8PLCFspecialGetTxbx () const
 
WW8PLCFspecialGetTxbxBkd () const
 
WW8PLCFspecialGetMagicTables () const
 
WW8PLCFspecialGetWkbPLCF () const
 
sal_uInt8GetExtendedAtrds () const
 
ManTypes GetManType () const
 
bool GetDoingDrawTextBox () const
 

Private Member Functions

sal_uInt16 WhereIdx (bool *pbStart, WW8_CP *pPos=nullptr) const
 
void AdjustEnds (WW8PLCFxDesc &rDesc)
 
void GetNewSprms (WW8PLCFxDesc &rDesc)
 
void GetSprmStart (short nIdx, WW8PLCFManResult *pRes) const
 
void GetSprmEnd (short nIdx, WW8PLCFManResult *pRes) const
 
void GetNoSprmStart (short nIdx, WW8PLCFManResult *pRes) const
 
void GetNoSprmEnd (short nIdx, WW8PLCFManResult *pRes) const
 
void AdvSprm (short nIdx, bool bStart)
 
void AdvNoSprm (short nIdx, bool bStart)
 
sal_uInt16 GetId (const WW8PLCFxDesc *p) const
 

Static Private Member Functions

static void GetNewNoSprms (WW8PLCFxDesc &rDesc)
 

Private Attributes

wwSprmParser maSprmParser
 
WW8_CP m_nCpO
 
WW8_CP m_nLineEnd
 
sal_uInt16 m_nPLCF
 
ManTypes m_nManType
 
bool mbDoingDrawTextBox
 
WW8PLCFxDesc m_aD [MAN_PLCF_COUNT]
 
WW8PLCFxDescm_pChp
 
WW8PLCFxDescm_pPap
 
WW8PLCFxDescm_pSep
 
WW8PLCFxDescm_pField
 
WW8PLCFxDescm_pFootnote
 
WW8PLCFxDescm_pEdn
 
WW8PLCFxDescm_pBkm
 
WW8PLCFxDescm_pPcd
 
WW8PLCFxDescm_pPcdA
 
WW8PLCFxDescm_pAnd
 
WW8PLCFxDescm_pAtnBkm
 
WW8PLCFxDescm_pFactoidBkm
 
WW8PLCFspecialm_pFdoa
 
WW8PLCFspecialm_pTxbx
 
WW8PLCFspecialm_pTxbxBkd
 
WW8PLCFspecialm_pMagicTables
 
WW8PLCFspecialm_pSubdocs
 
sal_uInt8m_pExtendedAtrds
 
const WW8Fibm_pWwFib
 

Detailed Description

Definition at line 926 of file ww8scan.hxx.

Member Enumeration Documentation

Enumerator
MAN_PLCF_COUNT 

Definition at line 929 of file ww8scan.hxx.

Constructor & Destructor Documentation

WW8PLCFMan::WW8PLCFMan ( const WW8ScannerBase pBase,
ManTypes  nType,
long  nStartCp,
bool  bDoingDrawTextBox = false 
)

Definition at line 4892 of file ww8scan.cxx.

References WW8PLCFxDesc::bFirstSprm, WW8Fib::GetBaseCp(), GetChpPLCF(), GetNewNoSprms(), GetNewSprms(), GetPapPLCF(), i, WW8PLCFx::IsSprm(), m_aD, m_nCpO, m_nLineEnd, m_nManType, m_nPLCF, m_pAnd, WW8ScannerBase::m_pAndPLCF, m_pAtnBkm, WW8ScannerBase::m_pAtnBook, m_pBkm, WW8ScannerBase::m_pBook, m_pChp, WW8ScannerBase::m_pChpPLCF, m_pEdn, WW8ScannerBase::m_pEdnPLCF, m_pExtendedAtrds, WW8ScannerBase::m_pExtendedAtrds, m_pFactoidBkm, WW8ScannerBase::m_pFactoidBook, m_pFdoa, m_pField, WW8ScannerBase::m_pFieldAndPLCF, WW8ScannerBase::m_pFieldEdnPLCF, WW8ScannerBase::m_pFieldFootnotePLCF, WW8ScannerBase::m_pFieldHdFtPLCF, WW8ScannerBase::m_pFieldPLCF, WW8ScannerBase::m_pFieldTxbxHdFtPLCF, WW8ScannerBase::m_pFieldTxbxPLCF, m_pFootnote, WW8ScannerBase::m_pFootnotePLCF, WW8ScannerBase::m_pHdFtFdoa, WW8ScannerBase::m_pHdFtTxbx, WW8ScannerBase::m_pHdFtTxbxBkd, m_pMagicTables, WW8ScannerBase::m_pMagicTables, WW8ScannerBase::m_pMainFdoa, WW8ScannerBase::m_pMainTxbx, WW8ScannerBase::m_pMainTxbxBkd, m_pPap, WW8ScannerBase::m_pPapPLCF, m_pPcd, m_pPcdA, WW8ScannerBase::m_pPLCFx_PCD, WW8ScannerBase::m_pPLCFx_PCDAttrs, m_pSep, WW8ScannerBase::m_pSepPLCF, m_pSubdocs, WW8ScannerBase::m_pSubdocs, m_pTxbx, m_pTxbxBkd, WW8ScannerBase::m_pWw8Fib, m_pWwFib, MAN_AND, MAN_EDN, MAN_FTN, MAN_HDFT, MAN_MAINTEXT, MAN_PLCF_COUNT, MAN_TXBX, MAN_TXBX_HDFT, WW8PLCFxDesc::nCp2OrIdx, WW8PLCFxDesc::nCpOfs, WW8PLCFxDesc::nEndPos, WW8PLCFxDesc::nSprmsLen, WW8PLCFxDesc::nStartPos, WW8PLCFxDesc::pIdStack, WW8PLCFxDesc::pMemPos, WW8PLCFxDesc::pPLCFx, WW8PLCFx_Cp_FKP::ResetAttrStartEnd(), SeekPos(), and WW8_CP_MAX.

WW8PLCFMan::~WW8PLCFMan ( )

Definition at line 5070 of file ww8scan.cxx.

References i, m_aD, and m_nPLCF.

Member Function Documentation

void WW8PLCFMan::AdjustEnds ( WW8PLCFxDesc rDesc)
private
void WW8PLCFMan::advance ( )
void WW8PLCFMan::AdvNoSprm ( short  nIdx,
bool  bStart 
)
private
void WW8PLCFMan::AdvSprm ( short  nIdx,
bool  bStart 
)
private
bool WW8PLCFMan::Get ( WW8PLCFManResult pResult) const
WW8PLCFx_SubDoc* WW8PLCFMan::GetAtn ( ) const
inline

Definition at line 979 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

WW8PLCFx_AtnBook* WW8PLCFMan::GetAtnBook ( ) const
inline

Definition at line 981 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

WW8PLCFx_Book* WW8PLCFMan::GetBook ( ) const
inline

Definition at line 980 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

WW8PLCFx_Cp_FKP* WW8PLCFMan::GetChpPLCF ( ) const
inline

Definition at line 992 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

Referenced by WW8PLCFMan().

sal_uInt16 WW8PLCFMan::GetColl ( ) const

Definition at line 5506 of file ww8scan.cxx.

References WW8PLCFx::GetIstd(), m_pPap, and WW8PLCFxDesc::pPLCFx.

long WW8PLCFMan::GetCpOfs ( ) const
inline

Definition at line 983 of file ww8scan.hxx.

References WW8PLCFxDesc::nCpOfs.

bool WW8PLCFMan::GetDoingDrawTextBox ( ) const
inline

Definition at line 1010 of file ww8scan.hxx.

References mbDoingDrawTextBox.

Referenced by AdjustEnds().

WW8PLCFx_SubDoc* WW8PLCFMan::GetEdn ( ) const
inline

Definition at line 977 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

sal_uInt8* WW8PLCFMan::GetExtendedAtrds ( ) const
inline

Definition at line 1008 of file ww8scan.hxx.

References m_pExtendedAtrds.

WW8PLCFx_FactoidBook* WW8PLCFMan::GetFactoidBook ( ) const
inline

Definition at line 982 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

WW8PLCFspecial* WW8PLCFMan::GetFdoa ( ) const
inline

Definition at line 1003 of file ww8scan.hxx.

References m_pFdoa.

WW8PLCFx_FLD * WW8PLCFMan::GetField ( ) const

Definition at line 5517 of file ww8scan.cxx.

References m_pField, and WW8PLCFxDesc::pPLCFx.

WW8PLCFx_SubDoc* WW8PLCFMan::GetFootnote ( ) const
inline

Definition at line 978 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

sal_uInt16 WW8PLCFMan::GetId ( const WW8PLCFxDesc p) const
private
WW8PLCFspecial* WW8PLCFMan::GetMagicTables ( ) const
inline

Definition at line 1006 of file ww8scan.hxx.

References m_pMagicTables.

ManTypes WW8PLCFMan::GetManType ( ) const
inline

Definition at line 1009 of file ww8scan.hxx.

References m_nManType.

void WW8PLCFMan::GetNewNoSprms ( WW8PLCFxDesc rDesc)
staticprivate
void WW8PLCFMan::GetNewSprms ( WW8PLCFxDesc rDesc)
private
void WW8PLCFMan::GetNoSprmEnd ( short  nIdx,
WW8PLCFManResult pRes 
) const
private
void WW8PLCFMan::GetNoSprmStart ( short  nIdx,
WW8PLCFManResult pRes 
) const
private
WW8PLCFxDesc* WW8PLCFMan::GetPap ( ) const
inline

Definition at line 998 of file ww8scan.hxx.

References m_pPap.

WW8PLCFx_Cp_FKP* WW8PLCFMan::GetPapPLCF ( ) const
inline

Definition at line 994 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

Referenced by lcl_HasExplicitLeft(), and WW8PLCFMan().

WW8PLCFx_SEPX* WW8PLCFMan::GetSepPLCF ( ) const
inline

Definition at line 996 of file ww8scan.hxx.

References WW8PLCFxDesc::pPLCFx.

void WW8PLCFMan::GetSprmEnd ( short  nIdx,
WW8PLCFManResult pRes 
) const
private

Definition at line 5197 of file ww8scan.cxx.

References m_aD, WW8PLCFManResult::nSprmId, and WW8PLCFxDesc::pIdStack.

Referenced by Get(), and GetNoSprmEnd().

void WW8PLCFMan::GetSprmStart ( short  nIdx,
WW8PLCFManResult pRes 
) const
private
WW8PLCFspecial* WW8PLCFMan::GetTxbx ( ) const
inline

Definition at line 1004 of file ww8scan.hxx.

References m_pTxbx.

WW8PLCFspecial* WW8PLCFMan::GetTxbxBkd ( ) const
inline

Definition at line 1005 of file ww8scan.hxx.

References m_pTxbxBkd.

WW8PLCFspecial* WW8PLCFMan::GetWkbPLCF ( ) const
inline

Definition at line 1007 of file ww8scan.hxx.

References m_pSubdocs.

SprmResult WW8PLCFMan::HasCharSprm ( sal_uInt16  nId) const

Definition at line 5527 of file ww8scan.cxx.

References m_pChp, and WW8PLCFxDesc::pPLCFx.

void WW8PLCFMan::HasCharSprm ( sal_uInt16  nId,
std::vector< SprmResult > &  rResult 
) const

Definition at line 5532 of file ww8scan.cxx.

References m_pChp, and WW8PLCFxDesc::pPLCFx.

SprmResult WW8PLCFMan::HasParaSprm ( sal_uInt16  nId) const

Definition at line 5522 of file ww8scan.cxx.

References m_pPap, and WW8PLCFxDesc::pPLCFx.

void WW8PLCFMan::RestoreAllPLCFx ( const WW8PLCFxSaveAll rSave)

Definition at line 5149 of file ww8scan.cxx.

References WW8PLCFxSaveAll::aS, i, m_aD, m_nPLCF, m_pPcd, m_pPcdA, and WW8PLCFxDesc::Restore().

void WW8PLCFMan::SaveAllPLCFx ( WW8PLCFxSaveAll rSave) const

Definition at line 5136 of file ww8scan.cxx.

References WW8PLCFxSaveAll::aS, i, m_aD, m_nPLCF, m_pPcd, m_pPcdA, and WW8PLCFxDesc::Save().

void WW8PLCFMan::SeekPos ( long  nNewCp)

Definition at line 5125 of file ww8scan.cxx.

References m_nCpO, m_pBkm, m_pChp, m_pField, m_pPap, m_pPcd, WW8PLCFxDesc::pPLCFx, and WW8PLCFx::SeekPos().

Referenced by WW8PLCFMan().

void WW8PLCFMan::TransferOpenSprms ( std::stack< sal_uInt16 > &  rStack)

Definition at line 5264 of file ww8scan.cxx.

References i, m_aD, m_nPLCF, and WW8PLCFxDesc::pIdStack.

WW8_CP WW8PLCFMan::Where ( ) const

Definition at line 5118 of file ww8scan.cxx.

References WhereIdx().

sal_uInt16 WW8PLCFMan::WhereIdx ( bool *  pbStart,
WW8_CP pPos = nullptr 
) const
private

Definition at line 5079 of file ww8scan.cxx.

References i, m_aD, m_nPLCF, m_pPcdA, WW8PLCFxDesc::nEndPos, WW8PLCFxDesc::nStartPos, and WW8_CP_MAX.

Referenced by advance(), Get(), and Where().

Member Data Documentation

WW8PLCFxDesc WW8PLCFMan::m_aD[MAN_PLCF_COUNT]
private
WW8_CP WW8PLCFMan::m_nCpO
private

Definition at line 933 of file ww8scan.hxx.

Referenced by SeekPos(), and WW8PLCFMan().

WW8_CP WW8PLCFMan::m_nLineEnd
private

Definition at line 935 of file ww8scan.hxx.

Referenced by AdjustEnds(), and WW8PLCFMan().

ManTypes WW8PLCFMan::m_nManType
private

Definition at line 937 of file ww8scan.hxx.

Referenced by GetManType(), and WW8PLCFMan().

sal_uInt16 WW8PLCFMan::m_nPLCF
private
WW8PLCFxDesc * WW8PLCFMan::m_pAnd
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetId(), GetNoSprmStart(), GetSprmStart(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pAtnBkm
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetNoSprmEnd(), GetNoSprmStart(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pBkm
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetNoSprmEnd(), GetNoSprmStart(), SeekPos(), and WW8PLCFMan().

WW8PLCFxDesc* WW8PLCFMan::m_pChp
private

Definition at line 944 of file ww8scan.hxx.

Referenced by AdvSprm(), HasCharSprm(), SeekPos(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pEdn
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetId(), GetNoSprmStart(), GetSprmStart(), and WW8PLCFMan().

sal_uInt8* WW8PLCFMan::m_pExtendedAtrds
private

Definition at line 947 of file ww8scan.hxx.

Referenced by GetExtendedAtrds(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pFactoidBkm
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetNoSprmEnd(), GetNoSprmStart(), and WW8PLCFMan().

WW8PLCFspecial* WW8PLCFMan::m_pFdoa
private

Definition at line 946 of file ww8scan.hxx.

Referenced by GetFdoa(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pField
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetField(), GetId(), GetNoSprmStart(), SeekPos(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pFootnote
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetId(), GetNoSprmStart(), GetSprmStart(), and WW8PLCFMan().

WW8PLCFspecial * WW8PLCFMan::m_pMagicTables
private

Definition at line 946 of file ww8scan.hxx.

Referenced by GetMagicTables(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pPap
private
WW8PLCFxDesc * WW8PLCFMan::m_pPcd
private
WW8PLCFxDesc * WW8PLCFMan::m_pPcdA
private

Definition at line 944 of file ww8scan.hxx.

Referenced by RestoreAllPLCFx(), SaveAllPLCFx(), WhereIdx(), and WW8PLCFMan().

WW8PLCFxDesc * WW8PLCFMan::m_pSep
private

Definition at line 944 of file ww8scan.hxx.

Referenced by AdjustEnds(), GetSprmStart(), and WW8PLCFMan().

WW8PLCFspecial * WW8PLCFMan::m_pSubdocs
private

Definition at line 946 of file ww8scan.hxx.

Referenced by GetWkbPLCF(), and WW8PLCFMan().

WW8PLCFspecial * WW8PLCFMan::m_pTxbx
private

Definition at line 946 of file ww8scan.hxx.

Referenced by GetTxbx(), and WW8PLCFMan().

WW8PLCFspecial * WW8PLCFMan::m_pTxbxBkd
private

Definition at line 946 of file ww8scan.hxx.

Referenced by GetTxbxBkd(), and WW8PLCFMan().

const WW8Fib* WW8PLCFMan::m_pWwFib
private

Definition at line 949 of file ww8scan.hxx.

Referenced by WW8PLCFMan().

wwSprmParser WW8PLCFMan::maSprmParser
private

Definition at line 932 of file ww8scan.hxx.

Referenced by AdvSprm(), GetId(), and GetSprmStart().

bool WW8PLCFMan::mbDoingDrawTextBox
private

Definition at line 938 of file ww8scan.hxx.

Referenced by GetDoingDrawTextBox().


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