java.lang.Object
com.lowagie.text.pdf.BidiLine
Deprecated.
Does all the line bidirectional processing with PdfChunk assembly.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.Deprecated.protected intDeprecated.protected PdfChunk[]Deprecated.protected int[]Deprecated.protected intDeprecated.protected intDeprecated.protected static final IntHashtableDeprecated.protected byte[]Deprecated.protected intDeprecated.protected intDeprecated.protected booleanDeprecated.protected intDeprecated.protected PdfChunk[]Deprecated.protected int[]Deprecated.protected intDeprecated.protected intDeprecated.protected byte[]Deprecated.protected intDeprecated.protected char[]Deprecated.protected intDeprecated.protected char[]Deprecated.protected intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.createArrayOfPdfChunks(int startIdx, int endIdx) Deprecated.createArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk) Deprecated.voidDeprecated.voidflip(int start, int end) Deprecated.booleangetParagraph(int runDirection) Deprecated.floatgetWidth(int startIdx, int lastIdx) Deprecated.Gets the width of a range of characters.int[]getWord(int startIdx, int idx) Deprecated.booleanisEmpty()Deprecated.static booleanisWS(char c) Deprecated.voidDeprecated.processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions) Deprecated.processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions, boolean strictWordWrapping) Deprecated.voidreorder(int start, int end) Deprecated.voidrestore()Deprecated.voidsave()Deprecated.inttrimLeft(int startIdx, int endIdx) Deprecated.inttrimLeftEx(int startIdx, int endIdx) Deprecated.inttrimRight(int startIdx, int endIdx) Deprecated.inttrimRightEx(int startIdx, int endIdx) Deprecated.
-
Field Details
-
mirrorChars
Deprecated. -
runDirection
protected int runDirectionDeprecated. -
pieceSize
protected int pieceSizeDeprecated. -
text
protected char[] textDeprecated. -
detailChunks
Deprecated. -
totalTextLength
protected int totalTextLengthDeprecated. -
orderLevels
protected byte[] orderLevelsDeprecated. -
indexChars
protected int[] indexCharsDeprecated. -
chunks
Deprecated. -
indexChunk
protected int indexChunkDeprecated. -
indexChunkChar
protected int indexChunkCharDeprecated. -
currentChar
protected int currentCharDeprecated. -
storedRunDirection
protected int storedRunDirectionDeprecated. -
storedText
protected char[] storedTextDeprecated. -
storedDetailChunks
Deprecated. -
storedTotalTextLength
protected int storedTotalTextLengthDeprecated. -
storedOrderLevels
protected byte[] storedOrderLevelsDeprecated. -
storedIndexChars
protected int[] storedIndexCharsDeprecated. -
storedIndexChunk
protected int storedIndexChunkDeprecated. -
storedIndexChunkChar
protected int storedIndexChunkCharDeprecated. -
storedCurrentChar
protected int storedCurrentCharDeprecated. -
shortStore
protected boolean shortStoreDeprecated. -
arabicOptions
protected int arabicOptionsDeprecated.
-
-
Constructor Details
-
BidiLine
public BidiLine()Deprecated.Creates new BidiLine -
BidiLine
Deprecated.
-
-
Method Details
-
isWS
public static boolean isWS(char c) Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
clearChunks
public void clearChunks()Deprecated. -
getParagraph
public boolean getParagraph(int runDirection) Deprecated. -
addChunk
Deprecated. -
addChunks
Deprecated. -
addPiece
Deprecated. -
save
public void save()Deprecated. -
restore
public void restore()Deprecated. -
mirrorGlyphs
public void mirrorGlyphs()Deprecated. -
doArabicShapping
public void doArabicShapping()Deprecated. -
processLine
public PdfLine processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions) Deprecated. -
processLine
public PdfLine processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions, boolean strictWordWrapping) Deprecated. -
getWidth
public float getWidth(int startIdx, int lastIdx) Deprecated.Gets the width of a range of characters.- Parameters:
startIdx- the first index to calculatelastIdx- the last inclusive index to calculate- Returns:
- the sum of all widths
-
createArrayOfPdfChunks
Deprecated. -
createArrayOfPdfChunks
Deprecated. -
getWord
public int[] getWord(int startIdx, int idx) Deprecated. -
trimRight
public int trimRight(int startIdx, int endIdx) Deprecated. -
trimLeft
public int trimLeft(int startIdx, int endIdx) Deprecated. -
trimRightEx
public int trimRightEx(int startIdx, int endIdx) Deprecated. -
trimLeftEx
public int trimLeftEx(int startIdx, int endIdx) Deprecated. -
reorder
public void reorder(int start, int end) Deprecated. -
flip
public void flip(int start, int end) Deprecated.
-