public class SVGPluginApi extends Api
Constructor and Description |
---|
SVGPluginApi(SVGPlugin plugin,
XWikiContext context) |
Modifier and Type | Method and Description |
---|---|
void |
flushCache() |
SVGPlugin |
getPlugin() |
byte[] |
getSVGImage(String content,
int height,
int width) |
byte[] |
getSVGImage(String content,
String extension,
int height,
int width) |
String |
getSVGImageURL(String content,
int height,
int width) |
void |
outputSVGImage(String content,
int height,
int width) |
void |
outputSVGImage(String content,
String extension,
int height,
int width) |
void |
setPlugin(SVGPlugin plugin) |
String |
writeSVGImage(String content,
int height,
int width) |
String |
writeSVGImage(String content,
String extension,
int height,
int width) |
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public SVGPluginApi(SVGPlugin plugin, XWikiContext context)
public SVGPlugin getPlugin()
public void setPlugin(SVGPlugin plugin)
public byte[] getSVGImage(String content, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public byte[] getSVGImage(String content, String extension, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public String getSVGImageURL(String content, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public String writeSVGImage(String content, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public String writeSVGImage(String content, String extension, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public void outputSVGImage(String content, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public void outputSVGImage(String content, String extension, int height, int width) throws IOException, org.apache.batik.apps.rasterizer.SVGConverterException
IOException
org.apache.batik.apps.rasterizer.SVGConverterException
public void flushCache()
Copyright © 2004–2022 XWiki. All rights reserved.