Hi Daniel,

There's nothing wrong with the filter, it just need a couple of minor
things to be fixed to make it work with OpenOffice 3.

Please find a a diff file and a Oo3 compatible filter.

HIH
--
domcox
  

On Thu, 2009-09-03 at 07:22 -0500, Daniel Owens wrote:
> You know, I should update the documentation. With OpenOffice 3 something 
> changed and the filter is no longer usable. I have yet to sit down and 
> try to work out what changed and fix the filter. Sorry about that. 
> Someone else is free to take it from here, but I may not get to it for 
> awhile since I am in the throes of adjusting to PhD studies. As a short 
> term fix perhaps this person could find a copy of version 2.4.
> 
> Daniel
> 
> Manfred Bergmann wrote:
> > Daniel, in case you are listening, or someone else.
> >
> > I pointed someone to the OpenOffice plugin to create his own content 
> > but he had trouble exporting the module to OSIS.
> > After choosing a folder in the dialog and hitting "OK" a requester 
> > says that to this folder can't be written.
> > The folder is writable so it must be something else.
> > I just tried it myself and had the same issue with OpenOffice 3.
> >
> > Any ideas?
> >
> >
> > Manfred
> >
> > _______________________________________________
> > sword-devel mailing list: sword-devel@crosswire.org
> > http://www.crosswire.org/mailman/listinfo/sword-devel
> > Instructions to unsubscribe/change your settings at above page
> >
> 
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

Attachment: oowriter2osis.xsl
Description: XML document

--- Development/Crosswire/OpenOffice/oowriter2osis.xsl	2008-02-09 21:49:30.000000000 +0100
+++ .openoffice.org/3/user/xslt/oowriter2osis.xsl	2009-10-06 16:10:06.000000000 +0200
@@ -284,7 +284,7 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
--->
+
 <!--Create <div> level 2-6-->
   <xsl:template
     match="text:h...@text:outline-level='2'] |
@@ -661,8 +661,8 @@
     <figure>
       <xsl:attribute name="src">
         <xsl:choose>
-          <xsl:when test="xlink:@href">
-            <xsl:value-of select="xlink:@href" />
+          <xsl:when test="@xlink:href">
+            <xsl:value-of select="@xlink:href" />
           </xsl:when>
           <xsl:otherwise>
             <xsl:text>Missing image path</xsl:text>

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to