|
|
|
@ -64,6 +64,7 @@ public class ExamePDF {
|
|
|
|
// outra_funcao_3
|
|
|
|
// outra_funcao_3
|
|
|
|
// outra_funcao_4
|
|
|
|
// outra_funcao_4
|
|
|
|
// proximo_exame
|
|
|
|
// proximo_exame
|
|
|
|
|
|
|
|
// outras_recomendacoes
|
|
|
|
// medicos.nome
|
|
|
|
// medicos.nome
|
|
|
|
// numero_cedula
|
|
|
|
// numero_cedula
|
|
|
|
|
|
|
|
|
|
|
|
@ -74,8 +75,8 @@ public class ExamePDF {
|
|
|
|
ht.put( "resultado_inapto_temp", Boolean.TRUE );
|
|
|
|
ht.put( "resultado_inapto_temp", Boolean.TRUE );
|
|
|
|
new FileOutputStream( "C:\\Chap0804.pdf" ).write( new ExamePDF().createPDF( ht ) );
|
|
|
|
new FileOutputStream( "C:\\Chap0804.pdf" ).write( new ExamePDF().createPDF( ht ) );
|
|
|
|
System.out.println( "File saved." );
|
|
|
|
System.out.println( "File saved." );
|
|
|
|
Runtime.getRuntime().exec( "cmd.exe /C c:\\open.bat" );
|
|
|
|
Runtime.getRuntime().exec( "cmd.exe" );
|
|
|
|
Runtime.getRuntime().exec( "notepad.exe" );
|
|
|
|
// Runtime.getRuntime().exec( "notepad.exe" );
|
|
|
|
System.out.println( "Done." );
|
|
|
|
System.out.println( "Done." );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch( Exception e )
|
|
|
|
catch( Exception e )
|
|
|
|
|