Convert MS Office formats to PDF

DOC, XLS and PPT: convert to PDF

Page 1 of 1

0 Replies - 972 Views - Last Post: 11 February 2009 - 07:18 AM Rate Topic: -----

#1 zeet  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 11-February 09

Convert MS Office formats to PDF

Posted 11 February 2009 - 07:18 AM

My team came across a new solution which allow conversion of ms office formats, espcially doc and xls to pdf.
In hope will help others and that you will share other possible solutions, this is the an example how it works:

import officetools.OfficeFile; 

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");


This library(officetools.jar) is available on this guy's website: http://dancrintea.ro/doc-to-pdf/

Do you anything similar in Java or PHP?

I am currently trying to find more solutions and to compare them for quality and speed.

Thanks.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1