Implementation wise this may be possible through a hack, some OS windows can be semi trasparent , this make it possible to overlay one GUI element over the other in this case a PDF with basic scrolling handles. It should be possible with UFFI and some knowledge of OS GUI APIs. Probably much easier than having to implement the entire things in Pharo from scratch which would be ideal.
The overlay windows can change size according to the dimension of the Pharo windows so you can fool any pharo user thinking this is actually an internal Pharo window. This way even if the user resize or maximise the pharo window nothing messes up the Pharo gui. On Wed, Oct 11, 2017 at 12:04 AM Offray Vladimir Luna Cárdenas < offray.l...@mutabit.com> wrote: > I have been thinking about this. I don't know if you can have a VNC > client inside the image that can be used to render a PDF app, but that > would be my first approach, to leverage all the features in the current > PDF readers. > > Cheers, > > Offray > > > On 10/10/17 14:04, Stephane Ducasse wrote: > > Hi manuel > > > > So far I do not know if we have this is Pharo. > > I imagine that we would have to build a renderer once we will have the > > PDF reader from Christian library. > > > > Stef > > > > On Tue, Oct 10, 2017 at 8:58 PM, Manuel Leuenberger > > <leuenber...@inf.unibe.ch> wrote: > >> Hi, > >> > >> I want to view a PDF within Pharo. I found that Athens has a PDF > canvas, but I have no idea how to use it. Is there a way to view a PDF > within Pharo, so that I can scroll, zoom, click links etc. in the PDF? > >> > >> Cheers, > >> Manuel > >> > >> > > > > >