Uses of Class
com.itextpdf.text.Chunk
-
Packages that use Chunk Package Description com.itextpdf.text com.itextpdf.text.html.simpleparser com.itextpdf.text.pdf com.itextpdf.text.pdf.draw com.itextpdf.text.pdf.events com.itextpdf.text.xml.simpleparser com.itextpdf.tool.xml.css.apply Contains classes that can apply css rules on certainElement
s.com.itextpdf.tool.xml.html Everything to parse HTML tags to pdf used by theHtmlPipeline
is in here.com.itextpdf.tool.xml.html.pdfelement Element
s created for specific use when processing HTML.com.itextpdf.tool.xml.html.table TagProcessor implementations fortable
tags. -
-
Uses of Chunk in com.itextpdf.text
Fields in com.itextpdf.text declared as Chunk Modifier and Type Field Description static Chunk
Chunk. NEWLINE
This is a Chunk containing a newline.static Chunk
Chunk. NEXTPAGE
This is a Chunk containing a newpage.static 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 Chunk
Chunk. TABBING
Methods in com.itextpdf.text that return Chunk Modifier and Type Method Description static Chunk
Chunk. createTabspace()
Deprecated.static Chunk
Chunk. createTabspace(float spacing)
Deprecated.static Chunk
Chunk. createWhitespace(java.lang.String content)
static Chunk
Chunk. createWhitespace(java.lang.String content, boolean preserve)
static Chunk
SpecialSymbol. get(char c, Font font)
Gets a chunk with a symbol character.Chunk
ListItem. getListSymbol()
Returns the listsymbol.Chunk
List. getSymbol()
Gets the Chunk containing the symbol.Chunk
Chunk. setAction(PdfAction action)
Sets an action for thisChunk
.Chunk
Chunk. setAnchor(java.lang.String url)
Sets an anchor for thisChunk
.Chunk
Chunk. setAnchor(java.net.URL url)
Sets an anchor for thisChunk
.Chunk
Chunk. setAnnotation(PdfAnnotation annotation)
Sets a generic annotation to thisChunk
.private Chunk
Chunk. setAttribute(java.lang.String name, java.lang.Object obj)
Sets an arbitrary attribute.Chunk
Chunk. setBackground(BaseColor color)
Sets the color of the backgroundChunk
.Chunk
Chunk. setBackground(BaseColor color, float extraLeft, float extraBottom, float extraRight, float extraTop)
Sets the color and the size of the backgroundChunk
.Chunk
Chunk. setCharacterSpacing(float charSpace)
Sets the character spacing.Chunk
Chunk. setGenericTag(java.lang.String text)
Sets the generic tagChunk
.Chunk
Chunk. setHorizontalScaling(float scale)
Sets the text horizontal scaling.Chunk
Chunk. setHyphenation(HyphenationEvent hyphenation)
sets the hyphenation engine to thisChunk
.Chunk
Chunk. setLineHeight(float lineheight)
Sets a line height tag.Chunk
Chunk. setLocalDestination(java.lang.String name)
Sets a local destination for thisChunk
.Chunk
Chunk. setLocalGoto(java.lang.String name)
Sets a local goto for thisChunk
.Chunk
Chunk. setNewPage()
Sets a new page tag..Chunk
Chunk. setRemoteGoto(java.lang.String filename, int page)
Sets a goto for a remote destination for thisChunk
.Chunk
Chunk. setRemoteGoto(java.lang.String filename, java.lang.String name)
Sets a goto for a remote destination for thisChunk
.Chunk
Chunk. setSkew(float alpha, float beta)
Skews the text to simulate italic and other effects.Chunk
Chunk. setSplitCharacter(SplitCharacter splitCharacter)
Sets the split characters.Chunk
Chunk. setTextRenderMode(int mode, float strokeWidth, BaseColor strokeColor)
Sets the text rendering mode.Chunk
Chunk. setTextRise(float rise)
Sets the text displacement relative to the baseline.Chunk
Chunk. setUnderline(float thickness, float yPosition)
Sets an horizontal line that can be an underline or a strikethrough.Chunk
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
Chunk. setWordSpacing(float wordSpace)
Sets the word spacing.Methods in com.itextpdf.text that return types with arguments of type Chunk Modifier and Type Method Description java.util.List<Chunk>
Anchor. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Annotation. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Chunk. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Element. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
List. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
MarkedObject. getChunks()
Deprecated.Gets all the chunks in this element.java.util.List<Chunk>
Meta. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Phrase. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Rectangle. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
Section. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
WritableDirectElement. getChunks()
Methods in com.itextpdf.text with parameters of type Chunk Modifier and Type Method Description protected boolean
Phrase. addChunk(Chunk chunk)
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 Chunk Constructor Description Anchor(float leading, Chunk chunk)
Constructs anAnchor
with a certainChunk
and a certain leading.Anchor(Chunk chunk)
Constructs anAnchor
with a certainChunk
.Chunk(Chunk ck)
AChunk
copy constructor.ListItem(float leading, Chunk chunk)
Constructs aListItem
with a certainChunk
and a certain leading.ListItem(Chunk chunk)
Constructs aListItem
with a certainChunk
.Paragraph(float leading, Chunk chunk)
Constructs aParagraph
with a certainChunk
and a certain leading.Paragraph(Chunk chunk)
Constructs aParagraph
with a certainChunk
.Phrase(float leading, Chunk chunk)
Constructs aPhrase
with a certainChunk
and a certain leading.Phrase(Chunk chunk)
Constructs aPhrase
with a certainChunk
. -
Uses of Chunk in com.itextpdf.text.html.simpleparser
Methods in com.itextpdf.text.html.simpleparser that return Chunk Modifier and Type Method Description Chunk
ElementFactory. createChunk(java.lang.String content, ChainedProperties chain)
Deprecated.Creates an iText ChunkChunk
HTMLWorker. createChunk(java.lang.String content)
Deprecated.Creates a Chunk using the factory.Methods in com.itextpdf.text.html.simpleparser that return types with arguments of type Chunk Modifier and Type Method Description java.util.List<Chunk>
CellWrapper. getChunks()
Deprecated.java.util.List<Chunk>
TableWrapper. getChunks()
Deprecated. -
Uses of Chunk in com.itextpdf.text.pdf
Methods in com.itextpdf.text.pdf that return Chunk Modifier and Type Method Description Chunk
PdfLine. listSymbol()
Returns the listsymbol of this line.protected Chunk
FontSelector. processChar(char[] cc, int k, java.lang.StringBuffer sb)
Methods in com.itextpdf.text.pdf that return types with arguments of type Chunk Modifier and Type Method Description java.util.List<Chunk>
PdfBody. getChunks()
java.util.List<Chunk>
PdfDiv. getChunks()
Gets all the chunks in this element.java.util.List<Chunk>
PdfPTable. getChunks()
Gets all the chunks in this element.Methods in com.itextpdf.text.pdf with parameters of type Chunk Modifier and Type Method Description void
ColumnText. addText(Chunk chunk)
Adds aChunk
to the current text array.void
VerticalText. addText(Chunk chunk)
Adds aChunk
to the current text array.private void
PdfStructureElement. writeAttributes(Chunk chunk)
Constructors in com.itextpdf.text.pdf with parameters of type Chunk Constructor Description PdfChunk(Chunk chunk, PdfAction action)
Constructs aPdfChunk
-object.PdfChunk(Chunk chunk, PdfAction action, TabSettings tabSettings)
Constructs aPdfChunk
-object. -
Uses of Chunk in com.itextpdf.text.pdf.draw
Methods in com.itextpdf.text.pdf.draw that return types with arguments of type Chunk Modifier and Type Method Description java.util.List<Chunk>
VerticalPositionMark. getChunks()
-
Uses of Chunk in com.itextpdf.text.pdf.events
Methods in com.itextpdf.text.pdf.events that return Chunk Modifier and Type Method Description Chunk
IndexEvents. create(java.lang.String text, java.lang.String in1)
Create an index entry.Chunk
IndexEvents. create(java.lang.String text, java.lang.String in1, java.lang.String in2)
Create an index entry.Chunk
IndexEvents. create(java.lang.String text, java.lang.String in1, java.lang.String in2, java.lang.String in3)
Create an index entry.Methods in com.itextpdf.text.pdf.events with parameters of type Chunk Modifier and Type Method Description void
IndexEvents. create(Chunk text, java.lang.String in1)
Create an index entry.void
IndexEvents. create(Chunk text, java.lang.String in1, java.lang.String in2)
Create an index entry.void
IndexEvents. create(Chunk text, java.lang.String in1, java.lang.String in2, java.lang.String in3)
Create an index entry. -
Uses of Chunk in com.itextpdf.text.xml.simpleparser
Methods in com.itextpdf.text.xml.simpleparser that return Chunk Modifier and Type Method Description static Chunk
EntitiesToSymbol. get(java.lang.String e, Font font)
Gets a chunk with a symbol character. -
Uses of Chunk in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply that return Chunk Modifier and Type Method Description Chunk
ChunkCssApplier. apply(Chunk c, Tag t)
Chunk
ChunkCssApplier. apply(Chunk c, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
Methods in com.itextpdf.tool.xml.css.apply with parameters of type Chunk Modifier and Type Method Description Chunk
ChunkCssApplier. apply(Chunk c, Tag t)
Chunk
ChunkCssApplier. 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 Chunk Modifier and Type Method Description static java.util.List<Chunk>
HTMLUtils. sanitize(java.lang.String str, boolean preserveWhiteSpace)
private static java.util.List<Chunk>
HTMLUtils. sanitize(java.lang.String str, boolean preserveWhiteSpace, boolean replaceNonBreakableSpaces)
static java.util.List<Chunk>
HTMLUtils. sanitizeInline(java.lang.String str, boolean preserveWhiteSpace)
Sanitize the String for use in in-line tags.static java.util.List<Chunk>
HTMLUtils. sanitizeInline(java.lang.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.pdfelement Modifier and Type Class Description class
TabbedChunk
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 Chunk Constructor Description NoNewLineParagraph(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 Modifier and Type Method Description java.util.List<Chunk>
TableRowElement. getChunks()
-