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 and 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 and 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. This class is no longer used.
|
class |
MarkedSection
Deprecated.
since 5.5.9. This class is no longer used.
|
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 and Description |
---|---|
protected Element |
MarkedObject.element
Deprecated.
The element that is wrapped in a MarkedObject.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Element> |
List.list
This is the ArrayList containing the different ListItem s.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
Paragraph.breakUp()
Breaks this Paragraph up in different parts, separating paragraphs, lists and tables from each other.
|
ArrayList<Element> |
List.getItems()
Gets all the items in the list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZapfDingbatsList.add(Element o)
Adds an Element to the List .
|
boolean |
List.add(Element o)
Adds an Element to the List .
|
boolean |
GreekList.add(Element o)
Adds an Element to the List .
|
boolean |
RomanList.add(Element o)
Adds an Element to the List .
|
boolean |
Phrase.add(Element element)
Adds a Chunk , Anchor or another Phrase to this Phrase .
|
boolean |
MarkedSection.add(Element o)
Deprecated.
Adds a Paragraph , List , Table or another Section to this Section .
|
boolean |
Document.add(Element element)
Adds an Element to the Document .
|
boolean |
TextElementArray.add(Element element)
Adds an element to the TextElementArray .
|
boolean |
Paragraph.add(Element o)
Adds an Element to the Paragraph .
|
boolean |
ZapfDingbatsNumberList.add(Element o)
Adds an Element to the List .
|
boolean |
Section.add(Element element)
Adds a Paragraph , List , Table or another Section to this Section .
|
boolean |
ElementListener.add(Element element)
Signals that an Element was added to the Document .
|
boolean |
DocWriter.add(Element element)
Signals that an Element was added to the Document .
|
void |
Phrase.add(int index, Element element)
Adds a Chunk , an Anchor or another Phrase to this Phrase .
|
void |
MarkedSection.add(int index, Element o)
Deprecated.
Adds a Paragraph , List or Table to this Section .
|
void |
Section.add(int index, Element element)
Adds a Paragraph , List or Table to this Section .
|
protected void |
Phrase.addSpecial(Element object)
Adds an Element to the Paragraph .
|
Modifier and Type | Method and Description |
---|---|
boolean |
Phrase.addAll(Collection extends Element> collection)
Adds a collection of Chunk s to this Phrase .
|
boolean |
MarkedSection.addAll(Collection extends Element> collection)
Deprecated.
Adds a collection of Element s to this Section .
|
boolean |
Section.addAll(Collection extends Element> collection)
Adds a collection of Element s to this Section .
|
Constructor and Description |
---|
MarkedObject(Element element)
Deprecated.
Creates a MarkedObject.
|
Modifier and Type | Class and Description |
---|---|
class |
CellWrapper
Deprecated.
since 5.5.2
|
class |
TableWrapper
Deprecated.
since 5.5.2
|
Modifier and Type | Field and Description |
---|---|
protected List<Element> |
HTMLWorker.objectList
Deprecated.
The resulting list of elements.
|
protected Stack<Element> |
HTMLWorker.stack
Deprecated.
Stack with the Elements that already have been processed.
|
Modifier and Type | Method and Description |
---|---|
static List<Element> |
HTMLWorker.parseToList(Reader reader, StyleSheet style)
Deprecated.
Parses an HTML source to a List of Element objects
|
static List<Element> |
HTMLWorker.parseToList(Reader reader, StyleSheet style, HashMap<String,Object> providers)
Deprecated.
Parses an HTML source to a List of Element objects
|
static List<Element> |
HTMLWorker.parseToList(Reader reader, StyleSheet style, Map<String,HTMLTagProcessor> tags, HashMap<String,Object> providers)
Deprecated.
Parses an HTML source to a List of Element objects
|
Modifier and Type | Method and Description |
---|---|
boolean |
HTMLWorker.add(Element element)
Deprecated.
|
boolean |
CellWrapper.add(Element o)
Deprecated.
Implements the add method of the TextElementArray interface.
|
void |
HTMLWorker.pushToStack(Element element)
Deprecated.
Pushes an element to the Stack.
|
Modifier and Type | Class and 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 and Description |
---|---|
protected LinkedList<Element> |
ColumnText.compositeElements |
protected List<Element> |
FloatLayout.content |
Modifier and Type | Method and Description |
---|---|
List<Element> |
PdfPCell.getCompositeElements()
Returns the list of composite elements of the column.
|
List<Element> |
ColumnText.getCompositeElements() |
ArrayList<Element> |
PdfDiv.getContent() |
Modifier and Type | Method and Description |
---|---|
boolean |
PdfDocument.add(Element element)
Signals that an Element was added to the Document .
|
void |
PdfPCell.addElement(Element element)
Adds an iText element to the cell.
|
void |
PdfDiv.addElement(Element element) |
void |
ColumnText.addElement(Element element)
Adds an element.
|
static boolean |
ColumnText.isAllowedElement(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
PdfDiv.setContent(ArrayList<Element> content) |
Constructor and Description |
---|
FloatLayout(List<Element> elements, boolean useAscender) |
Modifier and Type | Class and 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 and Description |
---|---|
Element |
ListStyleTypeCssApplier.apply(List e, Tag t)
Utility method applying style to a list when no ImageProvider is available.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CssApplier
An interface for applying custom rules to a certain tag.
|
Modifier and Type | Method and Description |
---|---|
Element |
CssAppliersImpl.apply(Element e, Tag t, HtmlPipelineContext ctx) |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
TagProcessor.content(WorkerContext ctx, Tag tag, String content)
This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to.
|
List<Element> |
Span.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
ParaGraph.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
OrderedUnorderedListItem.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
NonSanitizedTag.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Header.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
DummyTagProcessor.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Div.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Body.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Anchor.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
AbstractTagProcessor.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent, boolean addNewLines)
Default apply CSS to false and tag to null.
|
List<Element> |
AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent, boolean addNewLines, boolean applyCSS, Tag tag, WorkerContext ctx)
Adds currentContent list to a paragraph element.
|
List<Element> |
Span.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
ParaGraph.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
OrderedUnorderedListItem.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
OrderedUnorderedList.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
NonSanitizedTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Image.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Header.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Div.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Break.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Anchor.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
AbstractTagProcessor.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List) .
|
List<Element> |
TagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
This method is called when a closing tag has been encountered of the TagProcessor implementation that is mapped to the tag.
|
List<Element> |
DummyTagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
AbstractTagProcessor.endElement(WorkerContext ctx, Tag tag, 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) .
|
List<Element> |
HorizontalRule.start(WorkerContext ctx, Tag tag) |
List<Element> |
Body.start(WorkerContext ctx, Tag tag) |
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) .
|
List<Element> |
TagProcessor.startElement(WorkerContext ctx, Tag tag)
This method is called when a tag has been encountered.
|
List<Element> |
DummyTagProcessor.startElement(WorkerContext ctx, Tag tag) |
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.
|
protected List<Element> |
AbstractTagProcessor.textContent(WorkerContext ctx, Tag tag, String content) |
Modifier and Type | Method and Description |
---|---|
Element |
CssAppliersImpl.apply(Element e, Tag t, HtmlPipelineContext ctx) |
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 |
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.
|
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 and Description |
---|---|
List<Element> |
AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent, boolean addNewLines)
Default apply CSS to false and tag to null.
|
List<Element> |
AbstractTagProcessor.currentContentToParagraph(List<Element> currentContent, boolean addNewLines, boolean applyCSS, Tag tag, WorkerContext ctx)
Adds currentContent list to a paragraph element.
|
List<Element> |
Span.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
ParaGraph.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
OrderedUnorderedListItem.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
OrderedUnorderedList.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
NonSanitizedTag.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Image.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Header.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Div.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Break.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Anchor.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
AbstractTagProcessor.end(WorkerContext ctx, Tag tag, List<Element> currentContent)
Classes extending AbstractTagProcessor should override this method for actions that should be done in TagProcessor.endElement(WorkerContext, Tag, List) .
|
List<Element> |
TagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent)
This method is called when a closing tag has been encountered of the TagProcessor implementation that is mapped to the tag.
|
List<Element> |
DummyTagProcessor.endElement(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
AbstractTagProcessor.endElement(WorkerContext ctx, Tag tag, 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) .
|
protected void |
ParaGraph.processListItems(WorkerContext ctx, Tag tag, List<ListItem> listItems, List<Element> l) |
protected void |
ParaGraph.processParagraphItems(WorkerContext ctx, Tag tag, List<Element> paragraphItems, List<Element> l) |
protected void |
ParaGraph.processParagraphItems(WorkerContext ctx, Tag tag, List<Element> paragraphItems, List<Element> l) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
Style.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Title.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
Link.start(WorkerContext ctx, Tag tag) |
List<Element> |
XML.start(WorkerContext ctx, Tag tag) |
List<Element> |
Meta.start(WorkerContext ctx, Tag tag) |
Modifier and Type | Class and 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 and Description |
---|---|
boolean |
NoNewLineParagraph.add(Element o)
Adds an Element to the Paragraph .
|
Modifier and Type | Class and Description |
---|---|
class |
TableRowElement |
Modifier and Type | Method and Description |
---|---|
List<Element> |
TableData.content(WorkerContext ctx, Tag tag, String content) |
List<Element> |
TableRow.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
TableData.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Table.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
TableRow.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
TableData.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
List<Element> |
Table.end(WorkerContext ctx, Tag tag, List<Element> currentContent) |
protected void |
TableData.processChunkItems(List<Element> chunks, HtmlCell cell) |
Constructor and Description |
---|
TableRowElement(List<Element> currentContent, TableRowElement.Place place)
Constructor based on the currentContent and a TableRowElement.Place .
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
WritableElement.elements()
Returns the list of elements.
|
Modifier and Type | Method and Description |
---|---|
void |
WritableElement.add(Element e)
Add a single element to the list of elements.
|
Modifier and Type | Method and Description |
---|---|
void |
WritableElement.addAll(List<Element> l)
add all elements to the list.
|
Constructor and Description |
---|
WritableElement(Element e)
Construct a WritableElement
|
Modifier and Type | Method and Description |
---|---|
protected List<Element> |
HtmlPipelineContext.currentContent() |
List<Element> |
StackKeeper.getElements() |
Modifier and Type | Method and Description |
---|---|
void |
StackKeeper.add(Element content)
Add an element to this keepers stack.
|
Modifier and Type | Method and Description |
---|---|
void |
StackKeeper.add(Collection extends Element> elements)
Add all given elements to the stack, according to the natural order.
|
Copyright © 1998–2017. All rights reserved.