Bug 46349 - AutoShapes.java doesn't return all ShapeOutline types
Summary: AutoShapes.java doesn't return all ShapeOutline types
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.5-dev
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 02:11 UTC by Marcos
Modified: 2015-09-20 02:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos 2008-12-05 02:11:59 UTC
I try to draw all "AutoForm" to a picture and I watch doesn't draw all shapes. 
public static ShapeOutline getShapeOutline(int type); doesn't return all ShapeOutline types.

I want to know if exist a version of AutoShapes.java with all ShapeOutline types??
Comment 1 Andreas Beeker 2015-09-20 02:43:10 UTC
As part of the common SL change, HSLF now also supports most of the AutoShapes.

Have a look at [1] for the usage and at [2] for the available Autoshapes.
Apart of the text shapes, there are currently at least 3 outlines 
(notched_circular_arrow, thick_arrow, ballon) which don't have a preset entry 
and can't be rendered.

[1] org.apache.poi.hslf.examples.ApacheconEU08.slide7()
[2] org.apache.poi.sl.usermodel.ShapeType