MsWks3TextInternal::TextZone Struct Reference

Internal: the text zone. More...

Public Types

enum  Type { Header , Footer , Main , Unknown }
 

Public Member Functions

 TextZone ()
 constructor
 
bool isMain () const
 return true if this is the main zone
 

Public Attributes

int m_type
 the zone type;
 
int m_id
 the zone id
 
std::vector< LineZonem_zonesList
 the list of zones
 
std::vector< int > m_linesHeight
 the line height
 
std::vector< int > m_pagesHeight
 the pages height
 
std::map< int, bool > m_pagesPosition
 the zone id -> hard break
 
std::map< int, MWAWVec2im_footnoteMap
 the note id -> zone limit
 
std::string m_text
 a string used to store v1-2 files header/footer
 
bool m_isSent
 flag to know if the zone is send or not
 

Detailed Description

Internal: the text zone.

Member Enumeration Documentation

◆ Type

Enumerator
Header 
Footer 
Main 
Unknown 

Constructor & Destructor Documentation

◆ TextZone()

MsWks3TextInternal::TextZone::TextZone ( )
inline

constructor

Member Function Documentation

◆ isMain()

bool MsWks3TextInternal::TextZone::isMain ( ) const
inline

return true if this is the main zone

Referenced by MsWks3Text::send().

Member Data Documentation

◆ m_footnoteMap

std::map<int, MWAWVec2i> MsWks3TextInternal::TextZone::m_footnoteMap

the note id -> zone limit

Referenced by MsWks3Text::send(), and MsWks3Text::updateNotes().

◆ m_id

int MsWks3TextInternal::TextZone::m_id

the zone id

Referenced by MsWks3Text::send().

◆ m_isSent

bool MsWks3TextInternal::TextZone::m_isSent

flag to know if the zone is send or not

Referenced by MsWks3Text::send().

◆ m_linesHeight

std::vector<int> MsWks3TextInternal::TextZone::m_linesHeight

the line height

Referenced by MsWks3Text::update().

◆ m_pagesHeight

std::vector<int> MsWks3TextInternal::TextZone::m_pagesHeight

the pages height

Referenced by MsWks3Text::update().

◆ m_pagesPosition

std::map<int, bool> MsWks3TextInternal::TextZone::m_pagesPosition

the zone id -> hard break

Referenced by MsWks3Text::send(), and MsWks3Text::update().

◆ m_text

std::string MsWks3TextInternal::TextZone::m_text

a string used to store v1-2 files header/footer

Referenced by MsWks3Text::send().

◆ m_type

int MsWks3TextInternal::TextZone::m_type

the zone type;

Referenced by isMain().

◆ m_zonesList

std::vector<LineZone> MsWks3TextInternal::TextZone::m_zonesList

the list of zones

Referenced by MsWks3Text::send(), MsWks3Text::update(), and MsWks3Text::updateNotes().


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

Generated on Thu Jan 19 2023 00:00:00 for libmwaw by doxygen 1.9.6