Class CellWrapper
java.lang.Object
com.itextpdf.text.html.simpleparser.CellWrapper
- All Implemented Interfaces:
Element
,TextElementArray
Deprecated.
since 5.5.2
We use a CellWrapper because we need some extra info
that isn't available in PdfPCell.
- Since:
- 5.0.6 (renamed)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PdfPCell
Deprecated.The cell that is wrapped in this stub.private boolean
Deprecated.Indicates if the width is a percentage.private float
Deprecated.The width of the cell.Fields inherited from interface com.itextpdf.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, 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 Summary
ConstructorsConstructorDescriptionCellWrapper
(String tag, ChainedProperties chain) Deprecated.Creates a new instance of IncCell. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Implements the add method of the TextElementArray interface.createPdfPCell
(String tag, ChainedProperties chain) Deprecated.Creates a PdfPCell element based on a tag and its properties.getCell()
Deprecated.Returns the PdfPCell.Deprecated.Gets all the chunks in this element.float
getWidth()
Deprecated.Getter for the cell widthboolean
Deprecated.Checks if this element is a content object.boolean
Deprecated.Checks if this element is nestable.boolean
Deprecated.Getter for percentageboolean
process
(ElementListener listener) Deprecated.Processes the element by adding it (or the different parts) to anElementListener
.int
type()
Deprecated.Gets the type of the text element.
-
Field Details
-
cell
Deprecated.The cell that is wrapped in this stub. -
width
private float widthDeprecated.The width of the cell.- Since:
- iText 5.0.6
-
percentage
private boolean percentageDeprecated.Indicates if the width is a percentage.- Since:
- iText 5.0.6
-
-
Constructor Details
-
CellWrapper
Deprecated.Creates a new instance of IncCell.- Parameters:
tag
- the cell that is wrapped in this object.chain
- properties such as width- Since:
- 5.0.6
-
-
Method Details
-
createPdfPCell
Deprecated.Creates a PdfPCell element based on a tag and its properties.- Parameters:
tag
- a cell tagchain
- the hierarchy chain- Returns:
- the created PdfPCell
-
getCell
Deprecated.Returns the PdfPCell.- Returns:
- the PdfPCell
-
getWidth
public float getWidth()Deprecated.Getter for the cell width- Returns:
- the width
- Since:
- iText 5.0.6
-
isPercentage
public boolean isPercentage()Deprecated.Getter for percentage- Returns:
- true if the width is a percentage
- Since:
- iText 5.0.6
-
add
Deprecated.Implements the add method of the TextElementArray interface.- Specified by:
add
in interfaceTextElementArray
- Parameters:
o
- an element that needs to be added to the cell.- Returns:
true
if the addition succeeded;false
otherwise
-
getChunks
Deprecated.Description copied from interface:Element
Gets all the chunks in this element. -
isContent
public boolean isContent()Deprecated.Description copied from interface:Element
Checks if this element is a content object. If not, it's a metadata object. -
isNestable
public boolean isNestable()Deprecated.Description copied from interface:Element
Checks if this element is nestable.- Specified by:
isNestable
in interfaceElement
- Returns:
- true if this element can be nested inside other elements.
- Since:
- 5.0.1
-
process
Deprecated.Description copied from interface:Element
Processes the element by adding it (or the different parts) to anElementListener
. -
type
public int type()Deprecated.Description copied from interface:Element
Gets the type of the text element.
-