Documentation ¶
Index ¶
- Variables
- func Convert(filepath string) string
- type EmbellType
- type MTEFv5
- type MtAST
- type MtChar
- type MtColorDef
- type MtColorDefIndex
- type MtEmbell
- type MtEmbellRd
- type MtEqnPrefs
- type MtLine
- type MtMatrix
- type MtObjList
- type MtObject
- type MtPile
- type MtRuler
- type MtSize
- type MtTabStop
- type MtTmpl
- type MtfontDef
- type MtfontStyleDef
- type OptionType
- type RecordType
- type SelectorType
Constants ¶
This section is empty.
Variables ¶
View Source
var Chars = map[string]string{}/* 921 elements not displayed */
View Source
var SpecialChar = map[string]string{
"!": "\\!",
"#": "\\#",
"$": "\\$",
"%": "\\%",
"&": "\\&",
":": "\\:",
";": "\\;",
"_": "\\_",
"{": "\\{",
"|": "\\|",
"}": "\\}",
}
Functions ¶
Types ¶
type EmbellType ¶
type EmbellType uint8
type MTEFv5 ¶
type MTEFv5 struct { //是否合法,顺利解析 Valid bool // contains filtered or unexported fields }
MTEFv5(https://docs.wiris.com/en/mathtype/mathtype_desktop/mathtype-sdk/mtef5)
func Open ¶
func Open(reader io.ReadSeeker) (eqn *MTEFv5, err error)
[MTEF Storage](https://docs.wiris.com/en/mathtype/mathtype_desktop/mathtype-sdk/mtefstorage)
type MtColorDef ¶
type MtColorDef struct {
// contains filtered or unexported fields
}
type MtColorDefIndex ¶
type MtColorDefIndex struct {
// contains filtered or unexported fields
}
type MtEmbellRd ¶
type MtEmbellRd struct {
// contains filtered or unexported fields
}
type MtEqnPrefs ¶
type MtEqnPrefs struct {
// contains filtered or unexported fields
}
type MtfontStyleDef ¶
type MtfontStyleDef struct {
// contains filtered or unexported fields
}
type OptionType ¶
type OptionType uint8
const ( MtefOptNudge OptionType = 0x08 MtefOptCharEmbell OptionType = 0x01 MtefOptCharFuncStart OptionType = 0x02 MtefOptCharEncChar8 OptionType = 0x04 MtefOptCharEncChar16 OptionType = 0x10 MtefOptCharEncNoMtcode OptionType = 0x20 MtefOptLineNull OptionType = 0x01 MtefOptLineLspace OptionType = 0x04 MtefOptLpRuler OptionType = 0x02 MtefColorCmyk OptionType = 0x01 MtefColorSpot OptionType = 0x02 MtefColorName OptionType = 0x04 )
type RecordType ¶
type RecordType uint8
const ( END RecordType = 0 LINE RecordType = 1 CHAR RecordType = 2 TMPL RecordType = 3 PILE RecordType = 4 MATRIX RecordType = 5 EMBELL RecordType = 6 RULER RecordType = 7 FONT_STYLE_DEF RecordType = 8 SIZE RecordType = 9 FULL RecordType = 10 SUB RecordType = 11 SUB2 RecordType = 12 SYM RecordType = 13 SUBSYM RecordType = 14 COLOR RecordType = 15 COLOR_DEF RecordType = 16 FONT_DEF RecordType = 17 EQN_PREFS RecordType = 18 ENCODING_DEF RecordType = 19 FUTURE RecordType = 100 ROOT RecordType = 255 )
type SelectorType ¶
type SelectorType uint8
Click to show internal directories.
Click to hide internal directories.