the font structure of a Microsoft Word file More...
#include <MSWStruct.hxx>
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<< |
the font structure of a Microsoft Word file
MSWStruct::Font::Font | ( | ) | [inline] |
the constructor
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().
std::ostream& operator<< | ( | std::ostream & | o, |
Font const & | font | ||
) | [friend] |
operator<<
std::string MSWStruct::Font::m_extra |
extra data
Referenced by insert(), MSWStruct::operator<<(), and MSWTextStyles::readFont().
a list of flags
Referenced by cmp(), insert(), MSWStruct::operator<<(), and updateFontToFinalState().
Variable<MWAWFont> MSWStruct::Font::m_font |
a picture file position (if this corresponds to a picture)
Referenced by cmp(), insert(), MSWStruct::operator<<(), MSWTextStyles::readFont(), and MSWText::sendText().
Variable<float> MSWStruct::Font::m_size |
a second size
Referenced by cmp(), insert(), MSWStruct::operator<<(), and MSWTextStyles::readFont().
some unknown flag
Referenced by cmp(), insert(), MSWStruct::operator<<(), and MSWTextStyles::readFont().
a unknown value
Referenced by cmp(), insert(), and MSWStruct::operator<<().