https://bz.apache.org/bugzilla/show_bug.cgi?id=66211

            Bug ID: 66211
           Summary: XSSFTable.updateHeaders will not work for Worksheets
                    created using current Excel versions
           Product: POI
           Version: 5.2.2-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

See
https://svn.apache.org/viewvc/poi/tags/REL_5_2_2/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFTable.java?view=markup#l778

if (row != null && row.getCTRow().validate()) will never be true when CTRow
looks like so:

<row r="4" spans="1:3" x14ac:dyDescent="0.25">

CTRow.validate() will return false because of the not known x14ac:dyDescent.

See also
https://stackoverflow.com/questions/55532006/renaming-headers-of-xssftable-with-apache-poi-leads-to-corrupt-xlsx-file/55539181#55539181
and
https://stackoverflow.com/questions/73339524/xssfworkbook-clonesheet-corrupts-workbook-if-sheet-contains-a-table

https://stackoverflow.com/questions/73339524/xssfworkbook-clonesheet-corrupts-workbook-if-sheet-contains-a-table
contains a fix for XSSFTable.updateHeaders

-- 
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]

Reply via email to