1*b1cdbd2cSJim Jagielski<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 2*b1cdbd2cSJim Jagielski<!-- 3*b1cdbd2cSJim Jagielski#************************************************************** 4*b1cdbd2cSJim Jagielski# 5*b1cdbd2cSJim Jagielski# Licensed to the Apache Software Foundation (ASF) under one 6*b1cdbd2cSJim Jagielski# or more contributor license agreements. See the NOTICE file 7*b1cdbd2cSJim Jagielski# distributed with this work for additional information 8*b1cdbd2cSJim Jagielski# regarding copyright ownership. The ASF licenses this file 9*b1cdbd2cSJim Jagielski# to you under the Apache License, Version 2.0 (the 10*b1cdbd2cSJim Jagielski# "License"); you may not use this file except in compliance 11*b1cdbd2cSJim Jagielski# with the License. You may obtain a copy of the License at 12*b1cdbd2cSJim Jagielski# 13*b1cdbd2cSJim Jagielski# http://www.apache.org/licenses/LICENSE-2.0 14*b1cdbd2cSJim Jagielski# 15*b1cdbd2cSJim Jagielski# Unless required by applicable law or agreed to in writing, 16*b1cdbd2cSJim Jagielski# software distributed under the License is distributed on an 17*b1cdbd2cSJim Jagielski# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18*b1cdbd2cSJim Jagielski# KIND, either express or implied. See the License for the 19*b1cdbd2cSJim Jagielski# specific language governing permissions and limitations 20*b1cdbd2cSJim Jagielski# under the License. 21*b1cdbd2cSJim Jagielski# 22*b1cdbd2cSJim Jagielski#************************************************************** 23*b1cdbd2cSJim Jagielski --> 24*b1cdbd2cSJim Jagielski<html><head><title>Document Converter 25*b1cdbd2cSJim Jagielski</title></head><body> 26*b1cdbd2cSJim Jagielski<h1>Document Converter</h1> 27*b1cdbd2cSJim Jagielski<p>Converting documents with a remote running OpenOffice.org.</p> 28*b1cdbd2cSJim Jagielski<form action="http://localhost:8080/conversion/servlet/ConverterServlet" method=post enctype="multipart/form-data"> 29*b1cdbd2cSJim Jagielski <table width="510" border="0"> 30*b1cdbd2cSJim Jagielski <tr> 31*b1cdbd2cSJim Jagielski <td>Local document</td> 32*b1cdbd2cSJim Jagielski <td> 33*b1cdbd2cSJim Jagielski <input type=file size=50 maxlength=100000 name="DocumentToBeConverted"> 34*b1cdbd2cSJim Jagielski </td> 35*b1cdbd2cSJim Jagielski </tr> 36*b1cdbd2cSJim Jagielski <tr> 37*b1cdbd2cSJim Jagielski <td>Target document type</td> 38*b1cdbd2cSJim Jagielski <td> 39*b1cdbd2cSJim Jagielski <select name="converttype"> 40*b1cdbd2cSJim Jagielski <option selected>swriter: StarOffice XML (Writer)</option> 41*b1cdbd2cSJim Jagielski <option>swriter: HTML (StarWriter)</option> 42*b1cdbd2cSJim Jagielski <option>swriter: MS Word 97</option> 43*b1cdbd2cSJim Jagielski <option>swriter: Text</option> 44*b1cdbd2cSJim Jagielski <option>scalc: StarOffice XML (Calc)</option> 45*b1cdbd2cSJim Jagielski <option>scalc: HTML (StarCalc)</option> 46*b1cdbd2cSJim Jagielski <option>scalc: MS Excel 97</option> 47*b1cdbd2cSJim Jagielski <option>sdraw: StarOffice XML (Draw)</option> 48*b1cdbd2cSJim Jagielski <option>simpress: StarOffice XML (Impress)</option> 49*b1cdbd2cSJim Jagielski <option>simpress: MS PowerPoint 97</option> 50*b1cdbd2cSJim Jagielski </select> 51*b1cdbd2cSJim Jagielski </td> 52*b1cdbd2cSJim Jagielski </tr> 53*b1cdbd2cSJim Jagielski <tr> 54*b1cdbd2cSJim Jagielski <td>Extension</td> 55*b1cdbd2cSJim Jagielski <td> 56*b1cdbd2cSJim Jagielski <input type=text name="extension"> 57*b1cdbd2cSJim Jagielski </td> 58*b1cdbd2cSJim Jagielski </tr> 59*b1cdbd2cSJim Jagielski </table> 60*b1cdbd2cSJim Jagielski <p>The converted document will be returned by the server. If you selected the 61*b1cdbd2cSJim Jagielski target document type "swriter: HTML (StarWriter)" or "scalc: 62*b1cdbd2cSJim Jagielski HTML (StarCalc)", the document will be shown in the browser. If have an application 63*b1cdbd2cSJim Jagielski registered in your browser for the selected document type (mime type) the application will be started. 64*b1cdbd2cSJim Jagielski Otherwise, a dialog will be opened, which allows you to open or save the converted document.</p> 65*b1cdbd2cSJim Jagielski <p> 66*b1cdbd2cSJim Jagielski <input type=submit value="Convert"> 67*b1cdbd2cSJim Jagielski </p> 68*b1cdbd2cSJim Jagielski</form> 69*b1cdbd2cSJim Jagielski</body></html> 70