Skip to content

Commit fce4722

Browse files
committed
PowerPoint2007 Reader : Support for BarChart
1 parent ba9213b commit fce4722

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+707
-448
lines changed

docs/changes/1.2.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- ODPresentation Writer : Support for rotation for RichText by [@Progi1984](https://github.com/Progi1984) fixing [#279](https://github.com/PHPOffice/PHPPresentation/pull/279) in [#409](https://github.com/PHPOffice/PHPPresentation/pull/409)
1414
- HTML Writer by [@Progi1984](https://github.com/Progi1984) fixing [#221](https://github.com/PHPOffice/PHPPresentation/pull/221), [#567](https://github.com/PHPOffice/PHPPresentation/pull/567), [#644](https://github.com/PHPOffice/PHPPresentation/pull/644) in [#850](https://github.com/PHPOffice/PHPPresentation/pull/855)
1515
- PDF Writer by [@Progi1984](https://github.com/Progi1984) fixing [#181](https://github.com/PHPOffice/PHPPresentation/pull/181), [#381](https://github.com/PHPOffice/PHPPresentation/pull/381), [#472](https://github.com/PHPOffice/PHPPresentation/pull/472), [#693](https://github.com/PHPOffice/PHPPresentation/pull/693), [#725](https://github.com/PHPOffice/PHPPresentation/pull/725) in [#850](https://github.com/PHPOffice/PHPPresentation/pull/855)
16+
- PowerPoint2007 Reader : Support for BarChart by [@Progi1984](https://github.com/Progi1984) fixing [#824](https://github.com/PHPOffice/PHPPresentation/pull/824) in [#856](https://github.com/PHPOffice/PHPPresentation/pull/856)
1617

1718
## Bug fixes
1819

@@ -30,3 +31,4 @@
3031
- CI: Added ODFValidator by [@Progi1984](https://github.com/Progi1984) fixing [#678](https://github.com/PHPOffice/PHPWord/issues/678) in [#653](https://github.com/PHPOffice/PHPWord/pull/653)
3132

3233
## BC Breaks
34+
- \PhpOffice\PhpPresentation\Style\Border::lineWidth use pixels as reference (and not anymore points)

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Below are the supported features for each file formats.
8686
| | Image | :material-check: | :material-check: | :material-check: |
8787
| | Hyperlink | :material-check: | :material-check: | :material-check: |
8888
| | RichText | :material-check: | :material-check: | :material-check: |
89-
| | Table | | | |
89+
| | Table | | | :material-check: |
9090
| | Text | :material-check: | :material-check: | :material-check: |
9191
| **Charts** | Area | | | |
92-
| | Bar | | | |
92+
| | Bar | | | :material-check: |
9393
| | Bar3D | | | |
9494
| | Doughnut | | | |
9595
| | Line | | | |

samples/Sample_01_Complex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
->setTooltip('PHPPresentation');
183183

184184
// Save file
185-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
185+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
186186
if (!CLI) {
187187
include_once 'Sample_Footer.php';
188188
}

samples/Sample_01_Simple.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
->setName('B Nazanin');
7373

7474
// Save file
75-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
75+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
7676
if (!CLI) {
7777
include_once 'Sample_Footer.php';
7878
}

samples/Sample_02_Serialized.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
$objPHPPresentationLoaded = IOFactory::load(__DIR__ . '/results/' . basename(__FILE__, '.php') . '.phppt');
6363

6464
// Save file
65-
echo write($objPHPPresentationLoaded, basename(__FILE__, '.php'), $writers);
65+
echo write($objPHPPresentationLoaded, basename(__FILE__, '.php'));
6666
if (!CLI) {
6767
include_once 'Sample_Footer.php';
6868
}

samples/Sample_03_Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
$currentSlide->addShape($shape);
9797

9898
// Save file
99-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
99+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
100100
if (!CLI) {
101101
include_once 'Sample_Footer.php';
102102
}

samples/Sample_03_Video.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
$currentSlide->addShape($shape);
3030

3131
// Save file
32-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
32+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
3333
if (!CLI) {
3434
include_once 'Sample_Footer.php';
3535
}

samples/Sample_04_Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
$textRunC3->getHyperlink()->setUrl('https://google.com')->setTooltip('Google');
139139

140140
// Save file
141-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
141+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
142142
if (!CLI) {
143143
include_once 'Sample_Footer.php';
144144
}

samples/Sample_05_Chart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ function fnSlide_Scatter(PhpPresentation $objPHPPresentation): void
706706
fnSlide_Scatter($objPHPPresentation);
707707

708708
// Save file
709-
echo write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
709+
echo write($objPHPPresentation, basename(__FILE__, '.php'));
710710
if (!CLI) {
711711
include_once 'Sample_Footer.php';
712712
}

samples/Sample_05_Chart_Line.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
$currentSlide->addShape($shape6);
226226

227227
// Save file
228-
echo EOL . write($objPHPPresentation, basename(__FILE__, '.php'), $writers);
228+
echo EOL . write($objPHPPresentation, basename(__FILE__, '.php'));
229229

230230
if (!CLI) {
231231
include_once 'Sample_Footer.php';

0 commit comments

Comments
 (0)