📄 pdfpcell.html
字号:
<BR>
Sets the ratio between the extra word spacing and the extra character spacing when the text is fully justified. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html#setTable(com.lowagie.text.pdf.PdfPTable)">setTable</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPTable.html">PdfPTable</A> table)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html#setVerticalAlignment(int)">setVerticalAlignment</A></B>(int verticalAlignment)</CODE>
<BR>
Sets the vertical alignment for the cell. </TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.lowagie.text.Rectangle"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class com.lowagie.text.<A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/lowagie/text/Rectangle.html#backgroundColor()">backgroundColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#border()">border</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#borderColor()">borderColor</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#borderWidth()">borderWidth</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#bottom()">bottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#bottom(float)">bottom</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getChunks()">getChunks</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getMarkupAttribute(java.lang.String)">getMarkupAttribute</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getMarkupAttributeNames()">getMarkupAttributeNames</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getMarkupAttributes()">getMarkupAttributes</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#getRotation()">getRotation</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#grayFill()">grayFill</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#height()">height</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#left()">left</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#left(float)">left</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#process(com.lowagie.text.ElementListener)">process</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#rectangle(float, float)">rectangle</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#right()">right</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#right(float)">right</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#setBorderWidth(float)">setBorderWidth</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setBottom(float)">setBottom</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#setMarkupAttribute(java.lang.String, java.lang.String)">setMarkupAttribute</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#setMarkupAttributes(java.util.Properties)">setMarkupAttributes</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#top()">top</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#top(float)">top</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#type()">type</A>, <A HREF="../../../../com/lowagie/text/Rectangle.html#width()">width</A></CODE></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#equals(java.lang.Object)">equals</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#hashCode()">hashCode</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#toString()">toString</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>
<A NAME="methods_inherited_from_class_com.lowagie.text.Element"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface com.lowagie.text.<A HREF="../../../../com/lowagie/text/Element.html">Element</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/lowagie/text/Element.html#toString()">toString</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="horizontalAlignment"><!-- --></A><H3>
horizontalAlignment</H3>
<PRE>
private int <B>horizontalAlignment</B></PRE>
<DL>
<DD>Holds value of property horizontalAlignment.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="verticalAlignment"><!-- --></A><H3>
verticalAlignment</H3>
<PRE>
private int <B>verticalAlignment</B></PRE>
<DL>
<DD>Holds value of property verticalAlignment.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="paddingLeft"><!-- --></A><H3>
paddingLeft</H3>
<PRE>
private float <B>paddingLeft</B></PRE>
<DL>
<DD>Holds value of property paddingLeft.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="paddingRight"><!-- --></A><H3>
paddingRight</H3>
<PRE>
private float <B>paddingRight</B></PRE>
<DL>
<DD>Holds value of property paddingLeft.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="paddingTop"><!-- --></A><H3>
paddingTop</H3>
<PRE>
private float <B>paddingTop</B></PRE>
<DL>
<DD>Holds value of property paddingTop.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="paddingBottom"><!-- --></A><H3>
paddingBottom</H3>
<PRE>
private float <B>paddingBottom</B></PRE>
<DL>
<DD>Holds value of property paddingBottom.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="fixedLeading"><!-- --></A><H3>
fixedLeading</H3>
<PRE>
protected float <B>fixedLeading</B></PRE>
<DL>
<DD>The fixed text leading.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="multipliedLeading"><!-- --></A><H3>
multipliedLeading</H3>
<PRE>
protected float <B>multipliedLeading</B></PRE>
<DL>
<DD>The text leading that is multiplied by the biggest font size in the line.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="extraParagraphSpace"><!-- --></A><H3>
extraParagraphSpace</H3>
<PRE>
protected float <B>extraParagraphSpace</B></PRE>
<DL>
<DD>The extra space between paragraphs.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="indent"><!-- --></A><H3>
indent</H3>
<PRE>
protected float <B>indent</B></PRE>
<DL>
<DD>The first paragraph line indent.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="followingIndent"><!-- --></A><H3>
followingIndent</H3>
<PRE>
protected float <B>followingIndent</B></PRE>
<DL>
<DD>The following paragraph lines indent.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="rightIndent"><!-- --></A><H3>
rightIndent</H3>
<PRE>
protected float <B>rightIndent</B></PRE>
<DL>
<DD>The right paragraph lines indent.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="phrase"><!-- --></A><H3>
phrase</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A> <B>phrase</B></PRE>
<DL>
<DD>The text in the cell.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="fixedHeight"><!-- --></A><H3>
fixedHeight</H3>
<PRE>
private float <B>fixedHeight</B></PRE>
<DL>
<DD>Holds value of property fixedHeight.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="noWrap"><!-- --></A><H3>
noWrap</H3>
<PRE>
private boolean <B>noWrap</B></PRE>
<DL>
<DD>Holds value of property noWrap.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="table"><!-- --></A><H3>
table</H3>
<PRE>
private <A HREF="../../../../com/lowagie/text/pdf/PdfPTable.html">PdfPTable</A> <B>table</B></PRE>
<DL>
<DD>Holds value of property table.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="minimumHeight"><!-- --></A><H3>
minimumHeight</H3>
<PRE>
private float <B>minimumHeight</B></PRE>
<DL>
<DD>Holds value of property minimumHeight.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="colspan"><!-- --></A><H3>
colspan</H3>
<PRE>
private int <B>colspan</B></PRE>
<DL>
<DD>Holds value of property colspan.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="spaceCharRatio"><!-- --></A><H3>
spaceCharRatio</H3>
<PRE>
private float <B>spaceCharRatio</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="runDirection"><!-- --></A><H3>
runDirection</H3>
<PRE>
protected int <B>runDirection</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PdfPCell(com.lowagie.text.Phrase)"><!-- --></A><H3>
PdfPCell</H3>
<PRE>
public <B>PdfPCell</B>(<A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A> phrase)</PRE>
<DL>
<DD>Constructs a <CODE>PdfPCell</CODE> with a <CODE>Phrase</CODE>. The default padding is 2.
<P>
<DT><B>Parameters:</B><DD><CODE>phrase</CODE> - the text</DL>
<HR>
<A NAME="PdfPCell(com.lowagie.text.Image)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -