cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r452872 - in /cocoon/trunk/blocks/cocoon-fop: cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml
Date Wed, 04 Oct 2006 12:19:35 GMT
Author: bdelacretaz
Date: Wed Oct  4 05:19:35 2006
New Revision: 452872

URL: http://svn.apache.org/viewvc?view=rev&rev=452872
Log:
notes the difference between both FOP blocks

Modified:
    cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml
    cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap
    cocoon/trunk/blocks/cocoon-fop/cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml

Modified: cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml?view=diff&rev=452872&r1=452871&r2=452872
==============================================================================
--- cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml
(original)
+++ cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/misc/samples.xml
Wed Oct  4 05:19:35 2006
@@ -16,14 +16,16 @@
   limitations under the License.
 -->
 <!-- CVS $Id$ -->
-<samples xmlns:xlink="http://www.w3.org/1999/xlink" name="FOP Block Samples">
+<samples xmlns:xlink="http://www.w3.org/1999/xlink" name="FOP NG Block Samples">
 
     <group name="Back">
       <sample name="Back" href="../..">to Cocoon Samples main page</sample>
       <sample name="Back" href="..">to Cocoon Blocks Samples main page</sample>
       <note>
-        FOP block requires Batik block to be present for generating PDF with embedded images.
-      </note>   
+        The FOP NG block uses FOP 0.9x, as opposed to the old FOP block which uses 
+        the old 0.2x version. The old FOP block is still provided, for compatibility
+        with existing applications.
+      </note>
     </group>
 
     <group name="Simple FOP examples">

Modified: cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=452872&r1=452871&r2=452872
==============================================================================
--- cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-fop/cocoon-fop-ng-sample/src/main/resources/COB-INF/sitemap.xmap
Wed Oct  4 05:19:35 2006
@@ -35,6 +35,10 @@
       <map:serialize type="html"/>
     </map:view>
 
+    <map:view from-label="xsl-fo" name="xsl-fo">
+      <map:serialize type="xml"/>
+    </map:view>
+
     <map:view from-position="last" name="links">
       <map:serialize type="links"/>
     </map:view>
@@ -43,7 +47,7 @@
   <map:resources>
     <map:resource name="hello">
       <map:generate src="context://blocks/cocoon-core-main-sample/hello-world/content/hello.xml"/>
-      <map:transform src="context://blocks/cocoon-core-main-sample/hello-world/style/xsl/page2fo.xsl"/>
+      <map:transform label="xsl-fo" src="context://blocks/cocoon-core-main-sample/hello-world/style/xsl/page2fo.xsl"/>
     </map:resource>
   </map:resources>
 

Modified: cocoon/trunk/blocks/cocoon-fop/cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-fop/cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml?view=diff&rev=452872&r1=452871&r2=452872
==============================================================================
--- cocoon/trunk/blocks/cocoon-fop/cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml
(original)
+++ cocoon/trunk/blocks/cocoon-fop/cocoon-fop-sample/src/main/resources/COB-INF/misc/samples.xml
Wed Oct  4 05:19:35 2006
@@ -24,6 +24,11 @@
       <note>
         FOP block requires Batik block to be present for generating PDF with embedded images.
       </note>   
+      <note>
+        This is the "old" FOP block which uses FOP 0.2x - see the "FOP NG" block to use 
+        the current version of FOP.
+      </note>
+      
     </group>
 
     <group name="Simple FOP examples">



Mime
View raw message