As of August 2018, Write Pro could not export to a Word doc. Has that changed?

I have a 4D v15 application that uses 4D Write pre-defined templates that 
contain home-grown embedded variables, and the code uses the WR Replace command 
to substitute data for these variables.
Then the Write docs are exported as Word docs. Works perfectly.

But in v17, I have to come up with a way to replicate this functionality.
Is anyone using the following methodology to do this?:
Outside of 4D:
1. Create a template in MS Word, with home-grown embedded variables, and save 
it as a .docx file. (Which is actually a zipped collection of xml and other 
files.)
2. Change the file extension to .zip .
3. Unzip the file, which creates a number of folders and files.

In 4D:
1. open the resulting document.xml file.
2. Replace the embedded variables with data.
3. Resave the file.
4. Zip the file, using Miyako's zip plugin for 4D.
5. Change the extension to .docx .

Anyone doing this or something like it?

David



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to