diff --git a/trunk/SIPRPSoft/src/siprp/planoactuacao/print/TestPrint.java b/trunk/SIPRPSoft/src/siprp/planoactuacao/print/TestPrint.java index 64f55c47..6156234b 100644 --- a/trunk/SIPRPSoft/src/siprp/planoactuacao/print/TestPrint.java +++ b/trunk/SIPRPSoft/src/siprp/planoactuacao/print/TestPrint.java @@ -44,10 +44,13 @@ public class TestPrint // fos.write( fo ); // fos.close(); - byte pdf[] = new PlanoActuacaoPDFCreator().createPDF( 6, true ); - FileOutputStream fos = new FileOutputStream( "/home/fpalma/Desktop/pdf.pdf" ); - fos.write( pdf ); - fos.close(); + for( int n = 1; n <= 7; n++ ) + { + byte pdf[] = new PlanoActuacaoPDFCreator().createPDF( n, false ); + FileOutputStream fos = new FileOutputStream( "/home/fpalma/Desktop/" + n + ".pdf" ); + fos.write( pdf ); + fos.close(); + } } public void createPDFFile( byte fo[], String path )