| java.lang.Object com.lowagie.text.pdf.ArabicLigaturizer
ArabicLigaturizer | public class ArabicLigaturizer (Code) | | Shape arabic characters. This code was converted from a C version
at www.pango.org.
author: Paulo Soares (psoares@consiste.pt) |
Inner Class :static class charstruct | |
Field Summary | |
final public static int | DIGITS_AN2EN Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039). | final public static int | DIGITS_EN2AN Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits. | final public 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). | final public 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). | final public static int | DIGITS_MASK Bit mask for digit shaping options. | final public static int | DIGIT_TYPE_AN Digit type option: Use Arabic-Indic digits (U+0660...U+0669). | final public static int | DIGIT_TYPE_AN_EXTENDED Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9). | final public static int | DIGIT_TYPE_MASK Bit mask for digit type options. | final public static int | ar_composedtashkeel | final public static int | ar_lig | final public static int | ar_nothing | final public static int | ar_novowel |
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(charstruct a) | static void | copycstostring(StringBuffer string, charstruct s, int level) | static void | doublelig(StringBuffer string, int level) | static boolean | isVowel(char s) | static int | ligature(char newchar, charstruct oldchar) | static void | processNumbers(char text, int offset, int length, int options) | static void | shape(char text, StringBuffer string, int level) | static void | shapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL) | static int | shapecount(char s) |
DIGITS_AN2EN | final public static int DIGITS_AN2EN(Code) | | Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039).
|
DIGITS_EN2AN | final public static int DIGITS_EN2AN(Code) | | Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits.
|
DIGITS_EN2AN_INIT_AL | final public static int DIGITS_EN2AN_INIT_AL(Code) | | 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).
The initial state at the start of the text is assumed to be an Arabic,
letter, so European digits at the start of the text will change.
Compare to DIGITS_ALEN2AN_INT_LR.
|
DIGITS_EN2AN_INIT_LR | final public static int DIGITS_EN2AN_INIT_LR(Code) | | 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).
The initial state at the start of the text is assumed to be not an Arabic,
letter, so European digits at the start of the text will not change.
Compare to DIGITS_ALEN2AN_INIT_AL.
|
DIGITS_MASK | final public static int DIGITS_MASK(Code) | | Bit mask for digit shaping options.
|
DIGIT_TYPE_AN | final public static int DIGIT_TYPE_AN(Code) | | Digit type option: Use Arabic-Indic digits (U+0660...U+0669).
|
DIGIT_TYPE_AN_EXTENDED | final public static int DIGIT_TYPE_AN_EXTENDED(Code) | | Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9).
|
DIGIT_TYPE_MASK | final public static int DIGIT_TYPE_MASK(Code) | | Bit mask for digit type options.
|
ar_composedtashkeel | final public static int ar_composedtashkeel(Code) | | |
ar_lig | final public static int ar_lig(Code) | | |
ar_nothing | final public static int ar_nothing(Code) | | |
ar_novowel | final public static int ar_novowel(Code) | | |
arabic_shape | static int arabic_shape(char src, int srcoffset, int srclength, char dest, int destoffset, int destlength, int level)(Code) | | |
charshape | static char charshape(char s, int which)(Code) | | |
connects_to_left | static boolean connects_to_left(charstruct a)(Code) | | |
copycstostring | static void copycstostring(StringBuffer string, charstruct s, int level)(Code) | | |
isVowel | static boolean isVowel(char s)(Code) | | |
ligature | static int ligature(char newchar, charstruct oldchar)(Code) | | |
processNumbers | static void processNumbers(char text, int offset, int length, int options)(Code) | | |
shapeToArabicDigitsWithContext | static void shapeToArabicDigitsWithContext(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL)(Code) | | |
shapecount | static int shapecount(char s)(Code) | | |
|
|