MRWGraphInternal::Token Struct Reference

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

List of all members.

Public Member Functions

 Token ()
 constructor
bool hasPictBorders () const
 return true if the picture has some border
void addPictBorderProperties (WPXPropertyList &pList) 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
Vec2i 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

constructor


Member Function Documentation

void MRWGraphInternal::Token::addPictBorderProperties ( WPXPropertyList &  pList) const [inline]

add border properties

Referenced by MRWGraph::sendPicture().

bool MRWGraphInternal::Token::hasPictBorders ( ) const [inline]

return true if the picture has some border

Referenced by addPictBorderProperties(), and MRWGraphInternal::operator<<().


Friends And Related Function Documentation

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

operator<<


Member Data Documentation

the high byte of the field type

Referenced by MRWGraphInternal::operator<<(), and MRWGraph::readToken().

the token id and the graph? id

Referenced by MRWGraphInternal::operator<<(), MRWGraph::readToken(), and Token().

true if the token has been send to a listener

Referenced by MRWGraph::flushExtra(), and MRWGraph::sendToken().


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