https://bz.apache.org/bugzilla/show_bug.cgi?id=60294
Bug ID: 60294 Summary: Add "unknown" ShapeType for 4095 Product: POI Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P2 Component: HSLF Assignee: dev@poi.apache.org Reporter: talli...@mitre.org On TIKA-2129, Seva Alekseyev shared a file that throws: java.lang.IllegalArgumentException: Unknown shape type: 4095 at org.apache.poi.sl.usermodel.ShapeType.forId(ShapeType.java:314) at org.apache.poi.hslf.usermodel.HSLFShapeFactory.createSimpleShape(HSLFShapeFactory.java:98) at org.apache.poi.hslf.usermodel.HSLFShapeFactory.createShape(HSLFShapeFactory.java:62) at org.apache.poi.hslf.usermodel.HSLFSheet.getShapes(HSLFSheet.java:173) at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:93) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:149) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117) When I save the file as pptx, the shape is called "AutoShape". According to one vendor of MSOffice processing tools, 4095 is a recognized code for 'Unknown'. Any objections to adding this to ShapeType? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org