Bao I can assume that you need to convert data from MS XLS file in some form to PDF for view document. POI deos not have direct API to do this. POI is built to access data in xls file from Java porgram or build new files.
To do what you need you ahve to use another PDF library together with POI. REad your excel data using POI format it in Java and then output using PDF libarary API to create PDF file. There are number of comercial PDF packages and also some open source PDF libraries dependiung on your skills and project you can select PDF library. The only free PDF library I am familiar with and used in past for similar transformations is iText. http://www.lowagie.com/iText Igor --- bao bao <[EMAIL PROTECTED]> wrote: > Hi: > I am glad to writing to you ,if i disturb you > ,please forgive me. > Now i hava one question about POI.I want to > conver a excel document to > pdf document , I don not know how to do it ,can you > help me out ? > Thank you! > Hoping your reply,Best wishes to you! > > Yours bao > > 2006/07/24 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
