?? pdfpcell.html
字號:
PdfPCell</H3>
<PRE>
public <B>PdfPCell</B>(<A HREF="../../../../com/lowagie/text/Image.html">Image</A> image)</PRE>
<DL>
<DD>Constructs a <CODE>PdfPCell</CODE> with an <CODE>Image</CODE>. The default padding is 0.
<P>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - the <CODE>Image</CODE></DL>
<HR>
<A NAME="PdfPCell(com.lowagie.text.pdf.PdfPTable)"><!-- --></A><H3>
PdfPCell</H3>
<PRE>
public <B>PdfPCell</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPTable.html">PdfPTable</A> table)</PRE>
<DL>
<DD>Constructs a <CODE>PdfPCell</CODE> with a <CODE>PdfPtable</CODE>. This constructor allows nested tables. The default padding is 0.
<P>
<DT><B>Parameters:</B><DD><CODE>table</CODE> - The <CODE>PdfPTable</CODE></DL>
<HR>
<A NAME="PdfPCell(com.lowagie.text.pdf.PdfPCell)"><!-- --></A><H3>
PdfPCell</H3>
<PRE>
public <B>PdfPCell</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html">PdfPCell</A> cell)</PRE>
<DL>
<DD>Constructs a deep copy of a <CODE>PdfPCell</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - the <CODE>PdfPCell</CODE> to duplicate</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getPhrase()"><!-- --></A><H3>
getPhrase</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A> <B>getPhrase</B>()</PRE>
<DL>
<DD>Gets the <CODE>Phrase</CODE> from this cell.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the <CODE>Phrase</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setPhrase(com.lowagie.text.Phrase)"><!-- --></A><H3>
setPhrase</H3>
<PRE>
public void <B>setPhrase</B>(<A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A> phrase)</PRE>
<DL>
<DD>Sets the <CODE>Phrase</CODE> for this cell.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>phrase</CODE> - the <CODE>Phrase</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getHorizontalAlignment()"><!-- --></A><H3>
getHorizontalAlignment</H3>
<PRE>
public int <B>getHorizontalAlignment</B>()</PRE>
<DL>
<DD>Gets the horizontal alignment for the cell.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the horizontal alignment for the cell</DL>
</DD>
</DL>
<HR>
<A NAME="setHorizontalAlignment(int)"><!-- --></A><H3>
setHorizontalAlignment</H3>
<PRE>
public void <B>setHorizontalAlignment</B>(int horizontalAlignment)</PRE>
<DL>
<DD>Sets the horizontal alignment for the cell. It could be <CODE>Element.ALIGN_CENTER</CODE> for example.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>horizontalAlignment</CODE> - The horizontal alignment</DL>
</DD>
</DL>
<HR>
<A NAME="getVerticalAlignment()"><!-- --></A><H3>
getVerticalAlignment</H3>
<PRE>
public int <B>getVerticalAlignment</B>()</PRE>
<DL>
<DD>Gets the vertical alignment for the cell.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the vertical alignment for the cell</DL>
</DD>
</DL>
<HR>
<A NAME="setVerticalAlignment(int)"><!-- --></A><H3>
setVerticalAlignment</H3>
<PRE>
public void <B>setVerticalAlignment</B>(int verticalAlignment)</PRE>
<DL>
<DD>Sets the vertical alignment for the cell. It could be <CODE>Element.ALIGN_MIDDLE</CODE> for example.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>verticalAlignment</CODE> - The vertical alignment</DL>
</DD>
</DL>
<HR>
<A NAME="getPaddingLeft()"><!-- --></A><H3>
getPaddingLeft</H3>
<PRE>
public float <B>getPaddingLeft</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Value of property paddingLeft.</DL>
</DD>
</DL>
<HR>
<A NAME="setPaddingLeft(float)"><!-- --></A><H3>
setPaddingLeft</H3>
<PRE>
public void <B>setPaddingLeft</B>(float paddingLeft)</PRE>
<DL>
<DD>Setter for property paddingLeft.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>paddingLeft</CODE> - New value of property paddingLeft.</DL>
</DD>
</DL>
<HR>
<A NAME="getPaddingRight()"><!-- --></A><H3>
getPaddingRight</H3>
<PRE>
public float <B>getPaddingRight</B>()</PRE>
<DL>
<DD>Getter for property paddingRight.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Value of property paddingRight.</DL>
</DD>
</DL>
<HR>
<A NAME="setPaddingRight(float)"><!-- --></A><H3>
setPaddingRight</H3>
<PRE>
public void <B>setPaddingRight</B>(float paddingRight)</PRE>
<DL>
<DD>Setter for property paddingRight.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>paddingRight</CODE> - New value of property paddingRight.</DL>
</DD>
</DL>
<HR>
<A NAME="getPaddingTop()"><!-- --></A><H3>
getPaddingTop</H3>
<PRE>
public float <B>getPaddingTop</B>()</PRE>
<DL>
<DD>Getter for property paddingTop.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Value of property paddingTop.</DL>
</DD>
</DL>
<HR>
<A NAME="setPaddingTop(float)"><!-- --></A><H3>
setPaddingTop</H3>
<PRE>
public void <B>setPaddingTop</B>(float paddingTop)</PRE>
<DL>
<DD>Setter for property paddingTop.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>paddingTop</CODE> - New value of property paddingTop.</DL>
</DD>
</DL>
<HR>
<A NAME="getPaddingBottom()"><!-- --></A><H3>
getPaddingBottom</H3>
<PRE>
public float <B>getPaddingBottom</B>()</PRE>
<DL>
<DD>Getter for property paddingBottom.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Value of property paddingBottom.</DL>
</DD>
</DL>
<HR>
<A NAME="setPaddingBottom(float)"><!-- --></A><H3>
setPaddingBottom</H3>
<PRE>
public void <B>setPaddingBottom</B>(float paddingBottom)</PRE>
<DL>
<DD>Setter for property paddingBottom.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>paddingBottom</CODE> - New value of property paddingBottom.</DL>
</DD>
</DL>
<HR>
<A NAME="setPadding(float)"><!-- --></A><H3>
setPadding</H3>
<PRE>
public void <B>setPadding</B>(float padding)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setLeading(float, float)"><!-- --></A><H3>
setLeading</H3>
<PRE>
public void <B>setLeading</B>(float fixedLeading, float multipliedLeading)</PRE>
<DL>
<DD>Sets the leading fixed and variable. The resultant leading will be fixedLeading+multipliedLeading*maxFontSize where maxFontSize is the size of the bigest font in the line.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fixedLeading</CODE> - the fixed leading<DD><CODE>multipliedLeading</CODE> - the variable leading</DL>
</DD>
</DL>
<HR>
<A NAME="getLeading()"><!-- --></A><H3>
getLeading</H3>
<PRE>
public float <B>getLeading</B>()</PRE>
<DL>
<DD>Gets the fixed leading
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the leading</DL>
</DD>
</DL>
<HR>
<A NAME="getMultipliedLeading()"><!-- --></A><H3>
getMultipliedLeading</H3>
<PRE>
public float <B>getMultipliedLeading</B>()</PRE>
<DL>
<DD>Gets the variable leading
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the leading</DL>
</DD>
</DL>
<HR>
<A NAME="setIndent(float)"><!-- --></A><H3>
setIndent</H3>
<PRE>
public void <B>setIndent</B>(float indent)</PRE>
<DL>
<DD>Sets the first paragraph line indent.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>indent</CODE> - the indent</DL>
</DD>
</DL>
<HR>
<A NAME="getIndent()"><!-- --></A><H3>
getIndent</H3>
<PRE>
public float <B>getIndent</B>()</PRE>
<DL>
<DD>Gets the first paragraph line indent.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the indent</DL>
</DD>
</DL>
<HR>
<A NAME="getExtraParagraphSpace()"><!-- --></A><H3>
getExtraParagraphSpace</H3>
<PRE>
public float <B>getExtraParagraphSpace</B>()</PRE>
<DL>
<DD>Sets the extra space between paragraphs.
<P>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -