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

📄 rtfcell.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingTopUnit"><!-- --></A><H3>
cellPaddingTopUnit</H3>
<PRE>
private static final byte[] <B>cellPaddingTopUnit</B></PRE>
<DL>
<DD>padding top unit
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingBottom"><!-- --></A><H3>
cellPaddingBottom</H3>
<PRE>
private static final byte[] <B>cellPaddingBottom</B></PRE>
<DL>
<DD>padding bottom
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingBottomUnit"><!-- --></A><H3>
cellPaddingBottomUnit</H3>
<PRE>
private static final byte[] <B>cellPaddingBottomUnit</B></PRE>
<DL>
<DD>padding bottom unit
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingLeft"><!-- --></A><H3>
cellPaddingLeft</H3>
<PRE>
private static final byte[] <B>cellPaddingLeft</B></PRE>
<DL>
<DD>padding left
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingLeftUnit"><!-- --></A><H3>
cellPaddingLeftUnit</H3>
<PRE>
private static final byte[] <B>cellPaddingLeftUnit</B></PRE>
<DL>
<DD>padding left unit
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingRight"><!-- --></A><H3>
cellPaddingRight</H3>
<PRE>
private static final byte[] <B>cellPaddingRight</B></PRE>
<DL>
<DD>padding right
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellPaddingRightUnit"><!-- --></A><H3>
cellPaddingRightUnit</H3>
<PRE>
private static final byte[] <B>cellPaddingRightUnit</B></PRE>
<DL>
<DD>padding right unit
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="writer"><!-- --></A><H3>
writer</H3>
<PRE>
private <A HREF="../../../../com/lowagie/text/rtf/RtfWriter.html">RtfWriter</A> <B>writer</B></PRE>
<DL>
<DD>The <code>RtfWriter</code> to which this <code>RtfCell</code> belongs.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="mainTable"><!-- --></A><H3>
mainTable</H3>
<PRE>
private <A HREF="../../../../com/lowagie/text/rtf/RtfTable.html">RtfTable</A> <B>mainTable</B></PRE>
<DL>
<DD>The <code>RtfTable</code> to which this <code>RtfCell</code> belongs.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellWidth"><!-- --></A><H3>
cellWidth</H3>
<PRE>
private int <B>cellWidth</B></PRE>
<DL>
<DD>Cell width
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellRight"><!-- --></A><H3>
cellRight</H3>
<PRE>
private int <B>cellRight</B></PRE>
<DL>
<DD>Cell right border position
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="store"><!-- --></A><H3>
store</H3>
<PRE>
private <A HREF="../../../../com/lowagie/text/Cell.html">Cell</A> <B>store</B></PRE>
<DL>
<DD><code>Cell</code> containing the actual data
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="emptyCell"><!-- --></A><H3>
emptyCell</H3>
<PRE>
private boolean <B>emptyCell</B></PRE>
<DL>
<DD>Is this an empty cell
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="mergeType"><!-- --></A><H3>
mergeType</H3>
<PRE>
private int <B>mergeType</B></PRE>
<DL>
<DD>Type of merging to do
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cellpadding"><!-- --></A><H3>
cellpadding</H3>
<PRE>
private int <B>cellpadding</B></PRE>
<DL>
<DD>cell padding, because the table only renders the left and right cell padding  and not the top and bottom one
<P>
<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="RtfCell(com.lowagie.text.rtf.RtfWriter, com.lowagie.text.rtf.RtfTable)"><!-- --></A><H3>
RtfCell</H3>
<PRE>
public <B>RtfCell</B>(<A HREF="../../../../com/lowagie/text/rtf/RtfWriter.html">RtfWriter</A>&nbsp;writer,               <A HREF="../../../../com/lowagie/text/rtf/RtfTable.html">RtfTable</A>&nbsp;mainTable)</PRE>
<DL>
<DD>Create a new <code>RtfCell</code>.
<P>
<DT><B>Parameters:</B><DD><CODE>writer</CODE> - The <code>RtfWriter</code> that this <code>RtfCell</code> belongs to<DD><CODE>mainTable</CODE> - The <code>RtfTable</code> that created the <code>RtfRow</code> that created the <code>RtfCell</code> :-)</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="importCell(com.lowagie.text.Cell, int, int, int, int, int)"><!-- --></A><H3>
importCell</H3>
<PRE>
public int <B>importCell</B>(<A HREF="../../../../com/lowagie/text/Cell.html">Cell</A>&nbsp;cell,                      int&nbsp;cellLeft,                      int&nbsp;cellWidth,                      int&nbsp;x,                      int&nbsp;y,                      int&nbsp;cellpadding)</PRE>
<DL>
<DD>Import a <code>Cell</code>. <P>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - The <code>Cell</code> containing the data for this <code>RtfCell</code><DD><CODE>cellLeft</CODE> - The position of the left border<DD><CODE>cellWidth</CODE> - The default width of a cell<DD><CODE>x</CODE> - The column index of this <code>RtfCell</code><DD><CODE>y</CODE> - The row index of this <code>RtfCell</code></DL>
</DD>
</DL>
<HR>

<A NAME="writeCellSettings(java.io.ByteArrayOutputStream)"><!-- --></A><H3>
writeCellSettings</H3>
<PRE>
public boolean <B>writeCellSettings</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/ByteArrayOutputStream.html">ByteArrayOutputStream</A>&nbsp;os)                          throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Write the properties of the <code>RtfCell</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>os</CODE> - The <code>OutputStream</code> to which to write the properties of the <code>RtfCell</code> to.<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writeCellContent(java.io.ByteArrayOutputStream)"><!-- --></A><H3>
writeCellContent</H3>
<PRE>
public boolean <B>writeCellContent</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/ByteArrayOutputStream.html">ByteArrayOutputStream</A>&nbsp;os)                         throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Write the content of the <code>RtfCell</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>os</CODE> - The <code>OutputStream</code> to which to write the content of the <code>RtfCell</code> to.<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setMerge(int, com.lowagie.text.rtf.RtfCell)"><!-- --></A><H3>
setMerge</H3>
<PRE>
public void <B>setMerge</B>(int&nbsp;mergeType,                     <A HREF="../../../../com/lowagie/text/rtf/RtfCell.html">RtfCell</A>&nbsp;mergeCell)</PRE>
<DL>
<DD>Sets the merge type and the <code>RtfCell</code> with which this <code>RtfCell</code> is to be merged.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>mergeType</CODE> - The merge type specifies the kind of merge to be applied (MERGE_HORIZ_PREV, MERGE_VERT_PREV, MERGE_BOTH_PREV)<DD><CODE>mergeCell</CODE> - The <code>RtfCell</code> that the cell at x and y is to be merged with</DL>
</DD>
</DL>
<HR>

<A NAME="getStore()"><!-- --></A><H3>
getStore</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/Cell.html">Cell</A> <B>getStore</B>()</PRE>
<DL>
<DD>Get the <code>Cell</code> with the actual content.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><code>Cell</code> which is contained in the <code>RtfCell</code></DL>
</DD>
</DL>
<HR>

<A NAME="getCellWidth()"><!-- --></A><H3>
getCellWidth</H3>
<PRE>
public int <B>getCellWidth</B>()</PRE>
<DL>
<DD>Get the with of this <code>RtfCell</code>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Width of the current <code>RtfCell</code></DL>
</DD>
</DL>
<HR>

<A NAME="setCellWidth(int)"><!-- --></A><H3>
setCellWidth</H3>
<PRE>
public void <B>setCellWidth</B>(int&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getCellRight()"><!-- --></A><H3>
getCellRight</H3>
<PRE>
public int <B>getCellRight</B>()</PRE>
<DL>
<DD>Get the position of the right border of this <code>RtfCell</code>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setCellRight(int)"><!-- --></A><H3>
setCellRight</H3>
<PRE>
public void <B>setCellRight</B>(int&nbsp;value)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="writeInt(java.io.ByteArrayOutputStream, int)"><!-- --></A><H3>
writeInt</H3>
<PRE>
private void <B>writeInt</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/ByteArrayOutputStream.html">ByteArrayOutputStream</A>&nbsp;out,                      int&nbsp;i)               throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/lowagie/text/rtf/GenericRtfField.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/lowagie/text/rtf/RtfHeaderFooter.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="RtfCell.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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