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 - Can't import Mac Word Documents into 2.2.2 Patch 6
Can't import Mac Word Documents into 2.2.2 Patch 6
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
GregD42
Blue Pill


Joined: Jan 08, 2008
Posts: 3

PostPosted: Tue Jan 08, 2008 7:49 pm    Post subject: Can't import Mac Word Documents into 2.2.2 Patch 6

I Have 4 Mac Word documents I've received from someone else. NeoOffice 2.2.2 Patch 6 insists on importing them as ASCII text (i.e. complete crap).

How do I get it to import them as Word documents?

Here's a hex dump of the first 256 bytes of one of them:

0000: 00 05 16 07 00 02 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 03 00 00 00 09 00 00 ................
0020: 00 3E 00 00 00 0A 00 00 00 03 00 00 00 48 00 00 .>...........H..
0030: 00 13 00 00 00 02 00 00 00 5B 00 00 01 43 57 38 .........[...CW8
0040: 42 4E 4D 53 57 44 00 00 44 69 61 67 6E 6F 73 74 BNMSWD..Diagnost
0050: 69 63 20 51 75 69 7A 2E 64 6F 63 00 00 01 00 00 ic Quiz.doc.....
0060: 00 01 11 00 00 00 11 00 00 00 32 00 00 00 00 00 ..........2.....
0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

TIA,

Greg
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Jan 08, 2008 8:36 pm    Post subject:

Do you know what version of Word for Mac was used to create the files (or what version they were saved as)? I know that Neo can't read Word for Mac 5.1 files, althought the "converted" content looks different that what you've provided. I can usually salvage my text (but no formatting) from a MSW for Mac 5.1 document.

Lorinda
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jan 08, 2008 8:43 pm    Post subject:

You may also want to try selecting the NeoOffice :: Open Document menu and, in the native file dialog that appears, selecting a specific Microsoft Word version as the file type. Does this work with any of the listed Word versions?

Edit: FYI. I moved this topic to the NeoOffice Support forum where it might get noticed by more volunteers.

Patrick
Back to top
GregD42
Blue Pill


Joined: Jan 08, 2008
Posts: 3

PostPosted: Wed Jan 09, 2008 2:43 am    Post subject:

Tried all the .doc formats, none worked.

The problem is with the resource fork. When I download the file using Thunderbird, it saves it with a data fork and a resource fork, and NeoOffice (and Open Office) choke on it.

If I use webmail to see the message, the file is listed as two separate files (different mime types, same names). Downloading teh data fork only gets me a file that NeoOffice can read.

So the bug is that it chokes on Word files with a data fork.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Wed Jan 09, 2008 4:19 am    Post subject:

GregD42 wrote:
The problem is with the resource fork. When I download the file using Thunderbird, it saves it with a data fork and a resource fork, and NeoOffice (and Open Office) choke on it.

If I use webmail to see the message, the file is listed as two separate files (different mime types, same names). Downloading teh data fork only gets me a file that NeoOffice can read.

So the bug is that it chokes on Word files with a data fork.


Ah. There's the problem. Neither NeoOffice nor OpenOffice.org expect Word documents to have a resource fork. AFAIK, recent Word document formats shouldn't have a resource fork so whichever program is creating the resource fork appears to be messing up the Word file in the process.

Patrick
Back to top
GregD42
Blue Pill


Joined: Jan 08, 2008
Posts: 3

PostPosted: Thu Jan 10, 2008 12:04 am    Post subject:

pluby wrote:
GregD42 wrote:
The problem is with the resource fork. When I download the file using Thunderbird, it saves it with a data fork and a resource fork, and NeoOffice (and Open Office) choke on it.

If I use webmail to see the message, the file is listed as two separate files (different mime types, same names). Downloading teh data fork only gets me a file that NeoOffice can read.

So the bug is that it chokes on Word files with a data fork.


Ah. There's the problem. Neither NeoOffice nor OpenOffice.org expect Word documents to have a resource fork. AFAIK, recent Word document formats shouldn't have a resource fork so whichever program is creating the resource fork appears to be messing up the Word file in the process.

Patrick


Why does it care? Can't it just look at the data fork?
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Thu Jan 10, 2008 10:31 am    Post subject:

GregD42 wrote:
Why does it care? Can't it just look at the data fork?


That is not the issue at all. Both NeoOffice and OpenOffice only look at the data fork. That is the problem: whatever application is splitting your file into data and resource forks is doing it incorrectly. In your case, it appears that it is move data fork data into the resource fork and, as a result, corrupting the contents in the data fork. NeoOffice cannot guess at how another application missplit a file and reassemble. So, once corrupted, a file becomes unreadable.

Patrick
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.