Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread Keisuke Miyako via 4D_Tech
4D v18 is 750 MB. just over half of that size is taken by the embedded CEF web area. So it would be a shame not to use it at all other than for the welcome dialog. my understanding is that the Chrome Embedded Framework is using the same PDF renderer as Chrome, that is, PDFium, a Google edition

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread Chris Belanger via 4D_Tech
SOLVED! Thanks Keith. I should have noticed your post before I replied… Yay! This works! Thank you so much. It is perfect! For testing (and FYI to anyone else who wants to know): Created a FORM: named pdf_Viewer. Form.pdfURL [to store the path as per file:/// …] Added: • web area: named

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread Herr Alexander Heintz via 4D_Tech
Used it for ages. On Mac no magic required, works out of the box, on Windows you might need to install Adobe Reader. On newer windows systems (win 10) i thinks it works right out of the box, but would have to verify... > Am 21.04.2020 um 18:36 schrieb Chris Belanger via 4D_Tech >

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread Chris Belanger via 4D_Tech
That sounds like something I would really like to work. If the web area knew what pdf renderer to use, it sounds like theoretically that should do it. Anyone know of how to get it to work? — Chris > On Apr 21, 2020, at 9:36 AM, kculotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > No one

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread kculotta via 4D_Tech
This worked after adding the third / WA OPEN URL(*;"wa";"file:///Test.pdf") > On Apr 21, 2020, at 10:36 AM, kculotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > No one mentioned WA OPEN URL and a web area, which I thought would have been > as easy as WA OPEN URL(*;"wa";"Test.pdf"), but

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread kculotta via 4D_Tech
No one mentioned WA OPEN URL and a web area, which I thought would have been as easy as WA OPEN URL(*;"wa";"Test.pdf"), but that only resulted in a blank area. When I did get a pdf to open in the web area, all pages were available. Is that different than what you are asking? Keith - CDI > On

Re: With v18r2, can 4D display pdf documents?

2020-04-21 Thread UKVetDerm via 4D_Tech
http://www.pluggers.nl/product/pdf-viewer/ has served us well for a long time. Steve On 21/04/2020, 06:12, "4D_Tech on behalf of Chris Belanger via 4D_Tech" <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote: Is there a way in 4D to display PDF documents? Either

Re: With v18r2, can 4D display pdf documents?

2020-04-20 Thread Keisuke Miyako via 4D_Tech
with a plugin-in http://www.pluggers.nl/product/pdf-viewer/ a web thingy https://mozilla.github.io/pdf.js/ --- I would consider the two above to be your top choices. I've posted a few convert-to-picture examples, but it sounds like you would want to render and display, not rasterise.