public class HTMLImageHandler extends java.lang.Object implements IHTMLImageHandler
Constructor and Description |
---|
HTMLImageHandler() |
Modifier and Type | Method and Description |
---|---|
CachedImage |
addCachedImage(java.lang.String id,
int type,
IImage image,
IReportContext context)
add the image into cache.
|
CachedImage |
getCachedImage(java.lang.String id,
int type,
IReportContext context)
get the cached image.
|
protected java.lang.Object |
getRenderContext(IReportContext context)
Get render context.
|
java.lang.String |
onCustomImage(IImage image,
IReportContext context)
handles a custom image created for example, by chart extension.
|
java.lang.String |
onCustomImage(IImage image,
java.lang.Object context)
Deprecated.
|
java.lang.String |
onDesignImage(IImage image,
IReportContext context)
handles a design image.
|
java.lang.String |
onDesignImage(IImage image,
java.lang.Object context)
Deprecated.
|
java.lang.String |
onDocImage(IImage image,
IReportContext context)
handles a database image.
|
java.lang.String |
onDocImage(IImage image,
java.lang.Object context)
Deprecated.
|
java.lang.String |
onFileImage(IImage image,
IReportContext context)
handles a image specified as a on-disk URI.
|
java.lang.String |
onFileImage(IImage image,
java.lang.Object context)
Deprecated.
|
java.lang.String |
onURLImage(IImage image,
IReportContext context)
handles an image specified as an external URL.
|
java.lang.String |
onURLImage(IImage image,
java.lang.Object context)
Deprecated.
|
public java.lang.String onCustomImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onCustomImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onCustomImage(IImage image, IReportContext context)
IHTMLImageHandler
onCustomImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onDesignImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onDesignImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onDesignImage(IImage image, IReportContext context)
IHTMLImageHandler
onDesignImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onDocImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onDocImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onDocImage(IImage image, IReportContext context)
IHTMLImageHandler
onDocImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onFileImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onFileImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onFileImage(IImage image, IReportContext context)
IHTMLImageHandler
onFileImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onURLImage(IImage image, java.lang.Object context)
IHTMLImageHandler
onURLImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLpublic java.lang.String onURLImage(IImage image, IReportContext context)
IHTMLImageHandler
onURLImage
in interface IHTMLImageHandler
image
- the image definition objectcontext
- the context for generating the URLprotected java.lang.Object getRenderContext(IReportContext context)
context
- public CachedImage getCachedImage(java.lang.String id, int type, IReportContext context)
getCachedImage
in interface IHTMLImageHandler
id
- cache keytype
- image type.context
- report contextpublic CachedImage addCachedImage(java.lang.String id, int type, IImage image, IReportContext context)
addCachedImage
in interface IHTMLImageHandler
id
- cached keytype
- image typeimage
- image object.context
- report contextCopyright © 2014 OpenText Corp. All rights reserved.