RE: dynamic image in PDF

2002-03-06 Thread Buonincontri, Steve (CAP, MMF, ITSS)
Ankur,

With rtf2fo I had to use a "-o fop0.20.3". I had the same problem. What are you 
using to generate the fo?

We can talk tomorrow.

- steveb

-Original Message-
From: Jain, Ankur A (CAP, VFS) 
Sent: Tuesday, March 05, 2002 6:24 PM
To: [EMAIL PROTECTED]
Subject: RE: dynamic image in PDF


Hi All,

I have been trying to create a pdf using FOP. This is the exception I get..
Any thoughts.

Attached is the FO file being used...



Thanks,
Ankur   


[DEBUG]: Input mode: 
[DEBUG]: FO 
[DEBUG]: fo input file: DateTrial.fo
[DEBUG]: Output mode: 
[DEBUG]: pdf
[DEBUG]: output file: DateTrial.pdf
[DEBUG]: OPTIONS
[DEBUG]: no user configuration file is used [default]
[DEBUG]: debug mode on
[DEBUG]: dump configuration
[DEBUG]: quiet mode on
[DEBUG]: base directory: file:/c:/program files/ibm/visualage for 
java/ide/project_resources/APACHE FOP/
[INFO]: FOP 0.20.3
[DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser
[INFO]: building formatting object tree
[DEBUG]: setting up fonts
[ERROR]: 'master-reference' for 'fo:page-sequence'matches no 
'simple-page-master' or 'page-sequence-master'
org.apache.fop.apps.FOPException: 'master-reference' for 
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
org.apache.fop.apps.FOPException(java.lang.String)
org.apache.fop.layout.PageMaster 
org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(java.lang.String, 
int, boolean, boolean)
org.apache.fop.layout.Page 
org.apache.fop.fo.pagination.PageSequence.makePage(org.apache.fop.layout.AreaTree,
 int, boolean, boolean)
void 
org.apache.fop.fo.pagination.PageSequence.format(org.apache.fop.layout.AreaTree)
void 
org.apache.fop.apps.StreamRenderer.render(org.apache.fop.fo.pagination.PageSequence)
void org.apache.fop.fo.FOTreeBuilder.endElement(java.lang.String, 
java.lang.String, java.lang.String)
void 
org.apache.xerces.parsers.SAXParser.endElement(org.apache.xerces.utils.QName)
void 
org.apache.xerces.validators.common.XMLValidator.callEndElement(int)
boolean 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(boolean)
boolean 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(boolean)
void 
org.apache.xerces.framework.XMLParser.parse(org.xml.sax.InputSource)
void org.apache.fop.apps.Driver.render(org.xml.sax.XMLReader, 
org.xml.sax.InputSource)
void org.apache.fop.apps.CommandLineStarter.run()
void org.apache.fop.apps.Fop.main(java.lang.String [])



Fop Multithreading.

2002-03-06 Thread Ramakrishnan.G
Hai,

I am using FOp to generate PDF and PS from xml and xsl.
I runs very slow. Is it possible to thread the entire application after
Driver class instantiation.

I found that in Driver class of fop the

render(XMLReader,InputSource) is declared synchronous. From this i got
confused
whether  fop allows threads. Please someone help me to implement the app in
multi-threads.

I want to reuse Driver object.

Thanks and Regards

Ramakrishnan.G



Re: Fop Multithreading.

2002-03-06 Thread Bart Locanthi
threading isn't going to reduce the amount of cpu time it takes to do 
anything.

in fact, if you have the misfortune to use PipedInputStreams, you will 
find dead time with each stage of your pipeline. an amazing gaffe for a 
unix company in their marquis language.

Ramakrishnan.G wrote:
Hai,
I am using FOp to generate PDF and PS from xml and xsl.
I runs very slow. Is it possible to thread the entire application after
Driver class instantiation.



Basic-link

2002-03-06 Thread Meena



Hi,
I've a problem using basic-links.
When i give a fo:basic-link for some word, it 
leaves two spaces before and after the string.
 
Egs.
 
1. APPLE    p.10
2.    BAT 
   p.10
3. 
CAT p.12
 
Does anybody know why this empty space is created 
before and after the word with basic-link?
 
Regds,
Meena
**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 


Re: XML-tag in dom.text-node - how to do?

2002-03-06 Thread Jeremias Maerki
This is not really the place to ask general XML/DOM questions but here's
what you're probably doing wrong: I presume you add the "" as
part of a text node. That way some of the character get escaped like "<"
to <. To get around that you need to split up your text node into
different nodes. An example:

"variable text bla bla  variable text"

has to be expressed in a DOM as

text node: "variable text bla bla "
element node: "PAGE"
text node: " variable text"

That way, the special character don't get escaped. I hope this helps.

> I'm new in programming with xml, xsl, xsl:fo and i have (not but) one
> problem:
> 
> I'm generating a xml-file with dom-interface,
> this file shoud bei transformed via xsl into a xsl:fo file.
> 
> I don't know, how to get xml-tags into the output-xml-file with dom.
> 
> For example a variable footer-text with a page-number-tag inside:
> 
> The fo-file shoud contain:
> ...
> 
> 
> variable text from xml  variable text from xml
> 
> 
> ...
> 
> The xsl contains:
> ...
> 
> 
> xsl-region-after
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> The xml shoud contain:
> ...
> 
> variable text bla bla  variable text
> 
> ...
> 
> BUT it contains:
> ...
> 
> variable text bla bla  variable text
> 
> ...
> 
> How can i get the -tag into a dom.text-node?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



Re: dynamic image in PDF

2002-03-06 Thread Jeremias Maerki
This happens because you used "master-reference" instead of "master-name"
on fo:simple-page-master.

> I have been trying to create a pdf using FOP. This is the exception I get..
> Any thoughts.
> 
> Attached is the FO file being used...

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



Re: SV: dynamic image in PDF

2002-03-06 Thread Jeremias Maerki
> Am I the only one having problems with including images when running FOP
> as part of a J2EE application?
> When running FOP stand alone, I can specify the path to my image as per
> normal, but when Im running FOP as part of my application I get output
> that boils down to that I havent specified a base directory.
> Now, going through the API I find no way of setting FOP:s base directory
> at runtime, neither how to turn off logging.
> 
> Could someone help me out?
> 
> It would be awesome if I could give FOP an Image or a byte[] directly,
> but just getting file: or url: to work when its part of an application
> would do for now.

You can try to specify a base directory with the following call where
baseDir is an URL String like "file:D:/Temp".

Configuration.put("baseDir", baseDir);

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



display numbers

2002-03-06 Thread ludovic . maurillon
Hi,
I have to display numbers in a PDF document, but it's frequently thousands or 
millions, so I would like to render it like this:
1 000 000 or 1'000'000
instead of 100
is it possible or may I write a fonction that convert it in a string before 
rendering it??
Moreover, is the choice of the language including the rendering of numbers?? 
for exemple in France we use a coma and not a dot in numbers:
14,89 <=> 14.89

cheers,
Ludo.
 

-
Webmail Saros: http://webmail.saros.fr



Re: Relative position elements

2002-03-06 Thread Sebastien Foucault
Thank's for that piece of advice but I'm rather looking for a solution 
allowing to position elements in a relative way.

The problem is that I want to design absolute-positionned blocks but, 
because I don't know the number of times a block will be repeated and 
hence it's Y position, I cannot use an absolute positionning.

Regards
--
Sébastien Foucault






Chuck Paussa <[EMAIL PROTECTED]>
01/03/2002 19:11
Please respond to fop-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Re: Relative position elements

 

Sebastien,

They are on block-container. I don't know about block but here's some 
code I use:



Chuck Paussa

Sebastien Foucault wrote:

>Hello,
>
>Are relative position attributes implemented in fop (either on block 
>element or on block-container element) ?
>If so how to make them work ?
>
>
>Thank's in advance
>--
>Sébastien Foucault
>








FOP-GUI

2002-03-06 Thread Adnan Zelkanovic
Hello volks,

does anybody know if there is a FOP-GUI on the internet created by someone?
Because, command line sucks.


Re: display numbers

2002-03-06 Thread Guillaume Laforge



Salut Ludo !
 
If you wish to format a number, depending on a 
specified locale, you can convert your Float with some classes found in the 
java.text package. You can specify a pattern for the resulting 
String.
 
DecimalFormat nf = 
(DecimalFormat)DecimalFormat.getInstance(Locale.FRENCH);nf.applyPattern("#,##0.00"); 

// this pattern is very usefull for just keeping 
two digit for the decimal part (especially when dealing with 
currencies
Float myFloatNumber = 123456789.123456
String myFormattedString = 
nf.format(myFloatNumber);
// myFormattedString will be equal to "123 456 
789,12" in the locale is French
// and it will be equal to "123,456,789.12" if 
the locale is English
 
Guillaume

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, March 06, 2002 9:12 
  AM
  Subject: display numbers
  Hi,I have to display numbers in a PDF document, but it's 
  frequently thousands or millions, so I would like to render it like 
  this:1 000 000 or 1'000'000instead of 100is it possible or may 
  I write a fonction that convert it in a string before rendering 
  it??Moreover, is the choice of the language including the rendering of 
  numbers?? for exemple in France we use a coma and not a dot in 
  numbers:14,89 <=> 
  14.89cheers,Ludo. -    
  Webmail Saros: http://webmail.saros.fr


AW: Trouble with ZapfDingbats

2002-03-06 Thread S. Jayaraman
Hi

I don't know why the support for this font is stopped in this version.
However, have you tried to add the fonts ?
Pl. refer to http://xml.apache.org/fop/fonts.html

Rgds
Jay

*

I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to take
advantage of the changes to the attribute master-name and am now having
problems with the ZapfDingbats font. Essentially my PDF doesn't
recognise the font.

Tim Keen
<>

RE: display numbers

2002-03-06 Thread Peter Jacobs
You can have a look at:

http://www.dpawson.co.uk/xsl/xslfaq.html
choose "XSLT Questions and Answers" and then "Formatting"

Please also have a look at the XSL FO pages, so this thread is not off topic
anymore :-)

HTH
Peter


Peter Jacobs
Freelance multimedia programmeur
De Budetstraat 8
B-3201 Aarschot
[EMAIL PROTECTED]
016/573257


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: woensdag 6 maart 2002 09:13
> To: [EMAIL PROTECTED]
> Subject: display numbers
>
>
> Hi,
> I have to display numbers in a PDF document, but it's frequently
> thousands or
> millions, so I would like to render it like this:
> 1 000 000 or 1'000'000
> instead of 100
> is it possible or may I write a fonction that convert it in a
> string before
> rendering it??
> Moreover, is the choice of the language including the rendering
> of numbers??
> for exemple in France we use a coma and not a dot in numbers:
> 14,89 <=> 14.89
>
> cheers,
> Ludo.
>
>
> -
> Webmail Saros: http://webmail.saros.fr
>



RE: dynamic image in PDF

2002-03-06 Thread Michiel Verhoef
Also, refer to the page master using the master-name attribute.

Cheers,

Michiel

$ -Original Message-
$ From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
$ Sent: woensdag 6 maart 2002 8:32
$ To: [EMAIL PROTECTED]
$ Subject: Re: dynamic image in PDF
$ 
$ 
$ This happens because you used "master-reference" instead of 
$ "master-name"
$ on fo:simple-page-master.
$ 
$ > I have been trying to create a pdf using FOP. This is the 
$ exception I get..
$ > Any thoughts.
$ > 
$ > Attached is the FO file being used...
$ 
$ Cheers,
$ Jeremias Märki
$ 
$ mailto:[EMAIL PROTECTED]
$ 
$ OUTLINE AG
$ Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
$ Tel. +41 41 317 2020 - Fax +41 41 317 2029
$ Internet http://www.outline.ch
$ 


Re: display numbers

2002-03-06 Thread Christopher R. Maden

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 00:12 6-03-2002, [EMAIL PROTECTED] wrote:
>I have to display numbers in a PDF document, but it's frequently thousands or
>millions, so I would like to render it like this:
>1 000 000 or 1'000'000
>instead of 100
>is it possible or may I write a fonction that convert it in a string before
>rendering it??

FOP doesn't deal with numbers at all, only characters.  If you pass it "1 
000 000" it will format "1 000 000".  [There are a few exceptions, as for 
page numbers.]

If you are using XSLT to create your FOs which are passed to FOP, then look 
at the xsl:number element and its attributes.

~Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPIXjL6xS+CWv7FjaEQLk4gCfTcdAOxOEv4QMIr8FtfaudRqTo/oAoKF7
wIaCQTyy5Lj58+SSKfd3i7n7
=wYGW
-END PGP SIGNATURE-



AW: watermarking

2002-03-06 Thread S. Jayaraman
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: Trouble with ZapfDingbats

2002-03-06 Thread Keiron Liddle
I'm not sure what the problem is that you are having but ZapfDingbats 
works fine for me both on unix and windows NT.

On 2002.03.06 00:35 Keen Tim wrote:
I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to take
advantage of the changes to the attribute master-name and am now having
problems with the ZapfDingbats font. Essentially my PDF doesn't
recognise the font.
Is anyone else experiencing the same problems? Is this a known problem?
Am I missing something? Should I rollback to a previous version?
Any help would be appreciated.
Cheers


Re: dynamic image in PDF

2002-03-06 Thread Jeremias Maerki
> Also, refer to the page master using the master-name attribute.

No, not anymore. That was the old syntax.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch



RE: dynamic image in PDF

2002-03-06 Thread Michiel Verhoef
Thanks for clearing that up. Humm, time to upgrade I guess...


Cheers,

Michiel

$ -Original Message-
$ From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
$ Sent: woensdag 6 maart 2002 10:50
$ To: [EMAIL PROTECTED]
$ Subject: Re: dynamic image in PDF
$ 
$ 
$ > Also, refer to the page master using the master-name attribute.
$ 
$ No, not anymore. That was the old syntax.
$ 
$ Cheers,
$ Jeremias Märki
$ 
$ mailto:[EMAIL PROTECTED]
$ 
$ OUTLINE AG
$ Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
$ Tel. +41 41 317 2020 - Fax +41 41 317 2029
$ Internet http://www.outline.ch
$ 


Re: Trouble with ZapfDingbats

2002-03-06 Thread TJ Smith
Hi
I recently had problems with ZapfDingbats in fop 20.3  The solution is to
use the Unicode for the dingbat you wish to render - I was using:

 l
which produced a filled-in circle character in 20.1, but rendered a pair of
scissors in 20.3  The solution is to use:
 ●
which works fine in 20.3

Hope this helps

TJ
- Original Message -
From: "Keiron Liddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 4:48 AM
Subject: Re: Trouble with ZapfDingbats


>
> I'm not sure what the problem is that you are having but ZapfDingbats
> works fine for me both on unix and windows NT.
>
> On 2002.03.06 00:35 Keen Tim wrote:
> > I recently upgraded to the latest version of Fop (fop-0.20.3rc2) to take
> > advantage of the changes to the attribute master-name and am now having
> > problems with the ZapfDingbats font. Essentially my PDF doesn't
> > recognise the font.
> >
> > Is anyone else experiencing the same problems? Is this a known problem?
> > Am I missing something? Should I rollback to a previous version?
> >
> > Any help would be appreciated.
> >
> > Cheers
>




How to unsubscribe

2002-03-06 Thread Idrees Ali



Please help.
 
 
Have a Nice 
One 
\|/   
(@ @) --oOO--(_)--OOo  

<>

Basic-link

2002-03-06 Thread Meena



Hi,
I've a problem using basic-links.
When i give a fo:basic-link for some word, it 
leaves two spaces before and after the string.
 
Egs.
 
1. APPLE    p.10
2.    BAT 
   p.10
3. 
CAT p.12
 
Does anybody know why this empty space is created 
before and after the word with basic-link?This happens only when I use Courier 
Font.
 
Regds,
Meena
**Disclaimer
  


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 


Re: How to unsubscribe

2002-03-06 Thread Aleksei Vassiljev



list-unsubscribe: 

  - Original Message - 
  From: 
  Idrees 
  Ali 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, March 06, 2002 16:08 
  
  Subject: How to unsubscribe
  
  Please help.
   
   
  Have a Nice 
  One 
  \|/   
  (@ @) --oOO--(_)--OOo  

<>

FOP on command line, basic example

2002-03-06 Thread Olivier Rossel
I try to transform this XML file
http://www.w3.org/1999/XSL/Format";>
 
  



  
 
 
   
  Foo
 

into a PDF.
I use this command line:
java -cp /opt/COCOON/WEB-INF/lib/batik-libs.jar:
/opt/COCOON/WEB-INF/lib/xerces-1.4.4.jar:
/opt/COCOON/WEB-INF/lib/avalon-framework-4.0.jar:
/opt/COCOON/WEB-INF/lib/logkit-1.0.jar:
/opt/COCOON/WEB-INF/lib/fop.jar org.apache.fop.apps.Fop
esqlsample.fo
file.pdf
It generates a HUGE PDF and never ends...
Did i miss something.


Re: Relative position elements

2002-03-06 Thread Chuck Paussa
Sebastien,
H. Here's a piece of code which should work but, it creates an 
invalid PDF  and generates [error] org.apache.fop.layout.BlockArea. I 
don't know why. You should be able to get the parent block's positions 
using the from-parent() function. And, I thought I'd done it 
successfully once.

Anyone with some clues?
Chuck Paussa
Sebastien Foucault wrote:
Thank's for that piece of advice but I'm rather looking for a solution 
allowing to position elements in a relative way.

The problem is that I want to design absolute-positionned blocks but, 
because I don't know the number of times a block will be repeated and 
hence it's Y position, I cannot use an absolute positionning.

Regards
--
Sébastien Foucault
Chuck Paussa <[EMAIL PROTECTED]>
Sebastien,
They are on block-container. I don't know about block but here's some 
code I use:



Chuck Paussa
Sebastien Foucault wrote:
Hello,
Are relative position attributes implemented in fop (either on block 
element or on block-container element) ?
If so how to make them work ?

Thank's in advance
--
Sébastien Foucault


http://www.w3.org/1999/XSL/Format";>
	
		
			
			
		
	
	
		
			Region before
			
		
		
			Region body Region body Region body Region body Region body Region body 
			Region body Region body Region body Region body Region body Region body Region body 
			Region body Region 
			
HELLO
			
			body Region body Region body Region body Region body Region body 
			Region body Region body Region body Region body Region body Region body Region body 
			
		
	



Re: display numbers

2002-03-06 Thread ludovic . maurillon
Merci Guillaume,

I didn't know this class, it will be very helpful. 
thanks a lot,

Ludo.


Surlignage Guillaume Laforge <[EMAIL PROTECTED]>:

> Salut Ludo !
> 
> If you wish to format a number, depending on a specified locale, you can
> convert your Float with some classes found in the java.text package. You can
> specify a pattern for the resulting String.
> 
> DecimalFormat nf = (DecimalFormat)DecimalFormat.getInstance(Locale.FRENCH);
> nf.applyPattern("#,##0.00"); 
> // this pattern is very usefull for just keeping two digit for the decimal
> part (especially when dealing with currencies
> Float myFloatNumber = 123456789.123456
> String myFormattedString = nf.format(myFloatNumber);
> // myFormattedString will be equal to "123 456 789,12" in the locale is
> French
> // and it will be equal to "123,456,789.12" if the locale is English
> 
> Guillaume
>   - Original Message - 
>   From: [EMAIL PROTECTED] 
>   To: [EMAIL PROTECTED] 
>   Sent: Wednesday, March 06, 2002 9:12 AM
>   Subject: display numbers
> 
> 
>   Hi,
>   I have to display numbers in a PDF document, but it's frequently thousands
> or 
>   millions, so I would like to render it like this:
>   1 000 000 or 1'000'000
>   instead of 100
>   is it possible or may I write a fonction that convert it in a string before
> 
>   rendering it??
>   Moreover, is the choice of the language including the rendering of
> numbers?? 
>   for exemple in France we use a coma and not a dot in numbers:
>   14,89 <=> 14.89
> 
>   cheers,
>   Ludo.
>
> 
>   -
>   Webmail Saros: http://webmail.saros.fr
> 
> 
> 




-
Webmail Saros: http://webmail.saros.fr



RE: FOP-GUI

2002-03-06 Thread Buonincontri, Steve (CAP, MMF, ITSS)

How can we convert all FOs to PDFs in one command line using FO???

-sb


Re: AW: watermarking

2002-03-06 Thread Trevor_Campbell

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