Hi, I am running this XSL-FO through : org.apache.fop.apps.Driver to generate the TIFF.In this package I can?t find how to set the background ( if it is possible ?) of the created image. So therefore I would like to do it at this level. Even if it is possible to set background in org.apache.fop.apps.Driver, I would like to do it at this level as well, to see if the size of the created TIFF will be the same.
Which are the places where I could insert a background property ? And how should the code look like ? The "Image" we are talking about here, is just black printing on white background when rendered. And I would like to have it the other way around. BIG thanks for helping me ! /Gergely -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:16 PM To: [EMAIL PROTECTED] Subject: Re: How to create a black rectangle Gergely Hajdu wrote: > <fo:page-sequence master-reference="first" language="en" hyphenate="true"> > <fo:block-container position="absolute" width="1024pt" height="1024pt" > background-color="black"></fo:block-container> > A block container must be a descendant of a fo:flow or fo:static-content according to the spec (a child for getting absolute positioning correctly in FOP). ... > So I would like to have black background to this template when creating the > TIFF. There is no reference to any external or other graphic in what you call your template. I still have no idea what you want to achieve. I have absolutely no idea what the phrase "black background to this template" indicates. You posted a complete, though slightly errorneous FO document. There are quite a few places there where a background property would apply, in particular all the block FOs. An image doesn't usually need a background, because the image area is, well, already filled with the image. Are you sure you want to do something at the FO level? I suspect you should grab an image manipulating program. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]