MSWStruct::Font Struct Reference

the font structure of a Microsoft Word file More...

#include <MSWStruct.hxx>

List of all members.

Public Types

enum  { NumFlags = 9 }

Public Member Functions

 Font ()
 the constructor
void insert (Font const &font, Font const *styleFont=0)
 insert new font data ( beginning by updating font flags )
void updateFontToFinalState (Font const *styleFont=0)
 update the font to obtain the final font
int cmp (Font const &oth) const
 a comparison function

Public Attributes

Variable< MWAWFont > m_font
 the font
Variable< float > m_size
 a second size
Variable< int > m_value
 a unknown value
Variable< int > m_flags [NumFlags]
 a list of flags
Variable< long > m_picturePos
 a picture file position (if this corresponds to a picture)
Variable< int > m_unknown
 some unknown flag
std::string m_extra
 extra data

Friends

std::ostream & operator<< (std::ostream &o, Font const &font)
 operator<<

Detailed Description

the font structure of a Microsoft Word file


Member Enumeration Documentation

anonymous enum
Enumerator:
NumFlags 

the number of flags needed to store all datas


Constructor & Destructor Documentation

MSWStruct::Font::Font ( ) [inline]

the constructor


Member Function Documentation

int MSWStruct::Font::cmp ( Font const &  oth) const [inline]

a comparison function

void MSWStruct::Font::insert ( Font const &  font,
Font const *  styleFont = 0 
)

insert new font data ( beginning by updating font flags )

Referenced by MSWStruct::Paragraph::getFont(), and MSWText::prepareFontProperties().

void MSWStruct::Font::updateFontToFinalState ( Font const *  styleFont = 0)

update the font to obtain the final font

Referenced by insert(), and MSWTextStyles::setProperty().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
Font const &  font 
) [friend]

operator<<


Member Data Documentation

a picture file position (if this corresponds to a picture)

Referenced by cmp(), insert(), MSWStruct::operator<<(), MSWTextStyles::readFont(), and MSWText::sendText().

a unknown value

Referenced by cmp(), insert(), and MSWStruct::operator<<().


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