U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » Create PDF with custom graphics through QTF
Create PDF with custom graphics through QTF [message #61507] Thu, 27 February 2025 21:32 Go to next message
busiek is currently offline  busiek
Messages: 71
Registered: February 2011
Location: Poland
Member
I have a such interesting task.

I want to create a template using QTF (for instance prepared with UWord). In this template I would like to put a special command (probably using Fields) which reserve a space to fill later - say some empty rectangle. Than I use Report class to create PDF with contents of given QTF template with an exception that I want to fill the reserved space (empty rectangle) using DrawingDraw member method for my custom drawing. Anyone understands U++ internals enough to explain how to do it?

-Jakub
Re: Create PDF with custom graphics through QTF [message #61508 is a reply to message #61507] Thu, 27 February 2025 23:09 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hello Jakub,

I have exactlu what you need: QTF template (with replacement vars) used to generate QTF reports, that can be converted to PDF

I will publish it tomorrow
Re: Create PDF with custom graphics through QTF [message #61516 is a reply to message #61508] Sat, 01 March 2025 00:00 Go to previous message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hello Jakub,

You can use the UppHub/ReportGenerator package

To see how it works:
* Take a look at ReportGenerator documentation
* ReportGeneratorTest package will show you how it works
Previous Topic: Paste Properly Scaled Images Into RichEdit
Next Topic: Spell Checking - Issue with SpellerFindCloseWords
Goto Forum:
  


Current Time: Sun May 03 16:53:17 GMT+2 2026

Total time taken to generate the page: 0.00619 seconds