📄 element.html
字号:
<HR><A NAME="ALIGN_JUSTIFIED"><!-- --></A><H3>ALIGN_JUSTIFIED</H3><PRE>static final int <B>ALIGN_JUSTIFIED</B></PRE><DL><DD>A possible value for paragraph alignment. This specifies that extra whitespace should be spread out through the rows of the paragraph with the text lined up with the left and right indent except on the last line which should be aligned to the left.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_JUSTIFIED">Constant Field Values</A></DL></DL><HR><A NAME="ALIGN_TOP"><!-- --></A><H3>ALIGN_TOP</H3><PRE>static final int <B>ALIGN_TOP</B></PRE><DL><DD>A possible value for vertical alignment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_TOP">Constant Field Values</A></DL></DL><HR><A NAME="ALIGN_MIDDLE"><!-- --></A><H3>ALIGN_MIDDLE</H3><PRE>static final int <B>ALIGN_MIDDLE</B></PRE><DL><DD>A possible value for vertical alignment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_MIDDLE">Constant Field Values</A></DL></DL><HR><A NAME="ALIGN_BOTTOM"><!-- --></A><H3>ALIGN_BOTTOM</H3><PRE>static final int <B>ALIGN_BOTTOM</B></PRE><DL><DD>A possible value for vertical alignment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_BOTTOM">Constant Field Values</A></DL></DL><HR><A NAME="ALIGN_BASELINE"><!-- --></A><H3>ALIGN_BASELINE</H3><PRE>static final int <B>ALIGN_BASELINE</B></PRE><DL><DD>A possible value for vertical alignment.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_BASELINE">Constant Field Values</A></DL></DL><HR><A NAME="ALIGN_JUSTIFIED_ALL"><!-- --></A><H3>ALIGN_JUSTIFIED_ALL</H3><PRE>static final int <B>ALIGN_JUSTIFIED_ALL</B></PRE><DL><DD>Does the same as ALIGN_JUSTIFIED but the last line is also spread out.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.ALIGN_JUSTIFIED_ALL">Constant Field Values</A></DL></DL><HR><A NAME="CCITTG4"><!-- --></A><H3>CCITTG4</H3><PRE>static final int <B>CCITTG4</B></PRE><DL><DD>Pure two-dimensional encoding (Group 4)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITTG4">Constant Field Values</A></DL></DL><HR><A NAME="CCITTG3_1D"><!-- --></A><H3>CCITTG3_1D</H3><PRE>static final int <B>CCITTG3_1D</B></PRE><DL><DD>Pure one-dimensional encoding (Group 3, 1-D)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITTG3_1D">Constant Field Values</A></DL></DL><HR><A NAME="CCITTG3_2D"><!-- --></A><H3>CCITTG3_2D</H3><PRE>static final int <B>CCITTG3_2D</B></PRE><DL><DD>Mixed one- and two-dimensional encoding (Group 3, 2-D)<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITTG3_2D">Constant Field Values</A></DL></DL><HR><A NAME="CCITT_BLACKIS1"><!-- --></A><H3>CCITT_BLACKIS1</H3><PRE>static final int <B>CCITT_BLACKIS1</B></PRE><DL><DD>A flag indicating whether 1-bits are to be interpreted as black pixels and 0-bits as white pixels,<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITT_BLACKIS1">Constant Field Values</A></DL></DL><HR><A NAME="CCITT_ENCODEDBYTEALIGN"><!-- --></A><H3>CCITT_ENCODEDBYTEALIGN</H3><PRE>static final int <B>CCITT_ENCODEDBYTEALIGN</B></PRE><DL><DD>A flag indicating whether the filter expects extra 0-bits before each encoded line so that the line begins on a byte boundary.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITT_ENCODEDBYTEALIGN">Constant Field Values</A></DL></DL><HR><A NAME="CCITT_ENDOFLINE"><!-- --></A><H3>CCITT_ENDOFLINE</H3><PRE>static final int <B>CCITT_ENDOFLINE</B></PRE><DL><DD>A flag indicating whether end-of-line bit patterns are required to be present in the encoding.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITT_ENDOFLINE">Constant Field Values</A></DL></DL><HR><A NAME="CCITT_ENDOFBLOCK"><!-- --></A><H3>CCITT_ENDOFBLOCK</H3><PRE>static final int <B>CCITT_ENDOFBLOCK</B></PRE><DL><DD>A flag indicating whether the filter expects the encoded data to be terminated by an end-of-block pattern, overriding the Rows parameter. The use of this flag will set the key /EndOfBlock to false.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lowagie.text.Element.CCITT_ENDOFBLOCK">Constant Field Values</A></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="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>process</H3><PRE>boolean <B>process</B>(<A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</PRE><DL><DD>Processes the element by adding it (or the different parts) to an <CODE> ElementListener</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - an <CODE>ElementListener</CODE><DT><B>Returns:</B><DD><CODE>true</CODE> if the element was processed successfully</DL></DD></DL><HR><A NAME="type()"><!-- --></A><H3>type</H3><PRE>int <B>type</B>()</PRE><DL><DD>Gets the type of the text element.<P><DD><DL><DT><B>Returns:</B><DD>a type</DL></DD></DL><HR><A NAME="isContent()"><!-- --></A><H3>isContent</H3><PRE>boolean <B>isContent</B>()</PRE><DL><DD>Checks if this element is a content object. If not, it's a metadata object.<P><DD><DL><DT><B>Returns:</B><DD>true if this is a 'content' element; false if this is a 'metadata' element<DT><B>Since:</B></DT> <DD>iText 2.0.8</DD></DL></DD></DL><HR><A NAME="isNestable()"><!-- --></A><H3>isNestable</H3><PRE>boolean <B>isNestable</B>()</PRE><DL><DD>Checks if this element is nestable.<P><DD><DL><DT><B>Returns:</B><DD>true if this element can be nested inside other elements.<DT><B>Since:</B></DT> <DD>iText 2.0.8</DD></DL></DD></DL><HR><A NAME="getChunks()"><!-- --></A><H3>getChunks</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getChunks</B>()</PRE><DL><DD>Gets all the chunks in this element.<P><DD><DL><DT><B>Returns:</B><DD>an <CODE>ArrayList</CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Gets the content of the text element.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a type</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/lowagie/text/DocWriter.html" title="class in com.lowagie.text"><B>PREV CLASS</B></A> <A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?com/lowagie/text/Element.html" target="_top"><B>FRAMES</B></A> <A HREF="Element.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -