-
Notifications
You must be signed in to change notification settings - Fork 810
Description
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, 'your file need to be fixed' comes out .
XSLFSlide newSlide = ppt.createSlide(sourceSlide.getSlideLayout()); newSlide.importContent(sourceSlide);
waiting for reply.