2013年9月6日星期五

Ask you a java operating problems

word and execl Now doing an OA system , there are two functions go to achieve this , one is execl export function , one word into html, which is similar to QQ-mail , word documents online preview of the kind of results , one ready to start the export execl operation with poi , but then checked the information found poi during html doc turn , you can only turn to complete doc html, docx conversion is not supported , but now a lot of time may need to preview the docx suffix documents, we have no good tool or method that can achieve word and execl operations , seeking recommend !
------ Solution ---------------------------------------- ----
POI can generate xls format excel, but xlsx 's will not work, this is due to the output stream .
same document , you can find xls format xlsx format much larger than .
word is a similar principle .
This is no way , at least not yet found good support xlsx format .
In fact, a higher version of excel and word formats are compatible with lower version , so even generate xls and doc formats are possible
------ Solution -------- ------------------------------------
word is not tried , because I work basically on less than word, excel spreadsheet are operating .
I can only say POI on the table to read xlsx support is quite perfect .
As for the read word, now I do not know what a good analytical methods , the landlord can set up an outer chain , outside the chain to NetEase online word reading tools inside , and then read through their server presents the return value to the user.
------ Solution ---------------------------------------- ----
with PageOffice it, specifically to solve such problems , OA system mature Office components
------ For reference only ------------- --------------------------

problem is now I have to do word document preview function, but the upload documents may yes doc docx may be , there is a good solution?
------ For reference only -------------------------------------- -
been using poi drifting . You find solutions to
------ For reference only --------------------------------- ------
recommended PageOffice, mature and stable, pure in word format to demonstrate jsp files no problem, but also supports cross-browser , chrome, Firefox can use

没有评论:

发表评论