com.lowagie.text
Class ImgTemplate

java.lang.Object
  extended bycom.lowagie.text.Rectangle
      extended bycom.lowagie.text.Image
          extended bycom.lowagie.text.ImgTemplate
All Implemented Interfaces:
Element, MarkupAttributes

public class ImgTemplate
extends Image
implements Element

PdfTemplate that has to be inserted into the document

Author:
Paulo Soares
See Also:
Element, Image

Field Summary
 
Fields inherited from class com.lowagie.text.Image
absoluteX, absoluteY, alignment, alt, annotation, AX, AY, bpc, BX, BY, colorspace, CX, CY, DEFAULT, deflated, dpiX, dpiY, DX, DY, imageMask, indentationLeft, indentationRight, interpolation, invert, LEFT, markupAttributes, mask, MIDDLE, mySerialId, ORIGINAL_BMP, ORIGINAL_GIF, ORIGINAL_JPEG, ORIGINAL_NONE, ORIGINAL_PNG, ORIGINAL_TIFF, ORIGINAL_WMF, originalData, originalType, plainHeight, plainWidth, profile, rawData, RIGHT, rotation, scaledHeight, scaledWidth, serialId, template, TEXTWRAP, transparency, type, UNDERLYING, url
 
Fields inherited from class com.lowagie.text.Rectangle
background, border, borderWidth, BOTTOM, BOX, color, grayFill, llx, lly, NO_BORDER, TOP, UNDEFINED, urx, ury
 
Fields inherited from interface com.lowagie.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, GRAPHIC, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE
 
Constructor Summary
(package private) ImgTemplate(Image image)
           
  ImgTemplate(PdfTemplate template)
          Creats an Image from a PdfTemplate.
 
Methods inherited from class com.lowagie.text.Image
absoluteX, absoluteY, alignment, alt, annotation, bpc, colorspace, getAdditional, getDpiX, getDpiY, getICCProfile, getImageMask, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getMarkupAttribute, getMarkupAttributeNames, getMarkupAttributes, getMySerialId, getOriginalData, getOriginalType, getSerialId, getTransparency, getXYRatio, hasAbsolutePosition, hasAbsoluteX, hasICCProfile, indentationLeft, indentationRight, isDeflated, isImgRaw, isImgTemplate, isInterpolation, isInverted, isInvertMask, isJpeg, isMask, isMaskCandidate, isSmask, isTag, makeMask, matrix, plainHeight, plainWidth, rawData, scaleAbsolute, scaleAbsoluteHeight, scaleAbsoluteWidth, scaledHeight, scaledWidth, scalePercent, scalePercent, scaleToFit, setAbsolutePosition, setAdditional, setAlignment, setAlt, setAnnotation, setDeflated, setDpi, setImageMask, setIndentationLeft, setIndentationRight, setInterpolation, setInverted, setInvertMask, setMarkupAttribute, setMarkupAttributes, setOriginalData, setOriginalType, setRotation, setRotationDegrees, setSmask, setTemplateData, setTransparency, setUrl, setXYRatio, skip, tagICC, templateData, toURL, type, url
 
Methods inherited from class com.lowagie.text.Rectangle
backgroundColor, border, borderColor, borderWidth, bottom, bottom, getChunks, getRotation, grayFill, hasBorder, hasBorders, height, left, left, process, rectangle, right, right, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderWidth, setBottom, setGrayFill, setLeft, setRight, setTop, top, top, width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.lowagie.text.Element
getChunks, process, toString, type
 

Constructor Detail

ImgTemplate

ImgTemplate(Image image)

ImgTemplate

public ImgTemplate(PdfTemplate template)
            throws BadElementException
Creats an Image from a PdfTemplate.

Parameters:
template - the PdfTemplate
Throws:
BadElementException - on error