sharedTypes

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ST_FixedPercentagePattern = "" /* 210-byte string literal not displayed */
View Source
const ST_GuidPattern = "" /* 350-byte string literal not displayed */
View Source
const ST_PercentagePattern = "-\u003f[\u0030\u002d\u0039\u005d\u002b\u0028\u005c\u002e[\u0030\u002d\u0039\u005d+)\u003f\u0025"
View Source
const ST_PositiveFixedPercentagePattern = "" /* 213-byte string literal not displayed */
View Source
const ST_PositivePercentagePattern = "\u005b0\u002d9\u005d\u002b\u0028\u005c\u002e[\u0030\u002d9\u005d\u002b\u0029\u003f\u0025"
View Source
const ST_PositiveUniversalMeasurePattern = "" /* 162-byte string literal not displayed */
View Source
const ST_UniversalMeasurePattern = "" /* 213-byte string literal not displayed */

Variables

View Source
var ST_FixedPercentagePatternRe = _bd.MustCompile(ST_FixedPercentagePattern)
View Source
var ST_GuidPatternRe = _bd.MustCompile(ST_GuidPattern)
View Source
var ST_PercentagePatternRe = _bd.MustCompile(ST_PercentagePattern)
View Source
var ST_PositiveFixedPercentagePatternRe = _bd.MustCompile(ST_PositiveFixedPercentagePattern)
View Source
var ST_PositivePercentagePatternRe = _bd.MustCompile(ST_PositivePercentagePattern)
View Source
var ST_PositiveUniversalMeasurePatternRe = _bd.MustCompile(ST_PositiveUniversalMeasurePattern)
View Source
var ST_UniversalMeasurePatternRe = _bd.MustCompile(ST_UniversalMeasurePattern)

Functions

func FormatDate

func FormatDate(t _g.Time) string

func FormatDateTime

func FormatDateTime(t _g.Time) string

func FormatTime

func FormatTime(t _g.Time) string

func ParseStdlibTime

func ParseStdlibTime(s string) (_g.Time, error)

Types

type ST_AlgClass

type ST_AlgClass byte
const (
	ST_AlgClassUnset  ST_AlgClass = 0
	ST_AlgClassHash   ST_AlgClass = 1
	ST_AlgClassCustom ST_AlgClass = 2
)

func (ST_AlgClass) MarshalXML

func (_cg ST_AlgClass) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_AlgClass) MarshalXMLAttr

func (_ggc ST_AlgClass) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_AlgClass) String

func (_ca ST_AlgClass) String() string

func (*ST_AlgClass) UnmarshalXML

func (_cbf *ST_AlgClass) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_AlgClass) UnmarshalXMLAttr

func (_gbe *ST_AlgClass) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_AlgClass) Validate

func (_ea ST_AlgClass) Validate() error

func (ST_AlgClass) ValidateWithPath

func (_age ST_AlgClass) ValidateWithPath(path string) error

type ST_AlgType

type ST_AlgType byte
const (
	ST_AlgTypeUnset   ST_AlgType = 0
	ST_AlgTypeTypeAny ST_AlgType = 1
	ST_AlgTypeCustom  ST_AlgType = 2
)

func (ST_AlgType) MarshalXML

func (_fee ST_AlgType) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_AlgType) MarshalXMLAttr

func (_fbg ST_AlgType) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_AlgType) String

func (_gbf ST_AlgType) String() string

func (*ST_AlgType) UnmarshalXML

func (_ccf *ST_AlgType) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_AlgType) UnmarshalXMLAttr

func (_fc *ST_AlgType) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_AlgType) Validate

func (_ge ST_AlgType) Validate() error

func (ST_AlgType) ValidateWithPath

func (_fdg ST_AlgType) ValidateWithPath(path string) error

type ST_CalendarType

type ST_CalendarType byte
const (
	ST_CalendarTypeUnset                ST_CalendarType = 0
	ST_CalendarTypeGregorian            ST_CalendarType = 1
	ST_CalendarTypeGregorianUs          ST_CalendarType = 2
	ST_CalendarTypeGregorianMeFrench    ST_CalendarType = 3
	ST_CalendarTypeGregorianArabic      ST_CalendarType = 4
	ST_CalendarTypeHijri                ST_CalendarType = 5
	ST_CalendarTypeHebrew               ST_CalendarType = 6
	ST_CalendarTypeTaiwan               ST_CalendarType = 7
	ST_CalendarTypeJapan                ST_CalendarType = 8
	ST_CalendarTypeThai                 ST_CalendarType = 9
	ST_CalendarTypeKorea                ST_CalendarType = 10
	ST_CalendarTypeSaka                 ST_CalendarType = 11
	ST_CalendarTypeGregorianXlitEnglish ST_CalendarType = 12
	ST_CalendarTypeGregorianXlitFrench  ST_CalendarType = 13
	ST_CalendarTypeNone                 ST_CalendarType = 14
)

func (ST_CalendarType) MarshalXML

func (_ecg ST_CalendarType) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_CalendarType) MarshalXMLAttr

func (_ee ST_CalendarType) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_CalendarType) String

func (_af ST_CalendarType) String() string

func (*ST_CalendarType) UnmarshalXML

func (_gc *ST_CalendarType) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_CalendarType) UnmarshalXMLAttr

func (_gdd *ST_CalendarType) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_CalendarType) Validate

func (_aa ST_CalendarType) Validate() error

func (ST_CalendarType) ValidateWithPath

func (_bdb ST_CalendarType) ValidateWithPath(path string) error

type ST_ConformanceClass

type ST_ConformanceClass byte
const (
	ST_ConformanceClassUnset        ST_ConformanceClass = 0
	ST_ConformanceClassStrict       ST_ConformanceClass = 1
	ST_ConformanceClassTransitional ST_ConformanceClass = 2
)

func (ST_ConformanceClass) MarshalXML

func (_acaa ST_ConformanceClass) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_ConformanceClass) MarshalXMLAttr

func (_baec ST_ConformanceClass) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_ConformanceClass) String

func (_cec ST_ConformanceClass) String() string

func (*ST_ConformanceClass) UnmarshalXML

func (_dcg *ST_ConformanceClass) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_ConformanceClass) UnmarshalXMLAttr

func (_cfcd *ST_ConformanceClass) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_ConformanceClass) Validate

func (_cfad ST_ConformanceClass) Validate() error

func (ST_ConformanceClass) ValidateWithPath

func (_cfe ST_ConformanceClass) ValidateWithPath(path string) error

type ST_CryptProv

type ST_CryptProv byte
const (
	ST_CryptProvUnset   ST_CryptProv = 0
	ST_CryptProvRsaAES  ST_CryptProv = 1
	ST_CryptProvRsaFull ST_CryptProv = 2
	ST_CryptProvCustom  ST_CryptProv = 3
)

func (ST_CryptProv) MarshalXML

func (_bgd ST_CryptProv) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_CryptProv) MarshalXMLAttr

func (_egg ST_CryptProv) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_CryptProv) String

func (_be ST_CryptProv) String() string

func (*ST_CryptProv) UnmarshalXML

func (_aff *ST_CryptProv) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_CryptProv) UnmarshalXMLAttr

func (_ebf *ST_CryptProv) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_CryptProv) Validate

func (_gge ST_CryptProv) Validate() error

func (ST_CryptProv) ValidateWithPath

func (_ff ST_CryptProv) ValidateWithPath(path string) error

type ST_OnOff

type ST_OnOff struct {
	Bool      *bool
	ST_OnOff1 ST_OnOff1
}

ST_OnOff is a union type

func ParseUnionST_OnOff

func ParseUnionST_OnOff(s string) (ST_OnOff, error)

func (ST_OnOff) MarshalXML

func (_ec ST_OnOff) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_OnOff) String

func (_bf ST_OnOff) String() string

func (*ST_OnOff) Validate

func (_eg *ST_OnOff) Validate() error

func (*ST_OnOff) ValidateWithPath

func (_a *ST_OnOff) ValidateWithPath(path string) error

type ST_OnOff1

type ST_OnOff1 byte
const (
	ST_OnOff1Unset ST_OnOff1 = 0
	ST_OnOff1On    ST_OnOff1 = 1
	ST_OnOff1Off   ST_OnOff1 = 2
)

func (ST_OnOff1) MarshalXML

func (_ebc ST_OnOff1) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_OnOff1) MarshalXMLAttr

func (_ae ST_OnOff1) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_OnOff1) String

func (_acfc ST_OnOff1) String() string

func (*ST_OnOff1) UnmarshalXML

func (_ebb *ST_OnOff1) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_OnOff1) UnmarshalXMLAttr

func (_fcf *ST_OnOff1) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_OnOff1) Validate

func (_gacg ST_OnOff1) Validate() error

func (ST_OnOff1) ValidateWithPath

func (_dab ST_OnOff1) ValidateWithPath(path string) error

type ST_TrueFalse

type ST_TrueFalse byte
const (
	ST_TrueFalseUnset ST_TrueFalse = 0
	ST_TrueFalseT     ST_TrueFalse = 1
	ST_TrueFalseF     ST_TrueFalse = 2
	ST_TrueFalseTrue  ST_TrueFalse = 3
	ST_TrueFalseFalse ST_TrueFalse = 4
)

func (ST_TrueFalse) MarshalXML

func (_bgdd ST_TrueFalse) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_TrueFalse) MarshalXMLAttr

func (_bdc ST_TrueFalse) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_TrueFalse) String

func (_gdc ST_TrueFalse) String() string

func (*ST_TrueFalse) UnmarshalXML

func (_acc *ST_TrueFalse) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_TrueFalse) UnmarshalXMLAttr

func (_bdd *ST_TrueFalse) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_TrueFalse) Validate

func (_ced ST_TrueFalse) Validate() error

func (ST_TrueFalse) ValidateWithPath

func (_bag ST_TrueFalse) ValidateWithPath(path string) error

type ST_TrueFalseBlank

type ST_TrueFalseBlank byte
const (
	ST_TrueFalseBlankUnset  ST_TrueFalseBlank = 0
	ST_TrueFalseBlankT      ST_TrueFalseBlank = 1
	ST_TrueFalseBlankF      ST_TrueFalseBlank = 2
	ST_TrueFalseBlankTrue   ST_TrueFalseBlank = 3
	ST_TrueFalseBlankFalse  ST_TrueFalseBlank = 4
	ST_TrueFalseBlankTrue_  ST_TrueFalseBlank = 6
	ST_TrueFalseBlankFalse_ ST_TrueFalseBlank = 7
)

func (ST_TrueFalseBlank) MarshalXML

func (_de ST_TrueFalseBlank) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_TrueFalseBlank) MarshalXMLAttr

func (_eca ST_TrueFalseBlank) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_TrueFalseBlank) String

func (_geg ST_TrueFalseBlank) String() string

func (*ST_TrueFalseBlank) UnmarshalXML

func (_dbgg *ST_TrueFalseBlank) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_TrueFalseBlank) UnmarshalXMLAttr

func (_fbb *ST_TrueFalseBlank) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_TrueFalseBlank) Validate

func (_cfc ST_TrueFalseBlank) Validate() error

func (ST_TrueFalseBlank) ValidateWithPath

func (_agf ST_TrueFalseBlank) ValidateWithPath(path string) error

type ST_TwipsMeasure

type ST_TwipsMeasure struct {
	ST_UnsignedDecimalNumber    *uint64
	ST_PositiveUniversalMeasure *string
}

ST_TwipsMeasure is a union type

func ParseUnionST_TwipsMeasure

func ParseUnionST_TwipsMeasure(s string) (ST_TwipsMeasure, error)

func (ST_TwipsMeasure) MarshalXML

func (_c ST_TwipsMeasure) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_TwipsMeasure) String

func (_gd ST_TwipsMeasure) String() string

func (*ST_TwipsMeasure) Validate

func (_dce *ST_TwipsMeasure) Validate() error

func (*ST_TwipsMeasure) ValidateWithPath

func (_ed *ST_TwipsMeasure) ValidateWithPath(path string) error

type ST_VerticalAlignRun

type ST_VerticalAlignRun byte
const (
	ST_VerticalAlignRunUnset       ST_VerticalAlignRun = 0
	ST_VerticalAlignRunBaseline    ST_VerticalAlignRun = 1
	ST_VerticalAlignRunSuperscript ST_VerticalAlignRun = 2
	ST_VerticalAlignRunSubscript   ST_VerticalAlignRun = 3
)

func (ST_VerticalAlignRun) MarshalXML

func (_ebd ST_VerticalAlignRun) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_VerticalAlignRun) MarshalXMLAttr

func (_bced ST_VerticalAlignRun) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_VerticalAlignRun) String

func (_cfg ST_VerticalAlignRun) String() string

func (*ST_VerticalAlignRun) UnmarshalXML

func (_aag *ST_VerticalAlignRun) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_VerticalAlignRun) UnmarshalXMLAttr

func (_ceg *ST_VerticalAlignRun) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_VerticalAlignRun) Validate

func (_aac ST_VerticalAlignRun) Validate() error

func (ST_VerticalAlignRun) ValidateWithPath

func (_gfc ST_VerticalAlignRun) ValidateWithPath(path string) error

type ST_XAlign

type ST_XAlign byte
const (
	ST_XAlignUnset   ST_XAlign = 0
	ST_XAlignLeft    ST_XAlign = 1
	ST_XAlignCenter  ST_XAlign = 2
	ST_XAlignRight   ST_XAlign = 3
	ST_XAlignInside  ST_XAlign = 4
	ST_XAlignOutside ST_XAlign = 5
)

func (ST_XAlign) MarshalXML

func (_egd ST_XAlign) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_XAlign) MarshalXMLAttr

func (_daa ST_XAlign) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_XAlign) String

func (_fbbc ST_XAlign) String() string

func (*ST_XAlign) UnmarshalXML

func (_gggd *ST_XAlign) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_XAlign) UnmarshalXMLAttr

func (_ffa *ST_XAlign) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_XAlign) Validate

func (_dfg ST_XAlign) Validate() error

func (ST_XAlign) ValidateWithPath

func (_acfb ST_XAlign) ValidateWithPath(path string) error

type ST_YAlign

type ST_YAlign byte
const (
	ST_YAlignUnset   ST_YAlign = 0
	ST_YAlignInline  ST_YAlign = 1
	ST_YAlignTop     ST_YAlign = 2
	ST_YAlignCenter  ST_YAlign = 3
	ST_YAlignBottom  ST_YAlign = 4
	ST_YAlignInside  ST_YAlign = 5
	ST_YAlignOutside ST_YAlign = 6
)

func (ST_YAlign) MarshalXML

func (_ccd ST_YAlign) MarshalXML(e *_b.Encoder, start _b.StartElement) error

func (ST_YAlign) MarshalXMLAttr

func (_fda ST_YAlign) MarshalXMLAttr(name _b.Name) (_b.Attr, error)

func (ST_YAlign) String

func (_gbc ST_YAlign) String() string

func (*ST_YAlign) UnmarshalXML

func (_bba *ST_YAlign) UnmarshalXML(d *_b.Decoder, start _b.StartElement) error

func (*ST_YAlign) UnmarshalXMLAttr

func (_ebbc *ST_YAlign) UnmarshalXMLAttr(attr _b.Attr) error

func (ST_YAlign) Validate

func (_dbga ST_YAlign) Validate() error

func (ST_YAlign) ValidateWithPath

func (_eda ST_YAlign) ValidateWithPath(path string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL