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
  • 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.0:
    • notes.
  • phppptx 2.0:
    • sections, comments and comment authors.
  • phppptx 1.0:
    • new method.