pdfjs
pdfjs copied to clipboard
you could add overflow hidden in table rows and cells
Hi, The idea is to add a overflow hidden or ellipsis at the end of the cell, some thing like this:
let row = table.row({overflow: 'hidden'});
let cell1 = row.cell();
let cell2 = row.cell({overflow: 'ellipsis'});
run
----------|----------|
hello worl|hello w...|
----------------------
I thank you for your time.
Hi, thanks for the suggestion! I can totally see the use case of it, but I am also wondering whether this is really something one would want to do on PDFs. On websites, totally, since there is usually a way to get the remaining content, but on PDFs, the remaining content would just be missing. At least in the use-cases where I create PDFs, the PDFs are meant for stuff that is archived, so it should probably contain all its content. What are your thoughts on that - what is your use-case where you are fine with skipping content on a PDF?