MarinerWrtGraphInternal::Token Struct Reference

Internal: the struct use to store a token entry. More...

Public Member Functions

 Token ()
 constructor
 
bool hasPictBorders () const
 return true if the picture has some border
 
void addPictBorder (MWAWGraphicStyle &style) const
 add border properties
 

Public Attributes

long m_id [2]
 the token id and the graph? id
 
int m_type
 the field type
 
int m_highType
 the high byte of the field type
 
MWAWVec2i m_dim
 the dimension
 
int m_refType
 the zone to used type
 
uint32_t m_refId
 the zone to used id
 
int m_fieldType
 the field type
 
std::string m_value
 the token value
 
MWAWEntry m_pictData
 the picture data
 
long m_pictId
 a picture id
 
long m_valPictId
 a optional picture id
 
MWAWColor m_pictBorderColor
 the pict border color
 
int m_pictBorderType [4]
 the pict border type
 
float m_pictBorderWidth [4]
 the pict border width
 
int m_ruleType
 the rule type
 
int m_rulePattern
 the rule pattern
 
bool m_parsed
 true if the token has been send to a listener
 
std::string m_extra
 some extra data
 

Friends

std::ostream & operator<< (std::ostream &o, Token const &tkn)
 operator<<
 

Detailed Description

Internal: the struct use to store a token entry.

Constructor & Destructor Documentation

◆ Token()

MarinerWrtGraphInternal::Token::Token ( )
inline

constructor

Member Function Documentation

◆ addPictBorder()

void MarinerWrtGraphInternal::Token::addPictBorder ( MWAWGraphicStyle style) const
inline

add border properties

Referenced by MarinerWrtGraph::sendPicture().

◆ hasPictBorders()

bool MarinerWrtGraphInternal::Token::hasPictBorders ( ) const
inline

return true if the picture has some border

Referenced by addPictBorder().

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  o,
Token const &  tkn 
)
friend

operator<<

Member Data Documentation

◆ m_dim

MWAWVec2i MarinerWrtGraphInternal::Token::m_dim

◆ m_extra

std::string MarinerWrtGraphInternal::Token::m_extra

◆ m_fieldType

int MarinerWrtGraphInternal::Token::m_fieldType

the field type

Referenced by MarinerWrtGraph::readToken().

◆ m_highType

int MarinerWrtGraphInternal::Token::m_highType

the high byte of the field type

Referenced by MarinerWrtGraph::readToken().

◆ m_id

long MarinerWrtGraphInternal::Token::m_id[2]

the token id and the graph? id

Referenced by MarinerWrtGraph::readToken(), and Token().

◆ m_parsed

bool MarinerWrtGraphInternal::Token::m_parsed
mutable

true if the token has been send to a listener

◆ m_pictBorderColor

MWAWColor MarinerWrtGraphInternal::Token::m_pictBorderColor

the pict border color

Referenced by addPictBorder(), and MarinerWrtGraph::readToken().

◆ m_pictBorderType

int MarinerWrtGraphInternal::Token::m_pictBorderType[4]

the pict border type

Referenced by addPictBorder(), hasPictBorders(), MarinerWrtGraph::readToken(), and Token().

◆ m_pictBorderWidth

float MarinerWrtGraphInternal::Token::m_pictBorderWidth[4]

the pict border width

Referenced by MarinerWrtGraph::readToken(), and Token().

◆ m_pictData

MWAWEntry MarinerWrtGraphInternal::Token::m_pictData

the picture data

Referenced by MarinerWrtGraph::readToken(), and MarinerWrtGraph::sendPicture().

◆ m_pictId

long MarinerWrtGraphInternal::Token::m_pictId

a picture id

Referenced by MarinerWrtGraph::readToken().

◆ m_refId

uint32_t MarinerWrtGraphInternal::Token::m_refId

the zone to used id

Referenced by MarinerWrtGraph::readToken().

◆ m_refType

int MarinerWrtGraphInternal::Token::m_refType

the zone to used type

Referenced by MarinerWrtGraph::readToken().

◆ m_rulePattern

int MarinerWrtGraphInternal::Token::m_rulePattern

◆ m_ruleType

int MarinerWrtGraphInternal::Token::m_ruleType

◆ m_type

int MarinerWrtGraphInternal::Token::m_type

◆ m_valPictId

long MarinerWrtGraphInternal::Token::m_valPictId

a optional picture id

Referenced by MarinerWrtGraph::readTokenBlock0().

◆ m_value

std::string MarinerWrtGraphInternal::Token::m_value

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