Save As Pdf do not save links
-
operapdf last edited by operapdf
You are right.
Opera do not find dynamic links in save as pdf (but do it in print to pdf).
Probably opera take semantic information from initialization page step for save as pdf. However opera take actual view of page for save as pdf (for example you can open some sub item on the page which do not showing on the page by default, and opera do save page in actual state).It is a pity that we have such asymmetry. I think it is not a true bug. Just developers have had some trouble with it. And they implemented this asymmetric approach.
Do you know where do i can see programme code of this functional or it is not a public code?
-
burnout426 last edited by
@operapdf said in Save As Pdf do not save links:
Do you know where do i can see programme code of this functional or it is not a public code?
Opera's source code is not public. But, Since it uses Chromium, you can look at Chromium source code.
I think Chromium and Opera's PDF functions are done with https://opensource.google/projects/pdfium. Also, see https://cs.chromium.org/chromium/src/pdf/pdfium/pdfium_print.cc?g=0. I'm assuming Opera wrote some custom code for the "Save as PDF" function that makes use of PDFium. But, theat custom code probably isn't available to the public. But, don't really know for sure.
On a side, there might be a "Save as PDF" extension that does things better than Opera's feature. You can look at https://chrome.google.com/webstore/search/save as pdf?_category=extensions and https://addons.opera.com/en/search/?query=pdf.
-
A Former User last edited by leocg
PDFs created via
Page
>Save as PDF
do not seem to save any URLs anymore since version 65.0.3467.38Opera 65.0.3467.42 Stable x64, Win10 Prof.
-
A Former User last edited by
Addendum: The same goes for Opera Developer 66.0.3502.0 x64.
Didn't test Opera beta.
-
johnd78 last edited by johnd78
@burnout426
I tested this example. test.html
If a PDF file is created in Opera 63 and later, in the created PDF, the link is not clickable.
If a PDF file is created in Opera 62 and below, the link is clickable.In the PDF file created in Opera 65 and 66, it seems that any links are not clickable.
-
burnout426 last edited by
@johnd78 Thanks. If you get a chance, and can narrow it down to the first build with the problem, that'd help.
In the 63 changelog, the only PDF change I see is "DNA-78740 Save as pdf does not work on sidebar’s pane". The change is listed for 2 different builds.
-
johnd78 last edited by
@burnout426 said in Save As Pdf do not save links:
If you get a chance, and can narrow it down to the first build with the problem, that'd help.
The first build in which all links are not clickable when saved to PDF - Opera Developer 65.0.3454.0
-
burnout426 last edited by burnout426
@johnd78 Thanks.
I don't see much in the changelog that would cause it beside a Chromium update. The Chromium update has quite a few PDF changes though.
https://chromium.googlesource.com/chromium/src/+log/78.0.3895.5..78.0.3904.9?pretty=fuller&n=10000