# Paste strings in a PDF document

**URL:** <https://forum.xojo.com/t/paste-strings-in-a-pdf-document/81362>\
**Category:** Windows\
**Created:** [August 14, 2024, 10:39am UTC](https://forum.xojo.com/t/paste-strings-in-a-pdf-document/81362 "2024-08-14T10:39:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [August 14, 2024, 10:39am UTC](https://forum.xojo.com/t/paste-strings-in-a-pdf-document/81362/1 "2024-08-14T10:39:31Z")

</div>

It is for a ProBono project.

They have a pdf and copy there (manually with a pen ?) informations they already entered in the application.

I wondered… is it possible to:  
a. Load the electronic version (pdf),  
b. Paste the data \* into the fields.

- Data are stored in a ListBox (from a sqlite file) and the needed fields are:  
First Name  
Family Name  
Birth Date  
Today date

and maybe some other recurent strings (charity name/address - probably).

Is it possible to do that ?

PS: the document is a _cerfa_ (from Government / Administrative document)

---

<div class="post-metadata">

**Author:** ![Tim\_Parnell](https://forum.xojo.com/user_avatar/forum.xojo.com/tim_parnell/32/161_2.png) [@Tim\_Parnell](https://forum.xojo.com/u/Tim_Parnell)\
**Post date:** [August 14, 2024, 1:12pm UTC](https://forum.xojo.com/t/paste-strings-in-a-pdf-document/81362/2 "2024-08-14T13:12:06Z")

</div>

Not with Xojo’s PDFDocument class - it is write only.  
You could with DynaPDF.

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [August 14, 2024, 1:45pm UTC](https://forum.xojo.com/t/paste-strings-in-a-pdf-document/81362/3 "2024-08-14T13:45:21Z")

</div>

Hi Tim,

No, I do not create the PDF nor use PDFDocument.

DynaPDF is a commercial product: no budget.

On a Mac, using AppleScript, it is (was ?) possible to determine the fields (name/reference) and paste data, but the target is a Windows 10 (will be Windows 11 in the future…).

Any other idea ?
