[Upstream] Writer converting .docx to .odt causes table cell border style to become none

Bug #789542 reported by Werner Simbuerger
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Invalid
Medium
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: libreoffice

1) lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu5
  Candidate: 1:3.3.2-1ubuntu5
  Version table:
 *** 1:3.3.2-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:3.3.2-1ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/789542/+attachment/2145810/+files/Bewertungsbogen%20Arbeitnehmer.docx && unoconv --listener && unoconv -f odt Bewertungsbogen\ Arbeitnehmer.docx && lowriter -nologo Bewertungsbogen\ Arbeitnehmer.docx Bewertungsbogen\ Arbeitnehmer.odt

The table on page 1's border should remain as displayed in the docx.

4) What happens instead is the border size remains the same but the cell is split in half vertically, with the left half containing the text with the cell border having a black outline, and the right half having no content or black cell border.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice-core 1:3.3.2-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-8.43~ppa1~loms~natty-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat May 28 14:51:43 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=de_DE:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

Libreoffice 3.3 on both Ubuntu 10.10 and Windows XP .

I have received several docx files containing tables which do not display
correctly in Libreoffice.

The outline of the table cells is visible on the page, but the lines
themselves do not appear in print preview or when printed. The border style
is displayed as 'none', even though there is a border in the original word2007
document.

The same thing happens in openoffice.org 3.2.1, but the lines display
correctly in openoffice 3.3.

Revision history for this message
In , Pjotr (pjotr) wrote :

Hi,

could you attach one of those files, optimally with a screenshot indicating where you'd expect the lines or, even better, a PDF showing the correct rendering?

Thanks,
Peter

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

Created attachment 46275
docx file with table lines visible

original docx file

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

Created attachment 46276
word2007 pdf

word 2007 generated pdf showing lines and correct page format

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

Created attachment 46277
libreoffice version

libreoffice version shows no lines in the table and incorrectly formats the page

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

(In reply to comment #1)
> Hi,
>
> could you attach one of those files, optimally with a screenshot indicating
> where you'd expect the lines or, even better, a PDF showing the correct
> rendering?
>
> Thanks,
> Peter

I've added attachments as requested. The libreoffice pdf was generated in opensuse 11.2, but I've done the same on XP with the same results.

Also you will see that the page formatting is incorrect, with the Part 1 and part 2 headings on the wrong page.

John

Revision history for this message
Werner Simbuerger (werner-simbuerger) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Werner Simbuerger, thanks for reporting this bug and supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as Triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!

description: updated
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: lo33
summary: - Tabular of *.docx destroyed if saved
+ Writer converting .docx to .odt causes table cell border style to become
+ none
summary: - Writer converting .docx to .odt causes table cell border style to become
- none
+ [Upstream] Writer converting .docx to .odt causes table cell border
+ style to become none
Revision history for this message
penalvch (penalvch) wrote :

Werner Simbuerger, two known problems exist with this file opening in LibreOffice:

1) Writer converting .docx to .odt causes table cell border style to become none (this bug will focus on that),
2) the cell is divided in half vertically on the first page. Please file this as a separate bug, so it can be dealt with appropriately and feel free to subscribe me to it.

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Sash-kr (sash-kr) wrote :

How long to wait for this fix???

Revision history for this message
In , Sash-kr (sash-kr) wrote :

Created attachment 49862
NoBorders.docx

Revision history for this message
In , Sash-kr (sash-kr) wrote :

Comment on attachment 49862
NoBorders.docx

I have "docx" file with the same problem. (see attachment "NoBorders.docx").

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html

Changed in df-libreoffice:
status: Confirmed → Incomplete
Revision history for this message
In , Sash-kr (sash-kr) wrote :

LibreOffice 3.5.0 beta2
THANK YOU VERY MUCH! It's fixed! How long I've been waiting for this. Thank you, thank you, thank you!

Changed in df-libreoffice:
status: Incomplete → New
Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

I've checked the original docx file (attachment 1 above) in 3.5 beta2, and the table lines show clearly.

Curiously, when the original word docx file is opened in 3.5, an extra line is inserted at the top of pages 2 and 3, which results in the table on page 3 extending into page 4.

John

Revision history for this message
In , Sash-kr (sash-kr) wrote :

LibreOffice 3.5.0 beta3
:-(
Regression! It come back.
It was fine with LibreOffice 3.5.0 beta2.

Changed in df-libreoffice:
status: New → Confirmed
Revision history for this message
In , penalvch (penalvch) wrote :

Oleksandr Kalyniak, please do not toggle the version. For more on this please see: http://wiki.documentfoundation.org/BugReport_Details#Version

Revision history for this message
In , Thomas Bordfeldt (bordfeldt) wrote :

LibreOffice 3.5.2.2 (Build-ID: 350m1 Build:202) on Ubuntu 10.04 64 bit (installed over ppa).

I have the same problem that table borders of a Word-2007-docx-document are not displayed correctly after opened with LO-writer. Though there is a border in the original word2007 document, the border style in LO-writer is displayed as 'none'.

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

I've checked the original file on Libreoffice 3.5.2.2, and the table lines are no longer visible, and in table properties the line arrangement is set to 'set no borders'.

Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

I've just checked the original file in libreoffice 3.5.3 from opensuse repository.

The table lines are not visible in printout and and in table properties the line arrangement is set to 'set no borders'.

Revision history for this message
In , penalvch (penalvch) wrote :
Revision history for this message
In , Johnmking-uk (johnmking-uk) wrote :

I've just checked the original file in the Windows version of libreoffice 3.5.4 from the Libreoffice site

The table lines are still not visible in printout and and in table properties the
line arrangement is set to 'set no borders'.

Revision history for this message
In , Sash-kr (sash-kr) wrote :

LibreOffice 3.6.0.1

Finally! I can see table lines.

Revision history for this message
In , Bgran05 (bgran05) wrote :

I have confirmed that the table borders now show up using LibreOffice 4.0. I am closing this as WORKSFORME. Another user has also confirmed the table border visibility.

Changed in df-libreoffice:
status: Confirmed → Invalid
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

closing as fixed released as per comment 23 and comment 24.

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.