📄 arabicshaping.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#shape(char[], int, int)">shape</A></B>(char[] source, int start, int length)</CODE>
<BR>
Convert a range of text in place. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#shape(char[], int, int, char[], int, int)">shape</A></B>(char[] source, int sourceStart, int sourceLength, char[] dest, int destStart, int destSize)</CODE>
<BR>
Convert a range of text in the source array, putting the result into a range of text in the destination array, and return the number of characters written.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#shape(java.lang.String)">shape</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text)</CODE>
<BR>
Convert a string, returning the new string.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#shapeToArabicDigitsWithContext(char[], int, int, char, boolean)">shapeToArabicDigitsWithContext</A></B>(char[] dest, int start, int length, char digitBase, boolean lastStrongWasAL)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#shapeUnicode(char[], int, int, int, int)">shapeUnicode</A></B>(char[] dest, int start, int length, int destSize, int tashkeelFlag)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#specialChar(char)">specialChar</A></B>(char ch)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/ArabicShaping.html#toString()">toString</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="options"><!-- --></A><H3>
options</H3>
<PRE>
private final int <B>options</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="isLogical"><!-- --></A><H3>
isLogical</H3>
<PRE>
private boolean <B>isLogical</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="LENGTH_GROW_SHRINK"><!-- --></A><H3>
LENGTH_GROW_SHRINK</H3>
<PRE>
public static final int <B>LENGTH_GROW_SHRINK</B></PRE>
<DL>
<DD>Memory option: allow the result to have a different length than the source.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LENGTH_GROW_SHRINK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LENGTH_FIXED_SPACES_NEAR"><!-- --></A><H3>
LENGTH_FIXED_SPACES_NEAR</H3>
<PRE>
public static final int <B>LENGTH_FIXED_SPACES_NEAR</B></PRE>
<DL>
<DD>Memory option: the result must have the same length as the source. If more room is necessary, then try to consume spaces next to modified characters.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LENGTH_FIXED_SPACES_NEAR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LENGTH_FIXED_SPACES_AT_END"><!-- --></A><H3>
LENGTH_FIXED_SPACES_AT_END</H3>
<PRE>
public static final int <B>LENGTH_FIXED_SPACES_AT_END</B></PRE>
<DL>
<DD>Memory option: the result must have the same length as the source. If more room is necessary, then try to consume spaces at the end of the text.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LENGTH_FIXED_SPACES_AT_END">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LENGTH_FIXED_SPACES_AT_BEGINNING"><!-- --></A><H3>
LENGTH_FIXED_SPACES_AT_BEGINNING</H3>
<PRE>
public static final int <B>LENGTH_FIXED_SPACES_AT_BEGINNING</B></PRE>
<DL>
<DD>Memory option: the result must have the same length as the source. If more room is necessary, then try to consume spaces at the beginning of the text.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LENGTH_FIXED_SPACES_AT_BEGINNING">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LENGTH_MASK"><!-- --></A><H3>
LENGTH_MASK</H3>
<PRE>
public static final int <B>LENGTH_MASK</B></PRE>
<DL>
<DD>Bit mask for memory options.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LENGTH_MASK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TEXT_DIRECTION_LOGICAL"><!-- --></A><H3>
TEXT_DIRECTION_LOGICAL</H3>
<PRE>
public static final int <B>TEXT_DIRECTION_LOGICAL</B></PRE>
<DL>
<DD>Direction indicator: the source is in logical (keyboard) order.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.TEXT_DIRECTION_LOGICAL">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TEXT_DIRECTION_VISUAL_LTR"><!-- --></A><H3>
TEXT_DIRECTION_VISUAL_LTR</H3>
<PRE>
public static final int <B>TEXT_DIRECTION_VISUAL_LTR</B></PRE>
<DL>
<DD>Direction indicator: the source is in visual (display) order, that is, the leftmost displayed character is stored first.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.TEXT_DIRECTION_VISUAL_LTR">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="TEXT_DIRECTION_MASK"><!-- --></A><H3>
TEXT_DIRECTION_MASK</H3>
<PRE>
public static final int <B>TEXT_DIRECTION_MASK</B></PRE>
<DL>
<DD>Bit mask for direction indicators.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.TEXT_DIRECTION_MASK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LETTERS_NOOP"><!-- --></A><H3>
LETTERS_NOOP</H3>
<PRE>
public static final int <B>LETTERS_NOOP</B></PRE>
<DL>
<DD>Letter shaping option: do not perform letter shaping.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LETTERS_NOOP">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LETTERS_SHAPE"><!-- --></A><H3>
LETTERS_SHAPE</H3>
<PRE>
public static final int <B>LETTERS_SHAPE</B></PRE>
<DL>
<DD>Letter shaping option: replace normative letter characters in the U+0600 (Arabic) block, by shaped ones in the U+FE70 (Presentation Forms B) block. Performs Lam-Alef ligature substitution.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LETTERS_SHAPE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LETTERS_UNSHAPE"><!-- --></A><H3>
LETTERS_UNSHAPE</H3>
<PRE>
public static final int <B>LETTERS_UNSHAPE</B></PRE>
<DL>
<DD>Letter shaping option: replace shaped letter characters in the U+FE70 (Presentation Forms B) block by normative ones in the U+0600 (Arabic) block. Converts Lam-Alef ligatures to pairs of Lam and Alef characters, consuming spaces if required.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LETTERS_UNSHAPE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LETTERS_SHAPE_TASHKEEL_ISOLATED"><!-- --></A><H3>
LETTERS_SHAPE_TASHKEEL_ISOLATED</H3>
<PRE>
public static final int <B>LETTERS_SHAPE_TASHKEEL_ISOLATED</B></PRE>
<DL>
<DD>Letter shaping option: replace normative letter characters in the U+0600 (Arabic) block, except for the TASHKEEL characters at U+064B...U+0652, by shaped ones in the U+Fe70 (Presentation Forms B) block. The TASHKEEL characters will always be converted to the isolated forms rather than to their correct shape.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LETTERS_SHAPE_TASHKEEL_ISOLATED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="LETTERS_MASK"><!-- --></A><H3>
LETTERS_MASK</H3>
<PRE>
public static final int <B>LETTERS_MASK</B></PRE>
<DL>
<DD>Bit mask for letter shaping options.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.LETTERS_MASK">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DIGITS_NOOP"><!-- --></A><H3>
DIGITS_NOOP</H3>
<PRE>
public static final int <B>DIGITS_NOOP</B></PRE>
<DL>
<DD>Digit shaping option: do not perform digit shaping.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.DIGITS_NOOP">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DIGITS_EN2AN"><!-- --></A><H3>
DIGITS_EN2AN</H3>
<PRE>
public static final int <B>DIGITS_EN2AN</B></PRE>
<DL>
<DD>Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.DIGITS_EN2AN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DIGITS_AN2EN"><!-- --></A><H3>
DIGITS_AN2EN</H3>
<PRE>
public static final int <B>DIGITS_AN2EN</B></PRE>
<DL>
<DD>Digit shaping option: Replace Arabic-Indic digits by European digits (U+0030...U+0039).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.ArabicShaping.DIGITS_AN2EN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="DIGITS_EN2AN_INIT_LR"><!-- --></A><H3>
DIGITS_EN2AN_INIT_LR</H3>
<PRE>
public static final int <B>DIGITS_EN2AN_INIT_LR</B></PRE>
<DL>
<DD>Digit shaping option: Replace European digits (U+0030...U+0039) by Arabic-Indic digits
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -