Bug 63745 - Add traversing and debugging interface
Summary: Add traversing and debugging interface
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 4.0.x-dev
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-11 21:17 UTC by Andreas Beeker
Modified: 2020-04-19 20:34 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Beeker 2019-09-11 21:17:40 UTC
OLE2 classes and their dependencies are usually harder to reengineer/debug than their OOXML counterparts. For this purpose I've added the GenericRecord interface and a sample Writer GenericRecordJsonWriter.

Currently this is provided for HSLF/DDF/WMF/EMF/EMF+

Although this is mainly provided for OLE2 based classes, this can be of course extended to OOXML.
Comment 1 Andreas Beeker 2019-09-11 21:27:15 UTC
Applied via r1866808

Left open for further OLE2 modules
Comment 2 Andreas Beeker 2019-10-12 16:33:43 UTC
Replace EscherProperty.getAttributeMap by GenericRecord interface via r1868352
Comment 3 Andreas Beeker 2019-10-12 16:35:17 UTC
... and r1868353 to provide XmlWriter for GenericRecords
Comment 4 Andreas Beeker 2019-10-25 20:07:30 UTC
with r1868952 the json writer actually generates valid json with the names in quotes. Furthermore I've added the feature to subclass the writer classes and omit certain properties, which can be displayed/processed otherwise
Comment 5 Andreas Beeker 2020-04-12 22:05:51 UTC
Add traversing and debugging interface to HSSF via r1876433

This makes toString() implementations obsolete.

This also contains preparation for #64036 to (maybe) change the record factory interface of HSSF.

Remove duplicated record SeriesToChartGroupRecord, which is a duplicate of SeriesChartGroupIndexRecord.
Comment 6 Andreas Beeker 2020-04-19 20:34:30 UTC
a few more HSSF / Old Excel classes via r1876732