https://bz.apache.org/bugzilla/show_bug.cgi?id=60715
Bug ID: 60715
Summary: Blank layout was not found
Product: POI
Version: 3.15-FINAL
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: XSLF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34740
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34740&action=edit
A simple PowerPoint file
The attached file was created using Microsoft PowerPoint 2016.
When trying to add a slide using:
@Test
public void testRead() throws IOException {
File file = new File("test.pptx");
FileInputStream fileInputStream = new FileInputStream(file);
XMLSlideShow xmlSlideShow = new XMLSlideShow(fileInputStream);
XSLFSlide slide = xmlSlideShow.createSlide();
}
I get this error message:
java.lang.IllegalArgumentException: Blank layout was not found
at
org.apache.poi.xslf.usermodel.XMLSlideShow.createSlide(XMLSlideShow.java:240)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]