org.xwiki.office.viewer
Interface OfficeViewer


@ComponentRole
public interface OfficeViewer

The component responsible for creating XDOM views from office attachments.

Since:
2.5M2
Version:
$Id: 95b281a727da9dfa29b39da0f29220ba59931f74 $

Method Summary
 org.xwiki.rendering.block.XDOM createView(org.xwiki.model.reference.AttachmentReference attachmentReference, Map<String,String> parameters)
          Creates a XDOM view of the specified office attachment.
 

Method Detail

createView

org.xwiki.rendering.block.XDOM createView(org.xwiki.model.reference.AttachmentReference attachmentReference,
                                          Map<String,String> parameters)
                                          throws Exception
Creates a XDOM view of the specified office attachment.

Parameters:
attachmentReference - reference to the office attachment to be viewed
parameters - implementation specific view parameters
Returns:
XDOM representation of the specified office document
Throws:
Exception - if an error occurs while accessing the office attachment or while creating the view


Copyright © 2004-2011 XWiki. All Rights Reserved.