ANN: Import MS Word and OpenOffice with WordLib

curry at pair.com curry at pair.com
Mon May 12 20:01:59 EDT 2008


I'm happy to announce that WordLib 1.2 is available for download. 
WordLib empowers your Revolution projects to open word processing 
documents. Currently this includes Microsoft Word and OpenOffice 
files. In addition to text fonts and styles, the import library 
supports bullet lists and images, as well as footnotes, hyperlinks, 
text and highlight colors, and even tables.

With a single command you can perform an import, complete with file 
selection and error check. (For advanced users, a function provides 
the imported data as htmlText in Revolution's field format, giving 
you complete control along with supporting handlers and information 
to open documents with ease.)

An imported document is stored in a Revolution field, just like any 
other content, where you or your end-users can view or edit. Use the 
included Try WordLib stack to open documents and view the actual 
scripts used. Try it out with your own files or the included test documents.

WordLib makes it easy to distribute bundled documents with your 
applications, so that users can view a document inside your software 
as well as in a word processor. (This is demonstrated in the Try 
WordLib stack.) If you prefer a tighter fit, you can even store 
documents right inside your stacks, together with all associated 
images, for instant display. (Display of stored documents is also 
demonstrated.) Maintenance for stored documents is provided so that 
you can easily update or delete documents.

Besides allowing your end-users to open documents, this also enables 
you to use your word processor like an external editor for your 
Revolution field contents. Provide more useful documentation, spruce 
up your content, throw in more images, and take advantage of defined 
styles and other word processor features for convenient and efficient 
composition.

WordLib 1.2 is primarily a Windows release; it may have issues on 
other platforms. (Mac support will be added in version 1.3. The price 
is currently discounted accordingly, so early adopters will save!)

File formats: strong support for the new Microsoft format (Word 2007 
.docx .docm .xml, Word 2003 .xml) and OpenOffice (.odt), and limited 
support for legacy Microsoft format (Word 97-2003 .doc). WordLib was 
formerly known as DocXLib, back when it imported only the new Word 
2007/2003 files.

I've included lots of documentation, including an illustrated 
step-by-step User Guide to walk you through the simple process of 
putting WordLib to use in your own projects. Even if you're almost 
brand new to Revolution, the guide will explain everything you need 
to know. If you're an advanced user, there is a Quick Reference and 
handy sample scripts to get you started quickly, and the User Guide 
provides detailed information on advanced features in well-marked 
sections for easy skimming.

The download is located here:

http://curryk.com/wordlib.html

Best wishes,

Curry Kenworthy




More information about the use-livecode mailing list