java - convert a xls file as pdf without poi or jxl -


so summarize problem. convert xls file pdf, while using java. . find 2 examples

the first openoffice

import officetools.officefile; // 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"); 

but unfortunately have install :(

i find example, 2 command line vb (call pdf creator)

docmd.openreport "repclient", acviewpreview, "numclient = 2" docmd.outputto acoutputreport, "pdf", "d: \ test.pdf" 

is there somthing on java !!!! (note used first solution (jxl, appach poi) formatting pdf generated not when save pdf microsoft excel)

think in advance

try this:

itext

it's not conversion tool, creation one. think conversion tools avaliable, commercial.

also, take @ this ;).


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -