📄 pdfpageeventforwarder.html
字号:
<A NAME="onParagraph(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)"><!-- --></A><H3>onParagraph</H3><PRE>public void <B>onParagraph</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float 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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onParagraph(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)">onParagraph</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>public void <B>onParagraphEnd</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float 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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onParagraphEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)">onParagraphEnd</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>public void <B>onChapter</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float paragraphPosition, <A HREF="../../../../../com/lowagie/text/Paragraph.html" title="class in com.lowagie.text">Paragraph</A> 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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onChapter(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float, com.lowagie.text.Paragraph)">onChapter</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>public void <B>onChapterEnd</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float position)</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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onChapterEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)">onChapterEnd</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>position</CODE> - the position of the end of the chapter.</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>public void <B>onSection</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float paragraphPosition, int depth, <A HREF="../../../../../com/lowagie/text/Paragraph.html" title="class in com.lowagie.text">Paragraph</A> 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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onSection(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float, int, com.lowagie.text.Paragraph)">onSection</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>public void <B>onSectionEnd</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, float position)</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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onSectionEnd(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, float)">onSectionEnd</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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>position</CODE> - the position of the end of the section</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>public void <B>onGenericTag</B>(<A HREF="../../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A> writer, <A HREF="../../../../../com/lowagie/text/Document.html" title="class in com.lowagie.text">Document</A> document, <A HREF="../../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A> 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> 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>Specified by:</B><DD><CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html#onGenericTag(com.lowagie.text.pdf.PdfWriter, com.lowagie.text.Document, com.lowagie.text.Rectangle, java.lang.String)">onGenericTag</A></CODE> in interface <CODE><A HREF="../../../../../com/lowagie/text/pdf/PdfPageEvent.html" title="interface in com.lowagie.text.pdf">PdfPageEvent</A></CODE></DL></DD><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> </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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/lowagie/text/pdf/events/IndexEvents.Entry.html" title="class in com.lowagie.text.pdf.events"><B>PREV CLASS</B></A> <A HREF="../../../../../com/lowagie/text/pdf/events/PdfPCellEventForwarder.html" title="class in com.lowagie.text.pdf.events"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/lowagie/text/pdf/events/PdfPageEventForwarder.html" target="_top"><B>FRAMES</B></A> <A HREF="PdfPageEventForwarder.html" target="_top"><B>NO FRAMES</B></A> <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: 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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -