a small struct to define the script position in MWAWFont More...
#include <MWAWFont.hxx>
Public Member Functions | |
| Script (float delta=0, librevenge::RVNGUnit deltaUnit=librevenge::RVNG_PERCENT, int scale=100) | |
| constructor | |
| bool | isSet () const |
| return true if the position is not default | |
| std::string | str (float fSize) const |
| return a string which correspond to style:text-position | |
| bool | operator== (Script const &oth) const |
| operator== | |
| bool | operator!= (Script const &oth) const |
| operator!= | |
| bool | operator< (Script const &oth) const |
| operator< | |
| bool | operator<= (Script const &oth) const |
| operator<= | |
| bool | operator> (Script const &oth) const |
| operator> | |
| bool | operator>= (Script const &oth) const |
| operator>= | |
| int | cmp (Script const &oth) const |
| small comparison function | |
Static Public Member Functions | |
| static Script | sub () |
| return a yposition which correspond to a basic subscript | |
| static Script | sub100 () |
| return a yposition which correspond to a basic subscript100 | |
| static Script | super () |
| return a yposition which correspond to a basic superscript | |
| static Script | super100 () |
| return a yposition which correspond to a basic superscript100 | |
Public Attributes | |
| float | m_delta |
| the ydelta | |
| librevenge::RVNGUnit | m_deltaUnit |
| the ydelta unit ( point or percent ) | |
| int | m_scale |
| the font scaling ( in percent ) | |
a small struct to define the script position in MWAWFont
| MWAWFont::Script::Script | ( | float | delta = 0, |
| librevenge::RVNGUnit | deltaUnit = librevenge::RVNG_PERCENT, |
||
| int | scale = 100 |
||
| ) | [inline] |
constructor
Referenced by isSet(), sub(), sub100(), super(), and super100().
| int MWAWFont::Script::cmp | ( | Script const & | oth | ) | const [inline] |
small comparison function
Referenced by MWAWFont::cmp(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().
| bool MWAWFont::Script::isSet | ( | ) | const [inline] |
return true if the position is not default
Referenced by MWAWFont::addTo().
| bool MWAWFont::Script::operator!= | ( | Script const & | oth | ) | const [inline] |
operator!=
| bool MWAWFont::Script::operator< | ( | Script const & | oth | ) | const [inline] |
operator<
| bool MWAWFont::Script::operator<= | ( | Script const & | oth | ) | const [inline] |
operator<=
| bool MWAWFont::Script::operator== | ( | Script const & | oth | ) | const [inline] |
operator==
| bool MWAWFont::Script::operator> | ( | Script const & | oth | ) | const [inline] |
operator>
| bool MWAWFont::Script::operator>= | ( | Script const & | oth | ) | const [inline] |
operator>=
| std::string MWAWFont::Script::str | ( | float | fSize | ) | const |
return a string which correspond to style:text-position
Referenced by MWAWFont::addTo().
| static Script MWAWFont::Script::sub | ( | ) | [inline, static] |
return a yposition which correspond to a basic subscript
Referenced by BeagleWksTextInternal::Font::getFont(), ClarisDrawText::readFont(), ClarisWksStyleManager::readFont(), ClarisWksText::readFont(), LightWayTxtText::readFont2(), and NisusWrtText::readFonts().
| static Script MWAWFont::Script::sub100 | ( | ) | [inline, static] |
return a yposition which correspond to a basic subscript100
Referenced by RagTimeText::readCharProperties(), MsWrd1Parser::readFont(), ClarisDrawText::readFont(), ClarisWksStyleManager::readFont(), HanMacWrdJText::readFont(), GreatWksText::readFont(), HanMacWrdKText::readFont(), MsWks3Text::readFont(), ClarisWksText::readFont(), MsWks4Text::readFont(), MsWksGraph::readFont(), RagTimeText::readFonts(), MindWrtParser::readFonts(), WriterPlsParser::readFonts(), MacDrawProStyleManager::readFontStyles(), MacWrtParser::readInformations(), RagTimeSpreadsheet::readSpreadsheetCellV2(), GreatWksSSParser::readStyles(), MsWksTable::readTable(), MacWrtParser::readText(), WriteNowText::send(), GreatWksText::sendSimpleTextbox(), and FullWrtTextInternal::Font::update().
| static Script MWAWFont::Script::super | ( | ) | [inline, static] |
return a yposition which correspond to a basic superscript
Referenced by BeagleWksTextInternal::Font::getFont(), ClarisDrawText::readFont(), ClarisWksStyleManager::readFont(), HanMacWrdJText::readFont(), HanMacWrdKText::readFont(), ClarisWksText::readFont(), MacWrtProStructures::readFont(), LightWayTxtText::readFont2(), and NisusWrtText::readFonts().
| static Script MWAWFont::Script::super100 | ( | ) | [inline, static] |
return a yposition which correspond to a basic superscript100
Referenced by RagTimeText::readCharProperties(), MsWrd1Parser::readFont(), ClarisDrawText::readFont(), ClarisWksStyleManager::readFont(), HanMacWrdJText::readFont(), GreatWksText::readFont(), HanMacWrdKText::readFont(), MsWks3Text::readFont(), ClarisWksText::readFont(), MsWks4Text::readFont(), MsWksGraph::readFont(), RagTimeText::readFonts(), MindWrtParser::readFonts(), WriterPlsParser::readFonts(), MacDrawProStyleManager::readFontStyles(), MacWrtParser::readInformations(), RagTimeSpreadsheet::readSpreadsheetCellV2(), GreatWksSSParser::readStyles(), MsWksTable::readTable(), MacWrtParser::readText(), WriteNowText::send(), GreatWksText::sendSimpleTextbox(), and FullWrtTextInternal::Font::update().
the ydelta
Referenced by cmp().
| librevenge::RVNGUnit MWAWFont::Script::m_deltaUnit |
the ydelta unit ( point or percent )
Referenced by cmp().
the font scaling ( in percent )
Referenced by cmp().