Bug 43924 - Problem with Docbook table which spans multiple pages
Summary: Problem with Docbook table which spans multiple pages
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: 0.94
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 05:37 UTC by Radu Coravu
Modified: 2012-04-01 13:54 UTC (History)
0 users



Attachments
FO to transform with Apache FOP to PDF (64.61 KB, application/octet-stream)
2007-11-21 05:38 UTC, Radu Coravu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Coravu 2007-11-21 05:37:39 UTC
The table gets pushed on the next page where the table title gets written over
the table content
Comment 1 Radu Coravu 2007-11-21 05:38:52 UTC
Created attachment 21171 [details]
FO to transform with Apache FOP to PDF

Just transform this FO file with FOP 0.94 to PDF.
You can notice the table is not rendered properly.
Comment 2 Vincent Hennebert 2007-11-22 02:17:46 UTC
Hi,

you have a keep-together.within-column="always" on the block surrounding the
table (id="d0e9"). So the table cannot be broken over two pages. If you replace
that always with auto, you get a normal result.

HTH,
Vincent
Comment 3 Radu Coravu 2007-11-22 04:14:36 UTC
Thanks for the clarifications.
One more question:

If I set in the Docbook XML which generates the FO the processing instruction:
 <?dbfo keep-together="auto" ?> for the table the resulting FO file has
"keep-together.within-column="auto"" set for the table.

But this alone does not seem to be enough to break the table across multiple pages.
Is this because the parent blocks have "keep-together.within-column="always"" ?
Comment 4 Vincent Hennebert 2007-11-22 04:23:50 UTC
Exactly. Any keep-together set on a parent block will apply to all of its children.
You may want to ask on the docbook-apps mailing list [1] for help to remove the
keep on the parent block. There is probably a template to customize for the
corresponding DocBook element.

[1] http://docbook.org/help
Comment 5 Radu Coravu 2007-11-22 04:24:44 UTC
Thanks for the help Vincent.
Comment 6 Glenn Adams 2012-04-01 13:54:39 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs