Uses of Class
com.itextpdf.text.Chunk
Packages that use Chunk
Package
Description
Contains classes that can apply css rules on certain
Elements.Everything to parse HTML tags to pdf used by the
HtmlPipeline is in here.Elements created for specific use when processing HTML.TagProcessor implementations for
table tags.-
Uses of Chunk in com.itextpdf.text
Fields in com.itextpdf.text declared as ChunkModifier and TypeFieldDescriptionstatic final ChunkChunk.NEWLINEThis is a Chunk containing a newline.static final ChunkChunk.NEXTPAGEThis is a Chunk containing a newpage.static final ChunkChunk.SPACETABBINGprotected ChunkList.symbolThis is the listsymbol of a list that is not numbered.protected ChunkListItem.symbolthis is the symbol that will precede the listitem.static final ChunkChunk.TABBINGMethods in com.itextpdf.text that return ChunkModifier and TypeMethodDescriptionstatic ChunkChunk.createTabspace()Deprecated.static ChunkChunk.createTabspace(float spacing) Deprecated.static ChunkChunk.createWhitespace(String content) static ChunkChunk.createWhitespace(String content, boolean preserve) static ChunkGets a chunk with a symbol character.ListItem.getListSymbol()Returns the listsymbol.List.getSymbol()Gets the Chunk containing the symbol.Sets an action for thisChunk.Sets an anchor for thisChunk.Sets an anchor for thisChunk.Chunk.setAnnotation(PdfAnnotation annotation) Sets a generic annotation to thisChunk.private ChunkChunk.setAttribute(String name, Object obj) Sets an arbitrary attribute.Chunk.setBackground(BaseColor color) Sets the color of the backgroundChunk.Chunk.setBackground(BaseColor color, float extraLeft, float extraBottom, float extraRight, float extraTop) Sets the color and the size of the backgroundChunk.Chunk.setCharacterSpacing(float charSpace) Sets the character spacing.Chunk.setGenericTag(String text) Sets the generic tagChunk.Chunk.setHorizontalScaling(float scale) Sets the text horizontal scaling.Chunk.setHyphenation(HyphenationEvent hyphenation) sets the hyphenation engine to thisChunk.Chunk.setLineHeight(float lineheight) Sets a line height tag.Chunk.setLocalDestination(String name) Sets a local destination for thisChunk.Chunk.setLocalGoto(String name) Sets a local goto for thisChunk.Chunk.setNewPage()Sets a new page tag..Chunk.setRemoteGoto(String filename, int page) Sets a goto for a remote destination for thisChunk.Chunk.setRemoteGoto(String filename, String name) Sets a goto for a remote destination for thisChunk.Chunk.setSkew(float alpha, float beta) Skews the text to simulate italic and other effects.Chunk.setSplitCharacter(SplitCharacter splitCharacter) Sets the split characters.Chunk.setTextRenderMode(int mode, float strokeWidth, BaseColor strokeColor) Sets the text rendering mode.Chunk.setTextRise(float rise) Sets the text displacement relative to the baseline.Chunk.setUnderline(float thickness, float yPosition) Sets an horizontal line that can be an underline or a strikethrough.Chunk.setUnderline(BaseColor color, float thickness, float thicknessMul, float yPosition, float yPositionMul, int cap) Sets an horizontal line that can be an underline or a strikethrough.Chunk.setWordSpacing(float wordSpace) Sets the word spacing.Methods in com.itextpdf.text that return types with arguments of type ChunkModifier and TypeMethodDescriptionAnchor.getChunks()Gets all the chunks in this element.Annotation.getChunks()Gets all the chunks in this element.Chunk.getChunks()Gets all the chunks in this element.Element.getChunks()Gets all the chunks in this element.List.getChunks()Gets all the chunks in this element.MarkedObject.getChunks()Deprecated.Gets all the chunks in this element.Meta.getChunks()Gets all the chunks in this element.Phrase.getChunks()Gets all the chunks in this element.Rectangle.getChunks()Gets all the chunks in this element.Section.getChunks()Gets all the chunks in this element.WritableDirectElement.getChunks()Methods in com.itextpdf.text with parameters of type ChunkModifier and TypeMethodDescriptionprotected booleanAdds a Chunk.protected booleanAnchor.applyAnchor(Chunk chunk, boolean notGotoOK, boolean localDestination) Applies the properties of the Anchor to a Chunk.voidList.setListSymbol(Chunk symbol) Sets the listsymbol.voidListItem.setListSymbol(Chunk symbol) Sets the listsymbol.Constructors in com.itextpdf.text with parameters of type ChunkModifierConstructorDescriptionConstructs anAnchorwith a certainChunkand a certain leading.Constructs anAnchorwith a certainChunk.AChunkcopy constructor.Constructs aListItemwith a certainChunkand a certain leading.Constructs aListItemwith a certainChunk.Constructs aParagraphwith a certainChunkand a certain leading.Constructs aParagraphwith a certainChunk.Constructs aPhrasewith a certainChunkand a certain leading.Constructs aPhrasewith a certainChunk. -
Uses of Chunk in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser that return ChunkModifier and TypeMethodDescriptionElementFactory.createChunk(String content, ChainedProperties chain) Deprecated.Creates an iText ChunkHTMLWorker.createChunk(String content) Deprecated.Creates a Chunk using the factory.Methods in com.itextpdf.text.html.simpleparser that return types with arguments of type Chunk -
Uses of Chunk in com.itextpdf.text.pdf
Methods in com.itextpdf.text.pdf that return ChunkModifier and TypeMethodDescriptionPdfLine.listSymbol()Returns the listsymbol of this line.protected ChunkFontSelector.processChar(char[] cc, int k, StringBuffer sb) Methods in com.itextpdf.text.pdf that return types with arguments of type ChunkModifier and TypeMethodDescriptionPdfBody.getChunks()PdfDiv.getChunks()Gets all the chunks in this element.PdfPTable.getChunks()Gets all the chunks in this element.Methods in com.itextpdf.text.pdf with parameters of type ChunkModifier and TypeMethodDescriptionvoidAdds aChunkto the current text array.voidAdds aChunkto the current text array.private voidPdfStructureElement.writeAttributes(Chunk chunk) Constructors in com.itextpdf.text.pdf with parameters of type Chunk -
Uses of Chunk in com.itextpdf.text.pdf.draw
Methods in com.itextpdf.text.pdf.draw that return types with arguments of type Chunk -
Uses of Chunk in com.itextpdf.text.pdf.events
Methods in com.itextpdf.text.pdf.events that return ChunkModifier and TypeMethodDescriptionCreate an index entry.Create an index entry.Create an index entry.Methods in com.itextpdf.text.pdf.events with parameters of type Chunk -
Uses of Chunk in com.itextpdf.text.xml.simpleparser
Methods in com.itextpdf.text.xml.simpleparser that return Chunk -
Uses of Chunk in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return ChunkModifier and TypeMethodDescriptionChunkCssApplier.apply(Chunk c, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Methods in com.itextpdf.tool.xml.css.apply with parameters of type ChunkModifier and TypeMethodDescriptionChunkCssApplier.apply(Chunk c, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) voidChunkCssApplier.copyChunkStyles(Chunk source, Chunk target) Method used for copying styles from one chunk to another.floatChunkCssApplier.getWidestWord(Chunk c) Method used for retrieving the widest word of a chunk of text. -
Uses of Chunk in com.itextpdf.tool.xml.html
Methods in com.itextpdf.tool.xml.html that return types with arguments of type ChunkModifier and TypeMethodDescriptionHTMLUtils.sanitizeInline(String str, boolean preserveWhiteSpace) Sanitize the String for use in in-line tags.HTMLUtils.sanitizeInline(String str, boolean preserveWhiteSpace, boolean replaceNonBreakableSpaces) -
Uses of Chunk in com.itextpdf.tool.xml.html.pdfelement
Subclasses of Chunk in com.itextpdf.tool.xml.html.pdfelementModifier and TypeClassDescriptionclassA TabbedChunk is a Chunk that contains tabcount and alignment data to allow the HTML to PDF conversion to accept tabstop css.Constructors in com.itextpdf.tool.xml.html.pdfelement with parameters of type ChunkModifierConstructorDescriptionNoNewLineParagraph(float leading, Chunk chunk) Constructs aParagraphwith a certainChunkand a certain leading.NoNewLineParagraph(Chunk chunk) Constructs aParagraphwith a certainChunk. -
Uses of Chunk in com.itextpdf.tool.xml.html.table
Methods in com.itextpdf.tool.xml.html.table that return types with arguments of type Chunk