Loading ...
Sorry, an error occurred while loading the content.

7401Text Overflows Margin Bottom

Expand Messages
  • Horace Burke
    Aug 6, 2007
    • 0 Attachment
      Hi All,

      I am experiencing some text overflowing page issues in my PDF files and
      want to know if anyone could give me a few pointers on how to resolve this
      problem. I have place snippets of my XSL-FO stylesheet below.

      The FO stylesheet is developed for a document which will be displayed in a
      table format. So, the issue is whenever there is large number of
      paragraphs in a particular section the text overflows in the margin
      bottom, basically running off the page; it doesn't continue to the next
      page as I would expect.

      Can anyone tell me how I can resolve this issue? Please let me know if
      additional information is needed.

      Thanks in advance for your help, I really appreciate it.

      Regards,
      Horace


      <!--XSL-FO Snippet-->
      <!--Page margin layout -->
      <fo:layout-master-set>
      <fo:simple-page-master page-height="11in" page-width="8.5in"
      margin-top="7mm" margin-bottom="12mm" margin-left="10mm"
      margin-right="10mm" master-name="ds-page">
      <fo:region-body region-name="ds-page-body" margin-top="15mm"
      margin-bottom="15mm" background-image="watermark.eps"
      background-repeat="no-repeat"/>

      </fo:simple-page-master>
      </fo:layout-master-set>

      <!--RegInfo Table template-->
      <xsl:template match="RegInfo">
      <fo:table-and-caption space-before="1.5em">
      <fo:table border-style="solid" border-width="1pt">
      ...
      <fo:table-row>
      <fo:table-cell border-style="solid" border-width="1pt"
      border-top="none" border-bottom="none" border-left="1.5pt"
      border-right="none" padding-top="2mm" padding-bottom="2mm"
      text-align="left" number-columns-spanned="2">
      <fo:block start-indent=".3em" font-weight="bold">
      <xsl:apply-templates select="CaProp/title"/>
      </fo:block><!--"California Proposition 65" -->
      </fo:table-cell>
      <fo:table-cell border-style="solid" border-width="1pt"
      border-top="none" border-bottom="none" border-left="none"
      border-right="1.5pt" padding-top="2mm" padding-bottom="2mm"
      text-align="left" number-columns-spanned="5">
      <fo:block start-indent="1.25em" end-indent="1em">
      <xsl:apply-templates select="CaProp/para" mode="CaProp"/>
      </fo:block>
      </fo:table-cell>
      </fo:table-row>
      </fo:table>
      </fo:table-and-caption>
      </xsl:template>

      <!--Para template-->
      <xsl:template match="para" mode="CaProp">
      <fo:block font-size="10pt" overflow="visible">
      <xsl:apply-templates/>
      </fo:block>
      </xsl:template>



      ____________________________________________________________________________________
      Got a little couch potato?
      Check out fun summer activities for kids.
      http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
    • Show all 2 messages in this topic