Re: Question about watermarking in FOP.
I'm afraid I don't know the answer to that one but I have forwarded your enquiry to the fop-user mailing list. You should join in, perhaps. Trev Todeush, Serhiy To: '[EMAIL PROTECTED]' Serhiy.Todeus[EMAIL PROTECTED] [EMAIL PROTECTED] cc: Subject: Question about watermarking in FOP. 25/05/2002 02:55 AM Hello, Trevor! My name is Serhiy Todeush. I am using FOP 0.20.3 to generate PDFs. Couple of days ago I run into problem with watermark in my documents because current version of FOP does not support BACKGROUND-IMAGE. I saw you answer on the FOP-user forum about using an image in REGION-BEFOR as a substitution for watermark. I tried this technique and it worked. But I still have a problem, because the image appears on the top of text in the main body, i.e. I cannot see text behind the image. (I use GIF file with transparent background as the image). Dou you know by any chance how to resolve the issue? Is there any way to bring main body text to foreground? May be you have some working example which you can share with me? I really appreciate your attention to my request. Thank you in advance, Serhiy
RE: foregroundColor
A note about using XML-SPY for fop development. I used it quite a bit lately and while I found it good, the DTD it uses for XSL:FO is far from complete and sometimes incorrect. That's not to say it isn't very useful, just be careful and have the spec (http://www.w3.org/TR/xsl/) handy as well. Trev Michael J. Godfrey [EMAIL PROTECTED] To: [EMAIL PROTECTED] hesis.com cc: Subject: RE: foregroundColor 14/05/2002 07:34 AM Please respond to fop-user BWHAHA Many thanks Chuck.. it worked just fine.. Interestingly the color= does NOT show up as auto-completion in xml spy 4.3. Of course I should not be so dependant on auto-complete ;P -Michael -Original Message- From: Chuck Paussa [mailto:[EMAIL PROTECTED] Sent: Monday, May 13, 2002 3:38 PM To: [EMAIL PROTECTED] Subject: Re: foregroundColor Michael J. Godfrey wrote: Greetings, How do I make this.. fo:table-row height=7mm background-color=#739ECE And add foreground-color=#FF ? I am using XML Spy and the auto-complete doesnt seem to display it. Thanks, Michael Foreground-color = color So: It's fo:table-row height=7mm background-color=#739ECE color=#FF Chuck
Re: XML string input
Create a stream over your XML, InputStream xmlStream = new StringBufferInputStream(strXML); then create an Input Source new InputSource(xmlStream); Olivier Buisard [EMAIL PROTECTED] To: [EMAIL PROTECTED] eenmd.comcc: Subject: XML string input 20/03/2002 05:07 AM Please respond to fop-user I would like to transform an XML string instead of an XML file. Is it possible? (maybe through 'InputSource'?) Thanks for any help, Olivier.
Re: AW: watermarking
Yes. The region-before and main body areas can fully overlap if required. S. Jayaraman [EMAIL PROTECTED] To: [EMAIL PROTECTED] nsor.ch cc: Subject: AW: watermarking 06/03/2002 08:37 PM Please respond to fop-user Will I be still able to put a watermark across the middle of my page ? Rgds Jay *** Use the region-before. Make it large enough to contain your image and then include a block (and if required an absolutely positioned block-container) with your image in the static-content for the region-before. (BTW this is the same technique as used in MS Word). Trev ** hello all Is there any way of adding some kind of watermark to a PDF document generated with FOP ? I am using FOP in a JSP environment. Thanks Chris
Re: watermarking
Use the region-before. Make it large enough to contain your image and then include a block (and if required an absolutely positioned block-container) with your image in the static-content for the region-before. (BTW this is the same technique as used in MS Word). Trev Chris Faulkner [EMAIL PROTECTED] To: [EMAIL PROTECTED] world.com cc: Subject: watermarking 05/03/2002 08:44 PM Please respond to fop-user hello all Is there any way of adding some kind of watermark to a PDF document generated with FOP ? I am using FOP in a JSP environment. Thanks Chris