readers.rst 828 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. _writersreaders:
  2. Readers
  3. =======
  4. ODPresentation
  5. --------------
  6. The name of the reader is ``ODPresentation``.
  7. .. code-block:: php
  8. $oReader = IOFactory::createReader('ODPresentation');
  9. $oReader->load(__DIR__ . '/sample.odp');
  10. PowerPoint97
  11. ------------
  12. The name of the reader is ``PowerPoint97``.
  13. .. code-block:: php
  14. $oReader = IOFactory::createReader('PowerPoint97');
  15. $oReader->load(__DIR__ . '/sample.ppt');
  16. PowerPoint2007
  17. --------------
  18. The name of the reader is ``PowerPoint2007``.
  19. .. code-block:: php
  20. $oReader = IOFactory::createReader('PowerPoint2007');
  21. $oReader->load(__DIR__ . '/sample.pptx');
  22. Serialized
  23. ----------
  24. The name of the reader is ``Serialized``.
  25. .. code-block:: php
  26. $oReader = IOFactory::createReader('Serialized');
  27. $oReader->load(__DIR__ . '/sample.phppt');