1 50 51 package com.lowagie.text.pdf; 52 import com.lowagie.text.Document; 53 import com.lowagie.text.Paragraph; 54 import com.lowagie.text.Rectangle; 55 56 64 65 public class PdfPageEventHelper implements PdfPageEvent { 66 67 73 public void onOpenDocument(PdfWriter writer,Document document) { 74 } 75 76 86 public void onStartPage(PdfWriter writer,Document document) { 87 } 88 89 95 public void onEndPage(PdfWriter writer,Document document) { 96 } 97 98 107 public void onCloseDocument(PdfWriter writer,Document document) { 108 } 109 110 121 public void onParagraph(PdfWriter writer,Document document,float paragraphPosition) { 122 } 123 124 133 public void onParagraphEnd(PdfWriter writer,Document document,float paragraphPosition) { 134 } 135 136 147 public void onChapter(PdfWriter writer,Document document,float paragraphPosition,Paragraph title) { 148 } 149 150 159 public void onChapterEnd(PdfWriter writer,Document document,float position) { 160 } 161 162 174 public void onSection(PdfWriter writer,Document document,float paragraphPosition,int depth,Paragraph title) { 175 } 176 177 186 public void onSectionEnd(PdfWriter writer,Document document,float position) { 187 } 188 189 200 public void onGenericTag(PdfWriter writer,Document document,Rectangle rect,String text) { 201 } 202 } 203 | Popular Tags |