Can a table row break across pages in pdf?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
knichols
Propeller Head
Posts: 38
Joined: Thu Nov 20, 2008 2:45 pm

Can a table row break across pages in pdf?

Post by knichols »

I have a Flare online help file that also must be a pdf. No problem there; thankfully this help file is fairly short. One of my topics has a table with a long row. This long row has another table imbedded inside it.

My project looks great in the online help. The trouble is the pdf. In my pdf target output I can't get the table to break across rows in the pdf.

I have not found an answer in the Flare help. Does anyone know how I can get a table row to break across pages in a pdf output?

Thanks very much,

knichols :flare: :flare:
ksoltys
Propeller Head
Posts: 73
Joined: Mon Oct 20, 2008 5:38 pm

Re: Can a table row break across pages in pdf?

Post by ksoltys »

I suspect the table within the table, but that's just a guess.

I have the opposite problem - I have a row that breaks in the middle of the row and I am trying to find a way of keeping it together so the page break is before the row.

Regards
Keith
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Can a table row break across pages in pdf?

Post by LTinker68 »

ksoltys wrote:I have the opposite problem - I have a row that breaks in the middle of the row and I am trying to find a way of keeping it together so the page break is before the row.
For that, you'd need to create a custom <td> class that has the page-break-inside property set to avoid, then apply that custom <td> class to that cell. To be safe, you should apply that class to all the cells in the same row, just to make sure they're all set to not allow a page break to occur in the middle of the row.

For knichols' problem, that's a bit more difficult. There is no value for the page-break-inside property that forces it to break the row across pages. If you're using paragraphs inside the table cell, then creating a generic class or a paragraph class that has the page-break-before set to always and applying that class to the second or third paragraph in the cell might do the trick. In other words, you have to pick which element you want to move to the next page. I'm not entirely sure that will work, but you can try it. If you have multiple paragraphs in the table cell it might automatically break between the paragraphs as the default behavior. If you're not using paragraph tags in the cell or it's one long paragraph, then it won't break in the middle of the paragraph (or table cell if not using paragraph tags), so you might have to modify your content to make it easier to break across the row.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply