Skip to content

Fixed a bug in TableStyle child (field) tableStyleElement

Bitbucket Importer requested to merge bitbucket/merged-pr-352 into branch/3.0

Created originally on Bitbucket by Riccardo Gusmeroli

Was already merged in Bitbucket before import, marked as merged by the import user

Source changeset not longer availableat the time of import. Commit listwill look empty

Type of field TableStyle.tableStyleElement changed from Typed to Sequence.

Prior to this change, custom TableStyle preserved only one of the style definitions “Elements” upon saving.

Bug can be reproduced by the following code:

import openpyxl


where f1.xlsx contains a CUSTOM table style definitiion with MORE THAN 1 detail (e,g, both wholeTable and headerRow customizations)

See Ecma TC45 - tableStyleElement - Sequence of table style element definitions.

Merge request reports