|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageRegistry
Image registry used to store the IImageProvider
used in the "context", copy the binary data of the images in
the generated report, modify some entry of the generated report with image information.
Field Summary | |
---|---|
static String |
GET_HEIGHT_METHOD
|
static String |
GET_PATH_METHOD
|
static String |
GET_WIDTH_METHOD
|
static String |
IMAGE_INFO
|
static String |
REGISTER_IMAGE_METHOD
|
Method Summary | |
---|---|
String |
getHeight(ImageProviderInfo info,
String defaultHeight)
Returns the height of the image provider if not null and the given defaultHeight otherwise. |
List<ImageProviderInfo> |
getImageProviderInfos()
Returns list of image provider info. |
String |
getWidth(ImageProviderInfo info,
String defaultWidth)
Returns the width of the image provider if not null and the given defaultWidth otherwise. |
void |
postProcess()
Called after processing of the template engine. |
void |
preProcess()
Called before processing of the template engine. |
ImageProviderInfo |
registerImage(Object imageProvider,
String fieldName,
IContext context)
Register the instance of imageProvider in the registry. |
Field Detail |
---|
static final String IMAGE_INFO
static final String REGISTER_IMAGE_METHOD
static final String GET_WIDTH_METHOD
static final String GET_HEIGHT_METHOD
static final String GET_PATH_METHOD
Method Detail |
---|
ImageProviderInfo registerImage(Object imageProvider, String fieldName, IContext context) throws XDocReportException, IOException
imageProvider
-
XDocReportException
IOException
void preProcess() throws XDocReportException
XDocReportException
void postProcess() throws XDocReportException
XDocReportException
List<ImageProviderInfo> getImageProviderInfos()
String getWidth(ImageProviderInfo info, String defaultWidth) throws IOException
imageProvider
- defaultWidth
-
IOException
String getHeight(ImageProviderInfo info, String defaultHeight) throws IOException
imageProvider
- defaultWidth
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |