That's a great component that works very well for converting HTML to PDF. Sadly it doesn't work for our project, because our documents are created using 4DWritePro. Converting them to HTML loses some vital formatting - most importantly, things like text columns on a page. I suppose this could be fixed by putting the text into tables, but there are various problems with that - the page formatting goes a bit haywire, and in WP you cannot have tables within tables, so it would not be possible to produce a document that has both text columns and tables within those pages 😡
So ... back to the scripting drawing board ... Pat On Sat, 6 Apr 2019 at 13:12, Keisuke Miyako via 4D_Tech < [email protected]> wrote: > 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. Office 2016 or > later. > > c.f. > > https://github.com/miyako/4d-plugin-office-document-converter > > 2019/04/06 21:05、Pat Bensky via 4D_Tech <[email protected]<mailto: > [email protected]>>のメール: > > If you use the Save As ... option in Word to create the PDF, it preserves > the hyperlinks. If you just choose Print and choose Save as PDF, it doesn't > preserve the links. > > > > ********************************************************************** > 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] > ********************************************************************** -- ************************************************* 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) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

