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

📄 pdfcell.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfCell.html#setUseAscender(boolean)">setUseAscender</A></B>(boolean&nbsp;use)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of useAscender.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfCell.html#setUseBorderPadding(boolean)">setUseBorderPadding</A></B>(boolean&nbsp;use)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of useBorderPadding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfCell.html#setUseDescender(boolean)">setUseDescender</A></B>(boolean&nbsp;use)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of useDescender.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfCell.html#size()">size</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of lines in the cell.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.lowagie.text.Rectangle"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.lowagie.text.<A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/lowagie/text/Rectangle.html#cloneNonPositionParameters(com.lowagie.text.Rectangle)">cloneNonPositionParameters</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#disableBorderSide(int)">disableBorderSide</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#enableBorderSide(int)">enableBorderSide</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBackgroundColor()">getBackgroundColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorder()">getBorder</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderColor()">getBorderColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderColorBottom()">getBorderColorBottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderColorLeft()">getBorderColorLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderColorRight()">getBorderColorRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderColorTop()">getBorderColorTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderWidth()">getBorderWidth</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderWidthBottom()">getBorderWidthBottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderWidthLeft()">getBorderWidthLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderWidthRight()">getBorderWidthRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBorderWidthTop()">getBorderWidthTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getBottom(float)">getBottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getChunks()">getChunks</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getGrayFill()">getGrayFill</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getHeight()">getHeight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getLeft(float)">getLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getRight(float)">getRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getRotation()">getRotation</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getTop(float)">getTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getWidth()">getWidth</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#hasBorder(int)">hasBorder</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#hasBorders()">hasBorders</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#isContent()">isContent</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#isNestable()">isNestable</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#isUseVariableBorders()">isUseVariableBorders</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#normalize()">normalize</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#process(com.lowagie.text.ElementListener)">process</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#rotate()">rotate</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBackgroundColor(java.awt.Color)">setBackgroundColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorder(int)">setBorder</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderColor(java.awt.Color)">setBorderColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderColorBottom(java.awt.Color)">setBorderColorBottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderColorLeft(java.awt.Color)">setBorderColorLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderColorRight(java.awt.Color)">setBorderColorRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderColorTop(java.awt.Color)">setBorderColorTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderWidth(float)">setBorderWidth</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderWidthBottom(float)">setBorderWidthBottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderWidthLeft(float)">setBorderWidthLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderWidthRight(float)">setBorderWidthRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBorderWidthTop(float)">setBorderWidthTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setGrayFill(float)">setGrayFill</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setLeft(float)">setLeft</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setRight(float)">setRight</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setTop(float)">setTop</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setUseVariableBorders(boolean)">setUseVariableBorders</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#softCloneNonPositionParameters(com.lowagie.text.Rectangle)">softCloneNonPositionParameters</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#toString()">toString</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#type()">type</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<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></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="lines"><!-- --></A><H3>lines</H3><PRE>private <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>lines</B></PRE><DL><DD>These are the PdfLines in the Cell.<P><DL></DL></DL><HR><A NAME="line"><!-- --></A><H3>line</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfLine.html" title="class in com.lowagie.text.pdf">PdfLine</A> <B>line</B></PRE><DL><DD>These are the PdfLines in the Cell.<P><DL></DL></DL><HR><A NAME="images"><!-- --></A><H3>images</H3><PRE>private <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>images</B></PRE><DL><DD>These are the Images in the Cell.<P><DL></DL></DL><HR><A NAME="leading"><!-- --></A><H3>leading</H3><PRE>private float <B>leading</B></PRE><DL><DD>This is the leading of the lines.<P><DL></DL></DL><HR><A NAME="rownumber"><!-- --></A><H3>rownumber</H3><PRE>private int <B>rownumber</B></PRE><DL><DD>This is the number of the row the cell is in.<P><DL></DL></DL><HR><A NAME="rowspan"><!-- --></A><H3>rowspan</H3><PRE>private int <B>rowspan</B></PRE><DL><DD>This is the rowspan of the cell.<P><DL></DL></DL><HR><A NAME="cellspacing"><!-- --></A><H3>cellspacing</H3><PRE>private float <B>cellspacing</B></PRE><DL><DD>This is the cellspacing of the cell.<P><DL></DL></DL><HR><A NAME="cellpadding"><!-- --></A><H3>cellpadding</H3><PRE>private float <B>cellpadding</B></PRE><DL><DD>This is the cellpadding of the cell.<P><DL></DL></DL><HR><A NAME="header"><!-- --></A><H3>header</H3><PRE>private boolean <B>header</B></PRE><DL><DD>Indicates if this cell belongs to the header of a <CODE>PdfTable</CODE><P><DL></DL></DL><HR><A NAME="contentHeight"><!-- --></A><H3>contentHeight</H3><PRE>private float <B>contentHeight</B></PRE><DL><DD>This is the total height of the content of the cell.  Note that the actual cell height may be larger due to another cell on the row *<P><DL></DL></DL><HR><A NAME="useAscender"><!-- --></A><H3>useAscender</H3><PRE>private boolean <B>useAscender</B></PRE><DL><DD>Indicates that the largest ascender height should be used to determine the height of the first line. Setting this to true can help with vertical alignment problems.<P><DL></DL></DL><HR><A NAME="useDescender"><!-- --></A><H3>useDescender</H3><PRE>private boolean <B>useDescender</B></PRE><DL><DD>Indicates that the largest descender height should be added to the height of the last line (so characters like y don't dip into the border).<P><DL></DL></DL><HR><A NAME="useBorderPadding"><!-- --></A><H3>useBorderPadding</H3><PRE>private boolean <B>useBorderPadding</B></PRE><DL><DD>Adjusts the cell contents to compensate for border widths.<P><DL></DL></DL><HR><A NAME="verticalAlignment"><!-- --></A><H3>verticalAlignment</H3><PRE>private int <B>verticalAlignment</B></PRE><DL><DL></DL></DL><HR><A NAME="firstLine"><!-- --></A><H3>firstLine</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfLine.html" title="class in com.lowagie.text.pdf">PdfLine</A> <B>firstLine</B></PRE><DL><DL></DL></DL><HR><A NAME="lastLine"><!-- --></A><H3>lastLine</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfLine.html" title="class in com.lowagie.text.pdf">PdfLine</A> <B>lastLine</B></PRE><DL><DL></DL></DL><HR><A NAME="groupNumber"><!-- --></A><H3>groupNumber</H3><PRE>private int <B>groupNumber</B></PRE><DL><DD>This is the number of the group the cell is in.<P><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="PdfCell(com.lowagie.text.Cell, int, float, float, float, float, float)"><!-- --></A><H3>PdfCell</H3><PRE>public <B>PdfCell</B>(<A HREF="../../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A>&nbsp;cell,               int&nbsp;rownumber,               float&nbsp;left,               float&nbsp;right,               float&nbsp;top,               float&nbsp;cellspacing,               float&nbsp;cellpadding)</PRE><DL><DD>Constructs a <CODE>PdfCell</CODE>-object.<P><DL><DT><B>Parameters:</B><DD><CODE>cell</CODE> - the original <CODE>Cell</CODE><DD><CODE>rownumber</CODE> - the number of the <CODE>Row</CODE> the <CODE>Cell</CODE> was in.<DD><CODE>left</CODE> - the left border of the <CODE>PdfCell</CODE><DD><CODE>right</CODE> - the right border of the <CODE>PdfCell</CODE><DD><CODE>top</CODE> - the top border of the <CODE>PdfCell</CODE><DD><CODE>cellspacing</CODE> - the cellspacing of the <CODE>Table</CODE><DD><CODE>cellpadding</CODE> - the cellpadding of the <CODE>Table</CODE></DL></DL>

⌨️ 快捷键说明

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