1 50 51 package com.lowagie.text; 52 53 61 62 public interface DocListener extends ElementListener { 63 64 66 70 71 public void open(); 73 79 80 public void close(); 82 88 89 public boolean newPage(); 91 97 98 public boolean setPageSize(Rectangle pageSize); 100 109 110 public boolean setMargins(float marginLeft, float marginRight, float marginTop, float marginBottom); 112 117 public boolean setMarginMirroring(boolean marginMirroring); 119 124 125 public void setPageCount(int pageN); 127 130 131 public void resetPageCount(); 133 138 139 public void setHeader(HeaderFooter header); 141 144 145 public void resetHeader(); 147 152 153 public void setFooter(HeaderFooter footer); 155 158 159 public void resetFooter(); 161 } | Popular Tags |