Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | table column 'lost' on save/reload in ODT | ||||||
---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | pmike <www.openoffice.org> | ||||
Component: | save-export | Assignee: | michael.ruess | ||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P2 | CC: | dtardon, issues, kpalagin, mr_smyle, rail_ooo | ||||
Version: | DEV300m37 | ||||||
Target Milestone: | 3.4.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
pmike
2008-12-26 10:50:31 UTC
Confirming - as described. Happens since at least version 2.0.4. Suggest to fix for 3.1. add CC MRU->OS: perform the given steps. When using Alt-Arrow to change column width several times, after save & reload the last column is lost. Please have a look, if resources allow a fix for OO 3.1. Thanks! any news? The problem is in collecting column positions for styles' export in SwXMLTableLines_Impl::SwXMLTableLines_Impl() (sw/source/filter/xml/xmltble.cxx:141), where the position (computed as width of the column and all columns on the left) is represended by sal_uInt16. Unfortunately, 16 bits is not sufficient in some cases. For example, when I change the width of the column in the reproducer four times, widths of the columns are 24079, 13819, 13819 and 13819, giving a total of 65536, which is 0 on 16 bits. The attached patch changes the representation of column position to sal_uInt32. Created attachment 64544 [details]
a fix
Target changed to 3.x Fixed in cws os144 Reassigned for verification Verified in CWS os144. Checked fix in DEV300m95. |