Curry K. Software - Developer tools

DocXLib

DocXLib is a library that brings Microsoft Word 2007 document import to Runtime Revolution users.

With the HTMLTextOfDocX function, you can easily import styled documents from Microsoft Word DOCX and XML files into Revolution text fields. Now your users (and yourself) can conveniently open word processing documents for use in your projects, and you can support the latest popular document format, standard for MS Word 2007.

Syntax: get HTMLTextOfDocX(filePath)

Here's a simple example:

start using "docxlib.rev"
answer file "Open MS Word document:"
set htmltext of field 1 to HTMLTextOfDocX(it)



Try and Buy links:

Download DocXLib 1.0 here

Register now!


Features:

DocXLib works with Revolution Enterprise, Studio, and Media*.

(*Note: Due to Revolution Media's feature limitations, it can open XML files, but not DOCX files.)

DocXLib offers basic support for these Microsoft Word features:

- MS Word File formats: .docx, .docm, .xml!

- Text font and size

- Bold, italic, underline, and strikethrough text

- Superscripts and subscripts

- Text border or box style

- Text color

- Text highlight color or shading!

- Hyperlinks

- Bullet lists!

- Pictures! (in formats recognized by Revolution)

- Footnotes and endnotes!

- Citations

- Tables!

- MS Word Styles

- Theme fonts (Western)

- Extended ANSI characters

These features are not yet supported in this version:

- Languages

- Word 2003 XML files can be opened but translation is limited

- Features related to paragraph and page layout (Revolution field characteristics)

- Font sizes below 8 (which Revolution interprets as special size codes in HTMLText)


Registration:

You can try out DocXLib for personal, non-commercial uses without any enforced time restrictions, but if you use the library regularly, please register. In trial/free mode you will occasionally see a reminder/about notice inserted at the beginning of a document, and import will be disabled in standalone applications and in the Revolution Player.

For non-personal or commercial/paid uses, including commercial software, freeware/shareware, consulting or contracting, use for work or at schools or organizations, etc., you will need to register. The license is delivered immediately after you place your order. Site license available on request.

(Contact the author if you are interested in licensing for use in a Revolution add-on or development tool, which is the only use not covered by the regular license.)