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 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.pdfelement |
Element s created for specific use when processing HTML. |
com.itextpdf.tool.xml.html.table |
TagProcessor implementations for
table tags. |
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 |
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 this
Chunk . |
Chunk |
Chunk.setAnchor(java.lang.String url) |
Sets an anchor for this
Chunk . |
Chunk |
Chunk.setAnchor(java.net.URL url) |
Sets an anchor for this
Chunk . |
Chunk |
Chunk.setAnnotation(PdfAnnotation annotation) |
Sets a generic annotation to this
Chunk . |
Chunk |
Chunk.setBackground(BaseColor color) |
Sets the color of the background
Chunk . |
Chunk |
Chunk.setBackground(BaseColor color,
float extraLeft,
float extraBottom,
float extraRight,
float extraTop) |
Sets the color and the size of the background
Chunk . |
Chunk |
Chunk.setCharacterSpacing(float charSpace) |
Sets the character spacing.
|
Chunk |
Chunk.setGenericTag(java.lang.String text) |
Sets the generic tag
Chunk . |
Chunk |
Chunk.setHorizontalScaling(float scale) |
Sets the text horizontal scaling.
|
Chunk |
Chunk.setHyphenation(HyphenationEvent hyphenation) |
sets the hyphenation engine to this
Chunk . |
Chunk |
Chunk.setLineHeight(float lineheight) |
Sets a line height tag.
|
Chunk |
Chunk.setLocalDestination(java.lang.String name) |
Sets a local destination for this
Chunk . |
Chunk |
Chunk.setLocalGoto(java.lang.String name) |
Sets a local goto for this
Chunk . |
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 this
Chunk . |
Chunk |
Chunk.setRemoteGoto(java.lang.String filename,
java.lang.String name) |
Sets a goto for a remote destination for this
Chunk . |
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.
|
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() |
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.
|
Constructor | Description |
---|---|
Anchor(float leading,
Chunk chunk) |
Constructs an
Anchor with a certain Chunk
and a certain leading. |
Anchor(Chunk chunk) |
Constructs an
Anchor with a certain Chunk . |
Chunk(Chunk ck) |
A
Chunk copy constructor. |
ListItem(float leading,
Chunk chunk) |
Constructs a
ListItem with a certain Chunk
and a certain leading. |
ListItem(Chunk chunk) |
Constructs a
ListItem with a certain Chunk . |
Paragraph(float leading,
Chunk chunk) |
Constructs a
Paragraph with a certain Chunk
and a certain leading. |
Paragraph(Chunk chunk) |
Constructs a
Paragraph with a certain Chunk . |
Phrase(float leading,
Chunk chunk) |
Constructs a
Phrase with a certain Chunk
and a certain leading. |
Phrase(Chunk chunk) |
Constructs a
Phrase with a certain Chunk . |
Modifier and Type | Method | Description |
---|---|---|
Chunk |
ElementFactory.createChunk(java.lang.String content,
ChainedProperties chain) |
Deprecated.
Creates an iText Chunk
|
Chunk |
HTMLWorker.createChunk(java.lang.String content) |
Deprecated.
Creates a Chunk using the factory.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Chunk> |
CellWrapper.getChunks() |
Deprecated.
|
java.util.List<Chunk> |
TableWrapper.getChunks() |
Deprecated.
|
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) |
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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ColumnText.addText(Chunk chunk) |
Adds a
Chunk to the current text array. |
void |
VerticalText.addText(Chunk chunk) |
Adds a
Chunk to the current text array. |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Chunk> |
VerticalPositionMark.getChunks() |
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.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
static Chunk |
EntitiesToSymbol.get(java.lang.String e,
Font font) |
Gets a chunk with a symbol character.
|
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) |
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.
|
Modifier and Type | Method | Description |
---|---|---|
static java.util.List<Chunk> |
HTMLUtils.sanitize(java.lang.String str,
boolean preserveWhiteSpace) |
|
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) |
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.
|
Constructor | Description |
---|---|
NoNewLineParagraph(float leading,
Chunk chunk) |
Constructs a
Paragraph with a certain Chunk
and a certain leading. |
NoNewLineParagraph(Chunk chunk) |
Constructs a
Paragraph with a certain Chunk . |
Modifier and Type | Method | Description |
---|---|---|
java.util.List<Chunk> |
TableRowElement.getChunks() |
Copyright © 1998–2018. All rights reserved.