Documentation
¶
Index ¶
- Constants
- func CreateFormula(s string) *_eg.CT_F
- func NewCommentShape(col, row int64) *_eg.Shape
- type Container
- type ShapeStyle
- func (_ad *ShapeStyle) Bottom() float64
- func (_fed *ShapeStyle) Height() float64
- func (_cge *ShapeStyle) Left() float64
- func (_bdg *ShapeStyle) MSOPositionHorizontalRelative() string
- func (_ae *ShapeStyle) MSOPositionVerticalRelative() string
- func (_ga *ShapeStyle) Margins() (float64, float64, float64, float64)
- func (_ca *ShapeStyle) Position() string
- func (_bag *ShapeStyle) Right() float64
- func (_gf *ShapeStyle) SetHeight(height float64)
- func (_cf *ShapeStyle) SetWidth(width float64)
- func (_ecc *ShapeStyle) String() string
- func (_gd *ShapeStyle) Top() float64
- func (_ge *ShapeStyle) Width() float64
- type TextpathStyle
- func (_eb *TextpathStyle) FontFamily() string
- func (_adb *TextpathStyle) FontSize() int64
- func (_cc *TextpathStyle) IsBold() bool
- func (_ecf *TextpathStyle) IsItalic() bool
- func (_ed *TextpathStyle) SetBold(bold bool)
- func (_bfd *TextpathStyle) SetFontFamily(fontFamily string)
- func (_cbd *TextpathStyle) SetFontSize(fontSize int64)
- func (_fde *TextpathStyle) SetItalic(italic bool)
- func (_bbd *TextpathStyle) String() string
Constants ¶
const ( ShapeStylePositionAbsolute = "\u0061\u0062\u0073\u006f\u006c\u0075\u0074\u0065" ShapeStylePositionRelative = "\u0072\u0065\u006c\u0061\u0074\u0069\u0076\u0065" )
Variables ¶
This section is empty.
Functions ¶
func CreateFormula ¶
CreateFormula creates F element for typeFormulas.
func NewCommentShape ¶
NewCommentShape creates a new comment shape for a given cell index. The indices here are zero based.
Types ¶
type Container ¶
func NewCommentDrawing ¶
func NewCommentDrawing() *Container
NewCommentDrawing constructs a new comment drawing.
func NewContainer ¶
func NewContainer() *Container
func (*Container) MarshalXML ¶
func (*Container) UnmarshalXML ¶
type ShapeStyle ¶
type ShapeStyle struct {
// contains filtered or unexported fields
}
ShapeStyle is style attribute of v:shape element.
func NewShapeStyle ¶
func NewShapeStyle(style string) ShapeStyle
NewShapeStyle accept value of string style attribute in v:shape and format it to generate ShapeStyle.
func (*ShapeStyle) Bottom ¶
func (_ad *ShapeStyle) Bottom() float64
Bottom get bottom attribute of shape style.
func (*ShapeStyle) Left ¶
func (_cge *ShapeStyle) Left() float64
Left get left attribute of shape style.
func (*ShapeStyle) MSOPositionHorizontalRelative ¶
func (_bdg *ShapeStyle) MSOPositionHorizontalRelative() string
MSOPositionHorizontalRelative get `mso-position-horizontal-relative` attribute of shape style.
func (*ShapeStyle) MSOPositionVerticalRelative ¶
func (_ae *ShapeStyle) MSOPositionVerticalRelative() string
MSOPositionVerticalRelative get `mso-position-vertical-relative` attribute of shape style.
func (*ShapeStyle) Margins ¶
func (_ga *ShapeStyle) Margins() (float64, float64, float64, float64)
Margins get margin top, left, bottom, and right of shape style.
func (*ShapeStyle) Position ¶
func (_ca *ShapeStyle) Position() string
Position get position attribute of shape style.
func (*ShapeStyle) Right ¶
func (_bag *ShapeStyle) Right() float64
Right get right attribute of shape style.
func (*ShapeStyle) SetHeight ¶
func (_gf *ShapeStyle) SetHeight(height float64)
SetHeight set height of shape.
func (*ShapeStyle) SetWidth ¶
func (_cf *ShapeStyle) SetWidth(width float64)
SetWidth set width of shape.
func (*ShapeStyle) String ¶
func (_ecc *ShapeStyle) String() string
ToString formatting ShapeStyle to string.
type TextpathStyle ¶
type TextpathStyle struct {
// contains filtered or unexported fields
}
TextpathStyle is style attribute of element v:textpath.
func NewTextpathStyle ¶
func NewTextpathStyle(style string) TextpathStyle
NewTextpathStyle accept value of string style attribute of element v:textpath and format it to generate TextpathStyle.
func (*TextpathStyle) FontFamily ¶
func (_eb *TextpathStyle) FontFamily() string
FontFamily returns fontFamily of the text.
func (*TextpathStyle) FontSize ¶
func (_adb *TextpathStyle) FontSize() int64
FontSize returns fontSize of the text.
func (*TextpathStyle) IsBold ¶
func (_cc *TextpathStyle) IsBold() bool
IsBold returns true if text is bold.
func (*TextpathStyle) IsItalic ¶
func (_ecf *TextpathStyle) IsItalic() bool
IsItalic returns true if text is italic.
func (*TextpathStyle) SetBold ¶
func (_ed *TextpathStyle) SetBold(bold bool)
SetBold sets text to bold.
func (*TextpathStyle) SetFontFamily ¶
func (_bfd *TextpathStyle) SetFontFamily(fontFamily string)
SetFontFamily sets text's fontFamily.
func (*TextpathStyle) SetFontSize ¶
func (_cbd *TextpathStyle) SetFontSize(fontSize int64)
SetFontSize sets text's fontSize.
func (*TextpathStyle) SetItalic ¶
func (_fde *TextpathStyle) SetItalic(italic bool)
SetItalic sets text to italic.
func (*TextpathStyle) String ¶
func (_bbd *TextpathStyle) String() string
ToString generate string of TextpathStyle.