AW: PDF from FOP to database as BLOB

2002-05-16 Thread Chaumette, Patrick
Hello Shawn,

you can make FOP write to an ByteArrayOutputStream.
By doing something like this:

ByteArrayOutputStream os = new ByteArrayOutputStream();

...(driver+FOP stuff)...

driver.setOutputStream(os);

InputStream is = new ByteArrayInputStream(os.getBytes());

.. now read from stream...

Hope this helps,
greetings,
Patrick


Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 16. Mai 2002 17:52
 An: [EMAIL PROTECTED]
 Betreff: PDF from FOP to database as BLOB
 
 
 
 Hi,
 
 Currently we are dynamically creating our PDF documents using FOP in
 real-time and displaying them on the browser without a problem.  We've
 handled the CPU intensiveness of FOP by limiting the number 
 of users that
 can concurrently create a report to 1 or 2 (depending on the server).
 
 BUT - As the number of users requesting PDF reports on our application
 scales up we'll need a better solution.  Since our users can 
 wait for these
 reports we've decided to run a nightly job to create them and 
 store the
 PDFs in our database as a BLOB.  That way during peak usage hours our
 servers will only need to deal with returning the PDF to the browser.
 
 My question is, HOW, using FOP and JDBC can I get my PDF into 
 the database
 as a BLOB.
 The java.sql.PreparedStatement method setBinaryStream(int 
 parameterIndex,
 InputStreamx, int length) requires an input stream - how can 
 I get this
 from FOP?  If I instead us the java.sql.PreparedStatement 
 method setBlob
 (int i, Blob x) method - how can I create a BLOB from what I 
 have from FOP?
 
 
 Any Ideas would be very helpful.
 Thank You!
 Shawn
 


AW: Newbie: Error trying to convert (standalone) the simple.fo ex ampl e after first installation...

2002-05-16 Thread Chaumette, Patrick
Hello Gilson,

the Exception means that the class org.apache.log.format.Formatter couldnt
be found in the Classpath.
Maybe you should check this.

Greetings,
Patrick

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Gilson Nascimento D Elrei [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 16. Mai 2002 18:22
 An: '[EMAIL PROTECTED]'
 Betreff: RES: Newbie: Error trying to convert (standalone) 
 the simple.fo
 exampl e after first installation...
 
 
 Thanks, i tried your first suggestion but i still didn't try 
 rebuilding
 FOP.jar (i'll to do later).. i received this error. Do you 
 know how resolve
 it ?
 
 Exception in thread main java.lang.NoClassDefFoundError:
 org/apache/log/format/Formatter at 
 org.apache.fop.apps.Fop.main(Fop.java:16)
 
 Thanks in advance.
 
  - Mensagem original -
  De: J.Pietschmann [SMTP:[EMAIL PROTECTED]
  Enviada em: quarta-feira, 15 de maio de 2002 19:51
  Para:   [EMAIL PROTECTED]
  Assunto:Re: Newbie: Error trying to convert 
 (standalone) the
  simple.fo exampl e after first installation...
  
  Gilson Nascimento D Elrei wrote:
   I have donwloaded and installed FOP, i tried to convert 
 the simple.fo
  file
   using it like my first interaction with this tool, but 
 i'm receiving
  this
   follow message error:
   
[ERROR]: Don't know what to do with
  
  This is a known problem caused either by the DOS command processor
  or the JVM. It is specific to the 16bit Windows variants.
  Nobody has yet published a workaround, you'll have to experiment
  a bit by yourself. You can, for example, try
java -jar bin\fop.jar nnn.fo nnn.pdf
  which might work (or not).
  If all else fails, get the source distribution, open
  the file src\org\apache\fop\apps\CommandLineOptions.java,
  kill the line throwing the exception wih the error
  message above and rebuild FOP.
  
  J.Pietschmann
 


AW: Awt for print preview

2002-05-14 Thread Chaumette, Patrick
Hello Franck,

seems to me this translator does the translation in different languages
for the GUI texts.(English, German, etc...)

Greetings,

Patrick


Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: MARTIN Franck [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 14. Mai 2002 17:21
 An: [EMAIL PROTECTED]
 Betreff: Awt for print preview
 
 
 I'm trying to use the awt rendering in order to provide the 
 user with a
 print preview but i can't figure out how fop works with awt.
 
 I have stumble upon a sample code but i don't understand what is
 translator:
 
 driver.setRenderer(new
 org.apache.fop.render.awt.AWTRenderer(translator));
 driver.buildFOTree(parser, fileInputSource(args[0]));
 driver.format();
 driver.render();
 
 Please help!
 
 Franck
 


AW: Java 1.1.x

2002-05-07 Thread Chaumette, Patrick
Hello,

I had also problems compiling FOP-0.20.3 with JDK 1.2.
For example some changes in AWTFontMetrics concerning Fonts are not portable
on JDK1.2. 
The release notes should be changed to reflect this. They still say JDK
1.2(or later) is required.

Since I didnt want i18n support I could take the older versions of those
files and do a custom build.
I also removed all batik related stuff, since I dont use any SVG, and so can
use FOP on a Websphere in a EJB context.

Greetings,
Patrick

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Peter B. West [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 7. Mai 2002 02:30
 An: [EMAIL PROTECTED]
 Betreff: Re: Java 1.1.x
 
 
 Kendall,
 
 You might want to examine this thread:
 http://marc.theaimsgroup.com/?l=fop-devm=101551941500565w=4
 
 I don't know whether this is the only problem of the migration to 
 1.2/1.3. If it were, you could copy the source tree, and use 
 a find and 
 a perl one-liner to change all of the occurrences. Not nice, 
 and nasty 
 to keep up-to-date, but it may be a way out. If it were not, you will 
 have to follow Joerg's suggestion.
 
 Does anyone else know what the relevant incompatibilities are?
 
 Peter
 
 J.Pietschmann wrote:
 
  Kendall Adkins wrote:
 
  I have a client who is using a Domino server. Domino only 
 supports the
  Java 1.1.8 SDK. I have been unable to find a version of 
 FOP that will 
  run
  with this SDK. Does anyone have any suggestions?
 
 
  Recent FOP versions need JDK1.2, perhaps even 1.3. I think
  you should look for 0.18 or even 0.17 on the old versions
  archive.
 
 
 


AW: X-Y Text positioning

2002-05-07 Thread Chaumette, Patrick
Hello John

I use with FOP 0.20.3 the following:
fo:static-content flow-name=xsl-region-before
fo:block-container position=absolute top=4.5cm
left=13cm width=7.2cm height=0.8cm
fo:block border-style=solid border-color=redI am
here/fo:block
/fo:block-container
/fo:static-content

It positions where I set it, relative to the xsl-region-before margins.

Hope this helps,
greetings,
Patrick.

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: John Bourke [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 7. Mai 2002 17:29
 An: Fop Users (E-mail)
 Betreff: X-Y Text positioning
 
 
 
 
 Guys,
 Do you know if FOP explicitly supports absolute X-Y placement 
 of data on a
 page, i.e. put this text right here, 6 cm down from the top 
 left corner and
 4 cm in from the left edge?
 
 John
 
 
 **
 *
 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. Any unauthorised distribution or copying is strictly 
 prohibited.
 
 Whilst Cedar Plc takes steps to prevent the transmission of 
 viruses via e-mail, we can not guarantee that any email or 
 attachment is free from computer viruses and you are strongly
 advised to undertake your own anti-virus precautions.
 
 Cedar Plc grants no warranties regarding performance,
 use or quality of any e-mail or attachment and undertakes no 
 liability for loss or damage, howsoever caused.
 **
 **
 


AW: Best coding practice.

2002-05-03 Thread Chaumette, Patrick
Hello Balaji,

I think if you don't use any xsl:template match=..., then the processing
speed would be fastest, since the XSLT has nothing much to do just to write
out what you have.
If it is good practice is another story...

Greetings,
Patrick

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Balaji Loganathan [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 3. Mai 2002 16:30
 An: [EMAIL PROTECTED]
 Betreff: Best coding practice.
 
 
 Hi,
   Is there is any best practice for coding the XSL:FO,
 that is always
 1. use xsl:template
 2. check whether the element exist or not even for
 mandatory elements.
   My xsl is of 578 lines,Suddenly i felt that my code
 is not object oriented beacuse no where i have used
   xsl:template.
   I construct the PDF line after line.Does this affect
 the processing speed.
   Does using xsl:template increases the processing
 speed.
   Please comment.
   Regards
   Balaji
 
 http://messenger.yahoo.com.au - Yahoo! Messenger
 - A great way to communicate long-distance for FREE!
 


AW: Printing Page Setup

2002-04-18 Thread Chaumette, Patrick
Hello Torsten,

maybe you could use a xsl parameter for those settings which would be passed
during the invocation of FOP.

Greetings,
Patrick

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Torsten Erler [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 18. April 2002 17:46
 An: Fop-Dev (E-mail)
 Betreff: Printing Page Setup
 
 
 Hi all
 
 I've a problem with setup the printed page sizes.
 In the Application the user (must have) has the possibility 
 to change the
 papar format of the printed documents. I'm using AWTRenderer 
 to preview some
 files on screen before printing.
 My xsl templates have an  Page Master like this:
 fo:simple-page-master master-reference=A4 width=...
 If the user wants to print out the rendered page for example in letter
 format with defined margines I've to scale width and height 
 of the rendered
 page before sending graphic to printer. I cannot using 
 scalefactor because
 of the geometry of the page isn't compatible to the original. 
 Can anyone
 explain me what I've todo. Writing different templates for 
 each possible
 Paper-Size isn't acceptable.
 
 ThanX Torsten (German java-Developer)
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 


RE: Absolute positioning?

2002-04-17 Thread Chaumette, Patrick
Hello,

I tried using the bottom attribute in a block-container with
position=absolute but doesnt work like I wished.
This snippet puts a red box at the top of the page, I expected it to come
aligned with the bottom of the region-before which I defined with
fo:region-before extent=113.51mm/
Any ideas ? Is this a FOP problem or is my FO wrong ?

fo:static-content flow-name=xsl-region-before
fo:block-container height=25mm width=190mm bottom=0mm left=0mm
text-align=center position=absolute border=solid 1px red

/fo:block-container 
/fo:static-content


Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 19:41
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 Patrick,
 
 Sounds good to me. Try it and see if it works. (Then write to 
 the list 
 to tell us if it does.) The bottom attribute is definately 
 part of the 
 spec.
 
 Chuck
 


AW: Sending generated PDF directly to printer

2002-04-16 Thread Chaumette, Patrick
Hello,

if your printer supports PDF then calling -pdf \\ServerName\PrinterName
should work.
I am currently myself trying to directly send PostScript and this works
really good (-ps \\ServerName\PrinterName)

Greetings,
Patrick

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: RAYMOND Romain [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 09:44
 An: [EMAIL PROTECTED]
 Betreff: Sending generated PDF directly to printer
 
 
 
 Hello,
 
 is there examples or docs to send the result of an FOP 
 transformation to
 a printer ?
 
 
 thanks.
 


RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hello Jerome,
 
do you put the position attribute on a block-container or a block ?

In fact I would like to be able to put a block in the bottom of a static
xsl-region-before so that it glues with the start of the xsl-region-body.
I thought of using a block-container with absolute-position=fixed
bottom=0cm and thus get my block at the bottom of the xsl-region-before
and fitting right above the beginning of the region-body.
The body contains a table whose header should be tight to the bottom of a
table in the region-before.


Someone has a solution for this with FOP ?

Thanks,

greetings,
Patrick



Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Jerome Siour [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 16:46
 An: FO
 Cc: Esteban Gonzalez
 Betreff: RE: Absolute positioning?
 
 
  [INFO]: FOP 0.20.3
  fo:block-container absolute-position=fixed top=240mm 
 left=100mm
 
 FOP web site indicates that this attribute (absolute-position) is not
 supported
 (http://xml.apache.org/fop/implemented.html, but is the list 
 up to date?)
 
 However, the position attribute seams to be allowed (for 
 value fixed).
 May be should you try it...
 
 Hope this helps...
 
 Jerome.
 


RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hi Chuck,

thanks for the information, I thought it was some FOP implementation
specific problem so I posted it into dev.
Will try to do better next time, sorry.

I tried like below your tipp but did do nothing.
It only shows the first Test on the top of the page.
Doesnt bottom refer to the distance between the bottom of the xsl-region
and the bottom of the block-container ?
Any ideas ?

Greetings,
Patrick

fo:static-content flow-name=xsl-region-before

fo:block-container height=8mm width=190mm bottom=0mm left=0mm
text-align=center position=absolute border=solid 1px white

fo:block border=solid 
Test
/fo:block
fo:block border=solidTest2
/fo:block
fo:block border=solidTest3
/fo:block
/fo:block-container
/fo:static-content

Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 18:11
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 Patrick,
 
 First. Don't cross post to the dev and user list! This is a user list 
 question and the user list is a great resource for your 
 answers. Don't 
 annoy the developers.
 
 Next. Try this or something like it.
 
 fo:block-container height=8mm width=190mm top=0mm left=0mm 
 text-align=center position=absolute border=solid 1px white
 
 Chuck
 
 Chaumette, Patrick wrote:
 
 Hello Jerome,
  
 do you put the position attribute on a block-container or a block ?
 
 In fact I would like to be able to put a block in the bottom 
 of a static
 xsl-region-before so that it glues with the start of the 
 xsl-region-body.
 I thought of using a block-container with absolute-position=fixed
 bottom=0cm and thus get my block at the bottom of the 
 xsl-region-before
 and fitting right above the beginning of the region-body.
 The body contains a table whose header should be tight to 
 the bottom of a
 table in the region-before.
 
 
 Someone has a solution for this with FOP ?
 
 Thanks,
 
 greetings,
 Patrick
 
 -Ursprüngliche Nachricht-
 Von: Jerome Siour [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 16:46
 Cc: Esteban Gonzalez
 Betreff: RE: Absolute positioning?
 
 [INFO]: FOP 0.20.3
 fo:block-container absolute-position=fixed top=240mm 
 
 left=100mm
 
 FOP web site indicates that this attribute 
 (absolute-position) is not
 supported
 (http://xml.apache.org/fop/implemented.html, but is the list 
 up to date?)
 
 However, the position attribute seams to be allowed (for 
 value fixed).
 May be should you try it...
 
 Hope this helps...
 
 Jerome.
 
 
 
 
 


RE: Absolute positioning?

2002-04-16 Thread Chaumette, Patrick
Hi Chuck,

sure I can set the top attribute, but then I will have to take care that
the table in the block container will have to fit  100% with the start of
the table of the xsl-region-body. 
I hoped with using bottom I was always sure to get the bottom of the last
block element in xsl-region-before attached correctly to the first block of
xsl-region-body.
What do you think ?



Dipl. Inform. Patrick Chaumette

T-Systems ITS GmbH

Service Prozesse Retail
Hausanschrift: Fasanenweg 9, 70771 Leinfelden-Echterdingen
Postanschrift: Postfach 100258, 70746 Leinfelden-Echterdingen
Telefon: (0711)972-2437
Telefax: (0711)972-1949
E-Mail: [EMAIL PROTECTED]
Internet: http://www.t-systems.de



 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 18:38
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 Patrick,
 
 The block container size needs to be big enough to fit the 
 contents. Any 
 contents that don't fit in the height and width get cut off.  
 Make the 
 height 24mm. The border attribute needs all 3 components, 
 solid 1px black
 I'm not sure if bottom is implemented. You can calculate the top by 
 using (region-before-height - block-container-height) I 
 haven't gotten 
 to the position elements in my testing.
 
 Chuck
 
 Chaumette, Patrick wrote:
 
 Hi Chuck,
 
 I tried like below your tipp but did do nothing.
 It only shows the first Test on the top of the page.
 Doesnt bottom refer to the distance between the bottom of 
 the xsl-region
 and the bottom of the block-container ?
 Any ideas ?
 
 Greetings,
 Patrick
 
  fo:static-content 
 flow-name=xsl-region-before
 
 fo:block-container height=8mm width=190mm bottom=0mm 
 left=0mm
 text-align=center position=absolute border=solid 1px white
 
  fo:block border=solid 
  Test
  /fo:block
  fo:block border=solidTest2
  /fo:block
  fo:block border=solidTest3
  /fo:block
  /fo:block-container
  /fo:static-content
 
 Dipl. Inform. Patrick Chaumette
 
 T-Systems ITS GmbH
 
 -Ursprüngliche Nachricht-
 Von: Chuck Paussa [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 18:11
 An: [EMAIL PROTECTED]
 Betreff: Re: Absolute positioning?
 
 
 Patrick,
 
 Try this or something like it.
 
 fo:block-container height=8mm width=190mm top=0mm left=0mm 
 text-align=center position=absolute border=solid 1px white
 
 Chuck
 
 Chaumette, Patrick wrote:
 
 Hello Jerome,
 
 do you put the position attribute on a block-container 
 or a block ?
 
 In fact I would like to be able to put a block in the 
 bottom of a static xsl-region-before so that it glues with 
 the start of the xsl-region-body.
 
 I thought of using a block-container with absolute-position=fixed
 bottom=0cm and thus get my block at the bottom of the 
 xsl-region-before
 
 and fitting right above the beginning of the region-body.
 The body contains a table whose header should be tight to 
 the bottom of a table in the region-before.
 
 Someone has a solution for this with FOP ?
 
 Patrick
 
 -Ursprüngliche Nachricht-
 Von: Jerome Siour [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 16. April 2002 16:46
 Cc: Esteban Gonzalez
 Betreff: RE: Absolute positioning?
 
 [INFO]: FOP 0.20.3
 fo:block-container absolute-position=fixed top=240mm 
 left=100mm
 
 FOP web site indicates that this attribute 
 (absolute-position) is not supported
 (http://xml.apache.org/fop/implemented.html, but is the 
 list up to date?)
 
 However, the position attribute seams to be allowed (for 
 value fixed).
 May be should you try it...
 
 Hope this helps...
 
 Jerome.