info.informatica.doc.pdf.itext
Class PDFInputTextReplacedBox

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.AbstractReplacedBox<Image>
          extended by info.informatica.doc.pdf.itext.PDFInputTextReplacedBox
All Implemented Interfaces:
CSSBox, ReplacedElementBox<Image>

public class PDFInputTextReplacedBox
extends AbstractReplacedBox<Image>

PDF text form field replaced element box.


Constructor Summary
PDFInputTextReplacedBox(CSSStylableElement elem)
           
 
Method Summary
 BaseField createPDFField(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<Image> agent)
          Initializes the replaced element.
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractReplacedBox
getHeight, getWidth
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLeft, getLineHeight, getLineHeight, getLineHeightCSSValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setContainingBlock, setErrorHandler
 
Methods inherited from class java.lang.Object
equals, 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

PDFInputTextReplacedBox

public PDFInputTextReplacedBox(CSSStylableElement elem)
Method Detail

init

public void init(UserAgent<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 BaseField createPDFField(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.