Unsolved want to add PDF in Qt
-
hello QtChamps,,
i want to add a pdf file to my GUI, to add result data in blank space of table in it.. is that possible.?
if yes, tell me how to do that..,
any one there to help me.?
thank you in advance.. -
Hi
There is no easy way to edit pdf files directly in Qt.
You can draw the table directly to a new pdf but you cannot
edit them, as in - added to it.Does it have to be a pdf where you add to ?
Qt can produce pdf, so you could have the content as HTML
and add data to that , then print to a pdf.Adding to a pdf would require 3rd party lib and lots, and lots coding.
How ever, if you really must add to to a pdf. this tool
https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
has a cmdline version that can merge pdf. so you could
print the table data to other pdf and then over lay to the original. -
thank u, but i need an example to do that guys, anyone here..?
-
Hi
I assume you mean generate/print an html table.
https://stackoverflow.com/questions/29236485/draw-populate-and-print-a-table-to-pdf-file-with-qt