boxable icon indicating copy to clipboard operation
boxable copied to clipboard

Allowing page break within cell(s)

Open ErickPezoa opened this issue 8 years ago • 5 comments

I am creating a PDF with a long list of legal content, I am using a table with two columns to populate the content. The content starts at about half of the first page and it keeps going toward the second page. However, because it had to go to the second page, the system is moving the entire table to the second page causing a big amount of blank space on the first page. How can I prevent this and allow that the table stays on the first page but the content keeps going on the next page?

As an example, look at the attached pdf. Look at the table on the second page. I would like for it to start on the first page and keep going to the following page to prevent the blank space. 1250000.pdf

ErickPezoa avatar Jun 01 '16 01:06 ErickPezoa

public BaseTable(float yStart, float yStartNewPage ...) try to change yStart & yStartNewPage, i'm not sure this will help you.

jsyzthz avatar Jun 01 '16 02:06 jsyzthz

Currently it is not supported to break the page within cells, you would have to do this on your own by spliiting each cell into two cells.

For the special case of your example, it seems as if the table should fit on the first page, but I guess the bottom margin of the page is too big. On the other hand, the previous table has a dynamic height, so decrementing the page bottom margin would only help in your special example.

I see you solved your problem with multiple rows ( #62 ) by using three columns :) There is line break missing after "Costo Total:" ;)

dobluth avatar Jun 01 '16 03:06 dobluth

@dhorions Can you mark this issue as feature request because this would be indeed good thing to have.

@ErickPezoa Can you rename this thread something like: page break within cell(s)

Frulenzo avatar Jun 01 '16 07:06 Frulenzo

Thank you all!

Regards,

Erick Pezoa.

On Jun 1, 2016, at 3:40 AM, Hrvoje Štimac [email protected] wrote:

@dhorions Can you mark this issue as feature request because this would be indeed good thing to have.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ErickPezoa avatar Jun 01 '16 14:06 ErickPezoa

IMG_20211209_200703_840 If large cell content Row overflow

Santhosh691999 avatar Dec 09 '21 14:12 Santhosh691999