Skip to content

Releases: PHPOffice/PHPPresentation

1.2.0

23 Jul 11:56
b9cdcd4
Compare
Choose a tag to compare

Enhancements

Bug fixes

Miscellaneous

BC Breaks

  • \PhpOffice\PhpPresentation\Style\Border::lineWidth use pixels as reference (and not anymore points)

1.1.0

01 Sep 07:45
7a70b57
Compare
Choose a tag to compare

Full Changelog: 1.0.0...1.1.0

Features

  • Support for axis options - @mindline in #676
    • Axis intersection point (axis crossing) through setCrossesAt/ getCrossesAt
    • Reverse axis order through setIsReversedOrder/ isReversedOrder
    • PowerPoint2007 Writer
  • Support for Hyperlink Text Color - @MartynasJanu & @Progi1984 in #682
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Added support for PHP 8.2 & 8.3 - @Progi1984 in #769
  • PowerPoint 2007 Writer : Added support to Font for Axis tick label & chinese font support - @zhengwhizz in #774
  • Support for Capitalization for Font - @CxRxExO & @Progi1984 in #779
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • PowerPoint2007 Writer: Enable style and position of a Placeholder - @qmachard in #787
  • PowerPoint2007 Reader: Added support for thumbnail image - @devX2712 in #788

Improvements

  • Slide : Raised max value for identifier rand call - @Scheissy in #777
  • Document Properties : Support for Revision & Status - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Presentation Properties : Added support to define content of the thumbnail - @devX2712 in #788
  • Font : Support for Capitalization, Strikethrough, Pitch Family, Charset & Panose - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Font : Replaced Superscript/Subscript by baseline in PowerPoint2007 Writer - @devX2712 in #788
  • RichText : Support for Vertical Align - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Shadow : Support for Type Inner & Reflection - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Presentation : Added ability to add a slide at any position - @Progi1984 in #810

Bugfixes

  • PowerPoint2077 Writer : Fixed broken PPT Presentations due to MS Office update 2309 - @WFarmerEthisphere in #770
  • PowerPoint2077 Writer : Fixed error when defining min/max bounds to 0 - @LilyEssence in #771
  • PowerPoint2007 Writer : Outline : Fixed the base unit - @Pakku in #772
  • PowerPoint2007 Writer : Fixed column indices for embedded spreadsheets - @michael-roth in #773
  • PowerPoint2007 Reader : Load images from file only if valid - @aelliott1485 in #775
  • PowerPoint2007 Writer : Fixed broken video file relationship - @potofcoffee in #776
  • PowerPoint2007 Writer : Fixed issue when first element in series is null - @ksmeeks0001 in #778
  • PowerPoint2007 & ODPresentation Writer : Use of the disk caching directory for temporary files - @nhalle in #781
  • PowerPoint2007 Reader : Fixed reading of RichText shape in Note - @aelliott1485 in #782
  • PowerPoint2007 Writer : Fixed broken animation for first shape - @shannan1989 in #783
  • Samples : Allow to run without composer - @pal-software in #784
  • PowerPoint2007 Writer: Extract relations from nested ShapeContainerInterface objects - @DennisBirkholz in #785
  • Core : Fixed copying bug when presentation had multiple slides @dees040 in #786
  • Core : DocumentLayout : Fixed error when using DocumentLayout::LAYOUT_CUSTOM by @jiangzhangchan fixing #722 in #811

Miscellaneous

BC Breaks

  • PhpOffice\PhpPresentation\Style\Outline : the width is now based on pixels (before in points)

New Contributors

Version 1.0.0

25 Nov 08:48
732d029
Compare
Choose a tag to compare

Bugfix

  • PowerPoint2007 Writer : Text is subscripted when set superscript to false - @qmachard GH-360
  • Core : Defining width & height of a shape don't return any error if width & height were equal to 0 - @surger GH-555
  • ODPresentation Writer : Display axis title depending the visibility - @Progi1984 GH-410

Changes

Features

  • Support for bar overlap in 2D bar charts - @mindline GH-667
    • PowerPoint2007 Writer
  • Support for the position of Legend in ODPresentation Writer - @Progi1984 GH-355
  • Support for DoughnutChart - @Progi1984 GH-355
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for fill for transparent image - @Progi1984 & @JewrassicPark GH-370
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for Slideshow Type (Fullscreen/Window/Kiosk mode) - @zmip GH-588 & @Progi1986 GH-656
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for RTL in Alignment & Font Format (Latin/East Asian/Complex Script) - @amirakbari GH-629 & @Progi1986 GH-657
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for Border & Fill for Chart's Marker in PowerPoint2007 Writer - @ksmeeks0001 GH-627 & @Progi1986 GH-658
  • Support for rotation for axis label - @Progi1986 GH-410
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for managing missing values in Chart - @TonisOrmisson GH-581 & @Progi1986 GH-659
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for defining ticks label position for Axis in Chart - @Web-Mobiledev GH-591 & @Progi1986 GH-660
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for interval unit for Chart's Axis - @Progi1984 GH-546
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for line smooth for line and scatter chart - @ksmeeks0001 GH-626 & @Progi1984 GH-662
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for column spacing for RichText - @zoff83 GH-617 & @Progi1984 GH-663
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for line spacing mode & spacing before/after for Paragraph - @zoff83 GH-617 & @Progi1984 GH-663
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for custom document properties - @Progi1984 GH-313
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for RadarChart - @Progi1984 GH-253
    • ODPresentation Writer
    • PowerPoint2007 Writer
  • Support for Drawing (SVG format) - @Aggiekev GH-531 & @Progi1984 GH-666
    • ODPresentation Reader
    • ODPresentation Writer
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Support for Geometric form/AutoShape - @Progi1984 GH-545
    • PowerPoint2007 Writer

Project Management

BC Breaks

  • Classes have been strict typed
  • PhpOffice\PhpPresentation\PhpPresentation
    • Removed method getProperties() (replaced by getDocumentProperties())
    • Removed method getZoom() (replaced by getPresentationProperties()->getZoom())
    • Removed method isMarkedAsFinal() (replaced by getPresentationProperties()->isMarkedAsFinal())
    • Removed method markAsFinal($state) (replaced by getPresentationProperties()->markAsFinal($state))
    • Removed method setProperties($value) (replaced by setDocumentProperties())
    • Removed method setZoom($zoom) (replaced by getPresentationProperties()->setZoom($zoom))
  • PhpOffice\PhpPresentation\Shape\Chart\Type\AbstractType
    • Removed method getData() (replaced by getSeries())
    • Removed method setData($value) (replaced by setSeries($value))
  • PhpOffice\PhpPresentation\Writer\PowerPoint2007
    • Removed method getLayoutPack()
    • Removed method setLayoutPack($pValue)
  • PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack
    • Removed class
  • PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\PackDefault
    • Removed class
  • PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\TemplateBased
    • Removed class

Version 0.9.0

05 Jul 12:13
Compare
Choose a tag to compare

Bugfix

Changes

  • PowerPoint2007 Writer : Write percentage values with a trailing percent sign instead of formatted as 1000th of a percent to comply with the standard - @k42b3 GH-307

Features

  • PowerPoint2007 Writer : Implemented XSD validation test case according to the ECMA/ISO standard - @k42b3 GH-307
  • PowerPoint2007 Writer : Implement visibility for axis - @kw-pr @Progi1984 GH-356
  • PowerPoint2007 Writer : Implement gap width in Bar(3D) Charts - @Progi1984 GH-358

Version 0.8.0

03 Apr 12:43
Compare
Choose a tag to compare

Bugfix

Changes

  • Misc : Added two methods for setting Border & Fill in Legend - @Progi1984 GH-265

Features

Version 0.7.0

12 Sep 10:38
Compare
Choose a tag to compare

This release marked the implementation of layout management.

Bugfix

Changes

  • PhpOffice\PhpPresentation\Writer\ODPresentation : Move to Design Pattern Decorator - @Progi1984
  • PhpOffice\PhpPresentation\Writer\PowerPoint2007 : Move to Design Pattern Decorator - @Progi1984
  • PhpOffice\PhpPresentation\Shape\Type\AbstracType\getData has been deprecated for PhpOffice\PhpPresentation\Shape\Type\AbstracType\getSeries - @Progi1984 GH-169
  • PhpOffice\PhpPresentation\Shape\Type\AbstracType\setData has been deprecated for PhpOffice\PhpPresentation\Shape\Type\AbstracType\setSeries - @Progi1984 GH-169
  • Added documentation for chart series (font, outline, marker) - @Progi1984 GH-169
  • Internal Structure for Drawing Shape - @Progi1984 GH-192
  • Documentation about manual installation - @danielbair GH-254

Features

Version 0.6.0

24 Jan 11:05
Compare
Choose a tag to compare

This release marked the implementation of background in slide, and the bugfix for opening PPTX on Mac.

Bugfix

Changes

  • PhpOffice\PhpPresentation\getProperties has been deprecated for PhpOffice\PhpPresentation\getDocumentProperties - @Progi1984 GH-154
  • PhpOffice\PhpPresentation\setProperties has been deprecated for PhpOffice\PhpPresentation\setDocumentProperties - @Progi1984 GH-154
  • PhpOffice\PhpPowerpoint\Style\Alignment::setLevel can now be defined great than 8 - @Progi1984 GH-141

Features

  • ODPresentation Reader/Writer : Name of the slide - @Progi1984 GH-121
  • ODPresentation Reader/Writer : Slide Background Color or Image - @Progi1984 GH-152
  • PowerPoint2007 Reader : Support for Layout Name - @Progi1984 GH-144
  • PowerPoint2007 Reader/Writer : Mark as final - @Progi1984 GH-118
  • PowerPoint2007 Reader/Writer : Set default zoom value for presentation - @Progi1984 GH-122
  • PowerPoint2007 Reader/Writer : Slide Background Color or Image - @Progi1984 GH-152
  • PowerPoint2007 Reader/Writer : Add Properties for allowing loop continuously until 'Esc' - @Progi1984 GH-154

Version 0.5.0

08 Oct 10:51
Compare
Choose a tag to compare

This release marked the implementation of two news readers : PowerPoint2007 & ODPresentation. But the main change is that PhpOffice\PhpPowerpoint becomes PhpOffice\PhpPresentation.

Features

Bugfix

Changes

  • PhpOffice\PhpPowerpoint becomes PhpOffice\PhpPresentation - @Progi1984 GH-25
  • PhpOffice\PhpPowerpoint\Style\Font::setStriketrough has been removed : Use setStrikethrough - @Progi1984
  • PhpOffice\PhpPowerpoint\AbstractShape::getSlide has been removed - @Progi1984
  • PhpOffice\PhpPowerpoint\AbstractShape::setSlide has been removed - @Progi1984
  • PhpOffice\PhpPowerpoint\DocumentLayout::getLayoutXmilli has been removed : getCX(DocumentLayout::UNIT_MILLIMETER) - @Progi1984
  • PhpOffice\PhpPowerpoint\DocumentLayout::getLayoutYmilli has been removed : getCY(DocumentLayout::UNIT_MILLIMETER) - @Progi1984
  • PhpOffice\PhpPowerpoint\DocumentLayout::setLayoutXmilli has been removed : setCX(DocumentLayout::UNIT_MILLIMETER) - @Progi1984
  • PhpOffice\PhpPowerpoint\DocumentLayout::setLayoutYmilli has been removed : setCY(DocumentLayout::UNIT_MILLIMETER) - @Progi1984
  • Update the dependence PhpOffice\Common to 0.2.* - @Progi1984
  • Migrated Travis CI to legacy - @Progi1984 GH-115

Version 0.4.0

07 Jul 10:05
Compare
Choose a tag to compare

This release marked the implementation of two new types in Chart (Area, Bar), transitions between slides and the refactoring of PowerPoint97 reader.

Features

Bugfix

  • PSR-0 via composer broken - @Progi1984 GH-51
  • ODPresentation Writer : Title in Legend in chart doesn't displayed - @Progi1984 GH-79
  • ODPresentation Writer : Segments in Pie3D Chart are now in clockwise order, as in PowerPoint2007 Writer - @Progi1984 GH-79
  • ODPresentation Writer : Axis in Line Chart have not tick marks displayed, as in PowerPoint2007 Writer - @Progi1984 GH-79
  • ODPresentation Writer : Shadow don't work for RichTextShapes - @Progi1984 GH-81
  • PowerPoint2007 Writer : Fill don't work for RichTextShapes - @Progi1984 GH-61
  • PowerPoint2007 Writer : Border don't work for RichTextShapes - @Progi1984 GH-61
  • PowerPoint2007 Writer : Hyperlink in table doesn't work - @Progi1984 GH-70
  • PowerPoint2007 Writer : AutoFitNormal works with options (fontScale & lineSpacingReduction) - @Progi1984 @desigennaro GH-71
  • PowerPoint2007 Writer : Shadow don't work for RichTextShapes - @Progi1984 GH-81
  • PowerPoint2007 Writer : Visibility of the Title doesn't work - @Progi1984 GH-107
  • Refactor findLayoutIndex to findLayoutId where it assumes the slideLayout order was sorted. IMPROVED: unit tests - @kenliau GH-95

Miscellaneous

  • Improved the sample 04-Table for having a Text Run in a Cell - @Progi1984 GH-84
  • Improved the sample 04-Table for having two links in a Cell - @Progi1984 GH-93
  • Improved the documentation about Table Shapes and cell width - @Progi1984 GH-104
  • Some parts of code shared between PHPOffice projects have been moved to PhpOffice/Common - @Progi1984
  • Refactored the PowerPoint97 Reader for managing the group shape and improving evolutions - @Progi1984 GH-110
  • Added a sample (12) for PowerPoint97 Reader with tree of the PhpPowerPoint object - @Progi1984 GH-110

Version 0.3.0

22 Sep 11:24
Compare
Choose a tag to compare

Features

Bugfix

  • PowerPoint2007 Writer : Powerpoint Repair Error in Office 2010 - @Progi1984 GH-39
  • PowerPoint2007 Writer : BUG: Repair Error / Wrong anchor if you don't set vertical alignment different to VERTICAL_BASE - @fregge GH-42
  • PowerPoint2007 Writer : Keynote incompatibility - @CatRane CP#237322 / @Progi1984 GH-46

Miscellaneous