pdfjs icon indicating copy to clipboard operation
pdfjs copied to clipboard

you could add overflow hidden in table rows and cells

Open hermy991 opened this issue 4 years ago • 1 comments

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.

hermy991 avatar Mar 12 '20 21:03 hermy991

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?

rkusa avatar Mar 31 '20 05:03 rkusa