📄 rtfheaderfooter.html
字号:
<PRE>public static final int <B>TYPE_FOOTER</B></PRE><DL><DD>Constant for the footer type<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.TYPE_FOOTER">Constant Field Values</A></DL></DL><HR><A NAME="DISPLAY_FIRST_PAGE"><!-- --></A><H3>DISPLAY_FIRST_PAGE</H3><PRE>public static final int <B>DISPLAY_FIRST_PAGE</B></PRE><DL><DD>Constant for displaying the header/footer on the first page<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.DISPLAY_FIRST_PAGE">Constant Field Values</A></DL></DL><HR><A NAME="DISPLAY_ALL_PAGES"><!-- --></A><H3>DISPLAY_ALL_PAGES</H3><PRE>public static final int <B>DISPLAY_ALL_PAGES</B></PRE><DL><DD>Constant for displaying the header/footer on all pages<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.DISPLAY_ALL_PAGES">Constant Field Values</A></DL></DL><HR><A NAME="DISPLAY_LEFT_PAGES"><!-- --></A><H3>DISPLAY_LEFT_PAGES</H3><PRE>public static final int <B>DISPLAY_LEFT_PAGES</B></PRE><DL><DD>Constant for displaying the header/footer on all left hand pages<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.DISPLAY_LEFT_PAGES">Constant Field Values</A></DL></DL><HR><A NAME="DISPLAY_RIGHT_PAGES"><!-- --></A><H3>DISPLAY_RIGHT_PAGES</H3><PRE>public static final int <B>DISPLAY_RIGHT_PAGES</B></PRE><DL><DD>Constant for displaying the header/footer on all right hand pages<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.DISPLAY_RIGHT_PAGES">Constant Field Values</A></DL></DL><HR><A NAME="HEADER_ALL"><!-- --></A><H3>HEADER_ALL</H3><PRE>private static final byte[] <B>HEADER_ALL</B></PRE><DL><DD>Constant for a header on all pages<P><DL></DL></DL><HR><A NAME="HEADER_FIRST"><!-- --></A><H3>HEADER_FIRST</H3><PRE>private static final byte[] <B>HEADER_FIRST</B></PRE><DL><DD>Constant for a header on the first page<P><DL></DL></DL><HR><A NAME="HEADER_LEFT"><!-- --></A><H3>HEADER_LEFT</H3><PRE>private static final byte[] <B>HEADER_LEFT</B></PRE><DL><DD>Constant for a header on all left hand pages<P><DL></DL></DL><HR><A NAME="HEADER_RIGHT"><!-- --></A><H3>HEADER_RIGHT</H3><PRE>private static final byte[] <B>HEADER_RIGHT</B></PRE><DL><DD>Constant for a header on all right hand pages<P><DL></DL></DL><HR><A NAME="FOOTER_ALL"><!-- --></A><H3>FOOTER_ALL</H3><PRE>private static final byte[] <B>FOOTER_ALL</B></PRE><DL><DD>Constant for a footer on all pages<P><DL></DL></DL><HR><A NAME="FOOTER_FIRST"><!-- --></A><H3>FOOTER_FIRST</H3><PRE>private static final byte[] <B>FOOTER_FIRST</B></PRE><DL><DD>Constant for a footer on the first page<P><DL></DL></DL><HR><A NAME="FOOTER_LEFT"><!-- --></A><H3>FOOTER_LEFT</H3><PRE>private static final byte[] <B>FOOTER_LEFT</B></PRE><DL><DD>Constant for a footer on the left hand pages<P><DL></DL></DL><HR><A NAME="FOOTER_RIGHT"><!-- --></A><H3>FOOTER_RIGHT</H3><PRE>private static final byte[] <B>FOOTER_RIGHT</B></PRE><DL><DD>Constant for a footer on 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 RtfHeaderFooter belongs to<P><DL></DL></DL><HR><A NAME="content"><!-- --></A><H3>content</H3><PRE>private <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>content</B></PRE><DL><DD>The content of this RtfHeaderFooter<P><DL></DL></DL><HR><A NAME="type"><!-- --></A><H3>type</H3><PRE>private int <B>type</B></PRE><DL><DD>The display type of this RtfHeaderFooter. TYPE_HEADER or TYPE_FOOTER<P><DL></DL></DL><HR><A NAME="displayAt"><!-- --></A><H3>displayAt</H3><PRE>private int <B>displayAt</B></PRE><DL><DD>The display location of this RtfHeaderFooter. DISPLAY_FIRST_PAGE, DISPLAY_LEFT_PAGES, DISPLAY_RIGHT_PAGES or DISPLAY_ALL_PAGES<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="RtfHeaderFooter(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.HeaderFooter, int, int)"><!-- --></A><H3>RtfHeaderFooter</H3><PRE>protected <B>RtfHeaderFooter</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> doc, <A HREF="../../../../../com/lowagie/text/HeaderFooter.html" title="class in com.lowagie.text">HeaderFooter</A> headerFooter, int type, int displayAt)</PRE><DL><DD>Constructs a RtfHeaderFooter based on a HeaderFooter with a certain type and displayAt location. For internal use only.<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>headerFooter</CODE> - The HeaderFooter to base this RtfHeaderFooter on<DD><CODE>type</CODE> - The type of RtfHeaderFooter<DD><CODE>displayAt</CODE> - The display location of this RtfHeaderFooter</DL></DL><HR><A NAME="RtfHeaderFooter(com.lowagie.text.rtf.document.RtfDocument, com.lowagie.text.rtf.headerfooter.RtfHeaderFooter, int)"><!-- --></A><H3>RtfHeaderFooter</H3><PRE>protected <B>RtfHeaderFooter</B>(<A HREF="../../../../../com/lowagie/text/rtf/document/RtfDocument.html" title="class in com.lowagie.text.rtf.document">RtfDocument</A> doc, <A HREF="../../../../../com/lowagie/text/rtf/headerfooter/RtfHeaderFooter.html" title="class in com.lowagie.text.rtf.headerfooter">RtfHeaderFooter</A> headerFooter, int displayAt)</PRE><DL><DD>Constructs a RtfHeaderFooter as a copy of an existing RtfHeaderFooter. For internal use only.<P><DL><DT><B>Parameters:</B><DD><CODE>doc</CODE> - The RtfDocument this RtfHeaderFooter belongs to<DD><CODE>headerFooter</CODE> - The RtfHeaderFooter to copy<DD><CODE>displayAt</CODE> - The display location of this RtfHeaderFooter</DL></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -