Package | Description |
---|---|
com.itextpdf.text | |
com.itextpdf.text.html.simpleparser | |
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.draw | |
com.itextpdf.tool.xml.css.apply |
Contains classes that can apply css rules on certain
Element s. |
com.itextpdf.tool.xml.html |
Everything to parse HTML tags to pdf used by the
HtmlPipeline is in here. |
com.itextpdf.tool.xml.html.head |
TagProcessor implementations for tags in HTML head.
|
com.itextpdf.tool.xml.html.pdfelement |
Element s created for specific use when processing HTML. |
com.itextpdf.tool.xml.html.table |
TagProcessor implementations for
table tags. |
com.itextpdf.tool.xml.pipeline |
The pipeline package contains the pipeline implementations
|
com.itextpdf.tool.xml.pipeline.html |
Contains pipeline stuff for HTML
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
LargeElement |
Interface implemented by Element objects that can potentially consume
a lot of memory.
|
interface |
TextElementArray |
Interface for a text element to which other objects can be added.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Anchor |
An
Anchor can be a reference or a destination of a reference. |
class |
Annotation |
An
Annotation is a little note that can be added to a page on
a document. |
class |
Chapter |
A
Chapter is a special Section . |
class |
ChapterAutoNumber |
Chapter with auto numbering.
|
class |
Chunk |
This is the smallest significant part of text that can be added to a
document.
|
class |
GreekList |
A special-version of
LIST which use greek-letters. |
class |
Header |
This is an
Element that contains
some user defined meta information about the document. |
class |
Image |
An
Image is the representation of a graphic element (JPEG, PNG
or GIF) that has to be inserted into the document |
class |
ImgCCITT |
CCITT Image data that has to be inserted into the document
|
class |
ImgJBIG2 |
Support for JBIG2 images.
|
class |
ImgRaw |
Raw Image data that has to be inserted into the document
|
class |
ImgTemplate |
PdfTemplate that has to be inserted into the document
|
class |
ImgWMF |
An
ImgWMF is the representation of a windows metafile
that has to be inserted into the document |
class |
Jpeg |
An
Jpeg is the representation of a graphic element (JPEG)
that has to be inserted into the document |
class |
Jpeg2000 |
An
Jpeg2000 is the representation of a graphic element (JPEG)
that has to be inserted into the document |
class |
List |
A
List contains several ListItem s. |
class |
ListItem |
A
ListItem is a Paragraph
that can be added to a List . |
class |
MarkedObject |
Deprecated.
since 5.5.9.
|
class |
MarkedSection |
Deprecated.
since 5.5.9.
|
class |
Meta |
This is an
Element that contains
some meta information about the document. |
class |
Paragraph |
A
Paragraph is a series of Chunk s and/or Phrases . |
class |
Phrase |
A
Phrase is a series of Chunk s. |
class |
Rectangle |
A
Rectangle is the representation of a geometric figure. |
class |
RectangleReadOnly |
A
RectangleReadOnly is the representation of a geometric figure. |
class |
RomanList |
A special-version of
LIST which use roman-letters. |
class |
Section |
A
Section is a part of a Document containing
other Section s, Paragraph s, List
and/or Table s. |
class |
WritableDirectElement |
An element that is not an element, it holds
WRITABLE_DIRECT
as Element type. |
class |
ZapfDingbatsList |
A special-version of
LIST which use zapfdingbats-letters. |
class |
ZapfDingbatsNumberList |
A special-version of
LIST which use zapfdingbats-numbers (1..10). |
Modifier and Type | Field | Description |
---|---|---|
protected Element |
MarkedObject.element |
Deprecated.
The element that is wrapped in a MarkedObject.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.ArrayList<Element> |
List.list |
This is the
ArrayList containing the different ListItem s. |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
Paragraph.breakUp() |
Breaks this Paragraph up in different parts, separating paragraphs, lists and tables from each other.
|
java.util.ArrayList<Element> |
List.getItems() |
Gets all the items in the list.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
Document.add(Element element) |
Adds an
Element to the Document . |
boolean |
DocWriter.add(Element element) |
Signals that an
Element was added to the Document . |
boolean |
ElementListener.add(Element element) |
Signals that an
Element was added to the Document . |
boolean |
GreekList.add(Element o) |
Adds an
Element to the List . |
boolean |
List.add(Element o) |
Adds an
Element to the List . |
void |
MarkedSection.add(int index,
Element o) |
Deprecated.
Adds a
Paragraph , List or Table
to this Section . |
boolean |
MarkedSection.add(Element o) |
Deprecated.
Adds a
Paragraph , List , Table or another Section
to this Section . |
boolean |
Paragraph.add(Element o) |
Adds an
Element to the Paragraph . |
void |
Phrase.add(int index,
Element element) |
Adds a
Chunk , an Anchor or another Phrase
to this Phrase . |
boolean |
Phrase.add(Element element) |
Adds a
Chunk , Anchor or another Phrase
to this Phrase . |
boolean |
RomanList.add(Element o) |
Adds an
Element to the List . |
void |
Section.add(int index,
Element element) |
Adds a
Paragraph , List or Table
to this Section . |
boolean |
Section.add(Element element) |
Adds a
Paragraph , List , Table or another Section
to this Section . |
boolean |
TextElementArray.add(Element element) |
Adds an element to the
TextElementArray . |
boolean |
ZapfDingbatsList.add(Element o) |
Adds an
Element to the List . |
boolean |
ZapfDingbatsNumberList.add(Element o) |
Adds an
Element to the List . |
protected void |
Phrase.addSpecial(Element object) |
Adds an
Element to the Paragraph . |
Modifier and Type | Method | Description |
---|---|---|
boolean |
MarkedSection.addAll(java.util.Collection<? extends Element> collection) |
Deprecated.
Adds a collection of
Element s
to this Section . |
boolean |
Phrase.addAll(java.util.Collection<? extends Element> collection) |
Adds a collection of
Chunk s
to this Phrase . |
boolean |
Section.addAll(java.util.Collection<? extends Element> collection) |
Adds a collection of
Element s
to this Section . |
Constructor | Description |
---|---|
MarkedObject(Element element) |
Deprecated.
Creates a MarkedObject.
|
Modifier and Type | Class | Description |
---|---|---|
class |
CellWrapper |
Deprecated.
since 5.5.2
|
class |
TableWrapper |
Deprecated.
since 5.5.2
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<Element> |
HTMLWorker.objectList |
Deprecated.
The resulting list of elements.
|
protected java.util.Stack<Element> |
HTMLWorker.stack |
Deprecated.
Stack with the Elements that already have been processed.
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<Element> |
HTMLWorker.parseToList(java.io.Reader reader,
StyleSheet style) |
Deprecated.
Parses an HTML source to a List of Element objects
|
static java.util.List<Element> |
HTMLWorker.parseToList(java.io.Reader reader,
StyleSheet style,
java.util.HashMap<java.lang.String,java.lang.Object> providers) |
Deprecated.
Parses an HTML source to a List of Element objects
|
static java.util.List<Element> |
HTMLWorker.parseToList(java.io.Reader reader,
StyleSheet style,
java.util.Map<java.lang.String,HTMLTagProcessor> tags,
java.util.HashMap<java.lang.String,java.lang.Object> providers) |
Deprecated.
Parses an HTML source to a List of Element objects
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
CellWrapper.add(Element o) |
Deprecated.
Implements the add method of the TextElementArray interface.
|
boolean |
HTMLWorker.add(Element element) |
Deprecated.
|
void |
HTMLWorker.pushToStack(Element element) |
Deprecated.
Pushes an element to the Stack.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PdfBody |
|
class |
PdfDiv |
A special element to put a collection of elements at an absolute position.
|
class |
PdfPCell |
A cell in a PdfPTable.
|
class |
PdfPHeaderCell |
Created by IntelliJ IDEA.
|
class |
PdfPTable |
This is a table that can be put at an absolute position but can also be added
to the document as the class
Table . |
Modifier and Type | Field | Description |
---|---|---|
protected java.util.LinkedList<Element> |
ColumnText.compositeElements |
|
protected java.util.List<Element> |
FloatLayout.content |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
ColumnText.getCompositeElements() |
|
java.util.List<Element> |
PdfPCell.getCompositeElements() |
Returns the list of composite elements of the column.
|
java.util.ArrayList<Element> |
PdfDiv.getContent() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
PdfDocument.add(Element element) |
Signals that an
Element was added to the Document . |
void |
ColumnText.addElement(Element element) |
Adds an element.
|
void |
PdfDiv.addElement(Element element) |
|
void |
PdfPCell.addElement(Element element) |
Adds an iText element to the cell.
|
static boolean |
ColumnText.isAllowedElement(Element element) |
Modifier and Type | Method | Description |
---|---|---|
void |
PdfDiv.setContent(java.util.ArrayList<Element> content) |
Constructor | Description |
---|---|
FloatLayout(java.util.List<Element> elements,
boolean useAscender) |
Modifier and Type | Class | Description |
---|---|---|
class |
DottedLineSeparator |
Element that draws a dotted line from left to right.
|
class |
LineSeparator |
Element that draws a solid line from left to right.
|
class |
VerticalPositionMark |
Helper class implementing the DrawInterface.
|
Modifier and Type | Method | Description |
---|---|---|
Element |
ListStyleTypeCssApplier.apply(List e,
Tag t) |
Utility method applying style to a list when no ImageProvider is available.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
CssApplier<T extends Element> |
An interface for applying custom rules to a certain tag.
|
Modifier and Type | Method | Description |
---|---|---|
Element |
CssAppliers.apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Given the element e, this method will lookup the right applier for the given Element.
|
Element |
CssAppliers.apply(Element e,
Tag t,
HtmlPipelineContext ctx) |
Convenience method.
|
Element |
CssAppliersImpl.apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
|
Element |
CssAppliersImpl.apply(Element e,
Tag t,
HtmlPipelineContext ctx) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
AbstractTagProcessor.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Anchor.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Body.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Div.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
DummyTagProcessor.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Header.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
NonSanitizedTag.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
OrderedUnorderedListItem.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
ParaGraph.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Span.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
TagProcessor.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
This method is called if there is text content encountered between the
opening and closing tags this TagProcessor is mapped to.
|
java.util.List<Element> |
AbstractTagProcessor.currentContentToParagraph(java.util.List<Element> currentContent,
boolean addNewLines) |
Default apply CSS to false and tag to null.
|
java.util.List<Element> |
AbstractTagProcessor.currentContentToParagraph(java.util.List<Element> currentContent,
boolean addNewLines,
boolean applyCSS,
Tag tag,
WorkerContext ctx) |
Adds currentContent list to a paragraph element.
|
java.util.List<Element> |
AbstractTagProcessor.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
Classes extending AbstractTagProcessor should override this method for
actions that should be done in
TagProcessor.endElement(WorkerContext, Tag, List) . |
java.util.List<Element> |
Anchor.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Break.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Div.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Header.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Image.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
NonSanitizedTag.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
OrderedUnorderedList.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
OrderedUnorderedListItem.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
ParaGraph.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Span.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
AbstractTagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
Checks for
CSS.Property.PAGE_BREAK_AFTER , if the
value is always a Chunk.NEXTPAGE is added to the
currentContentList after calling
AbstractTagProcessor.end(WorkerContext, Tag, List) . |
java.util.List<Element> |
DummyTagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
This method is called when a closing tag has been encountered of the
TagProcessor implementation that is mapped to the tag.
|
java.util.List<Element> |
AbstractTagProcessor.start(WorkerContext ctx,
Tag tag) |
Classes extending AbstractTagProcessor should override this method for actions that should be done in
TagProcessor.startElement(WorkerContext, Tag) . |
java.util.List<Element> |
Body.start(WorkerContext ctx,
Tag tag) |
|
java.util.List<Element> |
HorizontalRule.start(WorkerContext ctx,
Tag tag) |
|
java.util.List<Element> |
AbstractTagProcessor.startElement(WorkerContext ctx,
Tag tag) |
Calculates any found font size to pt values and set it in the CSS before
calling
AbstractTagProcessor.start(WorkerContext, Tag) .Checks for CSS.Property.PAGE_BREAK_BEFORE , if the
value is always a Chunk.NEXTPAGE added before the
implementors AbstractTagProcessor.start(WorkerContext, Tag) method. |
java.util.List<Element> |
DummyTagProcessor.startElement(WorkerContext ctx,
Tag tag) |
|
java.util.List<Element> |
TagProcessor.startElement(WorkerContext ctx,
Tag tag) |
This method is called when a tag has been encountered.
|
protected java.util.List<Element> |
AbstractTagProcessor.textContent(WorkerContext ctx,
Tag tag,
java.lang.String content) |
Modifier and Type | Method | Description |
---|---|---|
Element |
CssAppliers.apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Given the element e, this method will lookup the right applier for the given Element.
|
Element |
CssAppliers.apply(Element e,
Tag t,
HtmlPipelineContext ctx) |
Convenience method.
|
Element |
CssAppliersImpl.apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
|
Element |
CssAppliersImpl.apply(Element e,
Tag t,
HtmlPipelineContext ctx) |
|
protected void |
AbstractTagProcessor.updateParagraphFontIfNeeded(Phrase p,
Element child) |
In case child font is of bigger size than paragraph font, text overlapping may occur.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
AbstractTagProcessor.currentContentToParagraph(java.util.List<Element> currentContent,
boolean addNewLines) |
Default apply CSS to false and tag to null.
|
java.util.List<Element> |
AbstractTagProcessor.currentContentToParagraph(java.util.List<Element> currentContent,
boolean addNewLines,
boolean applyCSS,
Tag tag,
WorkerContext ctx) |
Adds currentContent list to a paragraph element.
|
java.util.List<Element> |
AbstractTagProcessor.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
Classes extending AbstractTagProcessor should override this method for
actions that should be done in
TagProcessor.endElement(WorkerContext, Tag, List) . |
java.util.List<Element> |
Anchor.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Break.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Div.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Header.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Image.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
NonSanitizedTag.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
OrderedUnorderedList.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
OrderedUnorderedListItem.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
ParaGraph.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
Span.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
AbstractTagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
Checks for
CSS.Property.PAGE_BREAK_AFTER , if the
value is always a Chunk.NEXTPAGE is added to the
currentContentList after calling
AbstractTagProcessor.end(WorkerContext, Tag, List) . |
java.util.List<Element> |
DummyTagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TagProcessor.endElement(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
This method is called when a closing tag has been encountered of the
TagProcessor implementation that is mapped to the tag.
|
protected void |
ParaGraph.processParagraphItems(WorkerContext ctx,
Tag tag,
java.util.List<Element> paragraphItems,
java.util.List<Element> l) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
Style.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Title.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Link.start(WorkerContext ctx,
Tag tag) |
|
java.util.List<Element> |
Meta.start(WorkerContext ctx,
Tag tag) |
|
java.util.List<Element> |
XML.start(WorkerContext ctx,
Tag tag) |
Modifier and Type | Class | Description |
---|---|---|
class |
HtmlCell |
HtmlCell is created to provide more parameters to better mimic the behavior of table cell in HTML.
|
class |
NoNewLineParagraph |
A
NoNewLineParagraph is a series of Chunk s and/or Phrases . |
class |
TabbedChunk |
A TabbedChunk is a Chunk that contains tabcount and alignment
data to allow the HTML to PDF conversion to accept tabstop css.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
NoNewLineParagraph.add(Element o) |
Adds an
Element to the Paragraph . |
Modifier and Type | Class | Description |
---|---|---|
class |
TableRowElement |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
TableData.content(WorkerContext ctx,
Tag tag,
java.lang.String content) |
|
java.util.List<Element> |
Table.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TableData.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TableRow.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
Table.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TableData.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
java.util.List<Element> |
TableRow.end(WorkerContext ctx,
Tag tag,
java.util.List<Element> currentContent) |
|
protected void |
TableData.processChunkItems(java.util.List<Element> chunks,
HtmlCell cell) |
Constructor | Description |
---|---|
TableRowElement(java.util.List<Element> currentContent,
TableRowElement.Place place) |
Constructor based on the currentContent and a
TableRowElement.Place . |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Element> |
WritableElement.elements() |
Returns the list of elements.
|
Modifier and Type | Method | Description |
---|---|---|
void |
WritableElement.add(Element e) |
Add a single element to the list of elements.
|
Modifier and Type | Method | Description |
---|---|---|
void |
WritableElement.addAll(java.util.List<Element> l) |
add all elements to the list.
|
Constructor | Description |
---|---|
WritableElement(Element e) |
Construct a WritableElement
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.List<Element> |
HtmlPipelineContext.currentContent() |
|
java.util.List<Element> |
StackKeeper.getElements() |
Modifier and Type | Method | Description |
---|---|---|
void |
StackKeeper.add(Element content) |
Add an element to this keepers stack.
|
Modifier and Type | Method | Description |
---|---|---|
void |
StackKeeper.add(java.util.Collection<? extends Element> elements) |
Add all given elements to the stack, according to the natural order.
|
Copyright © 1998–2018. All rights reserved.