WPS8TextInternal::State Struct Reference

Internal: the state of a WPS4Text. More...

Public Member Functions

 State ()
 constructor
void initTypeMaps ()
 initializes the type map
WPSEntry getTextZones (int id) const
 returns the entry corresponding to a type id
void setParsed (WPSEntry const &entry, bool fl)
 tests if a text zone is simillar to entry, if yes, updates is parsed field
WPSEntry getTCDZone (int strsId, int cellId) const
 try to return a entry for a cell in table zones

Public Attributes

std::vector< WPSEntrym_textZones
 the list of different text zones
std::map< long, Bookmarkm_bookmarkMap
 a map text offset->bookmark
std::vector< Notesm_notesList
 the list of notes
std::map< long, Notes * > m_notesMap
 a map text offset->notes
Object m_object
 actual object
std::map< long, Objectm_objectMap
 a map text offset->object
std::map< long, Tokenm_tokenMap
 a map text offset->token
std::map< int, std::vector< long > > m_tcdMap
 a map strsId -> last positions of cells
std::map< int, int > m_objectTypes
 the object type
std::vector< DataPLCm_plcList
 a list of all plcs
WPS8PLCInternal::KnownPLC m_knownPLC
 the known plc

Detailed Description

Internal: the state of a WPS4Text.

Constructor & Destructor Documentation

◆ State()

WPS8TextInternal::State::State ( )
inline

constructor

Member Function Documentation

◆ getTCDZone()

WPSEntry WPS8TextInternal::State::getTCDZone ( int strsId,
int cellId ) const
inline

try to return a entry for a cell in table zones

◆ getTextZones()

WPSEntry WPS8TextInternal::State::getTextZones ( int id) const
inline

returns the entry corresponding to a type id

◆ initTypeMaps()

void WPS8TextInternal::State::initTypeMaps ( )

initializes the type map

Referenced by State().

◆ setParsed()

void WPS8TextInternal::State::setParsed ( WPSEntry const & entry,
bool fl )
inline

tests if a text zone is simillar to entry, if yes, updates is parsed field

Member Data Documentation

◆ m_bookmarkMap

std::map<long, Bookmark> WPS8TextInternal::State::m_bookmarkMap

a map text offset->bookmark

Referenced by State().

◆ m_knownPLC

WPS8PLCInternal::KnownPLC WPS8TextInternal::State::m_knownPLC

the known plc

Referenced by State().

◆ m_notesList

std::vector<Notes> WPS8TextInternal::State::m_notesList

the list of notes

Referenced by State().

◆ m_notesMap

std::map<long, Notes *> WPS8TextInternal::State::m_notesMap

a map text offset->notes

Referenced by State().

◆ m_object

Object WPS8TextInternal::State::m_object

actual object

Referenced by State().

◆ m_objectMap

std::map<long, Object> WPS8TextInternal::State::m_objectMap

a map text offset->object

Referenced by State().

◆ m_objectTypes

std::map<int,int> WPS8TextInternal::State::m_objectTypes

the object type

Referenced by initTypeMaps(), and State().

◆ m_plcList

std::vector<DataPLC> WPS8TextInternal::State::m_plcList

a list of all plcs

Referenced by State().

◆ m_tcdMap

std::map<int, std::vector<long> > WPS8TextInternal::State::m_tcdMap

a map strsId -> last positions of cells

Referenced by getTCDZone(), and State().

◆ m_textZones

std::vector<WPSEntry> WPS8TextInternal::State::m_textZones

the list of different text zones

Referenced by getTCDZone(), getTextZones(), setParsed(), and State().

◆ m_tokenMap

std::map<long, Token> WPS8TextInternal::State::m_tokenMap

a map text offset->token

Referenced by State().


The documentation for this struct was generated from the following file:

Generated on Sat Jul 19 2025 05:24:41 for libwps by doxygen 1.14.0