Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.14.1, 5.15.5
-
-
5d95205bae (qt/qtbase/dev) 5d95205bae (qt/tqtc-qtbase/dev)
Description
A QTextDocument supports internal linking, for example by inserting the following html:
<a name="top">Top of Document</a> other html... <a href="#top">link to top</a>
But when exporting QTextDocument to PDF, internal linking doesn't work in the resultant PDF (external links work properly when exporting to PDF).
It would also be nice if Qt supported span id's for exporting to PDFs (it appears to with QTextDocument). Ie.
<span id="top"></span>
Giuseppe D'Angelo of KDAB confirmed that this is a bug and that the code doesn't handle it.
Attachments
Issue Links
- relates to
-
QTBUG-12035 PDF printing/export of links is broken
- Open
For Gerrit Dashboard: QTBUG-83458 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
440639,3 | PDF writer: implement support for document internal links | dev | qt/qtbase | Status: MERGED | +2 | 0 |
442833,1 | WIP add links to example.html | dev | qt/qtbase | Status: ABANDONED | -2 | 0 |