Uses of Interface
com.itextpdf.text.Element
-
Packages that use Element 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 certainElements.com.itextpdf.tool.xml.html Everything to parse HTML tags to pdf used by theHtmlPipelineis in here.com.itextpdf.tool.xml.html.head TagProcessor implementations for tags in HTML head.com.itextpdf.tool.xml.html.pdfelement Elements created for specific use when processing HTML.com.itextpdf.tool.xml.html.table TagProcessor implementations fortabletags.com.itextpdf.tool.xml.pipeline The pipeline package contains the pipeline implementationscom.itextpdf.tool.xml.pipeline.html Contains pipeline stuff for HTML -
-
Uses of Element in com.itextpdf.text
Subinterfaces of Element in com.itextpdf.text Modifier and Type Interface Description interfaceLargeElementInterface implemented by Element objects that can potentially consume a lot of memory.interfaceTextElementArrayInterface for a text element to which other objects can be added.Classes in com.itextpdf.text that implement Element Modifier and Type Class Description classAnchorAnAnchorcan be a reference or a destination of a reference.classAnnotationAnAnnotationis a little note that can be added to a page on a document.classChapterAChapteris a specialSection.classChapterAutoNumberChapter with auto numbering.classChunkThis is the smallest significant part of text that can be added to a document.classGreekListA special-version ofLISTwhich use greek-letters.classHeaderThis is anElementthat contains some user defined meta information about the document.classImageAnImageis the representation of a graphic element (JPEG, PNG or GIF) that has to be inserted into the documentclassImgCCITTCCITT Image data that has to be inserted into the documentclassImgJBIG2Support for JBIG2 images.classImgRawRaw Image data that has to be inserted into the documentclassImgTemplatePdfTemplate that has to be inserted into the documentclassImgWMFAnImgWMFis the representation of a windows metafile that has to be inserted into the documentclassJpegAnJpegis the representation of a graphic element (JPEG) that has to be inserted into the documentclassJpeg2000AnJpeg2000is the representation of a graphic element (JPEG) that has to be inserted into the documentclassListAListcontains severalListItems.classListItemAListItemis aParagraphthat can be added to aList.classMarkedObjectDeprecated.since 5.5.9.classMarkedSectionDeprecated.since 5.5.9.classMetaThis is anElementthat contains some meta information about the document.classParagraphAParagraphis a series ofChunks and/orPhrases.classPhraseAPhraseis a series ofChunks.classRectangleARectangleis the representation of a geometric figure.classRectangleReadOnlyARectangleReadOnlyis the representation of a geometric figure.classRomanListA special-version ofLISTwhich use roman-letters.classSectionASectionis a part of aDocumentcontaining otherSections,Paragraphs,Listand/orTables.classWritableDirectElementAn element that is not an element, it holdsWRITABLE_DIRECTas Element type.classZapfDingbatsListA special-version ofLISTwhich use zapfdingbats-letters.classZapfDingbatsNumberListA special-version ofLISTwhich use zapfdingbats-numbers (1..10).Fields in com.itextpdf.text declared as Element Modifier and Type Field Description protected ElementMarkedObject. elementDeprecated.The element that is wrapped in a MarkedObject.Fields in com.itextpdf.text with type parameters of type Element Modifier and Type Field Description protected java.util.ArrayList<Element>List. listThis is theArrayListcontaining the differentListItems.Methods in com.itextpdf.text that return types with arguments of type Element 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.Methods in com.itextpdf.text with parameters of type Element Modifier and Type Method Description booleanDocument. add(Element element)Adds anElementto theDocument.booleanDocWriter. add(Element element)Signals that anElementwas added to theDocument.booleanElementListener. add(Element element)Signals that anElementwas added to theDocument.booleanGreekList. add(Element o)Adds anElementto theList.booleanList. add(Element o)Adds anElementto theList.voidMarkedSection. add(int index, Element o)Deprecated.Adds aParagraph,ListorTableto thisSection.booleanMarkedSection. add(Element o)Deprecated.Adds aParagraph,List,Tableor anotherSectionto thisSection.booleanParagraph. add(Element o)Adds anElementto theParagraph.voidPhrase. add(int index, Element element)Adds aChunk, anAnchoror anotherPhraseto thisPhrase.booleanPhrase. add(Element element)Adds aChunk,Anchoror anotherPhraseto thisPhrase.booleanRomanList. add(Element o)Adds anElementto theList.voidSection. add(int index, Element element)Adds aParagraph,ListorTableto thisSection.booleanSection. add(Element element)Adds aParagraph,List,Tableor anotherSectionto thisSection.booleanTextElementArray. add(Element element)Adds an element to theTextElementArray.booleanZapfDingbatsList. add(Element o)Adds anElementto theList.booleanZapfDingbatsNumberList. add(Element o)Adds anElementto theList.protected voidPhrase. addSpecial(Element object)Adds anElementto theParagraph.Method parameters in com.itextpdf.text with type arguments of type Element Modifier and Type Method Description booleanMarkedSection. addAll(java.util.Collection<? extends Element> collection)Deprecated.Adds a collection ofElements to thisSection.booleanPhrase. addAll(java.util.Collection<? extends Element> collection)Adds a collection ofChunks to thisPhrase.booleanSection. addAll(java.util.Collection<? extends Element> collection)Adds a collection ofElements to thisSection.Constructors in com.itextpdf.text with parameters of type Element Constructor Description MarkedObject(Element element)Deprecated.Creates a MarkedObject. -
Uses of Element in com.itextpdf.text.html.simpleparser
Classes in com.itextpdf.text.html.simpleparser that implement Element Modifier and Type Class Description classCellWrapperDeprecated.since 5.5.2classTableWrapperDeprecated.since 5.5.2Fields in com.itextpdf.text.html.simpleparser with type parameters of type Element Modifier and Type Field Description protected java.util.List<Element>HTMLWorker. objectListDeprecated.The resulting list of elements.protected java.util.Stack<Element>HTMLWorker. stackDeprecated.Stack with the Elements that already have been processed.Methods in com.itextpdf.text.html.simpleparser that return types with arguments of type Element 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 objectsstatic 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 objectsstatic 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 objectsMethods in com.itextpdf.text.html.simpleparser with parameters of type Element Modifier and Type Method Description booleanCellWrapper. add(Element o)Deprecated.Implements the add method of the TextElementArray interface.booleanHTMLWorker. add(Element element)Deprecated.voidHTMLWorker. pushToStack(Element element)Deprecated.Pushes an element to the Stack. -
Uses of Element in com.itextpdf.text.pdf
Classes in com.itextpdf.text.pdf that implement Element Modifier and Type Class Description classPdfBodyclassPdfDivA special element to put a collection of elements at an absolute position.classPdfPCellA cell in a PdfPTable.classPdfPHeaderCellCreated by IntelliJ IDEA.classPdfPTableThis is a table that can be put at an absolute position but can also be added to the document as the classTable.Fields in com.itextpdf.text.pdf with type parameters of type Element Modifier and Type Field Description protected java.util.LinkedList<Element>ColumnText. compositeElementsprotected java.util.List<Element>FloatLayout. contentprivate java.util.ArrayList<Element>PdfDiv. contentprivate java.util.ArrayList<Element>PdfDocument. floatingElementsMethods in com.itextpdf.text.pdf that return types with arguments of type Element 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()Methods in com.itextpdf.text.pdf with parameters of type Element Modifier and Type Method Description booleanPdfDocument. add(Element element)Signals that anElementwas added to theDocument.voidColumnText. addElement(Element element)Adds an element.voidPdfDiv. addElement(Element element)voidPdfPCell. addElement(Element element)Adds an iText element to the cell.static booleanColumnText. isAllowedElement(Element element)Method parameters in com.itextpdf.text.pdf with type arguments of type Element Modifier and Type Method Description private intFloatLayout. floatingLayout(java.util.List<Element> floatingElements, boolean simulate)voidPdfDiv. setContent(java.util.ArrayList<Element> content)Constructor parameters in com.itextpdf.text.pdf with type arguments of type Element Constructor Description FloatLayout(java.util.List<Element> elements, boolean useAscender) -
Uses of Element in com.itextpdf.text.pdf.draw
Classes in com.itextpdf.text.pdf.draw that implement Element Modifier and Type Class Description classDottedLineSeparatorElement that draws a dotted line from left to right.classLineSeparatorElement that draws a solid line from left to right.classVerticalPositionMarkHelper class implementing the DrawInterface. -
Uses of Element in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return Element Modifier and Type Method Description ElementListStyleTypeCssApplier. apply(List e, Tag t)Utility method applying style to a list when no ImageProvider is available. -
Uses of Element in com.itextpdf.tool.xml.html
Classes in com.itextpdf.tool.xml.html with type parameters of type Element Modifier and Type Interface Description interfaceCssApplier<T extends Element>An interface for applying custom rules to a certain tag.Fields in com.itextpdf.tool.xml.html with type parameters of type Element Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,CssApplier<? extends Element>>CssAppliersImpl. mapMethods in com.itextpdf.tool.xml.html that return Element Modifier and Type Method Description ElementCssAppliers. 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.ElementCssAppliers. apply(Element e, Tag t, HtmlPipelineContext ctx)Convenience method.ElementCssAppliersImpl. apply(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)ElementCssAppliersImpl. apply(Element e, Tag t, HtmlPipelineContext ctx)Methods in com.itextpdf.tool.xml.html that return types with arguments of type Element 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 inTagProcessor.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 forCSS.Property.PAGE_BREAK_AFTER, if the value is always aChunk.NEXTPAGEis added to the currentContentList after callingAbstractTagProcessor.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.private java.util.List<Element>OrderedUnorderedList. populateList(java.util.List<Element> currentContent)Fills a java.util.List with all elements found in currentContent.java.util.List<Element>AbstractTagProcessor. start(WorkerContext ctx, Tag tag)Classes extending AbstractTagProcessor should override this method for actions that should be done inTagProcessor.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 callingAbstractTagProcessor.start(WorkerContext, Tag).
Checks forCSS.Property.PAGE_BREAK_BEFORE, if the value is always aChunk.NEXTPAGEadded before the implementorsAbstractTagProcessor.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)Methods in com.itextpdf.tool.xml.html with parameters of type Element Modifier and Type Method Description ElementCssAppliers. 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.ElementCssAppliers. apply(Element e, Tag t, HtmlPipelineContext ctx)Convenience method.ElementCssAppliersImpl. apply(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)ElementCssAppliersImpl. apply(Element e, Tag t, HtmlPipelineContext ctx)protected voidAbstractTagProcessor. updateParagraphFontIfNeeded(Phrase p, Element child)In case child font is of bigger size than paragraph font, text overlapping may occur.Method parameters in com.itextpdf.tool.xml.html with type arguments of type Element Modifier and Type Method Description private voidParaGraph. addTabIntervalContent(WorkerContext ctx, Tag tag, java.util.List<Element> currentContent, Paragraph p, java.lang.String value)Applies the tab interval of the p tag on itsTabbedChunkelements.private voidParaGraph. addTabStopsContent(java.util.List<Element> currentContent, Paragraph p, java.lang.String value)Applies the tab stops of the p tag on itsTabbedChunkelements.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 inTagProcessor.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 forCSS.Property.PAGE_BREAK_AFTER, if the value is always aChunk.NEXTPAGEis added to the currentContentList after callingAbstractTagProcessor.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.private java.util.List<Element>OrderedUnorderedList. populateList(java.util.List<Element> currentContent)Fills a java.util.List with all elements found in currentContent.protected voidParaGraph. processParagraphItems(WorkerContext ctx, Tag tag, java.util.List<Element> paragraphItems, java.util.List<Element> l) -
Uses of Element in com.itextpdf.tool.xml.html.head
Methods in com.itextpdf.tool.xml.html.head that return types with arguments of type Element 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) -
Uses of Element in com.itextpdf.tool.xml.html.pdfelement
Classes in com.itextpdf.tool.xml.html.pdfelement that implement Element Modifier and Type Class Description classHtmlCellHtmlCell is created to provide more parameters to better mimic the behavior of table cell in HTML.classNoNewLineParagraphANoNewLineParagraphis a series ofChunks and/orPhrases.classTabbedChunkA TabbedChunk is a Chunk that contains tabcount and alignment data to allow the HTML to PDF conversion to accept tabstop css.Methods in com.itextpdf.tool.xml.html.pdfelement with parameters of type Element Modifier and Type Method Description booleanNoNewLineParagraph. add(Element o)Adds anElementto theParagraph. -
Uses of Element in com.itextpdf.tool.xml.html.table
Classes in com.itextpdf.tool.xml.html.table that implement Element Modifier and Type Class Description classTableRowElementMethods in com.itextpdf.tool.xml.html.table that return types with arguments of type Element 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)Method parameters in com.itextpdf.tool.xml.html.table with type arguments of type Element Modifier and Type Method Description private floatTable. calculateDivWidestElementWidth(java.util.ArrayList<Element> divContent)An attempt to calculate a valid div width in case it is not fixed.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 voidTableData. processChunkItems(java.util.List<Element> chunks, HtmlCell cell)Constructor parameters in com.itextpdf.tool.xml.html.table with type arguments of type Element Constructor Description TableRowElement(java.util.List<Element> currentContent, TableRowElement.Place place)Constructor based on the currentContent and aTableRowElement.Place. -
Uses of Element in com.itextpdf.tool.xml.pipeline
Fields in com.itextpdf.tool.xml.pipeline with type parameters of type Element Modifier and Type Field Description private java.util.ArrayList<Element>WritableElement. listMethods in com.itextpdf.tool.xml.pipeline that return types with arguments of type Element Modifier and Type Method Description java.util.List<Element>WritableElement. elements()Returns the list of elements.Methods in com.itextpdf.tool.xml.pipeline with parameters of type Element Modifier and Type Method Description voidWritableElement. add(Element e)Add a single element to the list of elements.Method parameters in com.itextpdf.tool.xml.pipeline with type arguments of type Element Modifier and Type Method Description voidWritableElement. addAll(java.util.List<Element> l)add all elements to the list.Constructors in com.itextpdf.tool.xml.pipeline with parameters of type Element Constructor Description WritableElement(Element e)Construct a WritableElement -
Uses of Element in com.itextpdf.tool.xml.pipeline.html
Fields in com.itextpdf.tool.xml.pipeline.html with type parameters of type Element Modifier and Type Field Description private java.util.List<Element>HtmlPipelineContext. ctnprivate java.util.List<Element>StackKeeper. stackMethods in com.itextpdf.tool.xml.pipeline.html that return types with arguments of type Element Modifier and Type Method Description protected java.util.List<Element>HtmlPipelineContext. currentContent()java.util.List<Element>StackKeeper. getElements()Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type Element Modifier and Type Method Description voidStackKeeper. add(Element content)Add an element to this keepers stack.Method parameters in com.itextpdf.tool.xml.pipeline.html with type arguments of type Element Modifier and Type Method Description voidStackKeeper. add(java.util.Collection<? extends Element> elements)Add all given elements to the stack, according to the natural order.
-