Issue 9718 - Table borders do not line up when importing Word XP table
Summary: Table borders do not line up when importing Word XP table
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 643C
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-12-01 04:05 UTC by Unknown
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
This is an MSWORD (OfficeXP) file containing 2 tables and demonstrating the bug above... (92.00 KB, application/octet-stream)
2002-12-01 04:06 UTC, Unknown
no flags Details
A demo with a thick line to make the point (88.50 KB, application/octet-stream)
2003-11-10 17:11 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-12-01 04:05:43 UTC
I experienced that cell conversion from MSWORD (Office XP Professional) 
documents depends on the border conditions of cells. Cells with different 
border settings originally in MSWORD can have different sizes in OOo(!).

For example, consider a table which has two rows and two columns and both of 
the bottom cells have borders in MSWORD. And suppose that in the first line 
only the (first row, first column) has a LEFT border and no other borders are 
set.

When this table is converted by OOo, one can experience that there is a 1 pixel 
difference between the upper borders of the two bottom cells.

This looks a small difference, but if one has bigger tables it would become 
very confusing at all(!). 

I will attach a sample MSWORD file which contains two tables. You can check the 
one pixel difference in both tables after loading it into OOo 643C.

(I used OOo 643C, my machine is a WINDOWS XP Professional Version 2002 with 
SP1, Intel Pentium III Processor, 450 MHz, and128 MB of RAM)
Comment 1 Unknown 2002-12-01 04:06:33 UTC
Created attachment 3833 [details]
This is an MSWORD (OfficeXP) file containing 2 tables and demonstrating the bug above...
Comment 2 prgmgr 2002-12-01 17:00:35 UTC
Tamas, thank you for using and supporting OOo.

Duplicated on Win2k server SP3, OOo 643c.
Duplicated on RH 8.0, RH OOo 1.0.1.

I cannot create this problem from scratch using Word 2K.

Note the cell alignment differences between the first column and the 
second and third column.

Using Word 2K if I remove the left and right borders on the first row 
of the first table, the broken table border does not appear in OOo.  
Adding the borders back using Word 2K does not create the problem.
Comment 3 prgmgr 2002-12-01 17:03:37 UTC
User summary
1 pixel difference in imported MSWORD XP tables
Comment 4 h.ilter 2002-12-02 11:34:25 UTC
Reassigned to MRU
Comment 5 michael.ruess 2002-12-09 10:04:28 UTC
MRU->CMC: I am not able to create such a table from the scratch... do
you have an idea, why the horizontal border in the attached file is
set in the wrong row after import?
Comment 6 caolanm 2003-04-01 16:11:30 UTC
Noncritical, if annoying. Retarget to 2.0
Comment 7 caolanm 2003-11-10 17:10:12 UTC
Ok, My idea is that for the borders between the rows word merges the
above/below borders of the adjoining cells by taking the widest border
of the two and drawing it inside the top margin of the bottom of the
pair. Doing that would align the lines correctly, and explain the
behaviour I see when playing with some very thick lines
Comment 8 caolanm 2003-11-10 17:11:10 UTC
Created attachment 11118 [details]
A demo with a thick line to make the point
Comment 9 caolanm 2003-11-10 17:11:26 UTC
Working on this now...
Comment 10 caolanm 2003-11-11 12:54:20 UTC
ok, implemented as described in portlaoisefilterteam16 for 2.0
Comment 11 caolanm 2003-11-12 12:16:48 UTC
reopen to reassign
Comment 12 caolanm 2003-11-12 12:17:05 UTC
cmc->mru: Working in portlaoise16 for 2.0 (build: Wed-Nov-12-12-00)
Comment 13 michael.ruess 2003-11-20 09:47:30 UTC
Checked fix with CWs portlaoisefilterteam16.
Comment 14 michael.ruess 2003-11-20 09:47:54 UTC
Verified. Fix will be implemented in OO 2.0.
Comment 15 michael.ruess 2004-03-25 15:09:15 UTC
Checked integration with 680m30.