table with links in first column to pages that will be generated later #821
Replies: 1 comment 3 replies
-
Several methods allow you to create links:
You can use FPDF.add_link() for that.
This is a solution for sure, but with |
Beta Was this translation helpful? Give feedback.
-
I have to document a hierarchical structure in a pdf file . At the highest level I would want to make a table with entries (containing links) to pages describing objects on the second level and on each second level page, I would want to make a table with entries (containing links) to pages describing objects on the third level. The tables on each level might span multiple pages, so without additional logic, it is difficult to predict on which page the description of an object at a certain level starts.
My first question is, how to I convert a text in a column in a table to a link and my second question is how can I make links to pages that still need to be generated.
One solution is to build everything in internal structures, calculate the page numbers etc and then from that internal structure, write the pdf. However that feels a bit complex.
Beta Was this translation helpful? Give feedback.
All reactions