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

📄 rtfheaderfootergroup.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<PRE>private int <B>mode</B></PRE><DL><DD>The current mode of this RtfHeaderFooterGroup. Defaults to MODE_NONE<P><DL></DL></DL><HR><A NAME="type"><!-- --></A><H3>type</H3><PRE>private int <B>type</B></PRE><DL><DD>The current type of this RtfHeaderFooterGroup. Defaults to RtfHeaderFooter.TYPE_HEADER<P><DL></DL></DL><HR><A NAME="headerAll"><!-- --></A><H3>headerAll</H3><PRE>private <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A> <B>headerAll</B></PRE><DL><DD>The RtfHeaderFooter for all pages<P><DL></DL></DL><HR><A NAME="headerFirst"><!-- --></A><H3>headerFirst</H3><PRE>private <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A> <B>headerFirst</B></PRE><DL><DD>The RtfHeaderFooter for the first page<P><DL></DL></DL><HR><A NAME="headerLeft"><!-- --></A><H3>headerLeft</H3><PRE>private <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A> <B>headerLeft</B></PRE><DL><DD>The RtfHeaderFooter for the left hand pages<P><DL></DL></DL><HR><A NAME="headerRight"><!-- --></A><H3>headerRight</H3><PRE>private <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A> <B>headerRight</B></PRE><DL><DD>The RtfHeaderFooter for the right hand pages<P><DL></DL></DL><HR><A NAME="document"><!-- --></A><H3>document</H3><PRE>private <A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> <B>document</B></PRE><DL><DD>The RtfDocument this RtfHeaderFooterGroup belongs to<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="RtfHeaderFooterGroup()"><!-- --></A><H3>RtfHeaderFooterGroup</H3><PRE>public <B>RtfHeaderFooterGroup</B>()</PRE><DL><DD>Constructs a RtfHeaderGroup to which you add headers/footers using  via the setHeaderFooter method.<P></DL><HR><A NAME="RtfHeaderFooterGroup(com.lowagie.text.rtf.document.RtfDocument, int)"><!-- --></A><H3>RtfHeaderFooterGroup</H3><PRE>public <B>RtfHeaderFooterGroup</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc,                            int&nbsp;type)</PRE><DL><DD>Constructs a certain type of RtfHeaderFooterGroup. RtfHeaderFooter.TYPE_HEADER and RtfHeaderFooter.TYPE_FOOTER are valid values for type.<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>type</CODE> - The type of RtfHeaderFooterGroup to create</DL></DL><HR><A NAME="RtfHeaderFooterGroup(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.rtf.headerfooter.RtfHeaderFooterGroup, int)"><!-- --></A><H3>RtfHeaderFooterGroup</H3><PRE>public <B>RtfHeaderFooterGroup</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc,                            <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooterGroup.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooterGroup</A>&nbsp;headerFooter,                            int&nbsp;type)</PRE><DL><DD>Constructs a RtfHeaderFooterGroup by copying the content of the original RtfHeaderFooterGroup<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>headerFooter</CODE> - The RtfHeaderFooterGroup to copy<DD><CODE>type</CODE> - The type of RtfHeaderFooterGroup to create</DL></DL><HR><A NAME="RtfHeaderFooterGroup(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.rtf.headerfooter.RtfHeaderFooter, int)"><!-- --></A><H3>RtfHeaderFooterGroup</H3><PRE>public <B>RtfHeaderFooterGroup</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc,                            <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A>&nbsp;headerFooter,                            int&nbsp;type)</PRE><DL><DD>Constructs a RtfHeaderFooterGroup for a certain RtfHeaderFooter.<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>headerFooter</CODE> - The RtfHeaderFooter to display<DD><CODE>type</CODE> - The type of RtfHeaderFooterGroup to create</DL></DL><HR><A NAME="RtfHeaderFooterGroup(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.HeaderFooter, int)"><!-- --></A><H3>RtfHeaderFooterGroup</H3><PRE>public <B>RtfHeaderFooterGroup</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc,                            <A HREF="../../../../../com/lowagie/text/HeaderFooter.html" title="class in com.lowagie.text">HeaderFooter</A>&nbsp;headerFooter,                            int&nbsp;type)</PRE><DL><DD>Constructs a RtfHeaderGroup for a certain HeaderFooter<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>headerFooter</CODE> - The HeaderFooter to display<DD><CODE>type</CODE> - The type of RtfHeaderFooterGroup to create</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="setRtfDocument(com.lowagie.text.rtf.document.RtfDocument)"><!-- --></A><H3>setRtfDocument</H3><PRE>public void <B>setRtfDocument</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A>&nbsp;doc)</PRE><DL><DD>Sets the RtfDocument this RtfElement belongs to<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/rtf/RtfBasicElement.html#setRtfDocument(com.lowagie.text.rtf.document.RtfDocument)">setRtfDocument</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>doc</CODE> - The RtfDocument to use</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>&nbsp;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 RtfHeaderFooterGroup.<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="setHeaderFooter(com.lowagie.text.rtf.headerfooter.RtfHeaderFooter, int)"><!-- --></A><H3>setHeaderFooter</H3><PRE>public void <B>setHeaderFooter</B>(<A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A>&nbsp;headerFooter,                            int&nbsp;displayAt)</PRE><DL><DD>Set a RtfHeaderFooter to be displayed at a certain position<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>headerFooter</CODE> - The RtfHeaderFooter to display<DD><CODE>displayAt</CODE> - The display location to use</DL></DD></DL><HR><A NAME="setHeaderFooter(com.lowagie.text.HeaderFooter, int)"><!-- --></A><H3>setHeaderFooter</H3><PRE>public void <B>setHeaderFooter</B>(<A HREF="../../../../../com/lowagie/text/HeaderFooter.html" title="class in com.lowagie.text">HeaderFooter</A>&nbsp;headerFooter,                            int&nbsp;displayAt)</PRE><DL><DD>Set a HeaderFooter to be displayed at a certain position<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>headerFooter</CODE> - The HeaderFooter to set<DD><CODE>displayAt</CODE> - The display location to use</DL></DD></DL><HR><A NAME="setHasTitlePage()"><!-- --></A><H3>setHasTitlePage</H3><PRE>public void <B>setHasTitlePage</B>()</PRE><DL><DD>Set that this RtfHeaderFooterGroup should have a title page. If only a header / footer for all pages exists, then it will be copied to the first page as well.<P><DD><DL></DL></DD><DD><DL></DL></DD>

⌨️ 快捷键说明

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