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

📄 pdfpageevent.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
void <B>onOpenDocument</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                    <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document)</PRE><DL><DD>Called when the document is opened.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document</DL></DD></DL><HR><A NAME="onStartPage(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document)"><!-- --></A><H3>onStartPage</H3><PRE>void <B>onStartPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                 <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document)</PRE><DL><DD>Called when a page is initialized. <P> Note that if even if a page is not written this method is still called. It is preferable to use <CODE>onEndPage</CODE> to avoid infinite loops.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document</DL></DD></DL><HR><A NAME="onEndPage(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document)"><!-- --></A><H3>onEndPage</H3><PRE>void <B>onEndPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,               <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document)</PRE><DL><DD>Called when a page is finished, just before being written to the document.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document</DL></DD></DL><HR><A NAME="onCloseDocument(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document)"><!-- --></A><H3>onCloseDocument</H3><PRE>void <B>onCloseDocument</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                     <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document)</PRE><DL><DD>Called when the document is closed. <P> Note that this method is called with the page number equal to the last page plus one.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document</DL></DD></DL><HR><A NAME="onParagraph(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)"><!-- --></A><H3>onParagraph</H3><PRE>void <B>onParagraph</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                 <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,                 float&nbsp;paragraphPosition)</PRE><DL><DD>Called when a Paragraph is written. <P> <CODE>paragraphPosition</CODE> will hold the height at which the paragraph will be written to. This is useful to insert bookmarks with more control.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position the paragraph will be written to</DL></DD></DL><HR><A NAME="onParagraphEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)"><!-- --></A><H3>onParagraphEnd</H3><PRE>void <B>onParagraphEnd</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                    <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,                    float&nbsp;paragraphPosition)</PRE><DL><DD>Called when a Paragraph is written. <P> <CODE>paragraphPosition</CODE> will hold the height of the end of the paragraph.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position of the end of the paragraph</DL></DD></DL><HR><A NAME="onChapter(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float, com.lowagie.text.Paragraph)"><!-- --></A><H3>onChapter</H3><PRE>void <B>onChapter</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,               <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,               float&nbsp;paragraphPosition,               <A HREF="../../../../com/lowagie/text/Paragraph.html" title="class in com.lowagie.text">Paragraph</A>&nbsp;title)</PRE><DL><DD>Called when a Chapter is written. <P> <CODE>position</CODE> will hold the height at which the chapter will be written to.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position the chapter will be written to<DD><CODE>title</CODE> - the title of the Chapter</DL></DD></DL><HR><A NAME="onChapterEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)"><!-- --></A><H3>onChapterEnd</H3><PRE>void <B>onChapterEnd</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                  <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,                  float&nbsp;paragraphPosition)</PRE><DL><DD>Called when the end of a Chapter is reached. <P> <CODE>position</CODE> will hold the height of the end of the chapter.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position the chapter will be written to</DL></DD></DL><HR><A NAME="onSection(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float, int, com.lowagie.text.Paragraph)"><!-- --></A><H3>onSection</H3><PRE>void <B>onSection</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,               <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,               float&nbsp;paragraphPosition,               int&nbsp;depth,               <A HREF="../../../../com/lowagie/text/Paragraph.html" title="class in com.lowagie.text">Paragraph</A>&nbsp;title)</PRE><DL><DD>Called when a Section is written. <P> <CODE>position</CODE> will hold the height at which the section will be written to.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position the section will be written to<DD><CODE>depth</CODE> - the number depth of the section<DD><CODE>title</CODE> - the title of the section</DL></DD></DL><HR><A NAME="onSectionEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)"><!-- --></A><H3>onSectionEnd</H3><PRE>void <B>onSectionEnd</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                  <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,                  float&nbsp;paragraphPosition)</PRE><DL><DD>Called when the end of a Section is reached. <P> <CODE>position</CODE> will hold the height of the section end.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>paragraphPosition</CODE> - the position the section will be written to</DL></DD></DL><HR><A NAME="onGenericTag(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, com.lowagie.text.Rectangle, java.lang.String)"><!-- --></A><H3>onGenericTag</H3><PRE>void <B>onGenericTag</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                  <A HREF="../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A>&nbsp;document,                  <A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;rect,                  <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;text)</PRE><DL><DD>Called when a <CODE>Chunk</CODE> with a generic tag is written. <P> It is useful to pinpoint the <CODE>Chunk</CODE> location to generate bookmarks, for example.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> for this document<DD><CODE>document</CODE> - the document<DD><CODE>rect</CODE> - the <CODE>Rectangle</CODE> containing the <CODE>Chunk</CODE><DD><CODE>text</CODE> - the text of the tag</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/pdf/PdfPageElement.html" title="interface in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/PdfPageEventHelper.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/lowagie/text/pdf/PdfPageEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PdfPageEvent.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 + -