[xwiki-devs] [GSoC]question about the office document "view as html"
Hi, Though office converter can convert office documents to many format, I think only some conversion is useful: 1). convert office document to html (view attachment as html) 2). export a page to office document(MS Word, OpenOffice odt), as influence do. 3). export a page to pdf, but this have been done with fop. I don't think xwiki should have two way to export pdf. 4). convert office document to html then parse to xwiki syntax. (this is the most important goal, but I still be learn how to) I can product the low level interface for multi format conversion, but now I only focus on the 1), 4), 2) fuctions. Actually, I'm working on the "view as html". My step: 1. add a method in XWiki Util or Office converter plugin(Which is better) "boolean canViewAsHTML(OfficeDocumenType)" to check if the attachment can view as a html. 2. add a action "viewashtml" to xwiki action map. to handle the "view as html" request 3. modify the attachmentinline.vm. use "$doc.getAttachmentURL("${attach.filename}", "viewashtml", "xredirect=${redirect}")" as "view as html" link. WDYT? Thanks. Wang Ning
participants (1)
-
Wang Ning