Active Topics

 


Reply
Thread Tools
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#1
i was a tad put out when i initially couldn't find a decent solution for reading .doc files under os2008 due to repository problems, lack of available clients, etc. (i do like using docreader under os2007)

(converting and then transferring the files to my n800 was another easy solution, but i like being able to download a file and then convert on my n800)

fortunately, for me, it was a simple fix thanks to antiword's author, Adri van Os... antiword compiles and builds quickly and cleanly under maemo's chinook SDK with no errors whatsoever... (the SDK was installed by running three command lines on my x86 Ubuntu notebook, and now that i see how easy it is to use, i'll probably be playing with it some more in the upcoming months)...

after building, i copied the requisite .antiword directory under /home/user, then added the antiword program to my /home/user/apps directory...

i then created a short .desktop file under /usr/share/applications/hildon, naming the menu entry Extras->Doc Convert, which points to a script named msdocconvert.sh under /home/user/apps

my simple-minded script uses antiword to loop through and convert any found .doc files under MyDocs to .txt format (although .pdf may also be created)... i prefer .txt format for my use (files are roughly 40 percent smaller than .doc or .pdf), although antiword does a *very* nice job at PDF creation for many of my documents...

here's the script (i'm sure someone can shorten it even more):

#!bin/sh
# msdocconvert.sh
# convert all *.doc files in /home/user/MyDocs to .txt
# does not delete original .doc files
cd /home/user/MyDocs
for file in *.doc
do
/home/user/apps/antiword $file >$file.new
mv $file.new $file.txt
done
# now rename foo.doc.txt to foo.txt
for file in *txt
do
mv $file ${file%doc.*}txt
done

- have a happy!

p.s. here's the antiword home page
 

The Following User Says Thank You to linux_author For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#2
antiword 0.37 package for os 2008:
http://www.debernardis.it/n800/antiword-0.37_chinook_0.1.armel.deb
Works from commandline of course.
 
linux_author's Avatar
Posts: 282 | Thanked: 69 times | Joined on Dec 2007 @ Penniless Park, Fla.
#3
Originally Posted by debernardis View Post
antiword 0.37 package for os 2008:
http://www.debernardis.it/n800/antiw..._0.1.armel.deb
Works from commandline of course.
very good! definitely makes life easier for folks...

tks!
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
There is still an error in my deb: the /home/user/.antiword directory should be owned by user:users instead that root:root. I'll correct tomorrow; one can chown it also now if he likes.

EDIT: now should be good. Please test and let me know.

Last edited by debernardis; 2008-01-17 at 04:31.
 

The Following User Says Thank You to debernardis For This Useful Post:
Posts: 1,950 | Thanked: 1,174 times | Joined on Jan 2008 @ Seattle, USA
#5
You probably already know it works fine. I downloaded your antiword, and then downloaded docreader for OS2008 (https://garage.maemo.org/projects/docreader/), and opening MS Word files seems to work great. Thanks!

(I just noticed elsewhere people are asking about just how effective antiword is with graphics, so I should mention that my .doc was pretty simple, some titles and some italics and some right-margin justifications, but that's about it.)

Last edited by GeraldKo; 2008-02-24 at 20:01.
 
Posts: 91 | Thanked: 4 times | Joined on Dec 2007
#6
Well that does not help for .doc files containing graphics, tables and so on. Maybe abiword will be stable enough soon to open .doc files. Another solution I am currently trying out is to use Basilisk II and WordPerfect 3.5e or MS Word 5.1. Maybe there is a possibility to open .doc files in these applications. Has anyone succesfully done that?
 
Posts: 3 | Thanked: 0 times | Joined on Oct 2008
#7
For read doc files can use next tool-fix doc,as is known tool is free,it solve problem of corrupted text Microsoft Word documents and templates, as well as documents in the Rich Text format,restore .doc and .docx, .dot and .dotx, .rtf,saving the file to the hard drive, it moves to the last step and displays the report where you can see information about all processes involved in recovering information from Microsoft Word documents and templates and performed during the current session of the Word recover file tool,allows you to effectively remover text from any corrupted Microsoft Word document or template or any document of the Rich Text format,sotware compatible with Windows Vista and can repair .docx files of Word 2007,software repair word files through network.
 
Posts: 1,101 | Thanked: 1,185 times | Joined on Aug 2008 @ Spain
#8
Just install easy debian and use openoffice. Then you'll be able to open any ms office file.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:59.