package.html (161f4cd1) | package.html (ff3f4ebc) |
---|---|
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> 2<!-- 3#************************************************************** 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 24 unchanged lines hidden (view full) --- 33framework for the conversion process.</P> 34<P>This converter does not currently support merge.</P> 35<P><FONT FACE="Times New Roman, serif"><FONT SIZE=5><B>XSLT 36Transformation</B></FONT></FONT></P> 37<p>The converter makes use 38of one or more XSLT style sheets, which are used in the 39DocumentSerializer and DocumentDeserializer, to perform the actual 40translations. The location of these stylesheets is extracted from the {@link org.openoffice.xmerge.util.registry.ConverterInfo ConverterInfo} data structure, and are specified using the optional converter-xslt-serialize and converter-xsltdeserialize tags in a plugins converter.xml file. Please refer to the SDK document for more information about how to implement a Plugin Configuration XML File for a specific plugin. | 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> 2<!-- 3#************************************************************** 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 24 unchanged lines hidden (view full) --- 33framework for the conversion process.</P> 34<P>This converter does not currently support merge.</P> 35<P><FONT FACE="Times New Roman, serif"><FONT SIZE=5><B>XSLT 36Transformation</B></FONT></FONT></P> 37<p>The converter makes use 38of one or more XSLT style sheets, which are used in the 39DocumentSerializer and DocumentDeserializer, to perform the actual 40translations. The location of these stylesheets is extracted from the {@link org.openoffice.xmerge.util.registry.ConverterInfo ConverterInfo} data structure, and are specified using the optional converter-xslt-serialize and converter-xsltdeserialize tags in a plugins converter.xml file. Please refer to the SDK document for more information about how to implement a Plugin Configuration XML File for a specific plugin. |
41A sample OpenOffice to Html stylesheet and Html to 42Openffice stylesheet, has been provided as a sample implementation. | 41A sample OpenOffice.org XML to Html stylesheet and Html to 42Openffice.org XML stylesheet, has been provided as a sample implementation. |
43The converter also makes use of an XsltPlugin.properties file, which may be edited by the user to provide MIME-TYPE to file extension mappings. This file is used by the {@link org.openoffice.xmerge.converter.xml.xslt.PluginFactoryImpl getDeviceFileExtension} method. 44</p> 45 46<H2>TODO list</H2> 47 48<p><ol> 49<li>Expand XSLT style sheets to support more office/html 50 capabilities</li> 51<li>Add support for certain character codes, such as &nbsp 52 which currently causes the transformer to break.</li> 53<li>Change the DocumentDeserializer transformer, so that the DOMResult is serialized using the xalan serializer and create an SxwDocument from the result</li> 54</ol></p> 55 56@see org.openoffice.xmerge.util.registry 57 58</BODY> 59</HTML> 60 61 | 43The converter also makes use of an XsltPlugin.properties file, which may be edited by the user to provide MIME-TYPE to file extension mappings. This file is used by the {@link org.openoffice.xmerge.converter.xml.xslt.PluginFactoryImpl getDeviceFileExtension} method. 44</p> 45 46<H2>TODO list</H2> 47 48<p><ol> 49<li>Expand XSLT style sheets to support more office/html 50 capabilities</li> 51<li>Add support for certain character codes, such as &nbsp 52 which currently causes the transformer to break.</li> 53<li>Change the DocumentDeserializer transformer, so that the DOMResult is serialized using the xalan serializer and create an SxwDocument from the result</li> 54</ol></p> 55 56@see org.openoffice.xmerge.util.registry 57 58</BODY> 59</HTML> 60 61 |