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