mergePptx

mergePptx

ADVANCED / PREMIUM BASIC

Merges PowerPoint presentations.

Description
public mergePptx($source, $target, $options = array())

This method allows the full merging of PPTX presentations.

The merging process preserves all contents without internal/external dependencies: slides, paragraphs, tables, lists, text boxes, shapes...

The merging process also preserves the following contents that include internal/external dependencies:

  • styles
  • images
  • charts
  • links
  • sections
  • audios
  • videos
  • notes
  • comments
  • layouts
  • themes
  • handouts
  • masters

Parameters

source

PPTX files to be merged.

target

PPTX output file.

options

Key Type Description
mergeSections bool Keep sections from the merged PPTX files. Default as true.
Code samples

Example #1

The resulting PPTX looks like (first slide shown):

Release notes
  • phppptx 3.0:
    • new method.