[Gambas-user] Gambas and pdf

Dag JNJ gambas at cd-bahia.com
Mon May 15 15:39:04 CEST 2023



Am 15.05.23 um 11:20 schrieb Gianluigi:
> Il 15/05/23 01:10, Dag JNJ ha scritto:
>> Hi all,
>> I need to read pdf-files. I didn't find any component for that. I 
>> know I can use (in fact use) the Linux command /pdftotext, /but 
>> sometimes it makes mistakes, the order of text-elements is not always 
>> correct. As I write an interface for certain pdf-files, that always 
>> have the same structure, I waste time writing workarounds.
>> Any help is welcome.
>> Regards, Dag
>>
>> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
>
> Hi,
>
> if you wish, you can also see this page (in Italian):
> https://www.gambas-it.org/wiki/index.php/Codice_essenziale_per_mostrare_un_file_PDF_con_le_risorse_del_Componente_gb.poppler
>
> There is also an example of mine on the farm called : 
> DocumentViewPdfZoomDialog
>
> To get pdf files you can also use gb.report2 there are two examples of 
> mine on the farm: LoremReport and ReportTest
>
> Very important thing, you can document yourself with Benoit's code 
> related to gb.form.print:
> https://gitlab.com/gambas/gambas/-/tree/stable/comp/src/gb.form.print?ref_type=heads
>
> Have fun :-)
>
> Regards
>
> Gianluigi
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----
Thank you both, I'll take a look.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230515/837c2426/attachment.htm>


More information about the User mailing list