Hi,
Is there a way to read the text of word documents in LiveCode? I have seen the WordLib 2 plugin, but I don't want to get it if I could read the text in LiveCode without a plugin.
I do not need any fancy formatting, just the text as all I want to do is search it. Also I do not need to output (write) to Word documents.
Thanks,
Andrew
Reading from word documents
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 184
- Joined: Wed Apr 10, 2013 5:09 pm
Re: Reading from word documents
Well, Microsoft Word documents were originally a closed binary format so you would need to spend a few days trying to decode it (a quick trip to a search engine could probably help you out).. The newer versions are an open format (more or less) and documentation about them should be available online (again, a search engine is your friend).. If the WordLib 2 plugin does what you need to do, it could cost you less time/money to purchase it then to try to recreate it..
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Reading from word documents
Having explored parsing Word files myself, I'm glad Curry decided to make WordLib. The Word format is a complex beast, very tedious to parse. Curry's library makes working with those files really simple, and supports OpenOffice/LibreOffice as well.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn