[Interest] Links in PDF printed from QTextDocument
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Sat Apr 11 17:53:06 CEST 2020
Il 10/04/20 23:13, Josh ha scritto:
> Currently, I have my own print function which generates the PDF like
> following:
>
> ...
> painter.translate(xmar/scale, -page*pageHeight + ymar/scale);
> myDocument->drawContents(&painter, view);
> ...
>
> Any ideas about getting links into the PDF are appreciated.
This should "just work". Are the links correctly inserted in the
document? Does it work if you use document->print() and print directly
on a PDF?
HTH,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200411/c68cfc9b/attachment.bin>
More information about the Interest
mailing list