⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bidiorder.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="LRO"><!-- --></A><H3>LRO</H3><PRE>public static final byte <B>LRO</B></PRE><DL><DD>Left-to-Right Override<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.LRO">Constant Field Values</A></DL></DL><HR><A NAME="R"><!-- --></A><H3>R</H3><PRE>public static final byte <B>R</B></PRE><DL><DD>Right-to-Left<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.R">Constant Field Values</A></DL></DL><HR><A NAME="AL"><!-- --></A><H3>AL</H3><PRE>public static final byte <B>AL</B></PRE><DL><DD>Right-to-Left Arabic<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.AL">Constant Field Values</A></DL></DL><HR><A NAME="RLE"><!-- --></A><H3>RLE</H3><PRE>public static final byte <B>RLE</B></PRE><DL><DD>Right-to-Left Embedding<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.RLE">Constant Field Values</A></DL></DL><HR><A NAME="RLO"><!-- --></A><H3>RLO</H3><PRE>public static final byte <B>RLO</B></PRE><DL><DD>Right-to-Left Override<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.RLO">Constant Field Values</A></DL></DL><HR><A NAME="PDF"><!-- --></A><H3>PDF</H3><PRE>public static final byte <B>PDF</B></PRE><DL><DD>Pop Directional Format<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.PDF">Constant Field Values</A></DL></DL><HR><A NAME="EN"><!-- --></A><H3>EN</H3><PRE>public static final byte <B>EN</B></PRE><DL><DD>European Number<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.EN">Constant Field Values</A></DL></DL><HR><A NAME="ES"><!-- --></A><H3>ES</H3><PRE>public static final byte <B>ES</B></PRE><DL><DD>European Number Separator<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.ES">Constant Field Values</A></DL></DL><HR><A NAME="ET"><!-- --></A><H3>ET</H3><PRE>public static final byte <B>ET</B></PRE><DL><DD>European Number Terminator<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.ET">Constant Field Values</A></DL></DL><HR><A NAME="AN"><!-- --></A><H3>AN</H3><PRE>public static final byte <B>AN</B></PRE><DL><DD>Arabic Number<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.AN">Constant Field Values</A></DL></DL><HR><A NAME="CS"><!-- --></A><H3>CS</H3><PRE>public static final byte <B>CS</B></PRE><DL><DD>Common Number Separator<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.CS">Constant Field Values</A></DL></DL><HR><A NAME="NSM"><!-- --></A><H3>NSM</H3><PRE>public static final byte <B>NSM</B></PRE><DL><DD>Non-Spacing Mark<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.NSM">Constant Field Values</A></DL></DL><HR><A NAME="BN"><!-- --></A><H3>BN</H3><PRE>public static final byte <B>BN</B></PRE><DL><DD>Boundary Neutral<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.BN">Constant Field Values</A></DL></DL><HR><A NAME="B"><!-- --></A><H3>B</H3><PRE>public static final byte <B>B</B></PRE><DL><DD>Paragraph Separator<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.B">Constant Field Values</A></DL></DL><HR><A NAME="S"><!-- --></A><H3>S</H3><PRE>public static final byte <B>S</B></PRE><DL><DD>Segment Separator<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.S">Constant Field Values</A></DL></DL><HR><A NAME="WS"><!-- --></A><H3>WS</H3><PRE>public static final byte <B>WS</B></PRE><DL><DD>Whitespace<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.WS">Constant Field Values</A></DL></DL><HR><A NAME="ON"><!-- --></A><H3>ON</H3><PRE>public static final byte <B>ON</B></PRE><DL><DD>Other Neutrals<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.ON">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_MIN"><!-- --></A><H3>TYPE_MIN</H3><PRE>public static final byte <B>TYPE_MIN</B></PRE><DL><DD>Minimum bidi type value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.TYPE_MIN">Constant Field Values</A></DL></DL><HR><A NAME="TYPE_MAX"><!-- --></A><H3>TYPE_MAX</H3><PRE>public static final byte <B>TYPE_MAX</B></PRE><DL><DD>Maximum bidi type value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BidiOrder.TYPE_MAX">Constant Field Values</A></DL></DL><HR><A NAME="rtypes"><!-- --></A><H3>rtypes</H3><PRE>private static final byte[] <B>rtypes</B></PRE><DL><DL></DL></DL><HR><A NAME="baseTypes"><!-- --></A><H3>baseTypes</H3><PRE>private static char[] <B>baseTypes</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BidiOrder(byte[])"><!-- --></A><H3>BidiOrder</H3><PRE>public <B>BidiOrder</B>(byte[]&nbsp;types)</PRE><DL><DD>Initialize using an array of direction types.  Types range from TYPE_MIN to TYPE_MAX inclusive and represent the direction codes of the characters in the text.<P><DL><DT><B>Parameters:</B><DD><CODE>types</CODE> - the types array</DL></DL><HR><A NAME="BidiOrder(byte[], byte)"><!-- --></A><H3>BidiOrder</H3><PRE>public <B>BidiOrder</B>(byte[]&nbsp;types,                 byte&nbsp;paragraphEmbeddingLevel)</PRE><DL><DD>Initialize using an array of direction types and an externally supplied paragraph embedding level. The embedding level may be -1, 0, or 1.  -1 means to apply the default algorithm (rules P2 and P3), 0 is for LTR paragraphs, and 1 is for RTL paragraphs.<P><DL><DT><B>Parameters:</B><DD><CODE>types</CODE> - the types array<DD><CODE>paragraphEmbeddingLevel</CODE> - the externally supplied paragraph embedding level.</DL></DL><HR><A NAME="BidiOrder(char[], int, int, byte)"><!-- --></A><H3>BidiOrder</H3><PRE>public <B>BidiOrder</B>(char[]&nbsp;text,                 int&nbsp;offset,                 int&nbsp;length,                 byte&nbsp;paragraphEmbeddingLevel)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDirection(char)"><!-- --></A><H3>getDirection</H3><PRE>public static final byte <B>getDirection</B>(char&nbsp;c)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="runAlgorithm()"><!-- --></A><H3>runAlgorithm</H3><PRE>private void <B>runAlgorithm</B>()</PRE><DL><DD>The algorithm. Does not include line-based processing (Rules L1, L2). These are applied later in the line-based phase of the algorithm.<P><DD><DL></DL></DD></DL><HR><A NAME="determineParagraphEmbeddingLevel()"><!-- --></A><H3>determineParagraphEmbeddingLevel</H3><PRE>private void <B>determineParagraphEmbeddingLevel</B>()</PRE><DL><DD>1) determining the paragraph level. <p> Rules P2, P3. <p> At the end of this function, the member variable paragraphEmbeddingLevel is set to either 0 or 1.<P><DD><DL></DL></DD></DL><HR><A NAME="determineExplicitEmbeddingLevels()"><!-- --></A><H3>determineExplicitEmbeddingLevels</H3><PRE>private void <B>determineExplicitEmbeddingLevels</B>()</PRE><DL><DD>Process embedding format codes. <p> Calls processEmbeddings to generate an embedding array from the explicit format codes.  The embedding overrides in the array are then applied to the result types, and the result levels are initialized.<P><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../com/lowagie/text/pdf/BidiOrder.html#processEmbeddings(byte[], byte)"><CODE>processEmbeddings(byte[], byte)</CODE></A></DL></DD></DL><HR><A NAME="removeExplicitCodes()"><!-- --></A><H3>removeExplicitCodes</H3><PRE>private int <B>removeExplicitCodes</B>()</PRE><DL><DD>Rules X9. Remove explicit codes so that they may be ignored during the remainder of the main portion of the algorithm.  The length of the resulting text is returned.<P><DD><DL><DT><B>Returns:</B><DD>the length of the data excluding explicit codes and BN.</DL></DD></DL><HR><A NAME="reinsertExplicitCodes(int)"><!-- --></A><H3>reinsertExplicitCodes</H3><PRE>private int <B>reinsertExplicitCodes</B>(int&nbsp;textLength)</PRE>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -