Formatter that only shows decimals

2019-04-06 Thread Peter Jakobsson via 4D_Tech
Hi Does anyone know how to do a formatter that only shows (currency) decimals but that hides the decimal point ? I have used ".00;-.00;00” which works ok except that the decimal point itself displays. I’d like to only display the numerics without the point if poss. Thanks in advance for any ti

Re: Best scripting language to use with LEP (docx to PDF)

2019-04-06 Thread Keisuke Miyako via 4D_Tech
if you go down the automation (applescript) route, be sure where you create the result document. Word is sandboxed, so you can only export to the temporary folder in 4D code $path:=Temporary folder+"com.microsoft.Excel"+Folder separator this would be for CFBundleShortVersionString > 14 i.e. Off

Re: Best scripting language to use with LEP (docx to PDF)

2019-04-06 Thread Pat Bensky via 4D_Tech
Miyako, > > but my understanding is that > Word on Windows embeds hyperlinks when exporting to PDF, > whereas Word on Mac doesn't (same with any app that performs print-to-pdf > using the system feature) > If you use the Save As ... option in Word to create the PDF, it preserves the hyperlinks. If

Re: Form Print Settings (And Their Little Secrets)

2019-04-06 Thread Keisuke Miyako via 4D_Tech
early versions of 4D used forms for multiple purposes: QUERY BY EXAMPLE IMPORT TEXT EXPORT TEXT MODIFY SELECTION DISPLAY RECORD PRINT LABEL etc. most things were done using just table forms, with little to no code. --- now, instead of storing print settings in forms, you can simply use BLOBs

Re: Form Print Settings (And Their Little Secrets)

2019-04-06 Thread Keisuke Miyako via 4D_Tech
can you not call PAGE SETUP https://doc.4d.com/4Dv17/4D/17.1/PAGE-SETUP.301-4179624.en.html followed by GET PRINT OPTIONS https://doc.4d.com/4Dv17/4D/17.1/GET-PRINT-OPTION.301-4179604.en.html ? 2019/04/06 4:18、Ben Sokal via 4D_Tech <4d_tech@lists.4d.com>のメール: The

Re: Best scripting language to use with LEP (docx to PDF)

2019-04-06 Thread Keisuke Miyako via 4D_Tech
I might be mistaken, but my understanding is that Word on Windows embeds hyperlinks when exporting to PDF, whereas Word on Mac doesn't (same with any app that performs print-to-pdf using the system feature) another approach maybe to use wkhtmltox https://github.com/miyako/4d-component-wkhtmltop