maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r575637 - in /maven/sandbox/trunk/plugins/maven-pdf-plugin: pom.xml src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java
Date Fri, 14 Sep 2007 11:46:11 GMT
Author: ltheussl
Date: Fri Sep 14 04:46:10 2007
New Revision: 575637

URL: http://svn.apache.org/viewvc?rev=575637&view=rev
Log:
Add a cover page

Modified:
    maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml
    maven/sandbox/trunk/plugins/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java

Modified: maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml?rev=575637&r1=575636&r2=575637&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml (original)
+++ maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml Fri Sep 14 04:46:10 2007
@@ -51,7 +51,7 @@
     <dependency>
       <groupId>org.apache.maven.doxia</groupId>
       <artifactId>doxia-doc-renderer</artifactId>
-      <version>1.0-alpha-9-SNAPSHOT</version>
+      <version>1.0-alpha-9</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.doxia</groupId>

Modified: maven/sandbox/trunk/plugins/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java?rev=575637&r1=575636&r2=575637&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java
(original)
+++ maven/sandbox/trunk/plugins/maven-pdf-plugin/src/main/java/org/apache/maven/plugins/pdf/renderer/DefaultPdfRenderer.java
Fri Sep 14 04:46:10 2007
@@ -212,6 +212,8 @@
 
         sink.beginDocument();
 
+        sink.coverPage( documentModel.getMeta() );
+
         for ( Iterator k = documentModel.getToc().getItems().iterator(); k.hasNext(); )
         {
             DocumentTOCItem tocItem = (DocumentTOCItem) k.next();



Mime
View raw message