You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2005/08/14 22:31:57 UTC
[jira] Closed: (MPPDF-33) "contents overflows area" message
[ http://jira.codehaus.org/browse/MPPDF-33?page=all ]
Arnaud Heritier closed MPPDF-33:
--------------------------------
Resolution: Fixed
Applied. Thanks Valerie.
> "contents overflows area" message
> ---------------------------------
>
> Key: MPPDF-33
> URL: http://jira.codehaus.org/browse/MPPDF-33
> Project: maven-pdf-plugin
> Type: Bug
> Versions: 2.2
> Environment: Windows 2000
> Reporter: Valerie Nyre
> Assignee: Arnaud Heritier
> Priority: Minor
> Fix For: 2.3.1
>
>
> 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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org