convert a xls file as pdf without poi or jxl
<p>So I summarize my problem. I would like to convert an xls file to PDF, while using java. .
 I find two examples</p>

<p>The first is with Openoffice</p>

<pre><code>import officetools.OfficeFile; // from officetools.jar

FileInputStream fis = new FileInputStream(new File("test.doc")); 
FileOutputStream fos = new FileOutputStream(new File("test.pdf"));

OfficeFile f = new OfficeFile(fis,"localhost","8100", false);

f.convert(fos,"pdf");
</code></pre>

<p>But unfortunately I have to install it :(</p>

<p>I also find this example, two command line with vb (call pdf creator)</p>

<pre><code>DoCmd.OpenReport "repClient", acViewPreview, "NumClient = 2"
DoCmd.OutputTo acOutputReport, "PDF", "d: \ test.pdf"
</code></pre>

<p>is there somthing like that on java !!!!
(<strong><em>Note</em></strong> I used for my first solution (jxl, appach poi) but formatting pdf generated is not like when I do save as PDF with Microsoft Excel)</p>

<p>think you in advance </p>
