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

📄 doclistener.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</DL></DD><DD><DL></DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>void <B>close</B>()</PRE><DL><DD>Signals that the <CODE>Document</CODE> was closed and that no other <CODE>Elements</CODE> will be added. <P> The outputstream of every writer implementing <CODE>DocListener</CODE> will be closed.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="newPage()"><!-- --></A><H3>newPage</H3><PRE>boolean <B>newPage</B>()</PRE><DL><DD>Signals that an new page has to be started.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the page was added, <CODE>false</CODE> if not.<DT><B>Throws:</B><DD><CODE><A HREF="../../../com/lowagie/text/DocumentException.html" title="class in com.lowagie.text">DocumentException</A></CODE> - when a document isn't open yet, or has been closed</DL></DD></DL><HR><A NAME="setPageSize(com.lowagie.text.Rectangle)"><!-- --></A><H3>setPageSize</H3><PRE>boolean <B>setPageSize</B>(<A HREF="../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;pageSize)</PRE><DL><DD>Sets the pagesize.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageSize</CODE> - the new pagesize<DT><B>Returns:</B><DD>a <CODE>boolean</CODE></DL></DD></DL><HR><A NAME="setMargins(float, float, float, float)"><!-- --></A><H3>setMargins</H3><PRE>boolean <B>setMargins</B>(float&nbsp;marginLeft,                   float&nbsp;marginRight,                   float&nbsp;marginTop,                   float&nbsp;marginBottom)</PRE><DL><DD>Sets the margins.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marginLeft</CODE> - the margin on the left<DD><CODE>marginRight</CODE> - the margin on the right<DD><CODE>marginTop</CODE> - the margin on the top<DD><CODE>marginBottom</CODE> - the margin on the bottom<DT><B>Returns:</B><DD>a <CODE>boolean</CODE></DL></DD></DL><HR><A NAME="setMarginMirroring(boolean)"><!-- --></A><H3>setMarginMirroring</H3><PRE>boolean <B>setMarginMirroring</B>(boolean&nbsp;marginMirroring)</PRE><DL><DD>Parameter that allows you to do margin mirroring (odd/even pages)<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>marginMirroring</CODE> - <DT><B>Returns:</B><DD>true if successful</DL></DD></DL><HR><A NAME="setPageCount(int)"><!-- --></A><H3>setPageCount</H3><PRE>void <B>setPageCount</B>(int&nbsp;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="resetPageCount()"><!-- --></A><H3>resetPageCount</H3><PRE>void <B>resetPageCount</B>()</PRE><DL><DD>Sets the page number to 0.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setHeader(com.lowagie.text.HeaderFooter)"><!-- --></A><H3>setHeader</H3><PRE>void <B>setHeader</B>(<A HREF="../../../com/lowagie/text/HeaderFooter.html" title="class in com.lowagie.text">HeaderFooter</A>&nbsp;header)</PRE><DL><DD>Changes the header of this document.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>header</CODE> - the new header</DL></DD></DL><HR><A NAME="resetHeader()"><!-- --></A><H3>resetHeader</H3><PRE>void <B>resetHeader</B>()</PRE><DL><DD>Resets the header of this document.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setFooter(com.lowagie.text.HeaderFooter)"><!-- --></A><H3>setFooter</H3><PRE>void <B>setFooter</B>(<A HREF="../../../com/lowagie/text/HeaderFooter.html" title="class in com.lowagie.text">HeaderFooter</A>&nbsp;footer)</PRE><DL><DD>Changes the footer of this document.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>footer</CODE> - the new footer</DL></DD></DL><HR><A NAME="resetFooter()"><!-- --></A><H3>resetFooter</H3><PRE>void <B>resetFooter</B>()</PRE><DL><DD>Resets the footer of this document.<P><DD><DL></DL></DD><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/Chunk.html" title="class in com.lowagie.text"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/lowagie/text/Document.html" title="class in com.lowagie.text"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/lowagie/text/DocListener.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DocListener.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + -