|
|
|
@ -16,7 +16,7 @@ public class PlanoActuacaoPDFCreator
|
|
|
|
public byte[] createPDF( Integer planoId )
|
|
|
|
public byte[] createPDF( Integer planoId )
|
|
|
|
throws Exception
|
|
|
|
throws Exception
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PlanoActuacaoToPrint plano = PlanoActuacaoPrintDataProvider.getProvider().getPlanoToPrint( 6 );
|
|
|
|
PlanoActuacaoToPrint plano = PlanoActuacaoPrintDataProvider.getProvider().getPlanoToPrint( planoId );
|
|
|
|
Document foDoc = new Document( plano.toJdomElement() );
|
|
|
|
Document foDoc = new Document( plano.toJdomElement() );
|
|
|
|
XMLOutputter outputter = new XMLOutputter();
|
|
|
|
XMLOutputter outputter = new XMLOutputter();
|
|
|
|
ByteArrayOutputStream foBaos = new ByteArrayOutputStream();
|
|
|
|
ByteArrayOutputStream foBaos = new ByteArrayOutputStream();
|
|
|
|
|