Hi, ah, FOP 0.20.x... very old version that is not maintained any more. What I'll say here has not been tested on FOP 0.20.x, but is perfect valid with newer versions. The issue is caused by the property keep-together set on fo:table-row This property should be considered as a combination of 3 ones: keep-together.within-line keep-together.within-column keep-together.within-page If you omit to decompose it, the specified value applies on all 3 sub-properties, including the .within-line one. See [1].
In your case, you should only change the keep-together.within-column one. I don't remember if this was applicable on FOP 0.20.x [1] https://www.w3.org/TR/xsl/#keep-together 2016-01-28 11:22 GMT+01:00 Sireesha Boddapati <[email protected]>: > Hi, > > Please note, i am using FOP 0.20.5 version jar in my application. Please > suggest solution with the same jar. > > Thanks > Sireesha > > On Thu, Jan 28, 2016 at 3:50 PM, Sireesha Boddapati > <[email protected]> wrote: >> >> Hi, >> >> Please find the attached FO file. >> >> Thanks >> Sireesha >> >> On Thu, Jan 28, 2016 at 11:20 AM, Sireesha Boddapati >> <[email protected]> wrote: >>> >>> Hi >>> >>> I have a pdf file defined with 2 page masters. >>> First page with total width of 8.5in. In that i have defined xsl-body >>> with left margin 2.375in and right margin of 0.75 in. Normally text is >>> displaying correctly but the table text is overflowing to the right. >>> >>> Below are the two page masters i have >>> <fo:simple-page-master master-name="title_page_first" page-height="11in" >>> page-width="8.5in" margin-top = "0.5in"> >>> >>> <fo:region-body region-name="xsl-region-body" column-count="1" >>> margin-top = "1.925in" margin-left="2.375in" margin-right=".75in" >>> margin-bottom="1.5in" /> >>> <fo:region-after region-name="xsl-region-after-first-footer" extent="1in" >>> precedence="true"/> >>> <fo:region-start region-name="xsl-region-start-title-one" >>> extent="2.26in"/> >>> </fo:simple-page-master> >>> >>> <fo:simple-page-master master-name="page_content" page-height="11in" >>> page-width="8.5in"> >>> <fo:region-body region-name="xsl-region-body" margin-top="1.125in" >>> margin-bottom="0.625in" margin-left="0.75in" margin-right="0.75in" /> >>> </fo:simple-page-master> >>> >>> And the table definition is like below >>> >>> <fo:table font-family="AmasisMT" font-size="8px" font-weight="normal" >>> font-style="normal" line-height="10px" border-collapse="collapse" >>> table-layout="fixed" space-after="0.12in"> >>> >>> </fo:table> >>> >>> From the second page, it is taking left and right margins and displaying >>> the tables correctly. >>> >>> Can you please suggest whats the issue with this and What could be the >>> possible solution for this? >>> >>> Thanks >>> Sireesha >> >> > -- pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
