public class OfficeMacroParameters extends Object
OfficeMacro.| Constructor and Description |
|---|
OfficeMacroParameters() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttachment()
Deprecated.
since 5.4.6, use
getReference() instead |
org.xwiki.rendering.listener.reference.ResourceReference |
getReference()
IMPORTANT: this method should not be used from Java, its signature is temporary and will change in 6.2.1.
|
boolean |
isFilterStyles() |
void |
setAttachment(String attachment)
Deprecated.
since
|
void |
setFilterStyles(boolean filterStyles)
Sets whether to filter in-line CSS styles present in the HTML content produced by the OpenOffice server.
|
void |
setReference(org.xwiki.rendering.listener.reference.ResourceReference reference) |
@Deprecated public String getAttachment()
getReference() instead@Deprecated public void setAttachment(String attachment)
attachment - an attachment string referencepublic org.xwiki.rendering.listener.reference.ResourceReference getReference()
public void setReference(org.xwiki.rendering.listener.reference.ResourceReference reference)
reference - the reference to the file to be viewedpublic boolean isFilterStyles()
true if the CSS styles present in the HTML content produces by the OpenOffice server are
filtered, false otherwisepublic void setFilterStyles(boolean filterStyles)
filterStyles - true to filter the CSS style present in the HTML content produces by the OpenOffice
server, false otherwiseCopyright © 2004–2018 XWiki. All rights reserved.