B4J Question jPDFjet: tables cells spanning multiple rows or columns?

Woinowski

Active Member
Licensed User
I searched for an answer in the forum, on the PDFjet original page, and in the html of the jPDFjet library. Since I did not find anything:

Can you have complex cell setups for tables? Like the rowspan or colspan attribute of HTML?

Edit: Just realize, maybe would have been better in the Libraries subforum...
 

EnriqueGonzalez

Well-Known Member
Licensed User
Hi wonosky,

i worked with the table class of PDFJet quite a while ago, i liked it but it was very generic table, it is indeed easier to create your own implementation of a table drawing it manually.
 
Upvote 0

Woinowski

Active Member
Licensed User
Hi Enrique,

thanks you, you might be right, if I need rowspan, I may use that.

For colspan, I found a solution.

B4X:
Dim PDFTable As PDFjetTable

...

PDFTable.GetRow(i).Get(0).SetColSpan(2)

Looks like there is now rowspan...
 
Last edited:
Upvote 0
Top