MRWParserInternal::Zone Struct Reference

Internal: the struct used to store the zone of a MRWParser. More...

Public Types

enum  Type {
  Z_Main, Z_Footnote, Z_Header, Z_Footer,
  Z_Unknown
}
 a enum to define the diffent zone type More...

Public Member Functions

 Zone ()
 constructor

Public Attributes

int m_id
 the zone id
uint32_t m_fileId
 the file zone id
Type m_type
 the zone type
bool m_endNote
 a flag to know if this an endnote
long m_height
 height of the zone
Vec2l m_RBpos
 rigth/bottom position
Box2l m_dim
 the zone total position
Box2i m_pageDim
 the page dimension (?)
Box2i m_pageTextDim
 the zone of text dimension ( ie page less margins)
MWAWSection m_section
 the section
MWAWColor m_backgroundColor
 the background color
std::string m_extra
 extra data

Friends

std::ostream & operator<< (std::ostream &o, Zone const &zone)
 operator<<

Detailed Description

Internal: the struct used to store the zone of a MRWParser.

Member Enumeration Documentation

a enum to define the diffent zone type

Enumerator:
Z_Main 
Z_Footnote 
Z_Header 
Z_Footer 
Z_Unknown 

Constructor & Destructor Documentation

MRWParserInternal::Zone::Zone ( )
inline

constructor

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Zone const &  zone 
)
friend

operator<<

Member Data Documentation

MWAWColor MRWParserInternal::Zone::m_backgroundColor

the background color

Referenced by MRWParserInternal::operator<<(), and MRWParser::readZoneHeader().

Box2l MRWParserInternal::Zone::m_dim

the zone total position

Referenced by MRWParserInternal::operator<<(), and MRWParser::readZoneHeader().

bool MRWParserInternal::Zone::m_endNote

a flag to know if this an endnote

Referenced by MRWParserInternal::operator<<(), and MRWParser::readZoneHeader().

std::string MRWParserInternal::Zone::m_extra
uint32_t MRWParserInternal::Zone::m_fileId
long MRWParserInternal::Zone::m_height

height of the zone

Referenced by MRWParserInternal::operator<<(), and MRWParser::readZoneHeader().

int MRWParserInternal::Zone::m_id

the zone id

Box2i MRWParserInternal::Zone::m_pageDim

the page dimension (?)

Box2i MRWParserInternal::Zone::m_pageTextDim

the zone of text dimension ( ie page less margins)

Vec2l MRWParserInternal::Zone::m_RBpos

rigth/bottom position

Referenced by MRWParserInternal::operator<<(), and MRWParser::readZoneHeader().

MWAWSection MRWParserInternal::Zone::m_section

the section

Type MRWParserInternal::Zone::m_type

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

Generated on Wed May 22 2013 18:12:48 for libmwaw by doxygen 1.8.1.2