com.lowagie.text.pdf
public class BidiLine extends Object
Field Summary | |
---|---|
protected int | arabicOptions |
protected ArrayList | chunks |
protected int | currentChar |
protected PdfChunk[] | detailChunks |
protected int[] | indexChars |
protected int | indexChunk |
protected int | indexChunkChar |
protected static IntHashtable | mirrorChars |
protected byte[] | orderLevels |
protected int | pieceSize |
protected int | runDirection |
protected boolean | shortStore |
protected int | storedCurrentChar |
protected PdfChunk[] | storedDetailChunks |
protected int[] | storedIndexChars |
protected int | storedIndexChunk |
protected int | storedIndexChunkChar |
protected byte[] | storedOrderLevels |
protected int | storedRunDirection |
protected char[] | storedText |
protected int | storedTotalTextLength |
protected char[] | text |
protected int | totalTextLength |
Constructor Summary | |
---|---|
BidiLine() Creates new BidiLine | |
BidiLine(BidiLine org) |
Method Summary | |
---|---|
void | addChunk(PdfChunk chunk) |
void | addChunks(ArrayList chunks) |
void | addPiece(char c, PdfChunk chunk) |
void | clearChunks() |
ArrayList | createArrayOfPdfChunks(int startIdx, int endIdx) |
ArrayList | createArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk) |
void | doArabicShapping() |
void | flip(int start, int end) |
boolean | getParagraph(int runDirection) |
float | getWidth(int startIdx, int lastIdx) Gets the width of a range of characters. |
int[] | getWord(int startIdx, int idx) |
boolean | isEmpty() |
static boolean | isWS(char c) |
void | mirrorGlyphs() |
PdfLine | processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions) |
void | reorder(int start, int end) |
void | restore() |
void | save() |
int | trimLeft(int startIdx, int endIdx) |
int | trimLeftEx(int startIdx, int endIdx) |
int | trimRight(int startIdx, int endIdx) |
int | trimRightEx(int startIdx, int endIdx) |
Parameters: startIdx the first index to calculate lastIdx the last inclusive index to calculate
Returns: the sum of all widths