[upstream] docx: drawing textboxes imported with wrong size & position

Bug #185683 reported by John Cottier
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Invalid
Medium
OpenOffice
Unknown
Low
libreoffice (Ubuntu)
Fix Released
Medium
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

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/openoffice.org/+bug/185683/+attachment/195539/+files/SPAserver230108.docx && lowriter -nologo SPAserver230108.docx

is that it looks as it does in Word 2003 ( https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/185683/+attachment/2145493/+files/Screenshot.png ).

4) What happens instead is the contents on the first page is completely gone. The document was made in Office 2007.

WORKAROUND: Export to .doc.

Original reporter Comments: There's a bounty on this bug: http://www.fossfactory.org/project/p190

Revision history for this message
John Cottier (j-cottier) wrote :

example file

Revision history for this message
Chris Cheney (ccheney) wrote :

docx support is not nearly complete yet, this problem should get somewhat better in 8.04 (OpenOffice 2.3.1) and then hopefully much better in 8.10 (OpenOffice 3.0.0).

Thanks,

Chris Cheney

Changed in openoffice.org:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote : Re: [Upstream] [hardy] docx support not complete

Actually upstream openoffice doesn't support docx at all, the support that is available is from ooo-build but once openoffice 3.0 is released there will be upstream support for docx.

Revision history for this message
John Cottier (j-cottier) wrote :

Chris, I am not really fluent in the terminology you have used. By upstream do you mean Hardy? Is ooo-build the source for building OpenOffice? I have only used the included OpenOffice install from the standard repository. But I have open another docx since that had no images embedded and OpenOffice opened it perfectly. Are you saying this is going to regress until OpenOffice 3 is launched?

Revision history for this message
Chris Cheney (ccheney) wrote :

Oh, I am sorry, upstream means the official Sun OpenOffice.org. ooo-build is a set patches that go-oo.org makes to the official Sun version. Even once OpenOffice 3.0 is released it may not have full support for docx, as it still has problems with older versions of Microsoft formats as well. However, I meant that it is likely to be better supported than it is currently since it will be officially supported by Sun's OpenOffice at that point (3.0 release).

Chris

Revision history for this message
John Cottier (j-cottier) wrote :

Thanks for the info Chris, I thought OpenOffice was a fork of StarOffice from a few years ago. Are they merging back to Sun again?

Changed in openoffice:
status: Unknown → Fix Released
Revision history for this message
Chris Cheney (ccheney) wrote :

As I understand it OpenOffice is the community released open version and StarOffice is the Sun branded version with a few added extras to it. Since Sun has everyone who commits code to the official OpenOffice sign a copyright assignment form they can use the code in their commercial release of StarOffice. ooo-build is a set of patches maintained primarily by Novell primarily for code that Sun either hasn't committed yet or the person who wrote the code doesn't want to assign copyright to Sun. There are a few exceptions but that is the general outline of how StarOffice, OpenOffice, ooo-build works.

Revision history for this message
John Cottier (j-cottier) wrote :

Thats great, thanks for the information. I look forward to seeing OOo 3.0.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Confirmed → Triaged
Revision history for this message
In , Valdenlonghurst (valdenlonghurst) wrote :

Environment: Testing MS Office 2007 files using OO.o 3.0 rc1 (build OOO300_m5)

Issue: Text boxes from imported OOXML files are in random places within the
document.

Notes: See attached file and screenshot.

Revision history for this message
In , Valdenlonghurst (valdenlonghurst) wrote :

Created attachment 56498
Example File

Revision history for this message
In , Valdenlonghurst (valdenlonghurst) wrote :

Created attachment 56499
What I see

Revision history for this message
In , Valdenlonghurst (valdenlonghurst) wrote :

Created attachment 56500
What I expect to see

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

MRU->HBRINKM: see attached OOXML document. The drawing objects are all imported
with minimum size and located in the upper left of the text area.

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 94102 has been marked as a duplicate of this issue. ***

Revision history for this message
In , Armin-le-grand (armin-le-grand) wrote :

AW: I guess this one was added to aw058 by error...? Removing from CWS...

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 95003 has been marked as a duplicate of this issue. ***

Revision history for this message
In , JMiykal (jmiykal) wrote :

Hopefully I commented and attached in the right order (the note under "Create a
new attachment" makes me wonder).

Image "Should be" shows document opened by Word 97 with MS FileFormatConverter
-- not perfect, but shows the idea.

"Bad docx" is same doc in OOo 3.0, textboxes all jammed into upper right corner,
as well as both graphics completely transparent in white area of page.

Revision history for this message
In , JMiykal (jmiykal) wrote :

Created attachment 57592
Word97 with MS FileFormatConverter

Revision history for this message
In , JMiykal (jmiykal) wrote :

Created attachment 57593
OOo3 (non-beta)

Revision history for this message
In , JMiykal (jmiykal) wrote :

And the next attachment is the document itself; supposed to be like 4 pages
long, whereas in OOo (and 97/converter) it's only the first page.

Revision history for this message
In , JMiykal (jmiykal) wrote :

Created attachment 57598
The miscreant document itself

Revision history for this message
In , Mwu4-o (mwu4-o) wrote :

There are two files attached; one is a docx file, another is a doc file
converted from the docx file by Office 2007. When we open the docx file with OOo
3.0, the table format is disappeared while the table is displayed normally in
the doc file. It is seemed the same bug related to this issue 93842. Please
check to see what the problem is and correct it. Thank you.

Revision history for this message
In , Mwu4-o (mwu4-o) wrote :

Created attachment 58132
the table format is failed to be displayed in OOo 3.0

Revision history for this message
In , Mwu4-o (mwu4-o) wrote :

Created attachment 58133
a normal table format display

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 96384 has been marked as a duplicate of this issue. ***

Revision history for this message
In , Cactuscomputing (cactuscomputing) wrote :

Will this important issue be fixed in 3.0.1?

My company has me looking at alternatives for Office 2007 support, since our
customers will not accept current Open Office output due to bugs such as this
one. My company nearly dropped Open Office entirely. It was only kept because
licensing terms could not be agreed with the supplier of the alternative
technology.

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 97844 has been marked as a duplicate of this issue. ***

Chris Cheney (ccheney)
Changed in openoffice:
importance: Unknown → Undecided
status: Fix Released → New
Changed in openoffice.org:
importance: Wishlist → Low
Chris Cheney (ccheney)
Changed in openoffice:
importance: Undecided → Unknown
status: New → Unknown
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 100384 has been marked as a duplicate of this issue. ***

Chris Cheney (ccheney)
Changed in openoffice:
status: Confirmed → Unknown
Changed in openoffice:
status: Unknown → Confirmed
Revision history for this message
In , Bigfastjack (bigfastjack) wrote :

I have the same problem. I downloaded novell version and used the extension
for .docx. This helped some but the program made all my files with ruled lines.
Like a ruled piece of paper. if i changed the formatting to endnote. The ruled
lines disappeared. However the relation of text boxes to words continues to be
slightly wrong and requires some manual reformating.

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 101107 has been marked as a duplicate of this issue. ***

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 107295 has been marked as a duplicate of this issue. ***

Revision history for this message
In , Shahar Or (mightyiam) wrote :

There's a bounty on this bug:
http://www.fossfactory.org/project/p190

tags: added: bounty
description: updated
Revision history for this message
In , Cedric-bosdonnat-ooo (cedric-bosdonnat-ooo) wrote :

Progresses on this bug have already started. Please have a look at the
writerfilter32bugfixes01 CWS. There will be other CWSes for the docx import, one
of them is writerfilter07.

Anybody wanting to work on that bug should contact either myself or hbrinkm.

Revision history for this message
In , Michael-ruess (michael-ruess) wrote :

*** Issue 108922 has been marked as a duplicate of this issue. ***

Revision history for this message
penalvch (penalvch) wrote : Re: [upstream] docx support not complete

Page 1 rendered in Word 2003.

penalvch (penalvch)
description: updated
tags: added: lo33
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
In , penalvch (penalvch) wrote :

Created attachment 47260
SPAserver230108.docx

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/185683

OOo bug may be found at:
http://qa.openoffice.org/issues/show_bug.cgi?id=93842

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/openoffice.org/+bug/185683/+attachment/195539/+files/SPAserver230108.docx && lowriter -nologo SPAserver230108.docx

is that it looks as it does in Word 2003 ( https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/185683/+attachment/2145493/+files/Screenshot.png ).

4) What happens instead is the contents on the first page is completely gone. The document was made in Office 2007.

penalvch (penalvch)
summary: - [upstream] docx support not complete
+ [upstream] docx: drawing textboxes imported with wrong size & position
Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

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 , penalvch (penalvch) wrote :

Reproducible in:
LOdev 3.5.0beta2
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Microsoft Windows Vista Business 6.0.6002 Service Pack 2 Build 6002

Changed in openoffice:
status: Confirmed → Unknown
Changed in df-libreoffice:
status: Incomplete → Confirmed
Revision history for this message
In , Libreoffice-z (libreoffice-z) wrote :

@Christopher M. Penalver:
View in MS WORD VIEWER and LibO 3.6 Master are so different that it's not easy to find out that it's the same document ;-)

Concering what of the lots of problems is this Report?

Revision history for this message
In , penalvch (penalvch) wrote :

Rainer Bielefeld, looks like we have dramatic improvement as the text boxes are visible, in the correct positions, and have the correct content.

RESOLVED WORKSFORME

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

 apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.5.2-2ubuntu1
  Candidate: 1:3.5.2-2ubuntu1
  Version table:
 *** 1:3.5.2-2ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
penalvch (penalvch) wrote :

John Cottier, thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.5.2-2ubuntu1
  Candidate: 1:3.5.2-2ubuntu1
  Version table:
 *** 1:3.5.2-2ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
Changed in df-libreoffice:
status: Confirmed → Invalid
Changed in openoffice:
importance: Unknown → Low
Revision history for this message
In , Bgthoreson (bgthoreson) wrote :

Created attachment 74710
docx file with bad textbox formatting

I still see textbox formatting issues with docx files.

Revision history for this message
In , Bgthoreson (bgthoreson) wrote :

I'm seeing formatting issues on Windows 8 64 bit, LibreOffice 4.0.0.3

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

Bryan Thoreson, thank you for your help. Please do not reopen this bug, as the issue you have is either a different problem, or a regression. Instead, please open a new report following http://wiki.documentfoundation.org/BugReport .

Thank you for your understanding.

Changed in df-libreoffice:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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