RE: Miyako's Zip plugin for 4D v16 - ZIP_Without_enclosing_folder option

2018-01-17 Thread Dennis, Neil via 4D_Tech
I have created docx documents using the the zip plugin, but my arguments to the plugin are different than yours. Unless the plugin signature has changed or it is a different plugin, try this: $lOK:=Zip ($tSource;$tDestination;$tPassword;ZIP_Compression_level_5;ZIP_Without_enclosing_folder)

Parsing output from EXPORT STRUCTURE

2018-01-17 Thread Jeffrey Kain via 4D_Tech
How do I parse the XML returned from Export Structure? When I try using DOM Parse XML variable I get the error message 'The XML file is not valid or is not well-formed. (no declaration found for element 'index_ref' : Line #1, Column # 478.)

Miyako's ZIP plugin - without_enclosing_folder - creating Word DOCX docs - solved

2018-01-17 Thread Pat Bensky via 4D_Tech
I realised after posting my previous message that there is an error in my code - a missing semicolon: $success:=Zip ($folder;$dst;"";ZIP_Without_enclosing_folder"ZIP_CALLBACK") ​should be: $success:=Zip ($folder;$dst;"";ZIP_Without_enclosing_folder;"ZIP_CALLBACK") ​ ​Anyway, now it's working :)

Re: Parsing output from EXPORT STRUCTURE

2018-01-17 Thread Jeffrey Kain via 4D_Tech
Thanks John - We actually figured it out by running the exported data through a different XML validator, and there were several Char(0x0001) characters in the exported document. We cleaned it up before running it through 4D's parser: // Strip out the Start of Header characters

Re: Parsing output from EXPORT STRUCTURE

2018-01-17 Thread Keisuke Miyako via 4D_Tech
perhaps the xml contains RTF comments that fails the parser... > 2018/01/18 1:07、Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> のメール: > When I try using DOM Parse XML variable I get the error message 'The XML file > is not valid or is not well-formed. (no declaration found for element >

Re: Best way to fill a variabe with styled text?

2018-01-17 Thread Keisuke Miyako via 4D_Tech
windows=96DPI, mac=72DPI so the ratio is always 4:3. c.f. DPI used for internal pixels <->points conversion (integer). Always 96 (read-only) http://doc.4d.com/4Dv16R4/4D/16-R4/4D-Write-Pro-Attributes.300-3332062.en.html 2018/01/18 1:27、Piotr Chabot Stadhouders via 4D_Tech

Re: How to fix Design windows closing after quiting 4D

2018-01-17 Thread Pat Bensky via 4D_Tech
> use 16.214179 or later... I'm using 16R5.219028 and I have the same problem ... On 17 January 2018 at 23:42, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > ACI0096985,ACI0097118 > > Opened windows are not saved after 4D is closed (test application mode). > > use 16.214179 or

How to fix Design windows closing after quiting 4D

2018-01-17 Thread truegold via 4D_Tech
Hi All, OSX Mac 4D 16 R4 I seems to recall this issue popped up previously but I couldn’t find it in the NUG. So I’m working and I have various method and form windows open in Design. Then I quit and restart later … And when I get back into Design all my windows are closed. So something is

4D 15.4 crashes on start

2018-01-17 Thread Peter-Christian Miest via 4D_Tech
Some of our customers who upgraded from 13.4 to 15.4 report extremely long loading times on cold start of 4D (about 40 seconds), sometimes followed by a crash. After restarting (warm start) everything seems to work properly. This seems NOT related to slow computers as this symptom is also seen on

Miyako's Zip plugin for 4D v16 - ZIP_Without_enclosing_folder option

2018-01-17 Thread Pat Bensky via 4D_Tech
using 4D v16, Mac: I can successfully Zip a folder using the Zip plugin. However ... I'm building docx files, which consist of a zipped folder of xml files. I need to create the Zip archive by adding just the actual files without their enclosing folder. I believe the ZIP_Without_enclosing_folder