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

📄 rtffont.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms an integer into its String representation and then returns the bytes of that string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/style/RtfFont.html#isStandardFont()">isStandardFont</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The <code>RtfFont</code> is never a standard font.</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/rtf/style/RtfFont.html#setCharset(int)">setCharset</A></B>(int&nbsp;charset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the charset used for constructing this RtfFont.</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/rtf/style/RtfFont.html#setColor(java.awt.Color)">setColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;color)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color.</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/rtf/style/RtfFont.html#setColor(int, int, int)">setColor</A></B>(int&nbsp;red,         int&nbsp;green,         int&nbsp;blue)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the color.</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/rtf/style/RtfFont.html#setFamily(java.lang.String)">setFamily</A></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>&nbsp;family)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the family using a <CODE>String</CODE> ("Courier", "Helvetica", "Times New Roman", "Symbol" or "ZapfDingbats").</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/style/RtfFont.html#setFontName(java.lang.String)">setFontName</A></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>&nbsp;fontName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the font name of this RtfFont.</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/rtf/style/RtfFont.html#setInHeader(boolean)">setInHeader</A></B>(boolean&nbsp;inHeader)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unused</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/rtf/style/RtfFont.html#setInTable(boolean)">setInTable</A></B>(boolean&nbsp;inTable)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unused</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/rtf/style/RtfFont.html#setRtfDocument(com.lowagie.text.rtf.document.RtfDocument)">setRtfDocument</A></B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the RtfDocument this RtfFont belongs to</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/rtf/style/RtfFont.html#setSize(float)">setSize</A></B>(float&nbsp;size)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size.</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/rtf/style/RtfFont.html#setStyle(int)">setStyle</A></B>(int&nbsp;style)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the style.</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/rtf/style/RtfFont.html#setStyle(java.lang.String)">setStyle</A></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>&nbsp;style)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the style using a <CODE>String</CODE> containing one of more of the following values: normal, bold, italic, underline, strike.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/style/RtfFont.html#setToDefaultFamily(java.lang.String)">setToDefaultFamily</A></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>&nbsp;familyname)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the correct font name from the family name.</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/rtf/style/RtfFont.html#writeBegin(java.io.OutputStream)">writeBegin</A></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>&nbsp;result)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the font beginning</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/rtf/style/RtfFont.html#writeContent(java.io.OutputStream)">writeContent</A></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>&nbsp;out)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unused</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/rtf/style/RtfFont.html#writeDefinition(java.io.OutputStream)">writeDefinition</A></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>&nbsp;result)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the font definition</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/rtf/style/RtfFont.html#writeEnd(java.io.OutputStream)">writeEnd</A></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>&nbsp;result)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the font end</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.lowagie.text.Font"><!-- --></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/Font.html" title="class in com.lowagie.text">Font</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/lowagie/text/Font.html#getBaseFont()">getBaseFont</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getCalculatedBaseFont(boolean)">getCalculatedBaseFont</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getCalculatedLeading(float)">getCalculatedLeading</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getCalculatedSize()">getCalculatedSize</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getCalculatedStyle()">getCalculatedStyle</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getColor()">getColor</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getFamily()">getFamily</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getFamilyIndex(java.lang.String)">getFamilyIndex</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getSize()">getSize</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getStyle()">getStyle</A>, <A HREF="../../../../../com/lowagie/text/Font.html#getStyleValue(java.lang.String)">getStyleValue</A>, <A HREF="../../../../../com/lowagie/text/Font.html#isBold()">isBold</A>, <A HREF="../../../../../com/lowagie/text/Font.html#isItalic()">isItalic</A>, <A HREF="../../../../../com/lowagie/text/Font.html#isStrikethru()">isStrikethru</A>, <A HREF="../../../../../com/lowagie/text/Font.html#isUnderlined()">isUnderlined</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#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#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#toString()" title="class or interface in java.lang">toString</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="FONT_FAMILY"><!-- --></A><H3>FONT_FAMILY</H3><PRE>private static final byte[] <B>FONT_FAMILY</B></PRE><DL><DD>Constant for the font family to use ("froman")<P><DL></DL></DL><HR><A NAME="FONT_CHARSET"><!-- --></A><H3>FONT_CHARSET</H3><PRE>private static final byte[] <B>FONT_CHARSET</B></PRE><DL><DD>Constant for the charset<P><DL></DL></DL><HR><A NAME="FONT_SIZE"><!-- --></A><H3>FONT_SIZE</H3><PRE>public static final byte[] <B>FONT_SIZE</B></PRE><DL><DD>Constant for the font size<P><DL></DL></DL><HR><A NAME="FONT_BOLD"><!-- --></A><H3>FONT_BOLD</H3><PRE>private static final byte[] <B>FONT_BOLD</B></PRE><DL><DD>Constant for the bold flag<P><DL></DL></DL><HR><A NAME="FONT_ITALIC"><!-- --></A><H3>FONT_ITALIC</H3><PRE>private static final byte[] <B>FONT_ITALIC</B></PRE><DL><DD>Constant for the italic flag<P><DL></DL></DL><HR><A NAME="FONT_UNDERLINE"><!-- --></A><H3>FONT_UNDERLINE</H3><PRE>private static final byte[] <B>FONT_UNDERLINE</B></PRE><DL><DD>Constant for the underline flag<P><DL></DL></DL><HR><A NAME="FONT_STRIKETHROUGH"><!-- --></A><H3>FONT_STRIKETHROUGH</H3><PRE>private static final byte[] <B>FONT_STRIKETHROUGH</B></PRE><DL><DD>Constant for the strikethrough flag<P><DL></DL></DL><HR><A NAME="FONT_DOUBLE_STRIKETHROUGH"><!-- --></A><H3>FONT_DOUBLE_STRIKETHROUGH</H3><PRE>private static final byte[] <B>FONT_DOUBLE_STRIKETHROUGH</B></PRE><DL><DD>Constant for the double strikethrough flag<P><DL></DL></DL><HR><A NAME="FONT_SHADOW"><!-- --></A><H3>FONT_SHADOW</H3><PRE>private static final byte[] <B>FONT_SHADOW</B></PRE><DL><DD>Constant for the shadow flag<P><DL></DL></DL><HR><A NAME="FONT_OUTLINE"><!-- --></A><H3>FONT_OUTLINE</H3><PRE>private static final byte[] <B>FONT_OUTLINE</B></PRE><DL><DD>Constant for the outline flag<P>

⌨️ 快捷键说明

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