https://issues.apache.org/bugzilla/show_bug.cgi?id=56886

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from [email protected] ---
It appears that updateHeaders, which is called when the table is written out
via writeTo(OutputStream), incorrectly updates the tableColumn names.
This occurs because the order of the columns (column index relative to the
first column) is not necessarily the same as the tableColumn.id.

--- "a/Q:\\ABDT\\s1d1\\c band tables\\bug\\table1 (table column inserted after
table was created - before POI).xml"    
+++ "b/Q:\\ABDT\\s1d1\\c band tables\\bug\\table1 (table column inserted after
table was created - after POI).xml"
     <tableColumns count="4">
         <tableColumn id="1" name="City"/>
-        <tableColumn id="4" name="Population"/>
-        <tableColumn id="2" name="Latitude"/>
-        <tableColumn id="3" name="Longitude"/>
+        <tableColumn id="4" name="Longitude"/>
+        <tableColumn id="2" name="Population"/>
+        <tableColumn id="3" name="Latitude"/>
     </tableColumns>

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