Versions in this module Expand all Collapse all v1 v1.0.0 Apr 4, 2024 Changes in this version + type Image struct + func (i Image) Properties() drawing.ShapeProperties + type PlaceHolder struct + func (s PlaceHolder) AddParagraph() drawing.Paragraph + func (s PlaceHolder) Clear() + func (s PlaceHolder) ClearAll() + func (s PlaceHolder) Index() uint32 + func (s PlaceHolder) Paragraphs() []drawing.Paragraph + func (s PlaceHolder) Remove() error + func (s PlaceHolder) SetText(text string) + func (s PlaceHolder) Type() pml.ST_PlaceholderType + func (s PlaceHolder) X() *pml.CT_Shape + type Presentation struct + func New() *Presentation + func Open(filename string) (*Presentation, error) + func OpenTemplate(fn string) (*Presentation, error) + func Read(r io.ReaderAt, size int64) (*Presentation, error) + func (p *Presentation) AddDefaultSlideWithLayout(l SlideLayout) (Slide, error) + func (p *Presentation) AddImage(i common.Image) (common.ImageRef, error) + func (p *Presentation) AddSlide() Slide + func (p *Presentation) AddSlideWithLayout(l SlideLayout) (Slide, error) + func (p *Presentation) GetImageByRelID(relID string) (common.ImageRef, bool) + func (p *Presentation) GetLayoutByName(name string) (SlideLayout, error) + func (p *Presentation) RemoveSlide(s Slide) error + func (p *Presentation) Save(w io.Writer) error + func (p *Presentation) SaveToFile(path string) error + func (p *Presentation) SlideLayouts() []SlideLayout + func (p *Presentation) SlideMasters() []SlideMaster + func (p *Presentation) Slides() []Slide + func (p *Presentation) Validate() error + func (p *Presentation) X() *pml.Presentation + type Slide struct + func (s Slide) AddImage(img common.ImageRef) Image + func (s Slide) AddTextBox() TextBox + func (s Slide) GetPlaceholder(t pml.ST_PlaceholderType) (PlaceHolder, error) + func (s Slide) GetPlaceholderByIndex(idx uint32) (PlaceHolder, error) + func (s Slide) PlaceHolders() []PlaceHolder + func (s Slide) ValidateWithPath(path string) error + func (s Slide) X() *pml.Sld + type SlideLayout struct + func (s SlideLayout) Name() string + func (s SlideLayout) Type() pml.ST_SlideLayoutType + func (s SlideLayout) X() *pml.SldLayout + type SlideMaster struct + func (s SlideMaster) SlideLayouts() []SlideLayout + func (s SlideMaster) X() *pml.SldMaster + type TextBox struct + func (t TextBox) AddParagraph() drawing.Paragraph + func (t TextBox) Properties() drawing.ShapeProperties + func (t TextBox) SetTextAnchor(a dml.ST_TextAnchoringType)