Versions in this module Expand all Collapse all v1 v1.2.0 Mar 28, 2024 Changes in this version + func Arc() *arc + func Curve() *curve + func Image() *image + func Line() *line + func Oval() *oval + func PolyLine() *polyLine + func Rect() *rect + func RoundRect() *roundRect + type ClientData struct + Anchor string + AutoFill ml.TriStateBlankTrue + AutoLine ml.TriStateBlankTrue + AutoPict ml.TriStateBlankTrue + Column int + ColumnHidden ml.TriStateBlankTrue + MoveWithCells ml.TriStateBlankTrue + MultiLine ml.TriStateBlankTrue + Row int + RowHidden ml.TriStateBlankTrue + SizeWithCells ml.TriStateBlankTrue + Type ObjectType + Visible ml.TriStateBlankTrue + XMLName xml.Name + func (s *ClientData) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ClientDataAnchor struct + BottomOffset int + BottomRow int + LeftColumn int + LeftOffset int + RightColumn int + RightOffset int + TopOffset int + TopRow int + func StringToClientDataAnchor(s string) (ClientDataAnchor, error) + func (t ClientDataAnchor) String() string + type ConnectType byte + const ConnectTypeCustom + const ConnectTypeNone + const ConnectTypeRect + const ConnectTypeSegments + func (t *ConnectType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ConnectType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t ConnectType) String() string + type Excel officeDrawing + func (o *Excel) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ExtType byte + const ExtTypeBackwardCompatible + const ExtTypeEdit + const ExtTypeView + func (t *ExtType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ExtType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t ExtType) String() string + type Fill struct + Color string + Color2 string + Colors string + Focus css.Fraction + FocusPosition string + FocusSize string + ImageAlignShape ml.TriStateType + ImageAspect ImageAspect + ImageSize string + ImageSrc string + Method FillMethod + On ml.TriStateType + Opacity css.Fraction + Origin string + Position string + Type FillType + XMLName xml.Name + func (s *Fill) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type FillMethod byte + const FillMethodAny + const FillMethodLinear + const FillMethodLinearSigma + const FillMethodNone + const FillMethodSigma + func (t *FillMethod) UnmarshalXMLAttr(attr xml.Attr) error + func (t FillMethod) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t FillMethod) String() string + type FillType byte + const FillTypeFrame + const FillTypeGradient + const FillTypeGradientRadial + const FillTypePattern + const FillTypeSolid + const FillTypeTile + func (t *FillType) UnmarshalXMLAttr(attr xml.Attr) error + func (t FillType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t FillType) String() string + type Formula string + func (s *Formula) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (s Formula) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Formulas struct + List []Formula + XMLName xml.Name + func (s *Formulas) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Handle struct + InvX bool + InvY bool + Map string + Polar string + Position string + RadiusRange string + Switch bool + XRange string + YRange string + func (s *Handle) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Handles struct + List []Handle + XMLName xml.Name + func (s *Handles) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type IdMap struct + Data string + Ext ExtType + XMLName xml.Name + func (s *IdMap) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ImageAspect byte + const ImageAspectAtLeast + const ImageAspectAtMost + const ImageAspectIgnore + func (t *ImageAspect) UnmarshalXMLAttr(attr xml.Attr) error + func (t ImageAspect) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t ImageAspect) String() string + type ImageData struct + XMLName xml.Name + func (s *ImageData) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type InsetModeType byte + const InsetModeAuto + const InsetModeCustom + func (t *InsetModeType) UnmarshalXMLAttr(attr xml.Attr) error + func (t InsetModeType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t InsetModeType) String() string + type ObjectType byte + const ObjectTypeButton + const ObjectTypeCheckbox + const ObjectTypeDialog + const ObjectTypeDrop + const ObjectTypeEdit + const ObjectTypeGBox + const ObjectTypeGroup + const ObjectTypeLabel + const ObjectTypeLineA + const ObjectTypeList + const ObjectTypeMovie + const ObjectTypeNote + const ObjectTypePict + const ObjectTypeRadio + const ObjectTypeRect + const ObjectTypeRectA + const ObjectTypeScroll + const ObjectTypeShape + const ObjectTypeSpin + func (t *ObjectType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ObjectType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t ObjectType) String() string + type Path struct + ArrowOK ml.TriStateType + ConnectType ConnectType + FillOK ml.TriStateType + GradientShapeOK ml.TriStateType + ShadowOK ml.TriStateType + StrokeOK ml.TriStateType + Value string + XMLName xml.Name + func (s *Path) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type PowerPoint officeDrawing + func (o *PowerPoint) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Shadow struct + Color string + Color2 string + Matrix string + Obscured ml.TriStateType + Offset string + Offset2 string + On ml.TriStateType + Opacity css.Fraction + Origin string + Type ShadowType + XMLName xml.Name + func (s *Shadow) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ShadowType byte + const ShadowTypeDouble + const ShadowTypeEmboss + const ShadowTypePerspective + const ShadowTypeSingle + func (t *ShadowType) UnmarshalXMLAttr(attr xml.Attr) error + func (t ShadowType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t ShadowType) String() string + type Shape struct + Type string + XMLName xml.Name + func (s *Shape) Hash() index.Code + func (s *Shape) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ShapeLayout struct + Ext ExtType + IdMap *IdMap + XMLName xml.Name + func (s *ShapeLayout) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type ShapeType struct + Path string + XMLName xml.Name + func (s *ShapeType) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Stroke struct + Bottom *StrokeAttributes + Column *StrokeAttributes + Left *StrokeAttributes + Right *StrokeAttributes + Top *StrokeAttributes + XMLName xml.Name + func (s *Stroke) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type StrokeArrowLength byte + const StrokeArrowLengthLong + const StrokeArrowLengthMedium + const StrokeArrowLengthShort + func (t *StrokeArrowLength) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeArrowLength) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeArrowLength) String() string + type StrokeArrowType byte + const StrokeArrowTypeBlock + const StrokeArrowTypeClassic + const StrokeArrowTypeDiamond + const StrokeArrowTypeNone + const StrokeArrowTypeOpen + const StrokeArrowTypeOval + func (t *StrokeArrowType) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeArrowType) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeArrowType) String() string + type StrokeArrowWidth byte + const StrokeArrowWidthMedium + const StrokeArrowWidthNarrow + const StrokeArrowWidthWide + func (t *StrokeArrowWidth) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeArrowWidth) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeArrowWidth) String() string + type StrokeAttributes struct + Color string + Color2 string + DashStyle StrokeDashStyle + EndArrow StrokeArrowType + EndArrowLength StrokeArrowLength + EndArrowWidth StrokeArrowWidth + EndCap StrokeEndCap + FillType FillType + ImageAlignShape ml.TriStateType + ImageAspect ImageAspect + ImageSize string + ImageSrc string + InsetPenOK ml.TriStateType + JoinStyle StrokeJoinStyle + LineStyle StrokeLineStyle + On ml.TriStateType + Opacity css.Fraction + StartArrow StrokeArrowType + StartArrowLength StrokeArrowLength + StartArrowWidth StrokeArrowWidth + Weight css.Number + func (s *StrokeAttributes) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type StrokeDashStyle byte + const StrokeDashStyleDash + const StrokeDashStyleDashDot + const StrokeDashStyleDot + const StrokeDashStyleLongDash + const StrokeDashStyleLongDashDot + const StrokeDashStyleLongDashDotDot + const StrokeDashStyleShortDash + const StrokeDashStyleShortDashDot + const StrokeDashStyleShortDashDotDot + const StrokeDashStyleShortDot + const StrokeDashStyleSolid + func (t *StrokeDashStyle) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeDashStyle) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeDashStyle) String() string + type StrokeEndCap byte + const StrokeEndCapFlat + const StrokeEndCapRound + const StrokeEndCapSquare + func (t *StrokeEndCap) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeEndCap) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeEndCap) String() string + type StrokeJoinStyle byte + const StrokeJoinStyleBevel + const StrokeJoinStyleMiter + const StrokeJoinStyleRound + func (t *StrokeJoinStyle) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeJoinStyle) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeJoinStyle) String() string + type StrokeLineStyle byte + const StrokeLineStyleSingle + const StrokeLineStyleThickBetweenThin + const StrokeLineStyleThickThin + const StrokeLineStyleThinThick + const StrokeLineStyleThinThin + func (t *StrokeLineStyle) UnmarshalXMLAttr(attr xml.Attr) error + func (t StrokeLineStyle) MarshalXMLAttr(name xml.Name) (xml.Attr, error) + func (t StrokeLineStyle) String() string + type TextBox struct + Inset string + InsetMode InsetModeType + Style string + Text string + XMLName xml.Name + func (s *TextBox) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type TextPath struct + FitPath ml.TriStateType + FitShape ml.TriStateType + On ml.TriStateType + Style string + Text string + Trim ml.TriStateType + XMLName xml.Name + XScale ml.TriStateType + func (s *TextPath) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type Word officeDrawing + func (o *Word) MarshalXML(e *xml.Encoder, start xml.StartElement) error