TPPDF icon indicating copy to clipboard operation
TPPDF copied to clipboard

Is it possible to add `PDFGroup` as `PDFTableContent`?

Open samjayhk opened this issue 1 year ago • 1 comments

@techprimate & @philprime, really thanks for develop this library. I'm trying to add padding to NSMutableAttributedString as PDFTableContent, but NSMutableAttributedString or PDFTableCell don't support adding padding independently (without adding padding to the whole table), that's why I want to use PDFGroup to make PDFTableCell support padding.

But it seems that there is no way to achieve it at present? I don't know if there are other feasible ways to make PDFTableCell support UIEdgeInsets to support padding?

Thanks!

samjayhk avatar Apr 13 '23 02:04 samjayhk

I have a connected question. According to the Usage document:

Also each cell can have a margin which is the distance between the cell frame and its inner borders and the padding as the distance between the inner borders and the content.

However i couldn't find this feature in the code either. Is this a planned feature or was I just not persistent enough to find it?

Thanks!

cskristof avatar Apr 18 '23 09:04 cskristof