Uses of Class
com.itextpdf.text.Chunk
Packages that use Chunk
Package
Description
Contains classes that can apply css rules on certain
Element
s.Everything to parse HTML tags to pdf used by the
HtmlPipeline
is in here.Element
s 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 Chunk
Chunk.NEWLINE
This is a Chunk containing a newline.static final Chunk
Chunk.NEXTPAGE
This is a Chunk containing a newpage.static final Chunk
Chunk.SPACETABBING
protected Chunk
List.symbol
This is the listsymbol of a list that is not numbered.protected Chunk
ListItem.symbol
this is the symbol that will precede the listitem.static final Chunk
Chunk.TABBING
Methods in com.itextpdf.text that return ChunkModifier and TypeMethodDescriptionstatic Chunk
Chunk.createTabspace()
Deprecated.static Chunk
Chunk.createTabspace
(float spacing) Deprecated.static Chunk
Chunk.createWhitespace
(String content) static Chunk
Chunk.createWhitespace
(String content, boolean preserve) static Chunk
Gets 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 Chunk
Chunk.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 boolean
Adds a Chunk.protected boolean
Anchor.applyAnchor
(Chunk chunk, boolean notGotoOK, boolean localDestination) Applies the properties of the Anchor to a Chunk.void
List.setListSymbol
(Chunk symbol) Sets the listsymbol.void
ListItem.setListSymbol
(Chunk symbol) Sets the listsymbol.Constructors in com.itextpdf.text with parameters of type ChunkModifierConstructorDescriptionConstructs anAnchor
with a certainChunk
and a certain leading.Constructs anAnchor
with a certainChunk
.AChunk
copy constructor.Constructs aListItem
with a certainChunk
and a certain leading.Constructs aListItem
with a certainChunk
.Constructs aParagraph
with a certainChunk
and a certain leading.Constructs aParagraph
with a certainChunk
.Constructs aPhrase
with a certainChunk
and a certain leading.Constructs aPhrase
with 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 Chunk
FontSelector.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 TypeMethodDescriptionvoid
Adds aChunk
to the current text array.void
Adds aChunk
to the current text array.private void
PdfStructureElement.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) void
ChunkCssApplier.copyChunkStyles
(Chunk source, Chunk target) Method used for copying styles from one chunk to another.float
ChunkCssApplier.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 TypeClassDescriptionclass
A 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 aParagraph
with a certainChunk
and a certain leading.NoNewLineParagraph
(Chunk chunk) Constructs aParagraph
with 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