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