Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 1 Jahr, 10 Monaten
Letzter Beitrag:
vor 6 Monaten, 3 Wochen
Beteiligte Autoren:
Alexandre Leclerc, Paulo Oliveira, Enxhi, Allard

Windev 21 and PDF

Startbeitrag von Allard am 24.10.2015 07:42

Hi

I tried reading the french stuff on windev. I donnot speak french and can only read it a bit. I have a question on the new featre of the report editor.

Is it possible to edit pdf files in the report preview?

I have had a question from a customar . He want to be able to add stuff to a pdf. I made some custom reports that are generated in pdf( not with windev). The reports ar all about getting the figures right. The tool is not about changing the appearance. It is not possible to add pictures

If this task could be done with windev it would be great.

Thanks

Allard

Antworten:

Hi Allard,

As far as I know, this is not possible. The new announcements for PDF are mainly support for PDF/A, PDF signing, and better support for background PDF (PDF as background image in a PDF).

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 26.10.2015 13:06
Hello, how can i use a pdf as background image of a pdf ?

von Enxhi - am 01.02.2017 13:58
It's possible to generate editable report i don't know if it helps you but check this help page:
http://doc.windev.com/en-US/?1011074

von Paulo Oliveira - am 01.02.2017 15:46
Hi Enxhi,

I replied to your personal message (it was a good idea since I'm not often on the forums these times). Since I do not know if the message was sent successfully, I copy my answer here too. (I do not see it in my "sent" messages.)

It can be done easily in a report. I was using WinDev 20 when testing that and it worked. So if you have this version or a later one, it should work.

In the "Before printing top of page" event (freely translating from French here), put the code

MyReport..BackgroundImage = "your image" // or PDFExtractPage("pdf",PageNumber) for example
MyReport..BackgroundImagePrinted = True

When you do so you can print a different background image from page to page.

You can find more information there:
- http://doc.windev.com/en-US/?2510056 (see the report section at the end)
- http://doc.windev.com/en-US/?1000021350&name=backgroundimageprinted_property (Ah! I just saw that this help page now has the example about PDFExtractPage(). But the trick, not yet mentioned I think is that it must be in the "before printing" of the top of the page event.)

I hope that this will help you!

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 01.02.2017 18:40
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.