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
Returns | Name |
---|
void | AddChunk (PdfChunk chunk) |
void | AddChunks (List <PdfChunk > chunks) |
void | AddPiece (char c, PdfChunk chunk) |
void | ClearChunks () |
List <PdfChunk > | CreateArrayOfPdfChunks (... ) |
void | DoArabicShapping () |
void | Flip (int start, int end) |
bool | GetParagraph (int runDirection) |
float | GetWidth (... ) |
int``[] | GetWord (int startIdx, int idx) |
bool | IsEmpty () |
bool | IsWordSplit () |
void | MirrorGlyphs () |
PdfLine | ProcessLine (float leftX, float width, int alignment, int runDirection, int arabicOptions, float minY, float yLine, float descender) |
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) |
Public Static methods
Returns | Name |
---|
bool | IsWS (char c) |
string | ProcessLTR (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
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
Type | Name | Description |
---|
int | runDirection | |
AddChunk
Source code
public virtual void AddChunk(PdfChunk chunk)
Arguments
AddChunks
Source code
public virtual void AddChunks(List<PdfChunk> chunks)
Arguments
AddPiece
Source code
public virtual void AddPiece(char c, PdfChunk chunk)
Arguments
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
Type | Name | Description |
---|
float | leftX | |
float | width | |
int | alignment | |
int | runDirection | |
int | arabicOptions | |
float | minY | |
float | yLine | |
float | descender | |
IsWordSplit
Source code
public virtual bool IsWordSplit()
GetWidth [1/2]
Source code
public virtual float GetWidth(int startIdx, int lastIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | lastIdx | |
GetWidth [2/2]
Source code
public virtual float GetWidth(int startIdx, int lastIdx, float originalWidth)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | lastIdx | |
float | originalWidth | |
CreateArrayOfPdfChunks [1/2]
Source code
public virtual List<PdfChunk> CreateArrayOfPdfChunks(int startIdx, int endIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
CreateArrayOfPdfChunks [2/2]
Source code
public virtual List<PdfChunk> CreateArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
PdfChunk | extraPdfChunk | |
GetWord
Source code
public virtual int GetWord(int startIdx, int idx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | idx | |
TrimRight
Source code
public virtual int TrimRight(int startIdx, int endIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
TrimLeft
Source code
public virtual int TrimLeft(int startIdx, int endIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
TrimRightEx
Source code
public virtual int TrimRightEx(int startIdx, int endIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
TrimLeftEx
Source code
public virtual int TrimLeftEx(int startIdx, int endIdx)
Arguments
Type | Name | Description |
---|
int | startIdx | |
int | endIdx | |
Reorder
Source code
public virtual void Reorder(int start, int end)
Arguments
Type | Name | Description |
---|
int | start | |
int | end | |
Flip
Source code
public virtual void Flip(int start, int end)
Arguments
Type | Name | Description |
---|
int | start | |
int | end | |
IsWS
Source code
public static bool IsWS(char c)
Arguments
ProcessLTR
Source code
public static string ProcessLTR(string s, int runDirection, int arabicOptions)
Arguments
Type | Name | Description |
---|
string | s | |
int | runDirection | |
int | arabicOptions | |
Generated with ModularDoc