Skip to content

XLSX Charts reported as corrupt by Excel in PhpSpreadsheet. #4411

Closed
@brandpeter

Description

@brandpeter

In file PhpSpreadsheet/Writer/Xlsx/Chart.php lines 1600 and 1657 writing a "C:layout" parent element to the "c;manualLayout" cause Excel to report "We found a problem with some content in 'xxxxxx.xlsx'. Do you want us to try to recover as much as we can?". Clicking 'Yes' fixes the spreadsheet, so it is a minor annoyance but would be great if you can fix it. Commenting out those two lines removes the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions