func CreateFormula(s string) *vml.CT_F
CreateFormula creates F element for typeFormulas.
func NewCommentShape(col, row int64) *vml.Shape
NewCommentShape creates a new comment shape for a given cell index. The indices here are zero based.
type Container struct { Layout *vml.OfcShapelayout ShapeType *vml.Shapetype Shape []*vml.Shape }
func NewCommentDrawing() *Container
NewCommentDrawing constructs a new comment drawing.
func NewContainer() *Container
func (c *Container) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (c *Container) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
ShapeStyle is style attribute of v:shape element.
type ShapeStyle struct {
// contains filtered or unexported fields
}
func NewShapeStyle(style string) ShapeStyle
NewShapeStyle accept value of string style attribute in v:shape and format it to generate ShapeStyle.
func (ss *ShapeStyle) Height() int64
Height return height of shape.
func (ss *ShapeStyle) SetHeight(height int64)
SetHeight set height of shape.
func (ss *ShapeStyle) SetWidth(width int64)
SetWidth set width of shape.
func (ss *ShapeStyle) String() string
ToString formatting ShapeStyle to string.
func (ss *ShapeStyle) Width() int64
Width return width of shape.
TextpathStyle is style attribute of element v:textpath.
type TextpathStyle struct {
// contains filtered or unexported fields
}
func NewTextpathStyle(style string) TextpathStyle
NewTextpathStyle accept value of string style attribute of element v:textpath and format it to generate TextpathStyle.
func (ts *TextpathStyle) FontFamily() string
FontFamily returns fontFamily of the text.
func (ts *TextpathStyle) FontSize() int64
FontSize returns fontSize of the text.
func (ts *TextpathStyle) IsBold() bool
IsBold returns true if text is bold.
func (ts *TextpathStyle) IsItalic() bool
IsItalic returns true if text is italic.
func (ts *TextpathStyle) SetBold(bold bool)
SetBold sets text to bold.
func (ts *TextpathStyle) SetFontFamily(fontFamily string)
SetFontFamily sets text's fontFamily.
func (ts *TextpathStyle) SetFontSize(fontSize int64)
SetFontSize sets text's fontSize.
func (ts *TextpathStyle) SetItalic(italic bool)
SetItalic sets text to italic.
func (ts *TextpathStyle) String() string
ToString generate string of TextpathStyle.