Class TableWrapper
java.lang.Object
com.itextpdf.text.html.simpleparser.TableWrapper
- All Implemented Interfaces:
Element
Deprecated.
since 5.5.2
We use a TableWrapper because PdfPTable is rather complex
to put on the HTMLWorker stack.
- Since:
- 5.0.6 (renamed)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float[]Deprecated.Array containing the widths of the columns.Deprecated.Nested list containing the PdfPCell elements that are part of this table.Deprecated.The styles that need to be applied to the tableFields inherited from interface 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
ConstructorsConstructorDescriptionTableWrapper(Map<String, String> attrs) Deprecated.Creates a new instance of IncTable. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds a new row to the table.Deprecated.Creates a new PdfPTable based on the info assembled in the table stub.Deprecated.Gets all the chunks in this element.booleanDeprecated.Checks if this element is a content object.booleanDeprecated.Checks if this element is nestable.booleanprocess(ElementListener listener) Deprecated.Processes the element by adding it (or the different parts) to anElementListener.voidsetColWidths(float[] colWidths) Deprecated.Setter for the column widthsinttype()Deprecated.Gets the type of the text element.
-
Field Details
-
styles
-
rows
-
colWidths
private float[] colWidthsDeprecated.Array containing the widths of the columns.- Since:
- iText 5.0.6
-
-
Constructor Details
-
TableWrapper
-
-
Method Details
-
addRow
-
setColWidths
public void setColWidths(float[] colWidths) Deprecated.Setter for the column widths- Since:
- iText 5.0.6
-
createTable
Deprecated.Creates a new PdfPTable based on the info assembled in the table stub.- Returns:
- a PdfPTable
-
getChunks
-
isContent
-
isNestable
public boolean isNestable()Deprecated.Description copied from interface:ElementChecks if this element is nestable.- Specified by:
isNestablein interfaceElement- Returns:
- true if this element can be nested inside other elements.
- Since:
- 5.0.1
-
process
Deprecated.Description copied from interface:ElementProcesses the element by adding it (or the different parts) to anElementListener. -
type
-