Versions in this module Expand all Collapse all v1 v1.0.6 May 28, 2020 v1.0.5 May 28, 2020 Changes in this version + var FromBorderStyleType map[BorderStyleType]string + var FromCellType map[CellType]string + var FromConditionOperatorType map[ConditionOperatorType]string + var FromConditionValueType map[ConditionValueType]string + var FromGradientType map[GradientType]string + var FromHAlignType map[HAlignType]string + var FromIconSetType map[IconSetType]string + var FromPatternType map[PatternType]string + var FromVAlignType map[VAlignType]string + var FromVisibilityType map[VisibilityType]string + var ToBorderStyleType map[string]BorderStyleType + var ToCellType map[string]CellType + var ToConditionOperatorType map[string]ConditionOperatorType + var ToConditionValueType map[string]ConditionValueType + var ToGradientType map[string]GradientType + var ToHAlignType map[string]HAlignType + var ToIconSetType map[string]IconSetType + var ToPatternType map[string]PatternType + var ToVAlignType map[string]VAlignType + var ToVisibilityType map[string]VisibilityType + func OptionalBool(v bool) *bool + func OptionalIndex(v int) ml.OptionalIndex + type BorderStyleType byte + func (t *BorderStyleType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *BorderStyleType) UnmarshalXMLAttr(attr xml.Attr) error + func (t BorderStyleType) String() string + type Bounds struct + FromCol int + FromRow int + ToCol int + ToRow int + func BoundsFromIndexes(fromCol, fromRow, toCol, toRow int) Bounds + func (b *Bounds) Contains(cIdx, rIdx int) bool + func (b *Bounds) ContainsRef(celRef CellRef) bool + func (b *Bounds) Dimension() (width int, height int) + func (b *Bounds) Equals(a Bounds) bool + func (b *Bounds) Overlaps(a Bounds) bool + func (b *Bounds) ToRef() Ref + func (b *Bounds) UnmarshalXMLAttr(attr xml.Attr) error + func (b Bounds) Hash() index.Code + func (b Bounds) IsEmpty() bool + func (b Bounds) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (b Bounds) String() string + type BoundsList []Bounds + func BoundsListFromRefs(refs ...Ref) BoundsList + func (bl *BoundsList) Add(ref Ref) + func (bl *BoundsList) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (bl *BoundsList) ToRefList() RefList + func (bl *BoundsList) UnmarshalXMLAttr(attr xml.Attr) error + func (bl BoundsList) IsEmpty() bool + func (bl BoundsList) String() string + type CellFormulaType byte + const CellFormulaTypeArray + const CellFormulaTypeDataTable + const CellFormulaTypeNormal + const CellFormulaTypeShared + func (e *CellFormulaType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (e *CellFormulaType) UnmarshalXMLAttr(attr xml.Attr) error + func (e CellFormulaType) String() string + type CellRef string + func CellRefFromIndexes(colIndex, rowIndex int) CellRef + func (cr CellRef) ToIndexes() (int, int) + type CellType byte + func (e *CellType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (e *CellType) UnmarshalXMLAttr(attr xml.Attr) error + func (e CellType) String() string + type ConditionOperatorType byte + const ConditionOperatorBeginsWith + const ConditionOperatorBetween + const ConditionOperatorContainsText + const ConditionOperatorEndsWith + const ConditionOperatorEqual + const ConditionOperatorGreaterThan + const ConditionOperatorGreaterThanOrEqual + const ConditionOperatorLessThan + const ConditionOperatorLessThanOrEqual + const ConditionOperatorNotBetween + const ConditionOperatorNotContains + const ConditionOperatorNotEqual + func (t *ConditionOperatorType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *ConditionOperatorType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ConditionOperatorType) String() string + type ConditionType byte + const ConditionTypeAboveAverage + const ConditionTypeBeginsWith + const ConditionTypeCellIs + const ConditionTypeColorScale + const ConditionTypeContainsBlanks + const ConditionTypeContainsErrors + const ConditionTypeContainsText + const ConditionTypeDataBar + const ConditionTypeDuplicateValues + const ConditionTypeEndsWith + const ConditionTypeExpression + const ConditionTypeIconSet + const ConditionTypeNotContainsBlanks + const ConditionTypeNotContainsErrors + const ConditionTypeNotContainsText + const ConditionTypeTimePeriod + const ConditionTypeTop10 + const ConditionTypeUniqueValues + func (t *ConditionType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *ConditionType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ConditionType) String() string + type ConditionValueType byte + func (t *ConditionValueType) IsAllowed(allowed ...ConditionValueType) bool + func (t *ConditionValueType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *ConditionValueType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ConditionValueType) String() string + type FontCharsetType ml.PropertyInt + func (t *FontCharsetType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t *FontCharsetType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FontEffectType ml.Property + const FontEffectBaseline + const FontEffectSubscript + const FontEffectSuperscript + func (t *FontEffectType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t *FontEffectType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FontFamilyType ml.PropertyInt + func (t *FontFamilyType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t *FontFamilyType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type FontSchemeType ml.Property + func (t *FontSchemeType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t *FontSchemeType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type GradientType byte + func (t *GradientType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *GradientType) UnmarshalXMLAttr(attr xml.Attr) error + func (t GradientType) String() string + type HAlignType byte + func (t *HAlignType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *HAlignType) UnmarshalXMLAttr(attr xml.Attr) error + func (t HAlignType) String() string + type IconSetType byte + func (t *IconSetType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *IconSetType) UnmarshalXMLAttr(attr xml.Attr) error + func (t IconSetType) String() string + type ObjectsType byte + const ObjectsTypeAll + const ObjectsTypeNone + const ObjectsTypePlaceholders + func (e *ObjectsType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (e *ObjectsType) UnmarshalXMLAttr(attr xml.Attr) error + func (e ObjectsType) String() string + type PatternType byte + func (t *PatternType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *PatternType) UnmarshalXMLAttr(attr xml.Attr) error + func (t PatternType) String() string + type Ref string + func RefFromCellRefs(from CellRef, to CellRef) Ref + func RefFromIndexes(colIndex, rowIndex int) Ref + func (r Ref) ToBounds() Bounds + func (r Ref) ToCellRefs() (from CellRef, to CellRef) + type RefList string + func RefListFromRefs(refs ...Ref) RefList + func (r RefList) ToBoundsList() BoundsList + func (r RefList) ToRefs() []Ref + type Text string + func (t *Text) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t Text) Hash() index.Code + type TimePeriodType byte + const TimePeriodLast7Days + const TimePeriodLastMonth + const TimePeriodLastWeek + const TimePeriodNextMonth + const TimePeriodNextWeek + const TimePeriodThisMonth + const TimePeriodThisWeek + const TimePeriodToday + const TimePeriodTomorrow + const TimePeriodYesterday + func (t *TimePeriodType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *TimePeriodType) UnmarshalXMLAttr(attr xml.Attr) error + func (t TimePeriodType) String() string + type UnderlineType ml.Property + func (t *UnderlineType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + func (t *UnderlineType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type UpdateLinksType byte + const UpdateLinksTypeAlways + const UpdateLinksTypeNever + const UpdateLinksTypeUserSet + func (e *UpdateLinksType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (e *UpdateLinksType) UnmarshalXMLAttr(attr xml.Attr) error + func (e UpdateLinksType) String() string + type VAlignType byte + func (t *VAlignType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t *VAlignType) UnmarshalXMLAttr(attr xml.Attr) error + func (t VAlignType) String() string + type VisibilityType byte + func (e *VisibilityType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (e *VisibilityType) UnmarshalXMLAttr(attr xml.Attr) error + func (e VisibilityType) String() string