Tables in PDF output do not break over pages

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
VincentBevort
Posts: 90
Joined: Wed Mar 30, 2016 1:53 pm
Location: Stockholm, Sweden
Contact:

Tables in PDF output do not break over pages

Unread post by VincentBevort »

Hi,

Several tables in my PDF output do not break over pages.
Looking in the topics involved I find the "Table can split to the next page" checked.
This flag does not work for the PDF output right now.
Removing the flag adds 'style="page-break-inside:avoid;"' to the XML
Adding the flag back set it to 'style="page-break-inside:auto;"'

Checking the XML for all topics in my project I see that every table in my project is missing the 'style="page-break-inside:auto;"'
in the table tag.
A common table tag looks like this

Code: Select all

<para styleclass="Body Text"><table styleclass="Cale Table No Header" rowcount="7" colcount="2">
As I have loads of tables in several projects I would like to add the style element kind of automatically.
Otherwise, I have to go through each topic and table to set the flag. This will take me weeks to fix.

Is there a way to fix this fast and easy?
Senior Test Engineer & Technical Writer
Flowbird group
User avatar
Tim Green
Site Admin
Posts: 23155
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Tables in PDF output do not break over pages

Unread post by Tim Green »

Hi Vincent,

Since your tables have defined styles in them this is easy to fix. Go to Styles > Edit Styles in the Write tab and edit the table style in question. Select Modify Layout... for the selected table style, then activate the "Allow page break inside table" check box at the bottom of the dialog. That's it. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
VincentBevort
Posts: 90
Joined: Wed Mar 30, 2016 1:53 pm
Location: Stockholm, Sweden
Contact:

Re: Tables in PDF output do not break over pages

Unread post by VincentBevort »

Hi Tim,

I think I found the issue.
The checkbox for this was not set in the print view in the repository
Senior Test Engineer & Technical Writer
Flowbird group
Post Reply