📄 headerfooter.html
字号:
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttribute(java.lang.String)">getMarkupAttribute</A>, <A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributeNames()">getMarkupAttributeNames</A>, <A HREF="../../../com/lowagie/text/MarkupAttributes.html#getMarkupAttributes()">getMarkupAttributes</A>, <A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttribute(java.lang.String, java.lang.String)">setMarkupAttribute</A>, <A HREF="../../../com/lowagie/text/MarkupAttributes.html#setMarkupAttributes(java.util.Properties)">setMarkupAttributes</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.lowagie.text.Element"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from interface com.lowagie.text.<A HREF="../../../com/lowagie/text/Element.html">Element</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</A>, <A HREF="../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A>, <A HREF="../../../com/lowagie/text/Element.html#toString()">toString</A>, <A HREF="../../../com/lowagie/text/Element.html#type()">type</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="numbered"><!-- --></A><H3>
numbered</H3>
<PRE>
private boolean <B>numbered</B></PRE>
<DL>
<DD>Does the page contain a pagenumber?
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="before"><!-- --></A><H3>
before</H3>
<PRE>
private <A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> <B>before</B></PRE>
<DL>
<DD>This is the <CODE>Phrase</CODE> that comes before the pagenumber.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="pageN"><!-- --></A><H3>
pageN</H3>
<PRE>
private int <B>pageN</B></PRE>
<DL>
<DD>This is number of the page.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="after"><!-- --></A><H3>
after</H3>
<PRE>
private <A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> <B>after</B></PRE>
<DL>
<DD>This is the <CODE>Phrase</CODE> that comes after the pagenumber.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="alignment"><!-- --></A><H3>
alignment</H3>
<PRE>
private int <B>alignment</B></PRE>
<DL>
<DD>This is alignment of the header/footer.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="HeaderFooter(com.lowagie.text.Phrase, com.lowagie.text.Phrase)"><!-- --></A><H3>
HeaderFooter</H3>
<PRE>
public <B>HeaderFooter</B>(<A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> before, <A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> after)</PRE>
<DL>
<DD>Constructs a <CODE>HeaderFooter</CODE>-object.
<P>
<DT><B>Parameters:</B><DD><CODE>before</CODE> - the <CODE>Phrase</CODE> before the pagenumber<DD><CODE>after</CODE> - the <CODE>Phrase</CODE> before the pagenumber</DL>
<HR>
<A NAME="HeaderFooter(com.lowagie.text.Phrase, boolean)"><!-- --></A><H3>
HeaderFooter</H3>
<PRE>
public <B>HeaderFooter</B>(<A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> before, boolean numbered)</PRE>
<DL>
<DD>Constructs a <CODE>Header</CODE>-object with a pagenumber at the end.
<P>
<DT><B>Parameters:</B><DD><CODE>before</CODE> - the <CODE>Phrase</CODE> before the pagenumber<DD><CODE>numbered</CODE> - <CODE>true</CODE> if the page has to be numbered</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="isNumbered()"><!-- --></A><H3>
isNumbered</H3>
<PRE>
public boolean <B>isNumbered</B>()</PRE>
<DL>
<DD>Checks if the HeaderFooter contains a page number.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if the page has to be numbered</DL>
</DD>
</DL>
<HR>
<A NAME="getBefore()"><!-- --></A><H3>
getBefore</H3>
<PRE>
public <A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> <B>getBefore</B>()</PRE>
<DL>
<DD>Gets the part that comes before the pageNumber.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a Phrase</DL>
</DD>
</DL>
<HR>
<A NAME="getAfter()"><!-- --></A><H3>
getAfter</H3>
<PRE>
public <A HREF="../../../com/lowagie/text/Phrase.html">Phrase</A> <B>getAfter</B>()</PRE>
<DL>
<DD>Gets the part that comes after the pageNumber.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a Phrase</DL>
</DD>
</DL>
<HR>
<A NAME="setPageNumber(int)"><!-- --></A><H3>
setPageNumber</H3>
<PRE>
public void <B>setPageNumber</B>(int pageN)</PRE>
<DL>
<DD>Sets the page number.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageN</CODE> - the new page number</DL>
</DD>
</DL>
<HR>
<A NAME="setAlignment(int)"><!-- --></A><H3>
setAlignment</H3>
<PRE>
public void <B>setAlignment</B>(int alignment)</PRE>
<DL>
<DD>Sets the alignment.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - the new alignment</DL>
</DD>
</DL>
<HR>
<A NAME="paragraph()"><!-- --></A><H3>
paragraph</H3>
<PRE>
public <A HREF="../../../com/lowagie/text/Paragraph.html">Paragraph</A> <B>paragraph</B>()</PRE>
<DL>
<DD>Gets the <CODE>Paragraph</CODE> that can be used as header or footer.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>Paragraph</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../com/lowagie/text/Header.html"><B>PREV CLASS</B></A>
<A HREF="../../../com/lowagie/text/Image.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="HeaderFooter.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -