Documentation ¶
Index ¶
- type PowerPoint
- func (p *PowerPoint) DeletePassWord()
- func (p *PowerPoint) DeleteSlide(index int) error
- func (p *PowerPoint) GetNotesSlideCount() int
- func (p *PowerPoint) GetSlideCount() int
- func (p *PowerPoint) GetSlidesContent() []string
- func (p *PowerPoint) GetThemeCount() int
- func (p *PowerPoint) ReplaceImage(newImagePath string, index int) error
- func (p *PowerPoint) ReplaceNotesSlideContent(oldString string, newString string, num int)
- func (p *PowerPoint) ReplaceSlideContent(oldString string, newString string, num int)
- func (p *PowerPoint) ReplaceThemeName(oldString string, newString string, num int)
- func (p *PowerPoint) Write(ioWriter io.Writer) (err error)
- func (p *PowerPoint) WriteToFile(path string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PowerPoint ¶
type PowerPoint struct { Files []*zip.File Slides map[string]string NotesSlides map[string]string Themes map[string]string Images map[string]string Presentation string }
func ReadPowerPoint ¶
func ReadPowerPoint(path string) (*PowerPoint, error)
func (*PowerPoint) DeleteSlide ¶
func (p *PowerPoint) DeleteSlide(index int) error
func (*PowerPoint) GetNotesSlideCount ¶
func (p *PowerPoint) GetNotesSlideCount() int
func (*PowerPoint) GetSlideCount ¶
func (p *PowerPoint) GetSlideCount() int
func (*PowerPoint) GetSlidesContent ¶
func (p *PowerPoint) GetSlidesContent() []string
func (*PowerPoint) GetThemeCount ¶
func (p *PowerPoint) GetThemeCount() int
func (*PowerPoint) ReplaceImage ¶
func (p *PowerPoint) ReplaceImage(newImagePath string, index int) error
func (*PowerPoint) ReplaceNotesSlideContent ¶
func (p *PowerPoint) ReplaceNotesSlideContent(oldString string, newString string, num int)
func (*PowerPoint) ReplaceSlideContent ¶
func (p *PowerPoint) ReplaceSlideContent(oldString string, newString string, num int)
func (*PowerPoint) ReplaceThemeName ¶
func (p *PowerPoint) ReplaceThemeName(oldString string, newString string, num int)
func (*PowerPoint) WriteToFile ¶
func (p *PowerPoint) WriteToFile(path string) (err error)
Click to show internal directories.
Click to hide internal directories.