import com.lowagie.text.pdf.PdfWriter;
public interface IExportable {
- public void export(Document doc, PdfWriter writer) throws DocumentException;
+ /**
+ * @param doc
+ * @param writer
+ * @return the amount of PDF pages exported
+ * @throws DocumentException
+ */
+ public int export(Document doc, PdfWriter writer) throws DocumentException;
}