📄 rtfcell.html
字号:
deleted</H3><PRE>private boolean <B>deleted</B></PRE><DL><DD>Whether this RtfCell is a placeholder for a removed table cell.<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="RtfCell()"><!-- --></A><H3>RtfCell</H3><PRE>public <B>RtfCell</B>()</PRE><DL><DD>Constructs an empty RtfCell<P></DL><HR><A NAME="RtfCell(java.lang.String)"><!-- --></A><H3>RtfCell</H3><PRE>public <B>RtfCell</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> content)</PRE><DL><DD>Constructs a RtfCell based upon a String<P><DL><DT><B>Parameters:</B><DD><CODE>content</CODE> - The String to base the RtfCell on</DL></DL><HR><A NAME="RtfCell(com.lowagie.text.Element)"><!-- --></A><H3>RtfCell</H3><PRE>public <B>RtfCell</B>(<A HREF="../../../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A> element) throws <A HREF="../../../../../com/lowagie/text/BadElementException.html" title="class in com.lowagie.text">BadElementException</A></PRE><DL><DD>Constructs a RtfCell based upon an Element<P><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - The Element to base the RtfCell on<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/BadElementException.html" title="class in com.lowagie.text">BadElementException</A></CODE> - If the Element is not valid</DL></DL><HR><A NAME="RtfCell(boolean)"><!-- --></A><H3>RtfCell</H3><PRE>protected <B>RtfCell</B>(boolean deleted)</PRE><DL><DD>Constructs a deleted RtfCell.<P><DL><DT><B>Parameters:</B><DD><CODE>deleted</CODE> - Whether this RtfCell is actually deleted.</DL></DL><HR><A NAME="RtfCell(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.rtf.table.RtfRow, com.lowagie.text.Cell)"><!-- --></A><H3>RtfCell</H3><PRE>protected <B>RtfCell</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> doc, <A HREF="../../../../../com/lowagie/text/rtf/table/RtfRow.html" title="class in com.lowagie.text.rtf.table">RtfRow</A> row, <A HREF="../../../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A> cell)</PRE><DL><DD>Constructs a RtfCell based on a Cell.<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfCell belongs to<DD><CODE>row</CODE> - The RtfRow this RtfCell lies in<DD><CODE>cell</CODE> - The Cell to base this RtfCell on</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="importCell(com.lowagie.text.Cell)"><!-- --></A><H3>importCell</H3><PRE>private void <B>importCell</B>(<A HREF="../../../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A> cell)</PRE><DL><DD>Imports the Cell properties into the RtfCell<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cell</CODE> - The Cell to import</DL></DD></DL><HR><A NAME="writeDefinition(java.io.OutputStream)"><!-- --></A><H3>writeDefinition</H3><PRE>public void <B>writeDefinition</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> result) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Write the cell definition part of this RtfCell<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/rtf/RtfExtendedElement.html#writeDefinition(java.io.OutputStream)">writeDefinition</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/rtf/RtfExtendedElement.html" title="interface in com.lowagie.text.rtf">RtfExtendedElement</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>result</CODE> - The <code>OutputStream</code> to write the element definition to<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="writeContent(java.io.OutputStream)"><!-- --></A><H3>writeContent</H3><PRE>public void <B>writeContent</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> result) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Write the content of this RtfCell<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/rtf/RtfBasicElement.html#writeContent(java.io.OutputStream)">writeContent</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/rtf/RtfBasicElement.html" title="interface in com.lowagie.text.rtf">RtfBasicElement</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>result</CODE> - The <code>OutputStream</code> to write the content to<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="setCellRight(int)"><!-- --></A><H3>setCellRight</H3><PRE>protected void <B>setCellRight</B>(int cellRight)</PRE><DL><DD>Sets the right margin of this cell. Used in merge operations<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cellRight</CODE> - The right margin to use</DL></DD></DL><HR><A NAME="getCellRight()"><!-- --></A><H3>getCellRight</H3><PRE>protected int <B>getCellRight</B>()</PRE><DL><DD>Gets the right margin of this RtfCell<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The right margin of this RtfCell.</DL></DD></DL><HR><A NAME="setCellWidth(int)"><!-- --></A><H3>setCellWidth</H3><PRE>protected void <B>setCellWidth</B>(int cellWidth)</PRE><DL><DD>Sets the cell width of this RtfCell. Used in merge operations.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cellWidth</CODE> - The cell width to use</DL></DD></DL><HR><A NAME="getCellWidth()"><!-- --></A><H3>getCellWidth</H3><PRE>protected int <B>getCellWidth</B>()</PRE><DL><DD>Gets the cell width of this RtfCell<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cell width of this RtfCell</DL></DD></DL><HR><A NAME="getCellpadding()"><!-- --></A><H3>getCellpadding</H3><PRE>protected int <B>getCellpadding</B>()</PRE><DL><DD>Gets the cell padding of this RtfCell<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The cell padding of this RtfCell</DL></DD></DL><HR><A NAME="getBorders()"><!-- --></A><H3>getBorders</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -