@Deprecated public class CellWrapper extends Object implements TextElementArray
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
Constructor and Description |
---|
CellWrapper(String tag, ChainedProperties chain)
Deprecated.
Creates a new instance of IncCell.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Element o)
Deprecated.
Implements the add method of the TextElementArray interface.
|
PdfPCell |
createPdfPCell(String tag, ChainedProperties chain)
Deprecated.
Creates a PdfPCell element based on a tag and its properties.
|
PdfPCell |
getCell()
Deprecated.
Returns the PdfPCell.
|
List<Chunk> |
getChunks()
Deprecated.
Gets all the chunks in this element.
|
float |
getWidth()
Deprecated.
Getter for the cell width
|
boolean |
isContent()
Deprecated.
Checks if this element is a content object.
|
boolean |
isNestable()
Deprecated.
Checks if this element is nestable.
|
boolean |
isPercentage()
Deprecated.
Getter for percentage
|
boolean |
process(ElementListener listener)
Deprecated.
Processes the element by adding it (or the different parts) to an ElementListener .
|
int |
type()
Deprecated.
Gets the type of the text element.
|
public CellWrapper(String tag, ChainedProperties chain)
tag
- the cell that is wrapped in this object.
chain
- properties such as width
public PdfPCell createPdfPCell(String tag, ChainedProperties chain)
tag
- a cell tag
chain
- the hierarchy chain
public PdfPCell getCell()
public float getWidth()
public boolean isPercentage()
public boolean add(Element o)
add
in interface TextElementArray
o
- an element that needs to be added to the cell.
true
if the addition succeeded; false
otherwise
public List<Chunk> getChunks()
Element
public boolean isContent()
Element
public boolean isNestable()
Element
isNestable
in interface Element
public boolean process(ElementListener listener)
Element
ElementListener
.
Copyright © 2016. All rights reserved.