Documentation
¶
Index ¶
- type LineJoin
- type LineProperties
- type Paragraph
- type ParagraphProperties
- func (_bfe ParagraphProperties) SetAlign(a _be.ST_TextAlignType)
- func (_afg ParagraphProperties) SetBulletChar(c string)
- func (_af ParagraphProperties) SetBulletFont(f string)
- func (_gd ParagraphProperties) SetLevel(idx int32)
- func (_dgc ParagraphProperties) SetNumbered(scheme _be.ST_TextAutonumberScheme)
- func (_f ParagraphProperties) X() *_be.CT_TextParagraphProperties
- type Run
- type RunProperties
- type ShapeProperties
- func (_efa ShapeProperties) GetPosition() (int64, int64)
- func (_ee ShapeProperties) LineProperties() LineProperties
- func (_ddb ShapeProperties) SetFlipHorizontal(b bool)
- func (_dgcd ShapeProperties) SetFlipVertical(b bool)
- func (_cbf ShapeProperties) SetGeometry(g _be.ST_ShapeType)
- func (_cfe ShapeProperties) SetHeight(h _cg.Distance)
- func (_eg ShapeProperties) SetNoFill()
- func (_eege ShapeProperties) SetPosition(x, y _cg.Distance)
- func (_eeg ShapeProperties) SetSize(w, h _cg.Distance)
- func (_eff ShapeProperties) SetSolidFill(c _c.Color)
- func (_bfg ShapeProperties) SetWidth(w _cg.Distance)
- func (_aaa ShapeProperties) X() *_be.CT_ShapeProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineProperties ¶
type LineProperties struct {
// contains filtered or unexported fields
}
func (LineProperties) SetJoin ¶
func (_bg LineProperties) SetJoin(e LineJoin)
SetJoin sets the line join style.
func (LineProperties) SetNoFill ¶
func (_dc LineProperties) SetNoFill()
func (LineProperties) SetSolidFill ¶
func (_g LineProperties) SetSolidFill(c _c.Color)
func (LineProperties) SetWidth ¶
func (_a LineProperties) SetWidth(w _cg.Distance)
SetWidth sets the line width, MS products treat zero as the minimum width that can be displayed.
func (LineProperties) X ¶
func (_ef LineProperties) X() *_be.CT_LineProperties
X returns the inner wrapped XML type.
type Paragraph ¶
type Paragraph struct {
// contains filtered or unexported fields
}
Paragraph is a paragraph within a document.
func MakeParagraph ¶
func MakeParagraph(x *_be.CT_TextParagraph) Paragraph
MakeParagraph constructs a new paragraph wrapper.
func (Paragraph) AddBreak ¶
func (_aa Paragraph) AddBreak()
AddBreak adds a new line break to a paragraph.
func (Paragraph) Properties ¶
func (_ea Paragraph) Properties() ParagraphProperties
Properties returns the paragraph properties.
func (Paragraph) X ¶
func (_de Paragraph) X() *_be.CT_TextParagraph
X returns the inner wrapped XML type.
type ParagraphProperties ¶
type ParagraphProperties struct {
// contains filtered or unexported fields
}
ParagraphProperties allows controlling paragraph properties.
func MakeParagraphProperties ¶
func MakeParagraphProperties(x *_be.CT_TextParagraphProperties) ParagraphProperties
MakeParagraphProperties constructs a new ParagraphProperties wrapper.
func (ParagraphProperties) SetAlign ¶
func (_bfe ParagraphProperties) SetAlign(a _be.ST_TextAlignType)
SetAlign controls the paragraph alignment
func (ParagraphProperties) SetBulletChar ¶
func (_afg ParagraphProperties) SetBulletChar(c string)
SetBulletChar sets the bullet character for the paragraph.
func (ParagraphProperties) SetBulletFont ¶
func (_af ParagraphProperties) SetBulletFont(f string)
SetBulletFont controls the font for the bullet character.
func (ParagraphProperties) SetLevel ¶
func (_gd ParagraphProperties) SetLevel(idx int32)
SetLevel sets the level of indentation of a paragraph.
func (ParagraphProperties) SetNumbered ¶
func (_dgc ParagraphProperties) SetNumbered(scheme _be.ST_TextAutonumberScheme)
SetNumbered controls if bullets are numbered or not.
func (ParagraphProperties) X ¶
func (_f ParagraphProperties) X() *_be.CT_TextParagraphProperties
X returns the inner wrapped XML type.
type Run ¶
type Run struct {
// contains filtered or unexported fields
}
Run is a run within a paragraph.
func (Run) Properties ¶
func (_dec Run) Properties() RunProperties
Properties returns the run's properties.
type RunProperties ¶
type RunProperties struct {
// contains filtered or unexported fields
}
RunProperties controls the run properties.
func MakeRunProperties ¶
func MakeRunProperties(x *_be.CT_TextCharacterProperties) RunProperties
MakeRunProperties constructs a new RunProperties wrapper.
func (RunProperties) SetBold ¶
func (_cf RunProperties) SetBold(b bool)
SetBold controls the bolding of a run.
func (RunProperties) SetFont ¶
func (_cb RunProperties) SetFont(s string)
SetFont controls the font of a run.
func (RunProperties) SetSize ¶
func (_beg RunProperties) SetSize(sz _cg.Distance)
SetSize sets the font size of the run text
func (RunProperties) SetSolidFill ¶
func (_dgd RunProperties) SetSolidFill(c _c.Color)
SetSolidFill controls the text color of a run.
type ShapeProperties ¶
type ShapeProperties struct {
// contains filtered or unexported fields
}
func MakeShapeProperties ¶
func MakeShapeProperties(x *_be.CT_ShapeProperties) ShapeProperties
func (ShapeProperties) GetPosition ¶
func (_efa ShapeProperties) GetPosition() (int64, int64)
GetPosition gets the position of the shape in EMU.
func (ShapeProperties) LineProperties ¶
func (_ee ShapeProperties) LineProperties() LineProperties
func (ShapeProperties) SetFlipHorizontal ¶
func (_ddb ShapeProperties) SetFlipHorizontal(b bool)
SetFlipHorizontal controls if the shape is flipped horizontally.
func (ShapeProperties) SetFlipVertical ¶
func (_dgcd ShapeProperties) SetFlipVertical(b bool)
SetFlipVertical controls if the shape is flipped vertically.
func (ShapeProperties) SetGeometry ¶
func (_cbf ShapeProperties) SetGeometry(g _be.ST_ShapeType)
SetGeometry sets the shape type of the shape
func (ShapeProperties) SetHeight ¶
func (_cfe ShapeProperties) SetHeight(h _cg.Distance)
SetHeight sets the height of the shape.
func (ShapeProperties) SetNoFill ¶
func (_eg ShapeProperties) SetNoFill()
func (ShapeProperties) SetPosition ¶
func (_eege ShapeProperties) SetPosition(x, y _cg.Distance)
SetPosition sets the position of the shape.
func (ShapeProperties) SetSize ¶
func (_eeg ShapeProperties) SetSize(w, h _cg.Distance)
SetSize sets the width and height of the shape.
func (ShapeProperties) SetSolidFill ¶
func (_eff ShapeProperties) SetSolidFill(c _c.Color)
func (ShapeProperties) SetWidth ¶
func (_bfg ShapeProperties) SetWidth(w _cg.Distance)
SetWidth sets the width of the shape.
func (ShapeProperties) X ¶
func (_aaa ShapeProperties) X() *_be.CT_ShapeProperties
X returns the inner wrapped XML type.