https://bz.apache.org/bugzilla/show_bug.cgi?id=60847
Bug ID: 60847 Summary: CTPlotArea OOXML type needs a cleaner interface Product: POI Version: 3.16-dev Hardware: All OS: All Status: NEW Severity: enhancement Priority: P2 Component: XSSF Assignee: dev@poi.apache.org Reporter: gwool...@apache.org Target Milestone: --- It has separate methods to get lists of all the different chart types it could possibly contain. These have many overlapping/common properties. It is really annoying to have to write code that explicitly names each list and calls the proper getXYZChartList() method, then call the same getTitle() method on each one, typed explicitly. There should be a common interface defining the common properties, perhaps even a hierarchy of interfaces, and chart/plot wrapper/handler class, at least for XSSF, if not common with HSSF, that can return a List of all the charts as implementations of the common interface(s) defining all the common methods/properties. Callers could still get at the underlying explicit types, but in many instances wouldn't care, and this would remove the need for a lot of boilerplate in consumer code. (I'm looking in particular at Vaadin Spreadsheet Charts, and the gyrations they had to go through to get chart definitions out of POI). -- 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