the font structure of a Microsoft Word file More...
#include <MSWStruct.hxx>
Public Types | |
enum | { NumFlags =9 } |
Public Member Functions | |
Font () | |
the constructor More... | |
void | insert (Font const &font, Font const *styleFont=0) |
insert new font data ( beginning by updating font flags ) More... | |
void | updateFontToFinalState (Font const *styleFont=0) |
update the font to obtain the final font More... | |
int | cmp (Font const &oth) const |
a comparison function More... | |
Public Attributes | |
Variable< MWAWFont > | m_font |
the font More... | |
Variable< float > | m_size |
a second size More... | |
Variable< int > | m_value |
a unknown value More... | |
Variable< int > | m_flags [NumFlags] |
a list of flags More... | |
Variable< long > | m_picturePos |
a picture file position (if this corresponds to a picture) More... | |
Variable< int > | m_unknown |
some unknown flag More... | |
std::string | m_extra |
extra data More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Font const &font) |
operator<< More... | |
the font structure of a Microsoft Word file
|
inline |
the constructor
|
inline |
a comparison function
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().
|
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 |
Variable<long> MSWStruct::Font::m_picturePos |
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().
Variable<int> MSWStruct::Font::m_unknown |
some unknown flag
Referenced by cmp(), insert(), MSWStruct::operator<<(), and MSWTextStyles::readFont().
Variable<int> MSWStruct::Font::m_value |
a unknown value
Referenced by cmp(), insert(), and MSWStruct::operator<<().