Provide an option to generate a TOC out of <h1><h2> etc. when generating a PDF
Reported by
ognian.t...@ogi-it.com,
May 7 2018
|
|||||||
Issue description
Chrome Version : 68.0.3423.0 (Offizieller Build) canary (64-Bit)
OS Version: Mac OS X 10.13.4
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari: FAIL
Firefox: FAIL
IE/Edge: FAIL
What steps will reproduce the problem?
1.Select Print Dialog
2.Select Save as PDF
3.Select More Options
What is the expected result?
Find an Option to generate a TOC (Table of contents) out of the Headings(h1-h7)
What happens instead of that?
There is no such option
Please provide any additional information below. Attach a screenshot if
possible.
For a discussion about why this feature is really needed see https://github.com/GoogleChrome/puppeteer/issues/1778
Sorry for posting this as a BUG but I couldn't find any suitable template. Actually me and other people from the linked puppeteer issue try to make this happen and we try to find the right upstream (sub)project where we could find a solution...
Thanks
Ognian
,
May 7 2018
,
May 8 2018
,
May 8 2018
As per comment #0, it seems to be a feature request as the user want to have an Option to generate a TOC (Table of contents) out of the Headings(h1-h7) at print dialog. Hence, marking it as untriaged for further inputs from dev team. Thanks...!!
,
May 8 2018
,
May 23 2018
This is a non-regression feature request.
,
Dec 4
I'm using Puppeteer as a pdf generator in my project, this option can be helpful.
,
Dec 4
Here's the status of this: SkPDF [*] now lets you add this information to the PDF. Chrome does not yet use this new API. [*] https://skia.googlesource.com/skia/+/master/include/docs/SkPDFDocument.h
,
Dec 4
Now the question is who should be populating the StructureElementNode tree. Blink? Printing code?
,
Today
(18 hours ago)
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by dtapu...@chromium.org
, May 7 2018