How to extract whole text from a PDF file with the PDF widget?

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Fri Dec 10 17:47:49 EST 2021


Hi Torsten,

i think the PDF widget does not support extracting text by code. At least the documentation does not show any information about this.

You wrote, that you have a business license. That would mean, that you can use the Pro features of Livecode.
There is an external included in the Pro Feature Pack called XPDF. That external supports extracting text. Have a look at the function XPDFVIEWER_text.


Regards,

Matthias

> Am 10.12.2021 um 22:46 schrieb Torsten Holmer via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi,
> 
> I have a PDF file with text and pictures, but I just want the text.
> 
> I can do it manually with Ctrl-A and Ctrl-Copy by viewing the file with Preview on MacOS. 
> 
> I have a business licence and want to use the PDF widget but I cannot find a way to do it.
> 
> Can someone help me out?
> 
> Cheers,
> Torsten
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list