1<html><head><title>Document Converter
2</title></head><body>
3<h1>Document Converter</h1>
4<p>Converting documents with a remote running OpenOffice.org.</p>
5<form action="http://localhost:8080/conversion/servlet/ConverterServlet" method=post enctype="multipart/form-data">
6  <table width="510" border="0">
7    <tr>
8      <td>Local document</td>
9      <td>
10        <input type=file size=50 maxlength=100000 name="DocumentToBeConverted">
11      </td>
12    </tr>
13    <tr>
14      <td>Target document type</td>
15      <td>
16        <select name="converttype">
17          <option selected>swriter: StarOffice XML (Writer)</option>
18          <option>swriter: HTML (StarWriter)</option>
19          <option>swriter: MS Word 97</option>
20          <option>swriter: Text</option>
21          <option>scalc: StarOffice XML (Calc)</option>
22          <option>scalc: HTML (StarCalc)</option>
23          <option>scalc: MS Excel 97</option>
24          <option>sdraw: StarOffice XML (Draw)</option>
25          <option>simpress: StarOffice XML (Impress)</option>
26          <option>simpress: MS PowerPoint 97</option>
27        </select>
28      </td>
29    </tr>
30    <tr>
31      <td>Extension</td>
32      <td>
33        <input type=text name="extension">
34      </td>
35    </tr>
36  </table>
37  <p>The converted document will be returned by the server. If you selected the
38    target document type &quot;swriter: HTML (StarWriter)&quot; or &quot;scalc:
39    HTML (StarCalc)&quot;, the document will be shown in the browser. If have an application
40    registered in your browser for the selected document type (mime type) the application will be started.
41    Otherwise, a dialog will be opened, which allows you to open or save the converted document.</p>
42  <p>
43    <input type=submit value="Convert">
44  </p>
45</form>
46</body></html>
47