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 int
static final int
static final int
static final int
Deprecated.replaced by IMAGE_URLstatic final int
Fields 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 sizeint
Returns the type of image sourceget the MIMETypeint
getURI()
void
setAltText
(String altText) void
setAltTextKey
(String key) void
setData
(byte[] data) void
setExtension
(String extension) void
setHelpKey
(String key) void
setImageCalculatedSize
(ImageSize imageCalcSize) Set the calculated image sizevoid
setImageMap
(Object map) void
setImageRawSize
(ImageSize imageRawSize) Set the image raw sizevoid
setImageSource
(int source) void
setMIMEType
(String mimeType) void
setResolution
(int resolution) void
Methods inherited from interface org.eclipse.birt.report.engine.css.engine.CSSStylableElement
getComputedStyle, getCSSEngine, getStyle
Methods 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, writeContent
Methods inherited from interface org.eclipse.birt.report.engine.content.IElement
getChildren, getParent, setParent
Methods 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:
getAltText
in interfaceIContent
- Returns:
- Returns the altText.
-
getAltTextKey
String getAltTextKey()- Specified by:
getAltTextKey
in interfaceIContent
- Returns:
- Returns the altText key.
-
setAltText
- Specified by:
setAltText
in interfaceIContent
-
setAltTextKey
- Specified by:
setAltTextKey
in 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
-