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, tools::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
 
tools::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 (tools::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
 
bool IsSprmLegalForCategory (sal_uInt16 nSprmId, short nIdx) 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 932 of file ww8scan.hxx.

Member Enumeration Documentation

◆ WW8PLCFManLimits

Enumerator
MAN_PLCF_COUNT 

Definition at line 935 of file ww8scan.hxx.

Constructor & Destructor Documentation

◆ WW8PLCFMan()

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

◆ ~WW8PLCFMan()

WW8PLCFMan::~WW8PLCFMan ( )

Definition at line 5103 of file ww8scan.cxx.

References i, m_aD, and m_nPLCF.

Member Function Documentation

◆ AdjustEnds()

void WW8PLCFMan::AdjustEnds ( WW8PLCFxDesc rDesc)
private

◆ advance()

void WW8PLCFMan::advance ( )

Definition at line 5526 of file ww8scan.cxx.

References AdvNoSprm(), AdvSprm(), m_aD, m_nPLCF, p, and WhereIdx().

◆ AdvNoSprm()

void WW8PLCFMan::AdvNoSprm ( short  nIdx,
bool  bStart 
)
private

◆ AdvSprm()

void WW8PLCFMan::AdvSprm ( short  nIdx,
bool  bStart 
)
private

◆ Get()

bool WW8PLCFMan::Get ( WW8PLCFManResult pResult) const

◆ GetAtn()

WW8PLCFx_SubDoc * WW8PLCFMan::GetAtn ( ) const
inline

Definition at line 987 of file ww8scan.hxx.

References m_pAnd, and WW8PLCFxDesc::pPLCFx.

◆ GetAtnBook()

WW8PLCFx_AtnBook * WW8PLCFMan::GetAtnBook ( ) const
inline

Definition at line 989 of file ww8scan.hxx.

References m_pAtnBkm, and WW8PLCFxDesc::pPLCFx.

◆ GetBook()

WW8PLCFx_Book * WW8PLCFMan::GetBook ( ) const
inline

Definition at line 988 of file ww8scan.hxx.

References m_pBkm, and WW8PLCFxDesc::pPLCFx.

◆ GetChpPLCF()

WW8PLCFx_Cp_FKP * WW8PLCFMan::GetChpPLCF ( ) const
inline

Definition at line 1000 of file ww8scan.hxx.

References m_pChp, and WW8PLCFxDesc::pPLCFx.

Referenced by WW8PLCFMan().

◆ GetColl()

sal_uInt16 WW8PLCFMan::GetColl ( ) const

Definition at line 5586 of file ww8scan.cxx.

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

◆ GetCpOfs()

tools::Long WW8PLCFMan::GetCpOfs ( ) const
inline

Definition at line 991 of file ww8scan.hxx.

References m_pChp, and WW8PLCFxDesc::nCpOfs.

◆ GetDoingDrawTextBox()

bool WW8PLCFMan::GetDoingDrawTextBox ( ) const
inline

Definition at line 1018 of file ww8scan.hxx.

References mbDoingDrawTextBox.

Referenced by AdjustEnds().

◆ GetEdn()

WW8PLCFx_SubDoc * WW8PLCFMan::GetEdn ( ) const
inline

Definition at line 985 of file ww8scan.hxx.

References m_pEdn, and WW8PLCFxDesc::pPLCFx.

◆ GetExtendedAtrds()

sal_uInt8 * WW8PLCFMan::GetExtendedAtrds ( ) const
inline

Definition at line 1016 of file ww8scan.hxx.

References m_pExtendedAtrds.

◆ GetFactoidBook()

WW8PLCFx_FactoidBook * WW8PLCFMan::GetFactoidBook ( ) const
inline

Definition at line 990 of file ww8scan.hxx.

References m_pFactoidBkm, and WW8PLCFxDesc::pPLCFx.

◆ GetFdoa()

WW8PLCFspecial * WW8PLCFMan::GetFdoa ( ) const
inline

Definition at line 1011 of file ww8scan.hxx.

References m_pFdoa.

◆ GetField()

WW8PLCFx_FLD * WW8PLCFMan::GetField ( ) const

Definition at line 5597 of file ww8scan.cxx.

References m_pField, and WW8PLCFxDesc::pPLCFx.

◆ GetFootnote()

WW8PLCFx_SubDoc * WW8PLCFMan::GetFootnote ( ) const
inline

Definition at line 986 of file ww8scan.hxx.

References m_pFootnote, and WW8PLCFxDesc::pPLCFx.

◆ GetId()

sal_uInt16 WW8PLCFMan::GetId ( const WW8PLCFxDesc p) const
private

◆ GetMagicTables()

WW8PLCFspecial * WW8PLCFMan::GetMagicTables ( ) const
inline

Definition at line 1014 of file ww8scan.hxx.

References m_pMagicTables.

◆ GetManType()

ManTypes WW8PLCFMan::GetManType ( ) const
inline

Definition at line 1017 of file ww8scan.hxx.

References m_nManType.

◆ GetNewNoSprms()

void WW8PLCFMan::GetNewNoSprms ( WW8PLCFxDesc rDesc)
staticprivate

◆ GetNewSprms()

void WW8PLCFMan::GetNewSprms ( WW8PLCFxDesc rDesc)
private

◆ GetNoSprmEnd()

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

◆ GetNoSprmStart()

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

◆ GetPap()

WW8PLCFxDesc * WW8PLCFMan::GetPap ( ) const
inline

Definition at line 1006 of file ww8scan.hxx.

References m_pPap.

◆ GetPapPLCF()

WW8PLCFx_Cp_FKP * WW8PLCFMan::GetPapPLCF ( ) const
inline

Definition at line 1002 of file ww8scan.hxx.

References m_pPap, and WW8PLCFxDesc::pPLCFx.

Referenced by lcl_HasExplicitLeft(), and WW8PLCFMan().

◆ GetSepPLCF()

WW8PLCFx_SEPX * WW8PLCFMan::GetSepPLCF ( ) const
inline

Definition at line 1004 of file ww8scan.hxx.

References m_pSep, and WW8PLCFxDesc::pPLCFx.

◆ GetSprmEnd()

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

Definition at line 5274 of file ww8scan.cxx.

References m_aD, WW8PLCFManResult::nSprmId, and p.

Referenced by Get(), and GetNoSprmEnd().

◆ GetSprmStart()

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

◆ GetTxbx()

WW8PLCFspecial * WW8PLCFMan::GetTxbx ( ) const
inline

Definition at line 1012 of file ww8scan.hxx.

References m_pTxbx.

◆ GetTxbxBkd()

WW8PLCFspecial * WW8PLCFMan::GetTxbxBkd ( ) const
inline

Definition at line 1013 of file ww8scan.hxx.

References m_pTxbxBkd.

◆ GetWkbPLCF()

WW8PLCFspecial * WW8PLCFMan::GetWkbPLCF ( ) const
inline

Definition at line 1015 of file ww8scan.hxx.

References m_pSubdocs.

◆ HasCharSprm() [1/2]

SprmResult WW8PLCFMan::HasCharSprm ( sal_uInt16  nId) const

Definition at line 5607 of file ww8scan.cxx.

References m_pChp, nId, and WW8PLCFxDesc::pPLCFx.

◆ HasCharSprm() [2/2]

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

Definition at line 5612 of file ww8scan.cxx.

References m_pChp, nId, and WW8PLCFxDesc::pPLCFx.

◆ HasParaSprm()

SprmResult WW8PLCFMan::HasParaSprm ( sal_uInt16  nId) const

Definition at line 5602 of file ww8scan.cxx.

References m_pPap, nId, and WW8PLCFxDesc::pPLCFx.

◆ IsSprmLegalForCategory()

bool WW8PLCFMan::IsSprmLegalForCategory ( sal_uInt16  nSprmId,
short  nIdx 
) const
private

◆ RestoreAllPLCFx()

void WW8PLCFMan::RestoreAllPLCFx ( const WW8PLCFxSaveAll rSave)

Definition at line 5182 of file ww8scan.cxx.

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

◆ SaveAllPLCFx()

void WW8PLCFMan::SaveAllPLCFx ( WW8PLCFxSaveAll rSave) const

Definition at line 5169 of file ww8scan.cxx.

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

◆ SeekPos()

void WW8PLCFMan::SeekPos ( tools::Long  nNewCp)

Definition at line 5158 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().

◆ TransferOpenSprms()

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

Definition at line 5341 of file ww8scan.cxx.

References i, m_aD, m_nPLCF, and p.

◆ Where()

WW8_CP WW8PLCFMan::Where ( ) const

Definition at line 5151 of file ww8scan.cxx.

References WhereIdx().

◆ WhereIdx()

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

Definition at line 5112 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

◆ m_aD

WW8PLCFxDesc WW8PLCFMan::m_aD[MAN_PLCF_COUNT]
private

◆ m_nCpO

WW8_CP WW8PLCFMan::m_nCpO
private

Definition at line 939 of file ww8scan.hxx.

Referenced by SeekPos(), and WW8PLCFMan().

◆ m_nLineEnd

WW8_CP WW8PLCFMan::m_nLineEnd
private

Definition at line 941 of file ww8scan.hxx.

Referenced by AdjustEnds().

◆ m_nManType

ManTypes WW8PLCFMan::m_nManType
private

Definition at line 943 of file ww8scan.hxx.

Referenced by GetManType(), and WW8PLCFMan().

◆ m_nPLCF

sal_uInt16 WW8PLCFMan::m_nPLCF
private

◆ m_pAnd

WW8PLCFxDesc * WW8PLCFMan::m_pAnd
private

Definition at line 951 of file ww8scan.hxx.

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

◆ m_pAtnBkm

WW8PLCFxDesc * WW8PLCFMan::m_pAtnBkm
private

Definition at line 951 of file ww8scan.hxx.

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

◆ m_pBkm

WW8PLCFxDesc * WW8PLCFMan::m_pBkm
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pChp

WW8PLCFxDesc* WW8PLCFMan::m_pChp
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pEdn

WW8PLCFxDesc * WW8PLCFMan::m_pEdn
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pExtendedAtrds

sal_uInt8* WW8PLCFMan::m_pExtendedAtrds
private

Definition at line 953 of file ww8scan.hxx.

Referenced by GetExtendedAtrds(), and WW8PLCFMan().

◆ m_pFactoidBkm

WW8PLCFxDesc * WW8PLCFMan::m_pFactoidBkm
private

Definition at line 951 of file ww8scan.hxx.

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

◆ m_pFdoa

WW8PLCFspecial* WW8PLCFMan::m_pFdoa
private

Definition at line 952 of file ww8scan.hxx.

Referenced by GetFdoa(), and WW8PLCFMan().

◆ m_pField

WW8PLCFxDesc * WW8PLCFMan::m_pField
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pFootnote

WW8PLCFxDesc * WW8PLCFMan::m_pFootnote
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pMagicTables

WW8PLCFspecial * WW8PLCFMan::m_pMagicTables
private

Definition at line 952 of file ww8scan.hxx.

Referenced by GetMagicTables(), and WW8PLCFMan().

◆ m_pPap

WW8PLCFxDesc * WW8PLCFMan::m_pPap
private

◆ m_pPcd

WW8PLCFxDesc * WW8PLCFMan::m_pPcd
private

◆ m_pPcdA

WW8PLCFxDesc * WW8PLCFMan::m_pPcdA
private

Definition at line 951 of file ww8scan.hxx.

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

◆ m_pSep

WW8PLCFxDesc * WW8PLCFMan::m_pSep
private

Definition at line 950 of file ww8scan.hxx.

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

◆ m_pSubdocs

WW8PLCFspecial * WW8PLCFMan::m_pSubdocs
private

Definition at line 952 of file ww8scan.hxx.

Referenced by GetWkbPLCF(), and WW8PLCFMan().

◆ m_pTxbx

WW8PLCFspecial * WW8PLCFMan::m_pTxbx
private

Definition at line 952 of file ww8scan.hxx.

Referenced by GetTxbx(), and WW8PLCFMan().

◆ m_pTxbxBkd

WW8PLCFspecial * WW8PLCFMan::m_pTxbxBkd
private

Definition at line 952 of file ww8scan.hxx.

Referenced by GetTxbxBkd(), and WW8PLCFMan().

◆ m_pWwFib

const WW8Fib* WW8PLCFMan::m_pWwFib
private

Definition at line 955 of file ww8scan.hxx.

Referenced by WW8PLCFMan().

◆ maSprmParser

wwSprmParser WW8PLCFMan::maSprmParser
private

Definition at line 938 of file ww8scan.hxx.

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

◆ mbDoingDrawTextBox

bool WW8PLCFMan::mbDoingDrawTextBox
private

Definition at line 944 of file ww8scan.hxx.

Referenced by GetDoingDrawTextBox().


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