]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.wiki.ui/src/org/simantics/wiki/ui/editor/IExportable.java
Merge branch 'feature/funcwrite'
[simantics/platform.git] / bundles / org.simantics.wiki.ui / src / org / simantics / wiki / ui / editor / IExportable.java
index eba35a5715748ace20ead2fd7ed4e8ce0ca67083..492fd1928ef89ab1632f3fe0a792b5c17f4af89f 100644 (file)
@@ -16,5 +16,11 @@ import com.lowagie.text.DocumentException;
 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;
 }