Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6476653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:51:03+00:00 2026-05-25T06:51:03+00:00

I am generating a PDF Document through XSL-FO. I have a simple xhtml structure

  • 0

I am generating a PDF Document through XSL-FO. I have a simple xhtml structure like this:

<body>
<h2><center>Status</center></h2>
<table border="0">
<colgroup span="5"></colgroup>
<tr>
  <td><h4>Aktion</h4></td>
  <td><h4>Kommentar</h4></td>
  <td><h4></h4></td>
  <td><h4>Zeitpunkt</h4></td>
  <td><h4>Benutzer</h4></td>
</tr>
<tr>
  <td><h5>Mappe archiviert</h5></td>
  <td><h5>QMSAA</h5></td>
   <td><h5></h5></td>
  <td><h5>26.07.2011  13:14</h5></td>
  <td><h5>Mustermann, Peter</h5></td>
</tr>
<tr>
  <td><h5>Mappe als pdf gedruckt.</h5></td>
  <td><h5></h5></td>
  <td><h5></h5></td>
  <td><h5>26.07.2011  13:14</h5></td>
  <td><h5>Mustermann, Peter</h5></td>
</tr>
....

And i am using a xhtml to fop Stylesheet to convert this xhtml to an xsl-fo table. This works for most cases and in this case here i also get one page of content, but this should be at least two pages. While generating i get the following warnings:

30.08.2011 09:57:36 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
30.08.2011 09:57:36 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
30.08.2011 09:57:36 org.apache.fop.fo.flow.TableColumn bind
WARNUNG: table-layout=”fixed” and column-width unspecified => falling back to pr
oportional-column-width(1)
30.08.2011 09:57:37 org.apache.fop.layoutmgr.inline.ContentLayoutManager
WARNUNG: Title has no content
30.08.2011 09:57:37 org.apache.fop.layoutmgr.PageBreaker$1 notifyOverflow
WARNUNG: Content of the region-body on page 1 overflows the available area in bl
ock-progression dimension. (fo:page-sequence, no context info available)

The result i get is one page of content with one element overflowing the bottom of the page. But the rest of the content is lost, not second page is generated.

The only page generated

  • What could be the problem here?
  • Is it possible to have a pagebreak between two fo:table-row elements of one table?
  • Why is no second page generated?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:51:03+00:00Added an answer on May 25, 2026 at 6:51 am

    There is a problem with the keep-with-next.within-column property on blocks within table cells in your FO document. If the “always” values are replaced with “auto”, FOP 1.0 outputs four pages.

    This could be a bug in FOP. I also processed the FO document with XEP, and it produced four pages without complaining.

    Maybe what you really want is keep-together on table rows?

    I also noticed an empty font-family attribute on <fo:page-sequence>.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm generating a table in a pdf document using xml-fo. The number of columns
I'm generating PDF documents with PDFKit and I'd like to have it not embed
I am generating a pdf for a client. This has two columns ... ID
In my document I have to specify the references I'm using. I used this
I have a particular requirement to generate a PDF document with some dynamic data
I've searched a lot but could not solve this problem. I am generating PDF
I am generating a pdf using iTextSharp. I would like to display it on
I am generating PDF/HTML report from a BIRT template. I am using visibility property
I am writing some XML -> PDF generating templates in Apache FOP for an
i am writing some code in vb.net that will be generating a pdf file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.