although it's true that DOCX files are created using the zip algorithm,
you can't just zip a folder and change it's fie extension; that's not how it 
works.

to prove that point, you could change the extension of a valid DOCX to ZIP,
zip it back, and change it's extension back to DOCX. it's now a broken file.

the zip algorithm allows files and folders to be modified **directly** inside 
the archive,
without opening it, and that's how DOCX files should be accessed.

opening it will ruin it.

you can use command line zip tools to access the contents of a zip archive 
directly.

alternatively you could use something like:

https://github.com/miyako/4d-plugin-opc

> 2018/01/18 20:39、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> I think I am slowly losing my sanity.
> Trying to create DOCX files from 4D.




**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to