Skip to content

Problem in PPTX file edit #987

Description

@kashimliox

hello everyone ,
find a problem in pptx file editing.

pom dependencies as following:

<dependency>
          <groupId>org.apache.poi</groupId>
          <artifactId>poi</artifactId>
          <version>5.5.1</version>
      </dependency>
      <dependency>
          <groupId>org.apache.poi</groupId>
          <artifactId>poi-ooxml</artifactId>
          <version>5.5.1</version>
      </dependency>
      <dependency>
          <groupId>org.apache.poi</groupId>
          <artifactId>poi-ooxml-full</artifactId>
          <version>5.5.1</version>
      </dependency>
      <dependency>
          <groupId>org.apache.poi</groupId>
          <artifactId>poi-scratchpad</artifactId>
          <version>5.5.1</version>
      </dependency>

Microsoft Office 365 version :2511(19426.20218)

when i use following code to copy a slide from template pptx to a target one, 'If you trust the source of this presentation,click Repair' comes out .

  XSLFSlide newSlide = ppt.createSlide(sourceSlide.getSlideLayout()); 
            newSlide.importContent(sourceSlide);
Image

waiting for reply.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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