org.xwiki.rendering.internal.macro.office
Class OfficeMacro
java.lang.Object
org.xwiki.rendering.macro.AbstractMacro<OfficeMacroParameters>
org.xwiki.rendering.internal.macro.office.OfficeMacro
- All Implemented Interfaces:
- java.lang.Comparable<org.xwiki.rendering.macro.Macro<?>>, org.xwiki.component.phase.Initializable, org.xwiki.rendering.macro.Macro<OfficeMacroParameters>
@Component
@Named(value="office")
@Singleton
public class OfficeMacro
- extends org.xwiki.rendering.macro.AbstractMacro<OfficeMacroParameters>
View office attachments (doc, ppt, xls, odt, odp, ods etc.) inside wiki pages without downloading or importing them.
- Since:
- 2.5M2
- Version:
- $Id$
| Fields inherited from class org.xwiki.rendering.macro.AbstractMacro |
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION |
| Methods inherited from class org.xwiki.rendering.macro.AbstractMacro |
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfficeMacro
public OfficeMacro()
- Default constructor.
execute
public java.util.List<Block> execute(OfficeMacroParameters parameters,
java.lang.String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
-
- Throws:
org.xwiki.rendering.macro.MacroExecutionException- See Also:
Macro.execute(Object, String, MacroTransformationContext)
supportsInlineMode
public boolean supportsInlineMode()
-
- See Also:
Macro.supportsInlineMode()
Copyright © 2004-2011 XWiki. All Rights Reserved.