arabicOptions
protected int arabicOptions
chunks
protected ArrayList chunks
currentChar
protected int currentChar
detailChunks
protected PdfChunk[] detailChunks
indexChars
protected int[] indexChars
indexChunk
protected int indexChunk
indexChunkChar
protected int indexChunkChar
orderLevels
protected byte[] orderLevels
pieceSize
protected int pieceSize
runDirection
protected int runDirection
shortStore
protected boolean shortStore
storedCurrentChar
protected int storedCurrentChar
storedDetailChunks
protected PdfChunk[] storedDetailChunks
storedIndexChars
protected int[] storedIndexChars
storedIndexChunk
protected int storedIndexChunk
storedIndexChunkChar
protected int storedIndexChunkChar
storedOrderLevels
protected byte[] storedOrderLevels
storedRunDirection
protected int storedRunDirection
storedText
protected char[] storedText
storedTotalTextLength
protected int storedTotalTextLength
text
protected char[] text
totalTextLength
protected int totalTextLength
addChunk
public void addChunk(PdfChunk chunk)
addChunks
public void addChunks(ArrayList chunks)
addPiece
public void addPiece(char c,
PdfChunk chunk)
clearChunks
public void clearChunks()
createArrayOfPdfChunks
public ArrayList createArrayOfPdfChunks(int startIdx,
int endIdx)
createArrayOfPdfChunks
public ArrayList createArrayOfPdfChunks(int startIdx,
int endIdx,
PdfChunk extraPdfChunk)
doArabicShapping
public void doArabicShapping()
flip
public void flip(int start,
int end)
getParagraph
public boolean getParagraph(int runDirection)
getWidth
public float getWidth(int startIdx,
int lastIdx)
Gets the width of a range of characters.
startIdx
- the first index to calculatelastIdx
- the last inclusive index to calculate
getWord
public int[] getWord(int startIdx,
int idx)
isEmpty
public boolean isEmpty()
isWS
public static boolean isWS(char c)
mirrorGlyphs
public void mirrorGlyphs()
processLine
public PdfLine processLine(float width,
int alignment,
int runDirection,
int arabicOptions)
reorder
public void reorder(int start,
int end)
restore
public void restore()
trimLeft
public int trimLeft(int startIdx,
int endIdx)
trimLeftEx
public int trimLeftEx(int startIdx,
int endIdx)
trimRight
public int trimRight(int startIdx,
int endIdx)
trimRightEx
public int trimRightEx(int startIdx,
int endIdx)