com.lowagie.text.pdf
public class ArabicLigaturizer extends Object
Nested Class Summary | |
---|---|
static class | ArabicLigaturizer.charstruct |
Field Summary | |
---|---|
static char | ALEF |
static char | ALEFHAMZA |
static char | ALEFHAMZABELOW |
static char | ALEFMADDA |
static char | ALEFMAKSURA |
static int | ar_composedtashkeel |
static int | ar_lig |
static int | ar_nothing |
static int | ar_novowel |
static char[][] | chartable |
static char | DAMMA |
static int | DIGITS_AN2EN
Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039). |
static int | DIGITS_EN2AN
Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits. |
static int | DIGITS_EN2AN_INIT_AL
Digit shaping option:
Replace European digits (U+0030...U+0039) by Arabic-Indic digits
if the most recent strongly directional character
is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC).
|
static int | DIGITS_EN2AN_INIT_LR
Digit shaping option:
Replace European digits (U+0030...U+0039) by Arabic-Indic digits
if the most recent strongly directional character
is an Arabic letter (its Bidi direction value is RIGHT_TO_LEFT_ARABIC).
|
static int | DIGITS_MASK
Bit mask for digit shaping options. |
static int | DIGITS_RESERVED Not a valid option value. |
static int | DIGIT_TYPE_AN
Digit type option: Use Arabic-Indic digits (U+0660...U+0669). |
static int | DIGIT_TYPE_AN_EXTENDED
Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9). |
static int | DIGIT_TYPE_MASK
Bit mask for digit type options. |
static char | FARSIYEH |
static char | FATHA |
static char | HAMZA |
static char | HAMZAABOVE |
static char | HAMZABELOW |
static char | KASRA |
static char | LAM |
static char | LAM_ALEF |
static char | LAM_ALEFHAMZA |
static char | LAM_ALEFHAMZABELOW |
static char | LAM_ALEFMADDA |
static char | MADDA |
static char | SHADDA |
static char | TATWEEL |
static char | WAW |
static char | WAWHAMZA |
static char | YEH |
static char | YEHHAMZA |
static char | ZWJ |
Method Summary | |
---|---|
static int | arabic_shape(char[] src, int srcoffset, int srclength, char[] dest, int destoffset, int destlength, int level) |
static char | charshape(char s, int which) |
static boolean | connects_to_left(ArabicLigaturizer.charstruct a) |
static void | copycstostring(StringBuffer string, ArabicLigaturizer.charstruct s, int level) |
static void | doublelig(StringBuffer string, int level) |
static boolean | isVowel(char s) |
static int | ligature(char newchar, ArabicLigaturizer.charstruct oldchar) |
static void | processNumbers(char[] text, int offset, int length, int options) |
static void | shape(char[] text, StringBuffer string, int level) |
static int | shapecount(char s) |
static void | shapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL) |