📄 rtfparser.html
字号:
<TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#handleImportMappings(com.lowagie.text.rtf.parser.RtfImportMappings)">handleImportMappings</A></B>(<A HREF="../../../../../com/lowagie/text/rtf/parser/RtfImportMappings.html" title="class in com.lowagie.text.rtf.parser">RtfImportMappings</A> importMappings)</CODE><BR> Imports the mappings defined in the RtfImportMappings into the RtfImportHeader of this RtfParser2.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#handleOpenGroup()">handleOpenGroup</A></B>()</CODE><BR> Handles open group tokens.</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/RtfParser.html#importRtfDocument(java.io.InputStream, com.lowagie.text.rtf.document.RtfDocument)">importRtfDocument</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> readerIn, <A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> rtfDoc)</CODE><BR> Imports a complete RTF document.</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/RtfParser.html#importRtfFragment(java.io.InputStream, com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.rtf.parser.RtfImportMappings)">importRtfFragment</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> readerIn, <A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> rtfDoc, <A HREF="../../../../../com/lowagie/text/rtf/parser/RtfImportMappings.html" title="class in com.lowagie.text.rtf.parser">RtfImportMappings</A> importMappings)</CODE><BR> Imports an RTF fragment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PushbackInputStream.html?is-external=true" title="class or interface in java.io">PushbackInputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#init_Reader(java.io.InputStream)">init_Reader</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> readerIn)</CODE><BR> Casts the input reader to a PushbackReader or creates a new PushbackReader from the Reader passed in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#init_stats()">init_stats</A></B>()</CODE><BR> Initialize the statistics values.</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/RtfParser.html#init(int, com.lowagie.text.rtf.document.RtfDocument, java.io.InputStream, com.lowagie.text.Document)">init</A></B>(int type, <A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> rtfDoc, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A> readerIn, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> doc)</CODE><BR> Initialize the parser object values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isConvert()">isConvert</A></B>()</CODE><BR> Helper method to determin if conversion is TYPE_CONVERT</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isImport()">isImport</A></B>()</CODE><BR> Helper method to determin if conversion is TYPE_IMPORT_FULL or TYPE_IMPORT_FRAGMENT</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isImportFragment()">isImportFragment</A></B>()</CODE><BR> Helper method to determin if conversion is TYPE_IMPORT_FRAGMENT</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isImportFull()">isImportFull</A></B>()</CODE><BR> Helper method to determin if conversion is TYPE_IMPORT_FULL</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isLogAppend()">isLogAppend</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isLogging()">isLogging</A></B>()</CODE><BR> Get flag indicating if logging is on or off.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#isNewGroup()">isNewGroup</A></B>()</CODE><BR> Helper method to determine if this is a new group.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#outputDebug(java.lang.Object, int, java.lang.String)">outputDebug</A></B>(<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> doc, int groupLevel, <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> str)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#parseChar(int)">parseChar</A></B>(int nextChar)</CODE><BR> Process the character and send it to the current destination.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#parseCtrlWord(java.io.PushbackInputStream)">parseCtrlWord</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PushbackInputStream.html?is-external=true" title="class or interface in java.io">PushbackInputStream</A> reader)</CODE><BR> Parses a keyword and it's parameter if one exists</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/RtfParser.html#removeListener(java.util.EventListener)">removeListener</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</A> listener)</CODE><BR> Removes a <CODE>EventListener</CODE> from the <CODE>RtfCtrlWordMgr</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#setCurrentDestination(java.lang.String)">setCurrentDestination</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> destination)</CODE><BR> Set the current destination object for the current state.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#setExtendedDestination(boolean)">setExtendedDestination</A></B>(boolean value)</CODE><BR> Helper method to set the extended control word flag.</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/RtfParser.html#setLogAppend(boolean)">setLogAppend</A></B>(boolean logAppend)</CODE><BR> </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/RtfParser.html#setLogFile(java.lang.String)">setLogFile</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> logFile)</CODE><BR> Set the logFile name</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/RtfParser.html#setLogFile(java.lang.String, boolean)">setLogFile</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> logFile, boolean logAppend)</CODE><BR> Set the logFile name</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/RtfParser.html#setLogging(boolean)">setLogging</A></B>(boolean logging)</CODE><BR> Set flag indicating if logging is on or off</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#setNewGroup(boolean)">setNewGroup</A></B>(boolean value)</CODE><BR> Helper method to set the new group flag</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#setParserState(int)">setParserState</A></B>(int newState)</CODE><BR> Set the state value of the parser.</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/RtfParser.html#setTokeniserSkipBytes(long)">setTokeniserSkipBytes</A></B>(long numberOfBytesToSkip)</CODE><BR> Sets the number of bytes to skip and the state of the tokeniser.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html#setTokeniserState(int)">setTokeniserState</A></B>(int value)</CODE><BR> Set the current state of the tokeniser.</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/RtfParser.html#setTokeniserStateBinary(int)">setTokeniserStateBinary</A></B>(int binaryCount)</CODE><BR> Sets the number of binary bytes.</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/RtfParser.html#setTokeniserStateBinary(long)">setTokeniserStateBinary</A></B>(long binaryCount)</CODE><BR> &
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -