Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4
    • Labels:
      None
    • Environment:
      Windows 2000
    • Number of attachments :
      0

      Description

      Hello

      --------------------------------------------------
      The problem:
      --------------------------------------------------

      When running pdf:pdf in debug mode, the informational message indicates that area content overflows:

      [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2
      Parser
      [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2
      Parser
      [java] [INFO] FOP 0.20.5
      [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2
      Parser
      [java] [INFO] building formatting object tree
      [java] [INFO] setting up fonts
      [java] [INFO] [1]
      [java] [INFO] [2]
      [java] [INFO] [1]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] area contents overflows area in line
      [java] [INFO] area contents overflows area in line
      [java] [INFO] area contents overflows area in line
      [java] [INFO] area contents overflows area in line
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [2] (blank)
      [java] [INFO] [1]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2
      Parser
      [java] [INFO] [2]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [3]
      [java] [INFO] [4]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [5]
      [java] [INFO] [6]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [7]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [8]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [9]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [10]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [11]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [12]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [13]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] [14]
      [java] [INFO] [15]
      [java] [INFO] area contents overflows area in line
      [java] [INFO] Parsing of document complete, stopping renderer
      [copy] Copying 1 file to
      I:\MAVENLOCALREPO\maasintern\NYRETEST\target\docs
      [copy] [VERBOSE] Copying
      I:\MAVENLOCALREPO\maasintern\NYRETEST\target\pdf\nyretest.pdf to
      I:\MAVENLOCALREPO\maasintern\NYRETEST\target\docs\nyretest.pdf
      attaining goal build:end

      --------------------------------------------------
      Well, one way to to prevent these messages is ...
      --------------------------------------------------
      in fo-body.xslt

      <xsl:template name="body-chapter-heading">

      ....

      <!-- NYRE - 20050228 -->
      <!-- NYRE specified indents explicitly to avoid overflow messages -->
      <!-- fo:list-block provisional-distance-between-starts="{$leftMargin + $gutter}in" provisional-label-separation="{$gutter}in" -->
      <fo:list-block>
      <fo:list-item>
      <fo:list-item-label start-indent="

      {0 -$leftMargin}

      in" end-indent="{$bodyWidth + $gutter}in">
      <fo:block xsl:use-attribute-sets="outdented.number.style">
      <xsl:value-of select="normalize-space($chapterNumber)"/>
      </fo:block>
      </fo:list-item-label>
      <fo:list-item-body start-indent="0in" end-indent="{$rightMargin}in">
      <fo:block xsl:use-attribute-sets="chapter.title">
      <xsl:value-of select="normalize-space($chapter)"/>
      </fo:block>
      </fo:list-item-body>
      </fo:list-item>
      </fo:list-block>
      </fo:block>

      Or in the file fo-toc.xslt
      in <xsl:template name="fo-toc">

      ...

      <fo:table table-layout="fixed">
      <!-- NYRE - 20050228 adjustments for -->
      <!-- NYRE increased size to avoid overflow messages -->
      <fo:table-column column-width="0.45in"/>
      <fo:table-column column-width="0.4in"/>
      <fo:table-column column-width="0.4in"/>
      <fo:table-column column-width="{$maxBodyWidth - 1.25}in"/>
      <fo:table-body>
      <xsl:apply-templates mode="toc"/>
      </fo:table-body>
      </fo:table>

        Activity

        Hide
        Arnaud Heritier added a comment -

        Applied. Thanks Valerie.

        Show
        Arnaud Heritier added a comment - Applied. Thanks Valerie.

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Valerie Nyre
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: