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