forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r159647 - forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl
Date Thu, 31 Mar 2005 22:35:21 GMT
Author: rgardler
Date: Thu Mar 31 14:35:19 2005
New Revision: 159647

URL: http://svn.apache.org/viewcvs?view=rev&rev=159647
Log:
handle non-standard intermediate format from OOo (temporary wokraround see issue FOR-433)
- thanks to Florian G. Haas

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl
    forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl?view=diff&r1=159646&r2=159647
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-common2forrest.xsl
Thu Mar 31 14:35:19 2005
@@ -256,12 +256,20 @@
   <!-- ==================================================================== -->
   
   <xsl:template match="@text:style-name">
+    <!-- class attributes on source document elements will be
+    available when Forrest's source document format is changed to
+    XHTML. -->
+    <!--
     <xsl:attribute name="class">
       <xsl:value-of select="."/>
     </xsl:attribute>
+    -->
   </xsl:template>
   
   <xsl:template name="style">
+    <!-- HACK: This makes intermediate documents invalid per the
+    Forrest Document DTD. To find out why this is done this way
+    nonetheless, read the comments attached to issue FOR-433. -->
     <style>
       <xsl:apply-templates select="//office:styles/style:style"/>
       <xsl:apply-templates select="//office:automatic-styles/style:style"/>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl?view=diff&r1=159646&r2=159647
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.OpenOffice.org/resources/stylesheets/openoffice-writer2forrest.xsl
Thu Mar 31 14:35:19 2005
@@ -104,7 +104,7 @@
       |   XHTML2 anyway ... (RP)
       +-->
   <xsl:template match="text:p[@text:style-name='Forrest: Fixme']">
-    <fixme>
+    <fixme author="">
       <xsl:apply-templates/>
     </fixme>
   </xsl:template>



Mime
View raw message