Pat,
something simpler?

create an .RTF file - (re)name it .docx word is happy to open it 
Mac OS x 10.9 and office 2011

Chip
On Thu, 18 Jan 2018 11:39:14 +0000, Pat Bensky via 4D_Tech wrote:
> I think I am slowly losing my sanity.
> Trying to create DOCX files from 4D.
> My code creates the requisite XML files, then zips them up and produces a
> .docx document. My test document is very simple: it contains one word,
> "Brownies".
> If I unzip that .docx I can see all the files and they all appear to be
> valid and correct.
> But the document won\t open up in Word.
> 
> I created a document in Word, added the word "Brownies" and saved it.
> Of course, that file opens correctly when double-clicked.
> Unzipped that and viewed the XML files.
> 
> ​I'll call the one I created in CatBase "Brownies-CB" and one I created in
> Word "Brownies".
> 
> Now if I copy ALL the contents from the Brownies folder into the
> Brownies-CB folder ​and then re-package that folder, it still won't open in
> word!
> To check that my packaging code works correctly, I re-packed the Brownies
> folder and that opened just fine in Word.
> 
> If the two folders (Brownies and Brownies-CB) contain the exact same
> contents, why would one work and the other, not?
> 
> Note - there is one hidden file in the package and I checked to make sure
> that it gets copied over.
> 
> Anybody got any suggestions?
> 
> Thanks!
> Pat
> 
> -- 
> *************************************************
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *************************************************
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to