the font structure of a Microsoft Word file More...
#include <MsWrdStruct.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 | |
| MWAWVariable< MWAWFont > | m_font |
| the font | |
| MWAWVariable< float > | m_size |
| a second size | |
| MWAWVariable< int > | m_value |
| a unknown value | |
| MWAWVariable< int > | m_flags [NumFlags] |
| a list of flags | |
| MWAWVariable< long > | m_picturePos |
| a picture file position (if this corresponds to a picture) | |
| MWAWVariable< 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
| MsWrdStruct::Font::Font | ( | ) | [inline] |
the constructor
| int MsWrdStruct::Font::cmp | ( | Font const & | oth | ) | const [inline] |
a comparison function
| void MsWrdStruct::Font::insert | ( | Font const & | font, |
| Font const * | styleFont = 0 |
||
| ) |
insert new font data ( beginning by updating font flags )
Referenced by MsWrdStruct::Paragraph::getFont(), and MsWrdText::prepareFontProperties().
| void MsWrdStruct::Font::updateFontToFinalState | ( | Font const * | styleFont = 0 | ) |
update the font to obtain the final font
Referenced by insert(), and MsWrdTextStyles::setProperty().
| std::ostream& operator<< | ( | std::ostream & | o, |
| Font const & | font | ||
| ) | [friend] |
operator<<
| std::string MsWrdStruct::Font::m_extra |
extra data
Referenced by insert(), MsWrdStruct::operator<<(), and MsWrdTextStyles::readFont().
a list of flags
Referenced by cmp(), insert(), MsWrdStruct::operator<<(), and updateFontToFinalState().
the font
Referenced by cmp(), MsWrdTextStyles::getFont(), insert(), MsWrdStruct::operator<<(), MsWrdText::prepareData(), MsWrdTextStyles::readFont(), MsWrdTextStyles::readPLC(), MsWrdTextStyles::readStylesFont(), MsWrdText::sendFieldComment(), MsWrdTextStyles::setProperty(), and updateFontToFinalState().
a picture file position (if this corresponds to a picture)
Referenced by cmp(), insert(), MsWrdStruct::operator<<(), MsWrdTextStyles::readFont(), and MsWrdText::sendText().
a second size
Referenced by cmp(), insert(), MsWrdStruct::operator<<(), and MsWrdTextStyles::readFont().
some unknown flag
Referenced by cmp(), insert(), MsWrdStruct::operator<<(), and MsWrdTextStyles::readFont().
a unknown value
Referenced by cmp(), insert(), and MsWrdStruct::operator<<().