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

📄 rtfimportmgr.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 then the mapping from original font number to actual font number is added.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontNr</CODE> - The original font number.<DD><CODE>fontName</CODE> - The font name to look up.</DL></DD></DL><HR><A NAME="importFont(java.lang.String, java.lang.String, int)"><!-- --></A><H3>importFont</H3><PRE>public boolean <B>importFont</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;fontNr,                          <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,                          int&nbsp;charset)</PRE><DL><DD>Imports a font. The font name is looked up in the RtfDocumentHeader and then the mapping from original font number to actual font number is added.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontNr</CODE> - The original font number.<DD><CODE>fontName</CODE> - The font name to look up.<DD><CODE>charset</CODE> - The characterset to use for the font.</DL></DD></DL><HR><A NAME="importFont(java.lang.String, java.lang.String, java.lang.String, int)"><!-- --></A><H3>importFont</H3><PRE>public boolean <B>importFont</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;fontNr,                          <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,                          <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;fontFamily,                          int&nbsp;charset)</PRE><DL><DD>Imports a font. The font name is looked up in the RtfDocumentHeader and then the mapping from original font number to actual font number is added.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontNr</CODE> - The original font number.<DD><CODE>fontName</CODE> - The font name to look up.<DD><CODE>charset</CODE> - The characterset to use for the font.</DL></DD></DL><HR><A NAME="mapFontNr(java.lang.String)"><!-- --></A><H3>mapFontNr</H3><PRE>public <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> <B>mapFontNr</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;fontNr)</PRE><DL><DD>Performs the mapping from the original font number to the actual font number in the resulting RTF document. If the font number was not seen during import (thus no mapping) then 0 is returned, guaranteeing that the font number is always valid.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fontNr</CODE> - The font number to map.<DT><B>Returns:</B><DD>The mapped font number.</DL></DD></DL><HR><A NAME="importColor(java.lang.String, java.awt.Color)"><!-- --></A><H3>importColor</H3><PRE>public void <B>importColor</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;colorNr,                        <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)</PRE><DL><DD>Imports a color value. The color number for the color defined by its red, green and blue values is determined and then the resulting mapping is added.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>colorNr</CODE> - The original color number.<DD><CODE>color</CODE> - The color to import.</DL></DD></DL><HR><A NAME="mapColorNr(java.lang.String)"><!-- --></A><H3>mapColorNr</H3><PRE>public <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> <B>mapColorNr</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;colorNr)</PRE><DL><DD>Performs the mapping from the original font number to the actual font number used in the RTF document. If the color number was not seen during import (thus no mapping) then 0 is returned, guaranteeing that the color number is always valid.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>colorNr</CODE> - The color number to map.<DT><B>Returns:</B><DD>The mapped color number</DL></DD></DL><HR><A NAME="importList(java.lang.String, com.lowagie.text.List)"><!-- --></A><H3>importList</H3><PRE>public void <B>importList</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;listNr,                       <A HREF="../../../../../com/lowagie/text/List.html" title="class in com.lowagie.text">List</A>&nbsp;list)</PRE><DL><DD>Imports a List value. The List number for the List defined is determined and then the resulting mapping is added.<P><DD><DL></DL></DD></DL><HR><A NAME="mapListNr(java.lang.String)"><!-- --></A><H3>mapListNr</H3><PRE>public <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> <B>mapListNr</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;listNr)</PRE><DL><DD>Performs the mapping from the original list number to the actual list number in the resulting RTF document. If the list number was not seen during import (thus no mapping) then 0 is returned, guaranteeing that the list number is always valid.<P><DD><DL></DL></DD></DL><HR><A NAME="importStylesheetList(java.lang.String, com.lowagie.text.List)"><!-- --></A><H3>importStylesheetList</H3><PRE>public boolean <B>importStylesheetList</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;listNr,                                    <A HREF="../../../../../com/lowagie/text/List.html" title="class in com.lowagie.text">List</A>&nbsp;listIn)</PRE><DL><DD>Imports a stylesheet list value. The stylesheet number for the stylesheet defined is determined and then the resulting mapping is added.<P><DD><DL></DL></DD></DL><HR><A NAME="mapStylesheetListNr(java.lang.String)"><!-- --></A><H3>mapStylesheetListNr</H3><PRE>public <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> <B>mapStylesheetListNr</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;listNr)</PRE><DL><DD>Performs the mapping from the original stylesheet number to the actual stylesheet number in the resulting RTF document. If the stylesheet number was not seen during import (thus no mapping) then 0 is returned, guaranteeing that the stylesheet number is always valid.<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/lowagie/text/rtf/parser/RtfImportMappings.html" title="class in com.lowagie.text.rtf.parser"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/lowagie/text/rtf/parser/RtfParser.html" title="class in com.lowagie.text.rtf.parser"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?com/lowagie/text/rtf/parser/RtfImportMgr.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RtfImportMgr.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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