|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.lowagie.text.pdf.PdfChunk
A PdfChunk is the PDF translation of a Chunk.
A PdfChunk is a PdfString in a certain
PdfFont and Color.
PdfString,
Chunk,
Font| Method Summary | |
boolean |
changeLeading()
|
float |
getTextRise()
Gets the text displacement relative to the baseline. |
int |
getUnicodeEquivalent(int c)
Gets the Unicode equivalent to a CID. |
float |
getWidthCorrected(float charSpacing,
float wordSpacing)
Gets the width of the PdfChunk taking into account the
extra character and word spacing. |
boolean |
isNewlineSplit()
Checks if the PdfChunk split was caused by a newline. |
static boolean |
noPrint(int c)
|
String |
toString()
|
float |
trimFirstSpace()
|
float |
trimLastSpace()
Trims the last space. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public int getUnicodeEquivalent(int c)
c - the CID code
public boolean isNewlineSplit()
PdfChunk split was caused by a newline.
true if the PdfChunk split was caused by a newline.
public float getWidthCorrected(float charSpacing,
float wordSpacing)
PdfChunk taking into account the
extra character and word spacing.
charSpacing - the extra character spacingwordSpacing - the extra word spacing
public float getTextRise()
public float trimLastSpace()
public float trimFirstSpace()
public String toString()
Object.toString()public boolean changeLeading()
public static boolean noPrint(int c)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||