Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | It will be wrong when insert table with "+-------+". | ||
---|---|---|---|
Product: | Writer | Reporter: | bianhui <hui.bian> |
Component: | code | Assignee: | michael.ruess |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | 680m36 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
bianhui
2004-08-03 04:08:25 UTC
MRU->DVO: a table created by the described method (via Autocorrect) seems to be saveds wrongly in sdw & sxw format. Using the WW8 format, the spacings are correct.. When doing this with a manually aligned table, it's also ok. I re-targeted this bug, because it is needed for a new feature integration for SunShine Office. => Priority 3 and Target OOo2.0 dvo: Fixed in c02v1; sw/source/filter/xml/xmlexpit.cxx v1.10.60.1 The Writer table export directly acesses the SvxLRSpaceItem and calls the :GetTxtLeft() method to determine the left margin. This method usually delivers the cumultative left margin + first line indent. Since tables don't have line indents, this is not used for tables. Sometimes the TxtLeft was set to the left margin, in other cases if was left as 0. Those latter cases are where this bug appeared. The solution is to simply use the :GetLeft() method (only left margin; no first line indent), as this is the same value that the layout uses to actually place the table. dvo->QA: The fix should be save, but please test different margin/alignment settings for tables to make sure. Thanks. :-) reopen for QA dvo->mru: Please test. Thanks. fixed Verified in SRC680/c02v1 Checked in 680m54. |