|
LibreOffice Module starmath (master) 1
|
#include <sal/config.h>#include <string_view>#include <rtl/ustring.hxx>#include <tools/fract.hxx>Go to the source code of this file.
Classes | |
| struct | MathMLAttributeLengthValue |
Enumerations | |
| enum class | MathMLLengthUnit { None , Em , Ex , Px , In , Cm , Mm , Pt , Pc , Percent } |
| enum class | MathMLMathvariantValue { Normal , Bold , Italic , BoldItalic , DoubleStruck , BoldFraktur , Script , BoldScript , Fraktur , SansSerif , BoldSansSerif , SansSerifItalic , SansSerifBoldItalic , Monospace , Initial , Tailed , Looped , Stretched } |
Functions | |
| bool | ParseMathMLAttributeLengthValue (std::u16string_view rStr, MathMLAttributeLengthValue &rV) |
| bool | GetMathMLMathvariantValue (const OUString &rStr, MathMLMathvariantValue &rV) |
|
strong |
| Enumerator | |
|---|---|
| None | |
| Em | |
| Ex | |
| Px | |
| In | |
| Cm | |
| Mm | |
| Pt | |
| Pc | |
| Percent | |
Definition at line 26 of file mathmlattr.hxx.
|
strong |
| Enumerator | |
|---|---|
| Normal | |
| Bold | |
| Italic | |
| BoldItalic | |
| DoubleStruck | |
| BoldFraktur | |
| Script | |
| BoldScript | |
| Fraktur | |
| SansSerif | |
| BoldSansSerif | |
| SansSerifItalic | |
| SansSerifBoldItalic | |
| Monospace | |
| Initial | |
| Tailed | |
| Looped | |
| Stretched | |
Definition at line 55 of file mathmlattr.hxx.
| bool GetMathMLMathvariantValue | ( | const OUString & | rStr, |
| MathMLMathvariantValue & | rV | ||
| ) |
Definition at line 133 of file mathmlattr.cxx.
References aMap, Bold, BoldFraktur, BoldItalic, BoldSansSerif, BoldScript, DoubleStruck, Fraktur, Initial, Italic, Looped, Monospace, Normal, SansSerif, SansSerifBoldItalic, SansSerifItalic, Script, Stretched, and Tailed.
| bool ParseMathMLAttributeLengthValue | ( | std::u16string_view | rStr, |
| MathMLAttributeLengthValue & | rV | ||
| ) |
Definition at line 84 of file mathmlattr.cxx.
References MathMLAttributeLengthValue::aNumber, Cm, Em, MathMLAttributeLengthValue::eUnit, Ex, In, Mm, None, ParseMathMLNumber(), Pc, Percent, Pt, Px, o3tl::starts_with(), and u.