|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.visual.box.AbstractCSSBox
info.informatica.doc.style.css.visual.box.AbstractReplacedBox<com.itextpdf.text.Image>
info.informatica.doc.pdf.itext.PDFImgReplacedBox
public class PDFImgReplacedBox
PDF Image replaced element box.
| Constructor Summary | |
|---|---|
PDFImgReplacedBox(CSSStylableElement elem)
|
|
| Method Summary | |
|---|---|
void |
doContentDownloaded(com.itextpdf.text.Image img)
Notifies the download of content. |
void |
doFailedDownload()
Notifies a failed download. |
float |
getIntrinsicHeight()
Gets the intrinsic height of this box, as obtained from the replaced element. |
float |
getIntrinsicWidth()
Gets the intrinsic width of this box, as obtained from the replaced element. |
com.itextpdf.text.Image |
getNativeContent()
Gets the content, put into a native object. |
void |
init(UserAgent<com.itextpdf.text.Image> agent)
Initializes the replaced element. |
| Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractReplacedBox |
|---|
getHeight, getReplacedElement, getWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.informatica.doc.style.css.visual.CSSBox |
|---|
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getGeneratedSibling, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setErrorHandler |
| Constructor Detail |
|---|
public PDFImgReplacedBox(CSSStylableElement elem)
| Method Detail |
|---|
public void init(UserAgent<com.itextpdf.text.Image> agent)
throws CSSReplacementException
ReplacedElementBoxMust be called before using any of the other methods.
init in interface ReplacedElementBox<com.itextpdf.text.Image>agent - the user agent.
CSSReplacementException - if an error occurred when
initializing the replaced element box.public void doContentDownloaded(com.itextpdf.text.Image img)
DownloadListener
doContentDownloaded in interface DownloadListener<com.itextpdf.text.Image>img - the content, in a native object.public void doFailedDownload()
DownloadListener
doFailedDownload in interface DownloadListener<com.itextpdf.text.Image>public com.itextpdf.text.Image getNativeContent()
DownloadListener
getNativeContent in interface DownloadListener<com.itextpdf.text.Image>public float getIntrinsicHeight()
ReplacedElementBox
getIntrinsicHeight in interface ReplacedElementBox<com.itextpdf.text.Image>public float getIntrinsicWidth()
ReplacedElementBox
getIntrinsicWidth in interface ReplacedElementBox<com.itextpdf.text.Image>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||