odftoolkit icon indicating copy to clipboard operation
odftoolkit copied to clipboard

Roundtrip of Changes of Table with repetition & span generated as JSON ODF Changes is incorrect

Open svanteschubert opened this issue 1 year ago • 0 comments

When the test document of #298 is transformed to JSON changes and afterwards these changes are applied to an empty ODT document, the table has changed, which is an error.

The original document looks like this: 2024-07-07 14_42_24-tableRowDeletionTest odt - LibreOffice Writer

the JSON generated from it is called tableRowDeletionTest.odt--initial_ops.json

The ODT when the ODF changes are applied to an empty ODT document is name tableRowDeletionTest.odt--OUT-new.odt and looks like this: 2024-07-07 14_42_07-tableRowDeletionTest odt--OUT-new odt - LibreOffice Writer

The JSON file, which is again generated from the above ODTis called: tableRowDeletionTest.odt--new-reloaded_ops.json

The JSON files are being generated when building/testing ODFDOM via 'mvn install'

The new JSON files are being generated in: odftoolkit/odfdom/target/test-classes/test-output/operations/ the references can be found in: odftoolkit/odfdom/src/test/resources/test-reference/operations/

PS: Please note that there is currently also a derivation of the ODT files, likely due to the recent patch of Michael. I just pinged him to double check this. :-)

svanteschubert avatar Jul 07 '24 13:07 svanteschubert