Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Neo v3.0 export to .docx bugs
Neo v3.0 export to .docx bugs
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Mon Mar 30, 2009 11:27 pm    Post subject: Neo v3.0 export to .docx bugs

Following a comment from someone on MacUpdate, I've confirmed that after saving a Writer doc as a .docx file in NeoOffice v3.0:

i) QuickLook cannot view the contents of the .docx, and

ii) MS Office 08 cannot open the .docx, saying 'file x cannot be opened because there are problems with the contents - no error detail available'

I'm in 10.5.6 intel build. Please could someone else post this as a bug as appropriate?

- padmavyuha


Last edited by yoxi on Tue Mar 31, 2009 12:09 am; edited 2 times in total
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Mon Mar 30, 2009 11:35 pm    Post subject:

*update* Actually, after clicking on Okay for the MS Word 08 error message, Word offered to 'recover' the file it was trying to open, and appears to have opened it fine with nothing missing that I can see, though it claimed some 'unreadable content'.

I will follow this up if I can see what content it hasn't included - it's a complex doc and there may be images etc. missing.

- padmavyuha

*further update* There is no apparent difference at all between the opened .docx in MS Word 08 and in NeoOffice v3.0, once you get past the MS error messages - this is in a doc with tables, images, headers/footers.

However, trying to open the .docx in MS Word 04 (with docx converter installed) fails completely, no recovery offered.

If I save the docx in Word 08, Quicklook now works fine with it - so something is definitely askew with the .docx exporter in NeoOffice v3.
Back to top
Samwise
Captain Naiobi


Joined: Apr 25, 2006
Posts: 2315
Location: Montpellier, France

PostPosted: Tue Mar 31, 2009 3:30 am    Post subject:

Did you test NeoOffice 2.2.5?
Back to top
jfdf5
Blue Pill


Joined: Mar 31, 2009
Posts: 1

PostPosted: Tue Mar 31, 2009 4:31 am    Post subject: QuickLook and docx (as saved by NeoOffice)

I'm using Neo 3.0 and I can confirm exactly the same behavior.
If Neo saves a document in .docx, QuickLook just shows an icon. If you open the .docx with Word it has to rebuild it. Make the same document in Word and save it as .docx, Quicklook works fine.
Save it in .doc and QuickLook works fine.
I was just logging in to report the same issue when I spotted this post.

Cheers,
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Mar 31, 2009 8:38 am    Post subject: Re: Neo v3.0 export to .docx bugs

yoxi wrote:
Following a comment from someone on MacUpdate, I've confirmed that after saving a Writer doc as a .docx file in NeoOffice v3.0:

i) QuickLook cannot view the contents of the .docx, and


NeoOffice's QuickLook plugin only provides support for OpenOffice.org documents. We have never written or proposed adding support for Microsoft Office documents in our QuickLook plugin as those file formats are supposed to be supported by Apple's and Microsoft's plugins.

So, if you are not seeing any QuickLook support for .docx files and you have Microsoft Office 2008 installed, then you need to file a bug with Microsoft.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Mar 31, 2009 8:49 am    Post subject:

yoxi wrote:
If I save the docx in Word 08, Quicklook now works fine with it - so something is definitely askew with the .docx exporter in NeoOffice v3.


Like NeoOffice 2.2.5, NeoOffice 3.0 uses software from an open source project called "odf-converter" to export to the Microsoft Office 2007 format.

Unfortunately, the odf-converter code has several very large limitations that cause formatting loss when saving in the Microsoft Office 2007 format. Because of this, NeoOffice treats those Office file formats as experimental so you get the dialogs to highlight the fact that those file formats are not the preferred format.

It is not likely that the odf-converter project will ever support more than the bare minimum of the those file formats so we recommend that users save in either the native NeoOffice .odt file format or, if compatibility with Microsoft Office is needed, save in the older Word 97/2000/XP .doc file format which has much more robust export code.

Unfortunately, our very limited funding and developer resources limits the current scope of the NeoOffice project to keeping a native version of OpenOffice.org running on Mac OS X and fixing odf-converter bugs is outside that scope.

Although we cannot fix odf-converter bugs, we can file a bug for you in the odf-converter issue tracker to get it on the radar of the core odf-converter developers and if they fix the bug, the new behavior will get included in a future release of NeoOffice.

If you want us to file a bug with the odf-project, please attach the following two sample files:

1. The original document saved in .odt format
2. The same document saved in .docx format

Patrick
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Tue Mar 31, 2009 5:39 pm    Post subject:

Okay, here are three files, with self-explanatory filenames I hope - but the explanation is the text in the doc Smile:

doc-as-odt.odt
odt-saved-as-docx.docx
docx-resaved-in-word08.docx

I note that a .docx doc saved from MS Word 08 thinks it's a Word 08 doc (in Show Info), whereas one exported from NeoOffice thinks it's an OpenOffice doc. Changing it to MS Word 08 changes the display icon, but doesn't help Quicklook of course...
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Mar 31, 2009 5:48 pm    Post subject:

yoxi wrote:
I note that a .docx doc saved from MS Word 08 thinks it's a Word 08 doc (in Show Info), whereas one exported from NeoOffice thinks it's an OpenOffice doc. Changing it to MS Word 08 changes the display icon, but doesn't help Quicklook of course...


narf or I will take a look at the files. As for QuickLook, you may need to reboot before Mac OS X updates which QuickLook plugin to match the changes you made as the Finder caches a lot of the QuickLook data to speed up rendering.

Patrick
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Tue Mar 31, 2009 6:16 pm    Post subject:

Thanks - as for Quicklook, after changing the (oh, it's the middle of the night and I can't remember the technical term, assigning the doc to a different application in Get Info) and then a restart, QL still can't read the Neo-generated .docx doc.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Mar 31, 2009 6:24 pm    Post subject:

yoxi wrote:
Thanks - as for Quicklook, after changing the (oh, it's the middle of the night and I can't remember the technical term, assigning the doc to a different application in Get Info) and then a restart, QL still can't read the Neo-generated .docx doc.


Hmmm. I did a quick Google search and many links echo the problem in the following thrad:

http://discussions.apple.com/thread.jspa?threadID=1380671

It seems that some percentage of people have problems with QuickLook and Office 2007 files, but no one has found the cause or a workaround. Sad

Patrick
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue Mar 31, 2009 7:45 pm    Post subject:

One superficial thing I noticed is that in the version saved by Neo, the file contents are stored in the .zip roughly backwards. I wonder if Word (and, similarly, Apple's "Office document Quick Look plug-in" is expecting, e.g., [Content_Types].xml to be the first file within the zip? A version re-saved by TextEdit does have [Content_Types].xml first, I see (and QL works on it).

Word's version is also 50% larger (12,734 vs 8,112 bytes), so the problem may really be there...I haven't tried comparing actual sub-file contents. (Then again, the version re-saved by TextEdit is even smaller, 3,825 bytes, but Quick Look actually works on it! I don't have Word.)

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Apr 01, 2009 10:11 am    Post subject:

FYI. I can reproduce this same bug using the odf-converter project's latest version running on Windows XP so this is clearly an odf-converter bug so I have filed the following bug with the odf-converter project:

http://sourceforge.net/tracker/index.php?func=detail&aid=2725387&group_id=169337&atid=932582

Patrick
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Wed Apr 01, 2009 10:45 pm    Post subject:

Thanks Patrick - by the way (for completeness), .docx files created in 2.2.5-patch-8 have the same issues, but I assume that's because 2.2.5 is using the same version of the odf-convertor.

- padmavyuha
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.