PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 22 → [WD21] Insert Text to PDF
[WD21] Insert Text to PDF
Débuté par Vassilis Boutsikas, 09 mai 2018 12:00 - 4 réponses
Posté le 09 mai 2018 - 12:00
Dear members,

Is it possible with Windev (21) to add one or more lines of text into existing PDF file?

Regards
Vassilis Boutsikas
Posté le 11 mai 2018 - 17:08
Nobody knows any tip on this ?

Vassilis Boutsikas
Posté le 11 mai 2018 - 17:21
If what you need is to add text at the end of the file just create another pdf with the text to add and use the PDFMerge function to make a new pdf with the content of both.

If what you need is to edit one pdf i don't know any way to do it using windev.
Posté le 11 mai 2018 - 18:52
Dear Paulo,

What I need is to add some lines of text (one or more), mostly in the begining of PDF.

Thank you for the advice.
Any other help is wellcome!

Vassilis
Posté le 16 mai 2018 - 16:21
Hi Vassilis,

"PDF" (https://en.wikipedia.org/wiki/PDF) is mainly a vector-oriented (PostScript) document format while formats like .doc, .odt or .rtf are line-oriented. So, inserting "just a few lines" will involve a) converting the whole document to a line oriented format b) inserting those "few lines" and c) re-converting the document to PDF.

The hardest thing is the conversion from PDF to, let's say .doc or .rtf. There are many conversion technologies that do not produce an adequately formatted .doc file - keep in mind that re-converting the original PDF from .doc will produce an ugly result. The best conversion technologies rely on OCR. See http://www.bcltechnologies.com they have it all: you could try their conversion online and look whether the resulting quality matches your wishes.

Or, there are so called "PDF Editors" which allow you to add / delete / change text within a PDF document. Just an example of many: https://www.pdfescape.com/windows/ They have a free online version too and you could try ...

However, don't expect to get something like that in WINDEV. If you want, you could automate such an application with WINDEV or try to use their SDKs.