info.informatica.doc.pdf.itext
Class PDFInputTextReplacedBox
java.lang.Object
info.informatica.doc.style.css.visual.box.AbstractCSSBox
info.informatica.doc.style.css.visual.box.AbstractReplacedBox<com.itextpdf.text.Image>
info.informatica.doc.pdf.itext.PDFInputTextReplacedBox
- All Implemented Interfaces:
- CSSBox, ReplacedElementBox<com.itextpdf.text.Image>
public class PDFInputTextReplacedBox
- extends AbstractReplacedBox<com.itextpdf.text.Image>
PDF text form field replaced element box.
- Author:
- Carlos Amengual (amengual at informatica.info)
|
Method Summary |
com.itextpdf.text.pdf.BaseField |
createPDFField(com.itextpdf.text.pdf.PdfWriter writer)
|
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. |
void |
init(UserAgent<com.itextpdf.text.Image> agent)
Initializes the replaced element. |
| Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox |
computeNumberOrZero, computeNumberOrZero, getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainerWidth, getContainingBlock, getCSSValue, getErrorHandler, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLeft, getLineHeight, getLineHeight, getLineHeightCSSValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingSubproperty, getPaddingTop, getRight, isContainerHeightAuto, isHeightAuto, isWidthAuto, overflowsWithScroll, setContainingBlock, setErrorHandler, shrinkToFit, textLengthToNaturalUnit |
| 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 |
PDFInputTextReplacedBox
public PDFInputTextReplacedBox(CSSStylableElement elem)
init
public void init(UserAgent<com.itextpdf.text.Image> agent)
throws CSSReplacementException
- Description copied from interface:
ReplacedElementBox
- Initializes the replaced element.
Must be called before using any of the other methods.
- Parameters:
agent - the user agent.
- Throws:
CSSReplacementException - if an error occurred when
initializing the replaced element box.
createPDFField
public com.itextpdf.text.pdf.BaseField createPDFField(com.itextpdf.text.pdf.PdfWriter writer)
getIntrinsicHeight
public float getIntrinsicHeight()
- Description copied from interface:
ReplacedElementBox
- Gets the intrinsic height of this box, as obtained from the
replaced element.
- Returns:
- the intrinsic height.
getIntrinsicWidth
public float getIntrinsicWidth()
- Description copied from interface:
ReplacedElementBox
- Gets the intrinsic width of this box, as obtained from the
replaced element.
- Returns:
- the width.
Copyright © 2011 informatica.info. All Rights Reserved.