Hi devs,
As you know, the office importer(or office converter) project for xwiki can
convert office documents like MS word, MS excel to xwiki syntax.
Furthermore, it can even convert xwiki page to the MS word or PDF.
My question: how to integrate the office converter into xwiki? Where should
be the integration points for the conversion feature?
Following is my proposal and I need you feedback. Thanks.
Now the office converter is just a xwiki plugin, and the integration would
base on this plugin.
a) a converter application. A xwiki application based on office converter
plugin and fileupload plugin can import a office document to a new xwiki
page.
b) a macro like {import} which can convert the office document attached to
the xwiki page to html and insert the html code in the page.
c) attachment review. Review the office documents attachment. This is
similar to the gmail attachment review.
d) integrate with xwiki WYSIWYG editor. This is similar to a). Click the
import button and select the office document, then click the import button.
The document will insert to the current WYSIWYG area.
e) export xwiki page to MS word or Openoffice odt.
Please feel free to suggest new proposal. Any feedback is very appreciated.
Thanks.
Wang Ning