https://issues.apache.org/bugzilla/show_bug.cgi?id=53361
Priority: P2
Bug ID: 53361
Assignee: [email protected]
Summary: feature: enhancements in EscherAggregate
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: unspecified
Component: HSSF
Product: POI
Created attachment 28887
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28887&action=edit
suggested enhancements
Hello,
I complied a few enhancements covering shape creation in EscherAggregate:
* support for HSSFChildAnchor
* improvement for HSSFClientAnchor (col and row values are read from record)
* creation of HSSFPolygon (points are read from record)
* improvement for HSSFPicture (now reads original file name, if provided)
Besides, I suggest a new Anchor interface to make the various HSSFAnchor and
XSSFAnchor classes more coherent.
The provided test classes illustrate the new features.
I also found that in EscherContainerRecord.createSpContainer(HSSFPolygon, int)
an additional point is added to the polygon point array - probably the
intention is to always have a closed polygon path. In my view, this is
questionable, as Excel supports open polygon paths (see also note in test class
TestHSSFPolyogn).
I would be pleased if you find some of the suggestions suitable to be commited
to POI.
Regards,
Joachim
--
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]