Skip to content

[BUG] PowerPoint shows the "repair" dialog when adding an SVG image to a slide master #1150

@BenHall-1

Description

@BenHall-1

Thank you for reporting an issue, suggesting an enhancement, or asking a question.

We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.

Please check out the Docs to see if your question is already addressed there.

Category

  • Enhancement
  • Bug
  • Question
  • Documentation gap/issue

Version

Please specify what version of the library you are using: [ 3.11.0 ]

Please specify what version(s) of PowerPoint you are targeting: [ 16.64 ]

Please specify what web browser you are using: [ N/A (NodeJS) ]

Expected / Desired Behavior / Question

Expected behaviour would be to not see any repair message when opening the PowerPoint Presentation

Observed Behavior

When adding an SVG to a slide master, it produces a Repair message on opening.

Steps to Reproduce

let pptx = new pptxgen();
pptx.layout = "LAYOUT_WIDE";

pptx.defineSlideMaster({
    title: "REPORT_PAGE",
    objects: [
        // Company Logo
        {
            image: {
                x: 0.25, 
                y: 0.25, 
                w: 2, 
                h: 0.4,
                path: "img/logo.svg",
            },
        },
    ],
})

let testSlide = pptx.addSlide({ masterName: 'REPORT_PAGE' });

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions