org.xwiki.rendering.macro.office
Class OfficeMacroParameters
java.lang.Object
org.xwiki.rendering.macro.office.OfficeMacroParameters
public class OfficeMacroParameters
- extends Object
Parameters for the org.xwiki.rendering.internal.macro.office.OfficeMacro.
- Since:
- 2.5M2
- Version:
- $Id: d7405291de91d02ff60230243430f4cff8a2fa9a $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfficeMacroParameters
public OfficeMacroParameters()
getAttachment
public String getAttachment()
- Returns:
- a string reference to the office attachment to be viewed
setAttachment
public void setAttachment(String attachment)
- Sets the office attachment to be viewed.
- Parameters:
attachment - an attachment string reference
isFilterStyles
public boolean isFilterStyles()
- Returns:
true if the CSS styles present in the HTML content produces by the OpenOffice server are
filtered, false otherwise
setFilterStyles
public void setFilterStyles(boolean filterStyles)
- Sets whether to filter in-line CSS styles present in the HTML content produced by the OpenOffice server.
- Parameters:
filterStyles - true to filter the CSS style present in the HTML content produces by the OpenOffice
server, false otherwise
Copyright © 2004-2011 XWiki. All Rights Reserved.