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