Indexer

Indexer

ADVANCED / PREMIUM BASIC

Parses PPTX files and return information.

Description
Indexer(mixed $source)

This class parses the content of a PPTX file and returns an array with these contents:

  • comments: authors, comments
  • presentation: section, sizes, slides
  • properties: core, custom
  • layouts: masters, slides
  • slides: audios, comments, images, links, layout, notes, placeholders, text, videos
  • signatures

Parameters

source

The path to the PPTX file to be parsed (Advanced and Premium licenses) or a PptxStructure object (Premium licenses).

Return values

array

Code samples

Example #1:

Release notes
  • phppptx 3.5:
    • supported PPTM, POTX and POTM files.
    • audios.
    • videos.
  • phppptx 3.0:
    • notes.
  • phppptx 2.0:
    • sections, comments and comment authors.
  • phppptx 1.0:
    • new method.