Class BidiLine

java.lang.Object
com.lowagie.text.pdf.BidiLine

@Deprecated public class BidiLine extends Object
Deprecated.
Does all the line bidirectional processing with PdfChunk assembly.
Author:
Paulo Soares (psoares@consiste.pt)
  • Field Details

    • mirrorChars

      protected static final IntHashtable mirrorChars
      Deprecated.
    • runDirection

      protected int runDirection
      Deprecated.
    • pieceSize

      protected int pieceSize
      Deprecated.
    • text

      protected char[] text
      Deprecated.
    • detailChunks

      protected PdfChunk[] detailChunks
      Deprecated.
    • totalTextLength

      protected int totalTextLength
      Deprecated.
    • orderLevels

      protected byte[] orderLevels
      Deprecated.
    • indexChars

      protected int[] indexChars
      Deprecated.
    • chunks

      protected ArrayList<PdfChunk> chunks
      Deprecated.
    • indexChunk

      protected int indexChunk
      Deprecated.
    • indexChunkChar

      protected int indexChunkChar
      Deprecated.
    • currentChar

      protected int currentChar
      Deprecated.
    • storedRunDirection

      protected int storedRunDirection
      Deprecated.
    • storedText

      protected char[] storedText
      Deprecated.
    • storedDetailChunks

      protected PdfChunk[] storedDetailChunks
      Deprecated.
    • storedTotalTextLength

      protected int storedTotalTextLength
      Deprecated.
    • storedOrderLevels

      protected byte[] storedOrderLevels
      Deprecated.
    • storedIndexChars

      protected int[] storedIndexChars
      Deprecated.
    • storedIndexChunk

      protected int storedIndexChunk
      Deprecated.
    • storedIndexChunkChar

      protected int storedIndexChunkChar
      Deprecated.
    • storedCurrentChar

      protected int storedCurrentChar
      Deprecated.
    • shortStore

      protected boolean shortStore
      Deprecated.
    • arabicOptions

      protected int arabicOptions
      Deprecated.
  • Constructor Details

    • BidiLine

      public BidiLine()
      Deprecated.
      Creates new BidiLine
    • BidiLine

      public BidiLine(BidiLine org)
      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

      public void addChunk(PdfChunk chunk)
      Deprecated.
    • addChunks

      public void addChunks(List<PdfChunk> chunks)
      Deprecated.
    • addPiece

      public void addPiece(char c, PdfChunk chunk)
      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 calculate
      lastIdx - the last inclusive index to calculate
      Returns:
      the sum of all widths
    • createArrayOfPdfChunks

      public ArrayList<PdfChunk> createArrayOfPdfChunks(int startIdx, int endIdx)
      Deprecated.
    • createArrayOfPdfChunks

      public ArrayList<PdfChunk> createArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk)
      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.