org.xwiki.rendering.macro.office
Class OfficeMacroParameters
java.lang.Object
org.xwiki.rendering.macro.office.OfficeMacroParameters
public class OfficeMacroParameters
- extends java.lang.Object
Parameters for the OfficeMacro.
- Since:
- 2.5M2
- Version:
- $Id$
|
Method Summary |
java.lang.String |
getAttachment()
|
boolean |
isFilterStyles()
|
void |
setAttachment(java.lang.String attachment)
Sets the office attachment to be viewed. |
void |
setFilterStyles(boolean filterStyles)
Sets whether to filter in-line CSS styles present in the HTML content produced by the OpenOffice server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfficeMacroParameters
public OfficeMacroParameters()
getAttachment
public java.lang.String getAttachment()
- Returns:
- a string reference to the office attachment to be viewed
setAttachment
public void setAttachment(java.lang.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.