From b7370ff5a929f6e40c736316778bf758a6c6cb81 Mon Sep 17 00:00:00 2001 From: aheritier Date: Thu, 9 Jun 2005 05:42:50 +0000 Subject: [PATCH] fix MPPDF-36 : maven pdf fails with footer in navigation.xml. fix MPPDF-24 : Internal links failed. fix MPPDF-13 : img src attributes are not made relative to the xdoc source. Patch from Lukas Theussl reviewed by aheritier git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@189713 13f79535-47bb-0310-9956-ffa450edef68 --- pdf/src/plugin-resources/fo-body.xslt | 315 +++++++++++++++++++++-- pdf/src/plugin-resources/project2fo.xslt | 24 +- pdf/xdocs/changes.xml | 4 + 3 files changed, 323 insertions(+), 20 deletions(-) diff --git a/pdf/src/plugin-resources/fo-body.xslt b/pdf/src/plugin-resources/fo-body.xslt index dbe5cd12..4bdbaa6a 100644 --- a/pdf/src/plugin-resources/fo-body.xslt +++ b/pdf/src/plugin-resources/fo-body.xslt @@ -54,6 +54,7 @@ + 0.125 @@ -81,7 +82,7 @@ - + @@ -89,15 +90,23 @@ + + + + - + + + + + @@ -105,12 +114,19 @@ + + + - + + + + + @@ -118,6 +134,9 @@ + + + @@ -141,47 +160,86 @@ + + + + + + + + + + + + + + + + + + / + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -224,156 +282,350 @@ + + + + - + + + + + - + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -384,6 +636,9 @@ + + + @@ -391,16 +646,21 @@ + + + + + @@ -415,6 +675,9 @@ + + + @@ -422,6 +685,7 @@ + @@ -434,6 +698,9 @@ + + + @@ -441,31 +708,43 @@ + + + + + + + + + + + + diff --git a/pdf/src/plugin-resources/project2fo.xslt b/pdf/src/plugin-resources/project2fo.xslt index a5ba9589..391a2984 100644 --- a/pdf/src/plugin-resources/project2fo.xslt +++ b/pdf/src/plugin-resources/project2fo.xslt @@ -49,7 +49,7 @@ #A9A9A9 #D3D3D3 #4b4542 - + @@ -68,12 +68,18 @@ + + + . + + + @@ -83,6 +89,9 @@ .. + + + @@ -92,10 +101,14 @@ ... + + + Foo + Bar @@ -140,12 +153,16 @@ + + + - + + @@ -157,6 +174,9 @@ + + + diff --git a/pdf/xdocs/changes.xml b/pdf/xdocs/changes.xml index 1080aa97..30f87c83 100644 --- a/pdf/xdocs/changes.xml +++ b/pdf/xdocs/changes.xml @@ -25,7 +25,11 @@ Use the ant task for the xsl transformation and remove xerces and xalan dependencies. People using java 5 will have to use this release with maven 1.1 or maven 1.0 with at the most the PDF plugin 2.2.X. + maven pdf fails with footer in navigation.xml. + Use the ant task for the fop transformation and remove xalan dependency. The first row of table is not rendered. + Internal links failed. + img src attributes are not made relative to the xdoc source. The content of style tag was printed on the PDF file.