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: 2019-11-17 11:39 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