https://issues.apache.org/bugzilla/show_bug.cgi?id=56467
Bug ID: 56467
Summary: cloneSheet() does not properly copy pictures
Product: POI
Version: 3.10
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
After cloning an XSSFSheet with XSSFWorkbook.cloneSheet() method, pictures are
not properly copied in the cloned sheet.
e.g. the following
Drawing drawing = sheet.createDrawingPatriarch();
for (XSSFShape shape : ((XSSFDrawing) drawing).getShapes()) {
if (shape instanceof XSSFPicture) {
XSSFPictureData pictureData = ((XSSFPicture) shape).getPictureData();
// ...
}
}
pictureData is null after assignment.
--
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]