https://bz.apache.org/bugzilla/show_bug.cgi?id=68924
Bug ID: 68924
Summary: Text Field (Page number) does not import correctly
Product: POI
Version: 5.2.3-FINAL
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XSLF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 39678
--> https://bz.apache.org/bugzilla/attachment.cgi?id=39678&action=edit
test page number
The page number does not automatically increase when you import a slide.
The problem is that the <a:fld> tag is replaced with an <a:r> tag.
To reproduce:
InputStream is = new FileInputStream("test page number.pptx");
XMLSlideShow ppt = new XMLSlideShow(is);
FileOutputStream out = new FileOutputStream("test page number
output.pptx");
XSLFSlide slide = ppt.getSlides().get(0);
XSLFSlide newSlide = ppt.createSlide();
newSlide.importContent(slide);
ppt.write(out);
Result:
The page number on slide 2 is "Page 1" when it should be "Page 2".
--
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]