Page 1 of 1

Support for PPT and Excel format files

PostPosted: Wed Aug 28, 2013 2:45 pm
by ratnareddy
Hi,

I am using the docx4j 2.8.0 version, by using which i am able to view ".docx" files and i am not able to open/view files for ppt and excel formats
can any one help me to resolve this. i tried to find the classes that are related to ppt and excel sheet but i am not able open them.

is this right version which supports all docx,pptx,xlsx formats?
or did i miss anything here.
Thanks
Ratna

Re: Support for PPT and Excel format files

PostPosted: Wed Aug 28, 2013 5:48 pm
by jason

Re: Support for PPT and Excel format files

PostPosted: Wed Sep 04, 2013 1:18 am
by ratnareddy
Hi Team,

Thank you very much for your quick response.

I got the new nightly build, i can see the few more classes included in this JAR.
any way i am trying to view the PPTX and XLSX files from my android application,
from the link what you gave me is shows only getting ppt images ans saving them in locally, but i am actually trying like DOCX4j method.
1. I could able to view the DOCX files thru this latest JAR files, by getting the stream and converting to HTML and push to webview

how can i do the PPTX and XLSX in the same manner getting html and pushing to webview.
or is there another approach to view PPTX and XLSX formats.

Please help me..

Thanks
Ratna

Re: Support for PPT and Excel format files

PostPosted: Tue Sep 17, 2013 5:47 pm
by ratnareddy
Can some one answer to above queries it was very urgent for me.

i just wanted to know how can we view pptx and xlsx files using docx4j lib?

can some one help me on this..

Re: Support for PPT and Excel format files

PostPosted: Tue Sep 17, 2013 8:17 pm
by jason
pptx: it seems like you have already found https://github.com/plutext/docx4j/blob/ ... nHtml.java

xlsx: we don't have anything to convert xlsx to html, but i guess basically, you'd convert each sheet to an HTML table.
See further http://openxmldeveloper.org/blog/b/open ... 8/875.aspx and xlsx-java-f15/how-to-convert-xlsx-to-docx-to-pdf-t1565.html