X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.wiki.ui%2Fsrc%2Forg%2Fsimantics%2Fwiki%2Fui%2Feditor%2FIExportable.java;h=492fd1928ef89ab1632f3fe0a792b5c17f4af89f;hb=9d4a145fef9bcec16e3d1f1477894cba6429b9c4;hp=eba35a5715748ace20ead2fd7ed4e8ce0ca67083;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.wiki.ui/src/org/simantics/wiki/ui/editor/IExportable.java b/bundles/org.simantics.wiki.ui/src/org/simantics/wiki/ui/editor/IExportable.java index eba35a571..492fd1928 100644 --- a/bundles/org.simantics.wiki.ui/src/org/simantics/wiki/ui/editor/IExportable.java +++ b/bundles/org.simantics.wiki.ui/src/org/simantics/wiki/ui/editor/IExportable.java @@ -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; }