forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r508450 - in /forrest/trunk/plugins/org.apache.forrest.plugin.output.Text: default.plugin.properties.xml output.xmap status.xml
Date Fri, 16 Feb 2007 15:35:40 GMT
Author: rgardler
Date: Fri Feb 16 07:35:39 2007
New Revision: 508450

URL: http://svn.apache.org/viewvc?view=rev&rev=508450
Log:
Width of output text is now configurable from <code>forrest.properties.xml</code>
        using the property name <code>text.page.width</code>.

Added:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml
  (with props)
Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/output.xmap
    forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/status.xml

Added: forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml?view=auto&rev=508450
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml
(added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml
Fri Feb 16 07:35:39 2007
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<properties>
+       <property name="text.page.width" value="76"/>
+</properties>
\ No newline at end of file

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/default.plugin.properties.xml
------------------------------------------------------------------------------
    svn:executable = *

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/output.xmap?view=diff&rev=508450&r1=508449&r2=508450
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/output.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/output.xmap Fri Feb 16 07:35:39
2007
@@ -37,7 +37,7 @@
         <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.txt"/>
         <map:transform src="{lm:transform.html.broken-links}"/>
         <map:transform src="{lm:text.transform.document.text}">
-            <map:parameter name="document-width" value="76"/>
+            <map:parameter name="document-width" value="{properties:text.page.width}"/>
         </map:transform>
         <map:serialize type="text"/>
       </map:match>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/status.xml?view=diff&rev=508450&r1=508449&r2=508450
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/status.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.Text/status.xml Fri Feb 16 07:35:39
2007
@@ -32,6 +32,10 @@
   <changes>
     <release version="0.2-dev" date="not-released">
       <action type="add" context="code" dev="RDG" importance="high">
+        <p>Width of output text is now configurable from <code>forrest.properties.xml</code>
+        using the property name <code>text.page.width</code>.</p>
+      </action>
+      <action type="add" context="code" dev="RDG" importance="high">
         Use locationmap for resolution of resources and files. Resources are exposed via
         {lm:text.*}
       </action>



Mime
View raw message