Hello David, I do something similar, generically for .docx, .xlsx and so on:
-Unzip the file, which creates a number of folders and files -Replace the embedded variables with data (freely configured in a report template: which document (docx, .xlsx), which variabes with which contents in which files) -Zip the file, using 7zip from the command line -Change the extension to .docx or similar Greeting Ingo >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 -- ViELMAC Ingo Wolf Rheinhessenring 53A D 55597 Wöllstein Tel. +49 (0)6703 3070320 Fax +49 (0)6703 3070321 e-mail [email protected] ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

