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
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
--- Andreas L Delmelle [EMAIL PROTECTED]
wrote:
In short, you need to drop the border-shorthand on
the table, and
replace it with border-after/before/start/end. Most
important are
border-before-width and border-after-width, that
need to specified as:
border-*-width.length=0.5pt
On Mar 27, 2007, at 05:23, Harshini Madurapperuma wrote:
Hi Harshini,
Hope I didn't trouble u by contacting personally;
Not really a problem, but it's always advisable to stay on fop-users.
If you contact me directly, there is an increased chance of your mail
ending up unanswered (due to
I use xmlfilters to perform several transformations;
the last xmlfilter produces the pdf:
xmlFilter3.setContentHandler(fop.getDefaultHandler());
xmlFilter3.parse(new InputSource(foo.xml));
Under fop-0.20.3 this worked - not so using fop-trunk.
Viewing the pdf in a text editor, it shows
On Mar 29, 2007, at 16:40, wmurrill wrote:
snip /
I'm not sure what you mean about specifying half
borders.
Sorry, my bad. I meant half the expected border-width.
As in: to get a table with 0.5pt borders everywhere, would be very
roughly
fo:table border-style=solid border-color=black
I ran across a FO file containing the following fragment (it took about
10 minutes to cull all the stuff from the file which didn't affect the
result...)
fo:block
fo:inline
fo:block-container absolute-position=absolute
height=20.0px width=15.0px