.. _intro: Introduction ============ PHPPowerPoint is a library written in pure PHP that provides a set of classes to write to different presentation file formats, i.e. Microsoft `Office Open XML ` (.pptx) and OASIS `Open Document Format for Office Applications `__ (.odp). PHPPowerPoint is an open source project licensed under the terms of `LGPL version 3 `__. PHPPowerPoint is aimed to be a high quality software product by incorporating `continuous integration `__ and `unit testing `__. You can learn more about PHPPowerPoint by reading this Developers' Documentation and the `API Documentation `__. Features -------- - Create an in-memory presentation representation - Set presentation meta data (author, title, description, etc) - Add slides from scratch or from existing one - Supports different fonts and font styles - Supports different formatting, styles, fills, gradients - Supports hyperlinks and rich-text strings - Add images with different styles (positioning, rotation, shadow) - Set printing options (header, footer, page margins, paper size, orientation) - Output to different file formats: PowerPoint 2007 (.pptx), OpenDocument Presentation (.odp), Serialized Spreadsheet) - ... and lots of other things! File formats ------------ Below are the supported features for each file formats. Writers ~~~~~~~ +---------------------------+----------------------+--------+-------+-------+-------+ | Features | | PPTX | ODP | HTML | PDF | +===========================+======================+========+=======+=======+=======+ | **Document Properties** | Standard | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Custom | | | | | +---------------------------+----------------------+--------+-------+-------+-------+ | **Element Shape** | Image | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Hyperlink | ✓ | | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Line | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | MemoryImage | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | RichText | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Table | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Text | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | **Charts** | Bar3D | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Line | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Pie3D | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ | | Scatter | ✓ | ✓ | | | +---------------------------+----------------------+--------+-------+-------+-------+ Readers ~~~~~~~ +---------------------------+----------------------+--------+-------+-------+-------+-------+ | Features | | PPTX | ODP | HTML | PDF | PPT | +===========================+======================+========+=======+=======+=======+=======+ | **Document Properties** | Standard | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Custom | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | **Element Shape** | Image | | | | | ✓ | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Hyperlink | | | | | ✓ | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | RichText | | | | | ✓ | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Table | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Text | | | | | ✓ | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | **Charts** | Bar3D | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Line | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Pie3D | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ | | Scatter | | | | | | +---------------------------+----------------------+--------+-------+-------+-------+-------+ Contributing ------------ We welcome everyone to contribute to PHPPowerPoint. Below are some of the things that you can do to contribute: - Read `our contributing guide `__ - `Fork us `__ and `request a pull `__ to the `develop `__ branch - Submit `bug reports or feature requests `__ to GitHub - Follow `@PHPOffice `__ on Twitter