Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample_05_Chart is defect #832

Open
kw-pr opened this issue Dec 5, 2024 · 3 comments
Open

Sample_05_Chart is defect #832

kw-pr opened this issue Dec 5, 2024 · 3 comments

Comments

@kw-pr
Copy link
Contributor

kw-pr commented Dec 5, 2024

I checked out master 04700ed and created the sample file with php 8.1

php samples/Sample_05_Chart.php

I open it in Microsoft® PowerPoint® für Microsoft 365 MSO (Version 2410 Build 16.0.18129.20158) 32 Bit

Here comes the default error: PowerPoint found a problem with content... Repair?

Repair results in an empty file.

LibreOffice opens it just as always.

@kw-pr
Copy link
Contributor Author

kw-pr commented Dec 5, 2024

Sample 05 works if I comment out setShadow in two places:

fnSlide_BarHorizontal()
{
    $shape->setShadow($oShadow);
}

fnSlide_Bar3DHorizontal
{
    $shape->setShadow($oShadow);
}

Note: setShadow works in the other places with same $oShadow object.

@kw-pr
Copy link
Contributor Author

kw-pr commented Dec 11, 2024

No, that works.
I must have checked out a wrong version.
Sorry about the noise.

@kw-pr kw-pr closed this as completed Dec 11, 2024
@kw-pr
Copy link
Contributor Author

kw-pr commented Dec 12, 2024

No, there really is a problem with the sample files.

In sample 05 with setShadow.

Sample_02_Serialized is missing in composer samples.

Also I can not open:

  • Sample_03_Image
  • Sample_03_Video
  • Sample_05_Chart_Line
  • Sample_22_ExternalSlide

Sample_20_SlideLayout is empty. Not sure if that is ok.

@kw-pr kw-pr reopened this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant