PDF-File not save on disk

2007-03-29 Thread Marcel S
Hello, I made an application that creates a PDF-File with the FOP-Engine. My problem is that i can only save the PDF-File on Disk.But i don't want to save it i just want it in a variable to proceed it to another method.(sending it as an email attachment) Cause this application runs on a

Re: PDF-File not save on disk

2007-03-29 Thread Adrian Cumiskey
Hi Marcel, Its best if you take a look at org.apache.fop.cli package. Start by looking at Main.startFOP() and then trace to InputHandler.transformTo(OutputStream) and InputHandler.transformTo(Result). You'll see from this code that all you need to do is basically create your OutputStream