📄 multicolumntext.html
字号:
<HR><A NAME="type()"><!-- --></A><H3>type</H3><PRE>public int <B>type</B>()</PRE><DL><DD>Gets the type of the text element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/Element.html#type()">type</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a type</DL></DD></DL><HR><A NAME="getChunks()"><!-- --></A><H3>getChunks</H3><PRE>public <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>Returns null - not used<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/Element.html#getChunks()">getChunks</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>null</DL></DD></DL><HR><A NAME="isContent()"><!-- --></A><H3>isContent</H3><PRE>public boolean <B>isContent</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/Element.html#isContent()">Element</A></CODE></B></DD><DD>Checks if this element is a content object. If not, it's a metadata object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/Element.html#isContent()">isContent</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><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><DT><B>See Also:</B><DD><A HREF="../../../../com/lowagie/text/Element.html#isContent()"><CODE>Element.isContent()</CODE></A></DL></DD></DL><HR><A NAME="isNestable()"><!-- --></A><H3>isNestable</H3><PRE>public boolean <B>isNestable</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../com/lowagie/text/Element.html#isNestable()">Element</A></CODE></B></DD><DD>Checks if this element is nestable.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/Element.html#isNestable()">isNestable</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><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><DT><B>See Also:</B><DD><A HREF="../../../../com/lowagie/text/Element.html#isNestable()"><CODE>Element.isNestable()</CODE></A></DL></DD></DL><HR><A NAME="getColumnBottom()"><!-- --></A><H3>getColumnBottom</H3><PRE>private float <B>getColumnBottom</B>()</PRE><DL><DD>Calculates the appropriate y position for the bottom of the columns on this page.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the y position of the bottom of the columns</DL></DD></DL><HR><A NAME="nextColumn()"><!-- --></A><H3>nextColumn</H3><PRE>public void <B>nextColumn</B>() throws <A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></PRE><DL><DD>Moves the text insertion point to the beginning of the next column, issuing a page break if needed.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getCurrentColumn()"><!-- --></A><H3>getCurrentColumn</H3><PRE>public int <B>getCurrentColumn</B>()</PRE><DL><DD>Gets the current column.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current column</DL></DD></DL><HR><A NAME="resetCurrentColumn()"><!-- --></A><H3>resetCurrentColumn</H3><PRE>public void <B>resetCurrentColumn</B>()</PRE><DL><DD>Resets the current column.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="shiftCurrentColumn()"><!-- --></A><H3>shiftCurrentColumn</H3><PRE>public boolean <B>shiftCurrentColumn</B>()</PRE><DL><DD>Shifts the current column.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the current column has changed</DL></DD></DL><HR><A NAME="setColumnsRightToLeft(boolean)"><!-- --></A><H3>setColumnsRightToLeft</H3><PRE>public void <B>setColumnsRightToLeft</B>(boolean direction)</PRE><DL><DD>Sets the direction of the columns.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>direction</CODE> - true = right2left; false = left2right</DL></DD></DL><HR><A NAME="setSpaceCharRatio(float)"><!-- --></A><H3>setSpaceCharRatio</H3><PRE>public void <B>setSpaceCharRatio</B>(float spaceCharRatio)</PRE><DL><DD>Sets the ratio between the extra word spacing and the extra character spacing when the text is fully justified. Extra word spacing will grow <CODE>spaceCharRatio</CODE> times more than extra character spacing. If the ratio is <CODE>PdfWriter.NO_SPACE_CHAR_RATIO</CODE> then the extra character spacing will be zero.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>spaceCharRatio</CODE> - the ratio between the extra word spacing and the extra character spacing</DL></DD></DL><HR><A NAME="setRunDirection(int)"><!-- --></A><H3>setRunDirection</H3><PRE>public void <B>setRunDirection</B>(int runDirection)</PRE><DL><DD>Sets the run direction.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>runDirection</CODE> - the run direction</DL></DD></DL><HR><A NAME="setArabicOptions(int)"><!-- --></A><H3>setArabicOptions</H3><PRE>public void <B>setArabicOptions</B>(int arabicOptions)</PRE><DL><DD>Sets the arabic shaping options. The option can be AR_NOVOWEL, AR_COMPOSEDTASHKEEL and AR_LIG.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arabicOptions</CODE> - the arabic shaping options</DL></DD></DL><HR><A NAME="setAlignment(int)"><!-- --></A><H3>setAlignment</H3><PRE>public void <B>setAlignment</B>(int alignment)</PRE><DL><DD>Sets the default alignment<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alignment</CODE> - the default alignment</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/pdf/MappedRandomAccessFile.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/MultiColumnText.ColumnDef.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/MultiColumnText.html" target="_top"><B>FRAMES</B></A> <A HREF="MultiColumnText.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -