XPDF Documentation
Paul Dupuis
paul at researchware.com
Fri Mar 21 09:56:04 EDT 2025
To put XPDF in selection more, use
XPDFViewer_ChooseMouseMode "Document1",pMode -- "browse", "selection",
"image"
To select a range of text on (or across) page(s), use
XPDFViewer_Select "Document1",item 1 of tPDFPageRef,item 2 of
tPDFPageRef,item 3 of tPDFPageRef,item 4 of tPDFPageRef
See the documentation for what the 4 items are above, but it's basically
startPageNum, startCharPositionNum, endPageNum, endCharPositionNum
However, XPDF was not designed to get the values of form fields. Unless
something was added by Monte in the intervening years since Researchware
turned the XPDF external over to Livecode, I don't think there is a way
to get form data.
In any case, Monte at livecode is the definitive expert who could answer
this questions for the XPDF external and the PDF Widget (if they added
forms capability to that newer effort).
On 3/20/2025 7:44 PM, Bob Sneidar via use-livecode wrote:
> Hi all.=20
>
> I am able to load a fillable PDF form, and I see the actual form data, all =
> well and good. There are functions that allow me to get the selection, but =
> there is no way to select the text! I just get the hand icon for scrolling =
> the page by dragging. Is there a way to switch to a selection tool?=20
>
> Bob S=
>
> _______________________________________________
> 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