LibreOffice Module starmath (master) 1
Classes | Enumerations | Functions
mathmlattr.hxx File Reference
#include <sal/config.h>
#include <string_view>
#include <rtl/ustring.hxx>
#include <tools/fract.hxx>
Include dependency graph for mathmlattr.hxx:
This graph shows which files directly or indirectly include this file:

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)
 

Enumeration Type Documentation

◆ MathMLLengthUnit

enum class MathMLLengthUnit
strong
Enumerator
None 
Em 
Ex 
Px 
In 
Cm 
Mm 
Pt 
Pc 
Percent 

Definition at line 26 of file mathmlattr.hxx.

◆ MathMLMathvariantValue

enum class MathMLMathvariantValue
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.

Function Documentation

◆ GetMathMLMathvariantValue()

bool GetMathMLMathvariantValue ( const OUString &  rStr,
MathMLMathvariantValue rV 
)

◆ ParseMathMLAttributeLengthValue()

bool ParseMathMLAttributeLengthValue ( std::u16string_view  rStr,
MathMLAttributeLengthValue rV 
)