TOC table of content for script generated templates
-
Hello,
I need to know if it is possible to add TOC using pdf utils for my scenario.
I have a main template that loop on data and generate tens of templates after that.My setup is something similar to this admin playground
https://playground.jsreport.net/w/admin/UpVVJcAkIs it possible to add TOC for this type of documents?
Thanks
-
Please see this topic
https://forum.jsreport.net/topic/2049/toc-links-are-not-clickable-when-admin-example-is-used-as-scriptDoes it help?
-
Unfortunately no, I saw this demo before, but what I am trying to do is to dynamically generate templates by script using
jsrender
and at the end of the script append them usingpdf-utils
-
However, because of the pdf utils limitation, the clickable links don't work across multiple appended pdf documents.
https://github.com/jsreport/jsreport/issues/771
The only option is to make the TOC part of the main document like in the working demo.Not sure if it would be possible because of the mentioned problem. However, please prepare a playground workspace demonstrating your intetions and I will take a look if it can work.