Interface IImageContent
- All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.CSSStylableElement,IContent,IElement,IStyledElement
Image content in the report.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intDeprecated.replaced by IMAGE_URLstatic final intFields inherited from interface org.eclipse.birt.report.engine.content.IContent
AUTOTEXT_CONTENT, CELL_CONTENT, CONTAINER_CONTENT, DATA_CONTENT, DOCUMENT_EXTENSION, FOREIGN_CONTENT, GROUP_CONTENT, IMAGE_CONTENT, LABEL_CONTENT, LAYOUT_EXTENSION, LIST_BAND_CONTENT, LIST_CONTENT, LIST_GROUP_CONTENT, PAGE_CONTENT, REPORT_CONTENT, ROW_CONTENT, SERIALIZE_CONTENT, TABLE_BAND_CONTENT, TABLE_CONTENT, TABLE_GROUP_CONTENT, TEXT_CONTENT -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Get the calculated image sizeGet the image raw sizeintReturns the type of image sourceget the MIMETypeintgetURI()voidsetAltText(String altText) voidsetAltTextKey(String key) voidsetData(byte[] data) voidsetExtension(String extension) voidsetHelpKey(String key) voidsetImageCalculatedSize(ImageSize imageCalcSize) Set the calculated image sizevoidsetImageMap(Object map) voidsetImageRawSize(ImageSize imageRawSize) Set the image raw sizevoidsetImageSource(int source) voidsetMIMEType(String mimeType) voidsetResolution(int resolution) voidMethods inherited from interface org.eclipse.birt.report.engine.css.engine.CSSStylableElement
getComputedStyle, getCSSEngine, getStyleMethods inherited from interface org.eclipse.birt.report.engine.content.IContent
accept, cloneContent, getACL, getBookmark, getContentType, getExtension, getExtensions, getGenerateBy, getHeight, getHelpText, getHyperlinkAction, getInlineStyle, getInstanceID, getName, getReportContent, getResultSet, getTOC, getUserProperties, getWidth, getX, getY, hasChildren, isDirectionRTL, isLastChild, isRTL, readContent, setACL, setBookmark, setExtension, setExtensions, setGenerateBy, setHasChildren, setHeight, setHelpText, setHyperlinkAction, setInlineStyle, setInstanceID, setLastChild, setName, setReportContent, setTOC, setUserProperties, setWidth, setX, setY, writeContentMethods inherited from interface org.eclipse.birt.report.engine.content.IElement
getChildren, getParent, setParentMethods inherited from interface org.eclipse.birt.report.engine.content.IStyledElement
getComputedStyle, getStyle, getStyleClass, setStyleClass
-
Field Details
-
IMAGE_FILE
static final int IMAGE_FILE- See Also:
-
IMAGE_NAME
static final int IMAGE_NAME- See Also:
-
IMAGE_EXPRESSION
static final int IMAGE_EXPRESSION- See Also:
-
IMAGE_URL
static final int IMAGE_URL- See Also:
-
IMAGE_URI
Deprecated.replaced by IMAGE_URL- See Also:
-
-
Method Details
-
getAltText
String getAltText()- Specified by:
getAltTextin interfaceIContent- Returns:
- Returns the altText.
-
getAltTextKey
String getAltTextKey()- Specified by:
getAltTextKeyin interfaceIContent- Returns:
- Returns the altText key.
-
setAltText
- Specified by:
setAltTextin interfaceIContent
-
setAltTextKey
- Specified by:
setAltTextKeyin interfaceIContent
-
setHelpKey
-
getHelpKey
String getHelpKey() -
getData
byte[] getData()- Returns:
- Returns the data.
-
setData
void setData(byte[] data) -
getExtension
String getExtension()- Returns:
- Returns the extension.
-
setExtension
-
getURI
String getURI()- Returns:
- Returns the URI.
-
setURI
-
getImageSource
int getImageSource()Returns the type of image source -
setImageSource
void setImageSource(int source) -
getImageMap
Object getImageMap()- Returns:
- the image map (null means no image map)
-
setImageMap
-
getMIMEType
String getMIMEType()get the MIMEType -
setMIMEType
-
getResolution
int getResolution() -
setResolution
void setResolution(int resolution) -
setImageRawSize
Set the image raw size- Parameters:
imageRawSize- image raw size
-
getImageRawSize
ImageSize getImageRawSize()Get the image raw size- Returns:
- Return the image raw size
-
setImageCalculatedSize
Set the calculated image size- Parameters:
imageCalcSize- calculated image size
-
getImageCalculatedSize
ImageSize getImageCalculatedSize()Get the calculated image size- Returns:
- Return the calculated image size
-