Skip to main content
Skip table of contents

BidiLine

BidiLine Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.BidiLine[[BidiLine]]
  end

Members

Methods

Public methods
ReturnsName
voidAddChunk(PdfChunk chunk)
voidAddChunks(List<PdfChunk> chunks)
voidAddPiece(char c, PdfChunk chunk)
voidClearChunks()
List<PdfChunk>CreateArrayOfPdfChunks(...)
voidDoArabicShapping()
voidFlip(int start, int end)
boolGetParagraph(int runDirection)
floatGetWidth(...)
int``[]GetWord(int startIdx, int idx)
boolIsEmpty()
boolIsWordSplit()
voidMirrorGlyphs()
PdfLineProcessLine(float leftX, float width, int alignment, int runDirection, int arabicOptions, float minY, float yLine, float descender)
voidReorder(int start, int end)
voidRestore()
voidSave()
intTrimLeft(int startIdx, int endIdx)
intTrimLeftEx(int startIdx, int endIdx)
intTrimRight(int startIdx, int endIdx)
intTrimRightEx(int startIdx, int endIdx)
Public Static methods
ReturnsName
boolIsWS(char c)
stringProcessLTR(string s, int runDirection, int arabicOptions)

Details

Constructors

BidiLine [1/2]

Source code

public BidiLine()
BidiLine [2/2]

Source code

public BidiLine(BidiLine org)
Arguments
TypeNameDescription
BidiLineorg

Methods

IsEmpty

Source code

public virtual bool IsEmpty()
ClearChunks

Source code

public virtual void ClearChunks()
GetParagraph

Source code

public virtual bool GetParagraph(int runDirection)
Arguments
TypeNameDescription
intrunDirection
AddChunk

Source code

public virtual void AddChunk(PdfChunk chunk)
Arguments
TypeNameDescription
PdfChunkchunk
AddChunks

Source code

public virtual void AddChunks(List<PdfChunk> chunks)
Arguments
TypeNameDescription
List<PdfChunk>chunks
AddPiece

Source code

public virtual void AddPiece(char c, PdfChunk chunk)
Arguments
TypeNameDescription
charc
PdfChunkchunk
Save

Source code

public virtual void Save()
Restore

Source code

public virtual void Restore()
MirrorGlyphs

Source code

public virtual void MirrorGlyphs()
DoArabicShapping

Source code

public virtual void DoArabicShapping()
ProcessLine

Source code

public virtual PdfLine ProcessLine(float leftX, float width, int alignment, int runDirection, int arabicOptions, float minY, float yLine, float descender)
Arguments
TypeNameDescription
floatleftX
floatwidth
intalignment
intrunDirection
intarabicOptions
floatminY
floatyLine
floatdescender
IsWordSplit

Source code

public virtual bool IsWordSplit()
GetWidth [1/2]

Source code

public virtual float GetWidth(int startIdx, int lastIdx)
Arguments
TypeNameDescription
intstartIdx
intlastIdx
GetWidth [2/2]

Source code

public virtual float GetWidth(int startIdx, int lastIdx, float originalWidth)
Arguments
TypeNameDescription
intstartIdx
intlastIdx
floatoriginalWidth
CreateArrayOfPdfChunks [1/2]

Source code

public virtual List<PdfChunk> CreateArrayOfPdfChunks(int startIdx, int endIdx)
Arguments
TypeNameDescription
intstartIdx
intendIdx
CreateArrayOfPdfChunks [2/2]

Source code

public virtual List<PdfChunk> CreateArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk)
Arguments
TypeNameDescription
intstartIdx
intendIdx
PdfChunkextraPdfChunk
GetWord

Source code

public virtual int GetWord(int startIdx, int idx)
Arguments
TypeNameDescription
intstartIdx
intidx
TrimRight

Source code

public virtual int TrimRight(int startIdx, int endIdx)
Arguments
TypeNameDescription
intstartIdx
intendIdx
TrimLeft

Source code

public virtual int TrimLeft(int startIdx, int endIdx)
Arguments
TypeNameDescription
intstartIdx
intendIdx
TrimRightEx

Source code

public virtual int TrimRightEx(int startIdx, int endIdx)
Arguments
TypeNameDescription
intstartIdx
intendIdx
TrimLeftEx

Source code

public virtual int TrimLeftEx(int startIdx, int endIdx)
Arguments
TypeNameDescription
intstartIdx
intendIdx
Reorder

Source code

public virtual void Reorder(int start, int end)
Arguments
TypeNameDescription
intstart
intend
Flip

Source code

public virtual void Flip(int start, int end)
Arguments
TypeNameDescription
intstart
intend
IsWS

Source code

public static bool IsWS(char c)
Arguments
TypeNameDescription
charc
ProcessLTR

Source code

public static string ProcessLTR(string s, int runDirection, int arabicOptions)
Arguments
TypeNameDescription
strings
intrunDirection
intarabicOptions

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.