📄 rtfdestinationcolortable.html
字号:
Handle a new subgroup contained within this group</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#processColor()">processColor</A></B>()</CODE><BR> Processes the color triplet parsed from the document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setBlue(int)">setBlue</A></B>(int value)</CODE><BR> Set the blue color value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setGreen(int)">setGreen</A></B>(int value)</CODE><BR> Set the green color value.</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/rtf/parser/destinations/RtfDestinationColorTable.html#setParser(com.lowagie.text.rtf.parser.RtfParser)">setParser</A></B>(<A HREF="../../../../../../com/lowagie/text/rtf/parser/RtfParser.html" title="class in com.lowagie.text.rtf.parser">RtfParser</A> parser)</CODE><BR> Set the parser to use with the RtfDestination object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setRed(int)">setRed</A></B>(int value)</CODE><BR> Set the red color to value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setShade(int)">setShade</A></B>(int value)</CODE><BR> Set the shade value</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setThemeColor(int)">setThemeColor</A></B>(int value)</CODE><BR> Set the theme color value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#setTint(int)">setTint</A></B>(int value)</CODE><BR> Set the tint value</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/rtf/parser/destinations/RtfDestinationColorTable.html#setToDefaults()">setToDefaults</A></B>()</CODE><BR> Set default values.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.lowagie.text.rtf.parser.destinations.RtfDestination"><!-- --></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.rtf.parser.destinations.<A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html" title="class in com.lowagie.text.rtf.parser.destinations">RtfDestination</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#addListener(com.lowagie.text.rtf.parser.destinations.RtfDestinationListener)">addListener</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#afterCharacter(int)">afterCharacter</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#afterCtrlWord(com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordData)">afterCtrlWord</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#beforeCharacter(int)">beforeCharacter</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#beforeCtrlWord(com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordData)">beforeCtrlWord</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#getNewTokeniserState()">getNewTokeniserState</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#isModified()">isModified</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#onCharacter(int)">onCharacter</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#onCloseGroup()">onCloseGroup</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#onCtrlWord(com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordData)">onCtrlWord</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#onOpenGroup()">onOpenGroup</A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#removeListener(com.lowagie.text.rtf.parser.destinations.RtfDestinationListener)">removeListener</A></CODE></TD></TR></TABLE> <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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> <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="importHeader"><!-- --></A><H3>importHeader</H3><PRE>private <A HREF="../../../../../../com/lowagie/text/rtf/parser/RtfImportMgr.html" title="class in com.lowagie.text.rtf.parser">RtfImportMgr</A> <B>importHeader</B></PRE><DL><DD>The RtfImportHeader to add color mappings to.<P><DL></DL></DL><HR><A NAME="colorNr"><!-- --></A><H3>colorNr</H3><PRE>private int <B>colorNr</B></PRE><DL><DD>The number of the current color being parsed.<P><DL></DL></DL><HR><A NAME="red"><!-- --></A><H3>red</H3><PRE>private int <B>red</B></PRE><DL><DD>The red component of the current color being parsed.<P><DL></DL></DL><HR><A NAME="green"><!-- --></A><H3>green</H3><PRE>private int <B>green</B></PRE><DL><DD>The green component of the current color being parsed.<P><DL></DL></DL><HR><A NAME="blue"><!-- --></A><H3>blue</H3><PRE>private int <B>blue</B></PRE><DL><DD>The blue component of the current color being parsed.<P><DL></DL></DL><HR><A NAME="ctint"><!-- --></A><H3>ctint</H3><PRE>private int <B>ctint</B></PRE><DL><DD>Specifies the tint when specifying a theme color. RTF control word ctint 0 - 255: 0 = full tint(white), 255 = no tint. Default value: 255 If tint is specified and is less than 255, cshade must equal 255. ctint/cshade are mutually exclusive<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#cshade"><CODE>cshade</CODE></A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#themeColor"><CODE>themeColor</CODE></A></DL></DL><HR><A NAME="cshade"><!-- --></A><H3>cshade</H3><PRE>private int <B>cshade</B></PRE><DL><DD>Specifies the shade when specifying a theme color. RTF control word cshade 0 - 255: 0 = full shade(black), 255 = no shade. Default value: 255 If shade is specified and is less than 255, ctint must equal 255. cshade/ctint are mutually exclusive<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#ctint"><CODE>ctint</CODE></A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#themeColor"><CODE>themeColor</CODE></A></DL></DL><HR><A NAME="themeColor"><!-- --></A><H3>themeColor</H3><PRE>private int <B>themeColor</B></PRE><DL><DD>Specifies the use of a theme color.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../com/lowagie/text/rtf/parser/enumerations/RtfColorThemes.html" title="class in com.lowagie.text.rtf.parser.enumerations"><CODE>RtfColorThemes</CODE></A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#ctint"><CODE>ctint</CODE></A>, <A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestinationColorTable.html#cshade"><CODE>cshade</CODE></A></DL></DL><HR><A NAME="colorMap"><!-- --></A><H3>colorMap</H3><PRE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>colorMap</B></PRE><DL><DD>Color map object for conversions<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="RtfDestinationColorTable()"><!-- --></A><H3>RtfDestinationColorTable</H3><PRE>public <B>RtfDestinationColorTable</B>()</PRE><DL><DD>Constructor.<P></DL><HR><A NAME="RtfDestinationColorTable(com.lowagie.text.rtf.parser.RtfParser)"><!-- --></A><H3>RtfDestinationColorTable</H3><PRE>public <B>RtfDestinationColorTable</B>(<A HREF="../../../../../../com/lowagie/text/rtf/parser/RtfParser.html" title="class in com.lowagie.text.rtf.parser">RtfParser</A> parser)</PRE><DL><DD>Constructs a new RtfColorTableParser.<P><DL><DT><B>Parameters:</B><DD><CODE>parser</CODE> - an RtfParser</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="setParser(com.lowagie.text.rtf.parser.RtfParser)"><!-- --></A><H3>setParser</H3><PRE>public void <B>setParser</B>(<A HREF="../../../../../../com/lowagie/text/rtf/parser/RtfParser.html" title="class in com.lowagie.text.rtf.parser">RtfParser</A> parser)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#setParser(com.lowagie.text.rtf.parser.RtfParser)">RtfDestination</A></CODE></B></DD><DD>Set the parser to use with the RtfDestination object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html#setParser(com.lowagie.text.rtf.parser.RtfParser)">setParser</A></CODE> in class <CODE><A HREF="../../../../../../com/lowagie/text/rtf/parser/destinations/RtfDestination.html" title="class in com.lowagie.text.rtf.parser.destinations">RtfDestination</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parser</CODE> - The RtfParser object.</DL></DD></DL><HR><A NAME="handleOpeningSubGroup()"><!-- --></A><H3>handleOpeningSubGroup</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -