DOCX Reader - microsoft word

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

DOCX Reader - microsoft word

#1 Post by don570 »

DOCX Reader - microsoft word


Here is a small utility (actually a perl script) that will quickly allow Microsoft Word DOXC format files to open and display text.

It uses ....

http://docx2txt.sourceforge.net/

Checked files with

https://pct.wipo.int/DocConverter/sampleFiles.jsp


It was developed on slacko but should run on recent barryk distros
Tahr Raring etc but not on fatdog
It requires perl and leafpad text editor to be installed,
but many distros have these. There will be a warning if perl is not installed.

Note : if a German document is opened the accented characters are
shown correctly in Slacko, not sure in other distros.

Instructions : install pet then right click on a docx document
(see image)

___________________________________________
Attachments
screenshot799-doc2txt.png
right click
(36.35 KiB) Downloaded 394 times
docx2txt-slacko-1.4.pet
docx reader for recent Barry K distros
(10.94 KiB) Downloaded 363 times

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#2 Post by Sailor Enceladus »

I've been using this for about two weeks now as well and can confirm that it works ok to read docx. :)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#3 Post by don570 »

I got the idea of making a right click utility from docx2txt from you. :lol:

Piping the text into leafpad is very tricky.

Code: Select all

 ./docx2txt.pl yourfile.docx | leafpad
In some distros the foreign accented characters don 't display correctly.

I was disappointed to find that in BarryK's newest distro
leafpad doesn't support piping. So I had to output to a file and then open the file with geany.

________________________________________________________

Post Reply