Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 828 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 828 Bytes

goppt Go Report Card Go Reference

Native Go text extractor from the legacy MS PPT (Microsoft PowerPoint) binary files.

Example

f, err := os.Open("testdata/simplepres.ppt")
if err != nil {
  handleErr(err)
}
text, err := goppt.ExtractText(f)
if err != nil {
  handleErr(err)
}
fmt.Println(text)

Special Thanks

A lot of thanks to https://github.com/richardlehane/mscfb and its author Richard Lehane. It helped a lot with parsing Microsoft old binary format.

Also I am grateful to Alex Rembish with PHP text extraction implementation.