Hi devs,
I'm going to continue Asiri's work on integrating officepreview module (
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-officepreview/
) into the main source tree. Following the discussion at
http://xwiki.475771.n2.nabble.com/Discussion-Integrating-officepreview-modu…
here are the steps that need to be taken:
* Extend DocumentAccessBridge with a method to get the current version
of an attachment in order to drop the dependency on xwiki-core:
String getAttachmentVersion(AttachmentReference attachmentReference)
* Convert OfficePreviewVelocityBridge to a ScriptService:
$services.officepreview.preview($attachmentReference, $filterStyles)
* Move /contrib/sandbox/xwiki-officepreview/ to
/platform/core/xwiki-officepreview
* Publish the office preview wiki macro on
code.xwiki.org
* Integrate office preview in the UI (e.g. button/link to preview, next
to download links in the attachments tab)
Let me know if you don't agree with some of these steps. The goal is to
have the office preview module in platform ready to use before the 2.5M2
release.
Thanks,
Marius