MPPDF-33 : Fix some "contents overflows area" errors.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@232639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2005-08-14 20:30:02 +00:00
parent 5b65db3fd2
commit d15ca4a5f8
3 changed files with 95 additions and 100 deletions

View File

@ -67,14 +67,14 @@
<xsl:value-of select="$maxBodyWidth"/> <xsl:value-of select="$maxBodyWidth"/>
</xsl:variable> </xsl:variable>
<fo:block> <fo:block>
<fo:list-block provisional-distance-between-starts="{$leftMargin}in" provisional-label-separation="{$gutter}in"> <fo:list-block>
<fo:list-item> <fo:list-item>
<fo:list-item-label end-indent="{$bodyWidth + $gutter}in"> <fo:list-item-label start-indent="{0 -$leftMargin}in" end-indent="{$bodyWidth + $gutter}in">
<fo:block xsl:use-attribute-sets="outdented.number.style"> <fo:block xsl:use-attribute-sets="outdented.number.style">
<xsl:value-of select="normalize-space($chapterNumber)"/> <xsl:value-of select="normalize-space($chapterNumber)"/>
</fo:block> </fo:block>
</fo:list-item-label> </fo:list-item-label>
<fo:list-item-body> <fo:list-item-body start-indent="0in" end-indent="{$rightMargin}in">
<fo:block xsl:use-attribute-sets="chapter.title"> <fo:block xsl:use-attribute-sets="chapter.title">
<xsl:value-of select="normalize-space($chapter)"/> <xsl:value-of select="normalize-space($chapter)"/>
</fo:block> </fo:block>
@ -200,7 +200,6 @@
</xsl:apply-templates> </xsl:apply-templates>
</fo:block> </fo:block>
</xsl:template> </xsl:template>
<xsl:template match="img[@src]"> <xsl:template match="img[@src]">
<xsl:param name="fileName"/> <xsl:param name="fileName"/>
<xsl:param name="dirName"> <xsl:param name="dirName">
@ -366,7 +365,6 @@
</fo:inline> </fo:inline>
</fo:basic-link> </fo:basic-link>
</xsl:template> </xsl:template>
<xsl:template name="resolveLink"> <xsl:template name="resolveLink">
<xsl:param name="dirName"/> <xsl:param name="dirName"/>
<xsl:param name="href"/> <xsl:param name="href"/>
@ -394,7 +392,6 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template name="substring-before-last"> <xsl:template name="substring-before-last">
<xsl:param name="text"/> <xsl:param name="text"/>
<xsl:param name="chars"/> <xsl:param name="chars"/>
@ -414,7 +411,6 @@
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template name="substring-before-last-aux"> <xsl:template name="substring-before-last-aux">
<xsl:param name="text"/> <xsl:param name="text"/>
<xsl:param name="chars"/> <xsl:param name="chars"/>
@ -436,7 +432,6 @@
<xsl:otherwise/> <xsl:otherwise/>
</xsl:choose> </xsl:choose>
</xsl:template> </xsl:template>
<xsl:template match="a[@name]"> <xsl:template match="a[@name]">
<xsl:param name="chapterNumber"/> <xsl:param name="chapterNumber"/>
<xsl:param name="fileName"/> <xsl:param name="fileName"/>

View File

@ -16,7 +16,6 @@
* limitations under the License. * limitations under the License.
*/ */
--> -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<!-- Templates for handling the TOC --> <!-- Templates for handling the TOC -->
<xsl:template name="fo-toc"> <xsl:template name="fo-toc">
@ -35,7 +34,7 @@
<xsl:with-param name="chapter">Table of Contents</xsl:with-param> <xsl:with-param name="chapter">Table of Contents</xsl:with-param>
</xsl:call-template> </xsl:call-template>
<fo:table table-layout="fixed"> <fo:table table-layout="fixed">
<fo:table-column column-width="0.25in"/> <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="0.4in"/> <fo:table-column column-width="0.4in"/>
<fo:table-column column-width="{$maxBodyWidth - 1.25}in"/> <fo:table-column column-width="{$maxBodyWidth - 1.25}in"/>

View File

@ -25,6 +25,7 @@
<body> <body>
<release version="2.3.1-SNAPSHOT" date="In SVN"> <release version="2.3.1-SNAPSHOT" date="In SVN">
<action dev="aheritier" type="fix" issue="MPPDF-39" due-to="Lukas Theussl">Missing patch for MPPDF-24 ( it defines a missing attribute for &lt;code style="indent"&gt; tags and cleans up some layout issues with definition lists).</action> <action dev="aheritier" type="fix" issue="MPPDF-39" due-to="Lukas Theussl">Missing patch for MPPDF-24 ( it defines a missing attribute for &lt;code style="indent"&gt; tags and cleans up some layout issues with definition lists).</action>
<action dev="aheritier" type="fix" issue="MPPDF-33" due-to="Valerie Nyre">Fix some "contents overflows area" errors.</action>
<action dev="aheritier" type="fix" issue="MPPDF-22" due-to="Lukas Theussl">Allow copy and paste from pdf to text editor.</action> <action dev="aheritier" type="fix" issue="MPPDF-22" due-to="Lukas Theussl">Allow copy and paste from pdf to text editor.</action>
</release> </release>
<release version="2.3" date="2005-06-16"> <release version="2.3" date="2005-06-16">