[Gambas-user] Understanding how to use gb.poppler instead of gb.pdf

Rolf-Werner Eilert rwe-sse at osnanet.de
Mon Nov 1 12:26:29 CET 2021


Am 01.11.21 um 12:13 schrieb Gianluigi Gradaschi:
> Il 01/11/21 10:47, Rolf-Werner Eilert ha scritto:
>> In several projects I have used gb.pdf to show PDF files (mostly as a 
>> printing preview). With qt5 and newer Linux versions it might be wise 
>> to use the newer gb.poppler instead. At least the gb.pdf is deprecated.
>>
>> In a first trial I simply replaced the library and expected to be lead 
>> by the help texts how to use gb.poppler. But as it turned out, the 
>> help was of no help.
>>
>> For instance, a simple .Open(PathToFile) seems not possible anymore, 
>> but there is no indication at all on how to load and show a pdf.
>>
>> Could someone explain to me how to achieve this? And maybe we should 
>> complete the help texts, especially with simple examples of how to 
>> handle PDF files in gb.poppler.
> 
> On Gambas Software Farm there is my example in Examples which is titled 
> DocumentViewPdfZoomDialog
> 
> Regards
> Gianluigi
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 

Oh thank you, I will try and see :)

Regards
Rolf



More information about the User mailing list