Sunday, March 28, 2010

viewing MS Office documents in Flex...

The application I'm building allows users to upload files from their machines to server. I wish?to build capability in the application for users to view common file types (MS Office .doc / .docx, .xls / .xlsx, etc files) either in?the same window or a different one. I cannot assume that the user has MS Office installed on the?machine / browser has any Microsoft?plug-ins.viewing MS Office documents in Flex...

There is a library for working with excel files:

http://code.google.com/p/as3xls/

But I'm not aware of anything for Word.

Converting everything to PDF on the server may be a more realistic approach.

viewing MS Office documents in Flex...

Thanks... I hadn't considered converting to Office docs to PDF on the

server. I use Java on the server. Do you know of any open source Java

library that converts Office docs to PDF?

Dilip

http://www.alivepdf.org/

That's a library for creating PDFs from Flex, maybe it'll get you a little further?

iText is probably the most popular OS java lib for PDF handling but IIRC it

doesn't do word to PDF (yet). you'll probably have better luck using something

like openoffice on your server to handle ms office docs to pdf/whatever.

No comments:

Post a Comment