AW: fop -xml file.xml -xsl file.xsl -pdf file.pdf
Hi Horiana, using xsl:attribute ... should work for you. It sets an attribute to the parent (short version:) fo:block xsl:attribute name=background-color xsl:value-of select=@bgcolor/ /xsl:attribute xsl:attribute name=font-size xsl:value-of select=@size/ /xsl:attribute xsl:value-of select=./ /fo:block Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 31. Juli 2001 15:21 An: [EMAIL PROTECTED] Betreff: fop -xml file.xml -xsl file.xsl -pdf file.pdf Hi all, Here is what I want to do. I am using the Fop command line application giving to it three parameters: the xml file, the xsl file and the name of the output pdf file. I have an xml file with the following content: document chapter title./title paragraph color=blue size=19pt text. /text /paragraph paragraph color=red size=10pt text. /text /paragraph /chapter chapter /chapter /document The idea is that color and size attributes are specific to each paragraph. The texts within different paragraphs could be coloured in different colours and could have different sizes. I tried to build the xsl file and for a paragraph I used a fo:block formatting object. The problem is that the font_size attribute of fo:block formatting object has to have a fixed value, so the xsl file should look like xsl:template match=paragraph fo:block font-size=9pt font-family=sans-serif line-height=10pt text-align=start background-color=blue start-indent=1cm xsl:value-of select=./ /fo:block /xsl:template But I would like that the font-size and background-color to take the values (somehow and I don't know how) from xml file. I tried something like this: fo:block font-size=xsl:value-of select=@size/ font-family=sans-serif line-height=10pt text-align=start background-color=blue start-indent=1cm xsl:value-of select=./ /fo:block but it didn't work. Can anyone help me? Thanks, Horiana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: : Getting number of rendered pages
Hi Enrico, thanks for your reply. Yes, your within FOP is worth a try, but I'm not happy with modifying the FOP source. I'd prefer to have a, say, RenderInfo object, to get useful information about the rendered document. Thanks anyway, Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Enrico Schnepel [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. Juli 2001 08:34 An: [EMAIL PROTECTED] Betreff: Re: : Getting number of rendered pages Hi Erik, Yes, I have a Idea... externaly from FOP: You redirect stdout from FOP and use the last opening bracket [ and the following number as pagenumber. within FOP: You write your own class derived from PageSequence or PageNumberGenerator and write the last pagenumber (may be in the destructor) directly to your database or to a file. Regards, Enrico Am Sonntag, 29. Juli 2001 20:45 schrieben Sie: Hi Enrico, this is a way to use the page number within the same transformation process, but I need to have the page count in my application to write it in a database table and to use it in a different transformation as starting page. Any idea? Regards, Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Enrico Schnepel [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 29. Juli 2001 20:37 An: [EMAIL PROTECTED] Betreff: Re: Getting number of rendered pages Hi Erik I am writing a fo:block keep-with-previous=always id=LastPage font-size=1pt/fo:block before /fo:flow and display the page number with Page fo:page-number/ of fo:page-number-citation ref-id=LastPage/ within my region-before or region-after. This should result in Page 1 of 3 I don't know wether this is the recomended way of getting the last page number but it's working fine. Regards Enrico Am Sonntag, 29. Juli 2001 18:10 schrieben Sie: Hi all, does anybody know if it's possible to get the number of rendered pages? I searched the docs, but couldn't find anything about it. I think it should be possible, because the PDFRenderer prints the current page number to the message system. We have to print a book divided into several chapters and every chapter has to be rendered separately, but must begin with the right page number (information of every chapter is in a database table to keep track of chapter sequence and page numbering). Any help is greatly appreciated. Erik Rehrmann IOn AG - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Getting number of rendered pages
Hi Jean-Claude, the applications flow of work is: 1) Client requests print of chapter 2) A ProcessManager on the server picks up that request, looks up what process should handle that request and starts it with the necessary environment. 3) The process connects to the database, extracs all information needed for printing this chapter to XML and calls FOP for rendering the chapter to PDF. 4) After finishing this work the ProcessManager informs the client wether his request was handled successful and where he can find the PDF. If I use java-extensions I have a problem of authentication. While the XML is generated into a public directory I cannot insert any database connect information. So wherefrom gets the java-extension the database connect information (server, port, service, database name, user, password)? Regards, Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: GALLO Jean-Claude [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. Juli 2001 09:46 An: '[EMAIL PROTECTED]' Betreff: RE: Getting number of rendered pages Erik try java-extensions. This help you to write external Java classes directly callable from your XSL transformation rules. a simple exmaple : xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:e=http://www.w3.org/1999/XSL/Spec/ElementSyntax; xmlns:xjava=xalan:://mycompany.util.PrintInfo xmlns:java=http://www.apache.org/xslt/java; exclude-result-prefixes=java xsl:template match =TITLE xsl:variable name=locfo:page-number-citation ref-id=@id//xsl:variable xsl:variable name=title select=text()/ xsl:value-of select=ejava:putValue($loc, $title)/ fo:block font-size=11pt ... Just select the right place to put such rules in order to detect the start and the end of your chapters. I suppose you know JDBC to connect java code to your database. Good luck. -Message d'origine- De: Erik Rehrmann [mailto:[EMAIL PROTECTED]] Date: 29 July 2001 18:10 À: '[EMAIL PROTECTED]' Objet: Getting number of rendered pages Hi all, does anybody know if it's possible to get the number of rendered pages? I searched the docs, but couldn't find anything about it. I think it should be possible, because the PDFRenderer prints the current page number to the message system. We have to print a book divided into several chapters and every chapter has to be rendered separately, but must begin with the right page number (information of every chapter is in a database table to keep track of chapter sequence and page numbering). Any help is greatly appreciated. Erik Rehrmann IOn AG - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Jean Claude GALLO [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: AW: Getting number of rendered pages
Hi Keiron, - define you own namespace, with elements and props ok - put the markup at the end of the document, where it can read the page number ok - provide some sort of connection with you other code maybe I'm currently too tired to understand, but what exactly to you mean by this? -Ursprüngliche Nachricht- Von: Keiron Liddle [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. Juli 2001 10:41 An: [EMAIL PROTECTED] Betreff: Re: AW: Getting number of rendered pages It could be possible to do this using a simple extension to fop. - define you own namespace, with elements and props - put the markup at the end of the document, where it can read the page number - provide some sort of connection with you other code On Mon, 30 Jul 2001 10:28:39 Erik Rehrmann wrote: Hi Jean-Claude, the applications flow of work is: 1) Client requests print of chapter 2) A ProcessManager on the server picks up that request, looks up what process should handle that request and starts it with the necessary environment. 3) The process connects to the database, extracs all information needed for printing this chapter to XML and calls FOP for rendering the chapter to PDF. 4) After finishing this work the ProcessManager informs the client wether his request was handled successful and where he can find the PDF. If I use java-extensions I have a problem of authentication. While the XML is generated into a public directory I cannot insert any database connect information. So wherefrom gets the java-extension the database connect information (server, port, service, database name, user, password)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Getting number of rendered pages
Hi Jeremias, THAT's exactly what I was searching for! But unfortunatetly, the Driver.format() in the current cvs versions looks like /** * format the formatting object tree into an area tree */ public synchronized void format() throws FOPException { FontInfo fontInfo = new FontInfo(); _renderer.setupFontInfo(fontInfo); _areaTree = new AreaTree(); _areaTree.setFontInfo(fontInfo); _treeBuilder.format(_areaTree); } The javadoc confirms this! Do you mean an other class/method ? Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. Juli 2001 11:51 An: [EMAIL PROTECTED] Betreff: Re: Getting number of rendered pages does anybody know if it's possible to get the number of rendered pages? I searched the docs, but couldn't find anything about it. I think it should be possible, because the PDFRenderer prints the current page number to the message system. We have to print a book divided into several chapters and every chapter has to be rendered separately, but must begin with the right page number (information of every chapter is in a database table to keep track of chapter sequence and page numbering). Any help is greatly appreciated. Driver.format() returns the number of generated pages as an integer. Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Getting number of rendered pages
Hi all, does anybody know if it's possible to get the number of rendered pages? I searched the docs, but couldn't find anything about it. I think it should be possible, because the PDFRenderer prints the current page number to the message system. We have to print a book divided into several chapters and every chapter has to be rendered separately, but must begin with the right page number (information of every chapter is in a database table to keep track of chapter sequence and page numbering). Any help is greatly appreciated. Erik Rehrmann IOn AG - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Getting number of rendered pages
Hi Enrico, this is a way to use the page number within the same transformation process, but I need to have the page count in my application to write it in a database table and to use it in a different transformation as starting page. Any idea? Regards, Erik Rehrmann IOn AG - [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Enrico Schnepel [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 29. Juli 2001 20:37 An: [EMAIL PROTECTED] Betreff: Re: Getting number of rendered pages Hi Erik I am writing a fo:block keep-with-previous=always id=LastPage font-size=1pt/fo:block before /fo:flow and display the page number with Page fo:page-number/ of fo:page-number-citation ref-id=LastPage/ within my region-before or region-after. This should result in Page 1 of 3 I don't know wether this is the recomended way of getting the last page number but it's working fine. Regards Enrico Am Sonntag, 29. Juli 2001 18:10 schrieben Sie: Hi all, does anybody know if it's possible to get the number of rendered pages? I searched the docs, but couldn't find anything about it. I think it should be possible, because the PDFRenderer prints the current page number to the message system. We have to print a book divided into several chapters and every chapter has to be rendered separately, but must begin with the right page number (information of every chapter is in a database table to keep track of chapter sequence and page numbering). Any help is greatly appreciated. Erik Rehrmann IOn AG - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Page (re)calculation
Chris, I think I successfully subscribed to fop-user, and I didn't see this question. Did you receive any message? I also thought I successfully subscribed since I got the message from ezmlm, but did not receive any additional messages. I requested the last 100 messages by sending '[EMAIL PROTECTED]', but I got only two: The initial message of Arved and my concerning the Page (re)calculation. or whatever), and then use page composition tools like the psutil package to split things back apart. What does this package exactly do ? Splitting A3 into two A4? We currently have a big XSL describing all information for the book to generate a pdf document via fop. This document is shown in a browser and lets the user do some layout manipulation, e.g. inserting page breaks etc. The resulting pdf document(s) will be send to a printing shop, thus we cannot change the output format. psutil sounds like a tool for postscript files?! Regards, ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Need Working Sample
Hi Gustavo, the following works great: ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); org.xml.sax.XMLReader parser = inputHandler.getParser(); driver.buildFOTree(parser, inputHandler.getInputSource()); driver.format(); driver.setOutputStream(out); driver.render(); response.setContentType(application/pdf); byte[] content = out.toByteArray(); response.setContentLength(content.length); response.getOutputStream().write(content); response.getOutputStream().flush(); This example lets the servlet stream the result directly to the client browser. If you want to have the pdf file on your disk instead, just write use an other output stream! It currently does not work for IE5.5, but I'll check the hint of Alex McLintock earlier in this list. Hope this helps you out, ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Juli 2001 17:11 An: '[EMAIL PROTECTED]' Betreff: RE: Need Working Sample Hi Jim, I have exactly the same problem, and I've just found a non elegant, working solution: I generate my XML file, and then call the command line Fop from within my servlet: Runtime.getRuntime().exec(new String[]{java.exe, -cp, c:\\fop\\Fop-0.18.1-DEV\\fop.jar;c:\\fop\\Fop-0.18.1-DEV\\lib \\w3c.jar;c:\\ fop\\Fop-0.18.1-DEV\\lib\\xalan-2.0.0.jar;c:\\fop\\Fop-0.18.1- DEV\\lib\\xerc es-1.2.3.jar;c:\\fop\\Fop-0.18.1-DEV\\lib\\jimi-1.0.jar, org.apache.fop.apps.Fop, -xml , c:\\prueba.xml, -xsl , c:\\prueba.xsl, -pdf , c:\\prueba.pdf}); As I said, it is NOT elegant, but after sweating for days with problems of all type doing the elegant thing, I get my beautiful PDF on disk. Of course you should adapt the names of trhe directories and the xml and xsl files. Cheers, Gustavo PS: if someone has an elegant solution I would be happy to use it too. -Message d'origine- De :Jim Urban [mailto:[EMAIL PROTECTED]] Envoyé :vendredi, 6. juillet 2001 17:09 À : [EMAIL PROTECTED] Objet : Need Working Sample Hi, I am new to FOP. I have a servlet which dynamically generates XML. I need to apply an XSL stylesheet containing FO tags to generate a FO version of the XML and then I need to run this FO version of the XML through FOP (or Driver) so the servlet can return a dynamically created PDF to the browser. Does anyone have a working example of how to do this? Only the XSL style sheet containing the FO tags used in the initial transform will be on disk. Please help, I have to get this working. Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 Fichier: ATT14204.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Need Working Sample
Jim, don't be upset! Please take into account that the mails arrived not right on time when you sent another mail! I sent my mail BEFORE I saw you're working with memory streams! It's is possible to handle strings as stream. Have a look at the streams bean of alphaworks (streams.jar) http://www.alphaworks.ibm.com/ab.nsf/techreqs/Streams Hey, ... keep cool, it's just another deadline ;-) ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: Jim Urban [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 6. Juli 2001 17:52 An: [EMAIL PROTECTED] Betreff: RE: Need Working Sample Sorry, but this does not work for two reasons. 1. The XML does NOT exist on disk! It is in memory only, and writing it to disk is NOT an option. 2. This is a high traffic web application. Starting a new JVM to process FOP is too costly. There must be a way for this FOP thing to read raw (data only) XML (in memory) apply an XSL style sheet to add the FO tags, then format the PDF and return it to a browser. I can't believe I am the first person in the word to need to do this. If I seem upset, I'm sorry. But I have been fighting with FOP since last week to get it to do this. FOP works great for taking FO files and converting them to PDF files, but that's not what I have to do. I have a deadline to meet and I have wasted a week trying to get FOP to work. Jim -Original Message- From: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 10:11 AM To: '[EMAIL PROTECTED]' Subject: RE: Need Working Sample Hi Jim, I have exactly the same problem, and I've just found a non elegant, working solution: I generate my XML file, and then call the command line Fop from within my servlet: Runtime.getRuntime().exec(new String[]{java.exe, -cp, c:\\fop\\Fop-0.18.1-DEV\\fop.jar;c:\\fop\\Fop-0.18.1-DEV\\lib \\w3c.jar;c:\\ fop\\Fop-0.18.1-DEV\\lib\\xalan-2.0.0.jar;c:\\fop\\Fop-0.18.1- DEV\\lib\\xerc es-1.2.3.jar;c:\\fop\\Fop-0.18.1-DEV\\lib\\jimi-1.0.jar, org.apache.fop.apps.Fop, -xml , c:\\prueba.xml, -xsl , c:\\prueba.xsl, -pdf , c:\\prueba.pdf}); As I said, it is NOT elegant, but after sweating for days with problems of all type doing the elegant thing, I get my beautiful PDF on disk. Of course you should adapt the names of trhe directories and the xml and xsl files. Cheers, Gustavo PS: if someone has an elegant solution I would be happy to use it too. -Message d'origine- De :Jim Urban [mailto:[EMAIL PROTECTED]] Envoyé :vendredi, 6. juillet 2001 17:09 À : [EMAIL PROTECTED] Objet : Need Working Sample Hi, I am new to FOP. I have a servlet which dynamically generates XML. I need to apply an XSL stylesheet containing FO tags to generate a FO version of the XML and then I need to run this FO version of the XML through FOP (or Driver) so the servlet can return a dynamically created PDF to the browser. Does anyone have a working example of how to do this? Only the XSL style sheet containing the FO tags used in the initial transform will be on disk. Please help, I have to get this working. Thanks, Jim Urban Product Manager Netsteps Inc. Suite 505E 1 Pierce Pl. Itasca, IL 60143 Voice: (630) 250-3045 x2164 Fax: (630) 250-3046 Fichier: ATT14204.txt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
org.apache.fop.apps.FOPException: InputSource is not set.
Hi all, does anybody know the reason why this exception occurs? I want to render xml/xsl files to pdf within a servlet. The xmlFile is generated within the servlet and the xslFile is statically available. Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); org.xml.sax.XMLReader parser = inputHandler.getParser(); - driver.buildFOTree(parser, inputHandler.getInputSource()); driver.format(); driver.setOutputStream(out); driver.run(); Any idea? Thanks in advance, ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: org.apache.fop.apps.FOPException: InputSource is not set.
Chetan, found my failure! I used driver.run(), but have to use driver.format() and driver.render() instead. Now everthing works fine. Thanks anyway! -Ursprüngliche Nachricht- Von: Chetan Vig [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 29. Juni 2001 15:45 An: [EMAIL PROTECTED] Betreff: Re: org.apache.fop.apps.FOPException: InputSource is not set. Hi Erik, try this InputSource fo = new InputSource(new java.io.ByteArrayInputStream(baos.toByteArray())); Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); driver.buildFOTree((org.xml.sax.XMLReader)(saxParserFactory.ne wSAXParser().getParser()), fo); driver.format(); driver.render(); -Chetan Erik Rehrmann wrote: Hi all, does anybody know the reason why this exception occurs? I want to render xml/xsl files to pdf within a servlet. The xmlFile is generated within the servlet and the xslFile is statically available. Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); org.xml.sax.XMLReader parser = inputHandler.getParser(); - driver.buildFOTree(parser, inputHandler.getInputSource()); driver.format(); driver.setOutputStream(out); driver.run(); Any idea? Thanks in advance, ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cell alignment problems
Hi all, I've encountered difficulties using alignment within tables rows. I attached a modified table.fo example to point out the problem. The text in the second table row is to long for the defined column width, so it is wrapped correctly. Now I want the text of the whole row aligned to the bottom of the row, but instead all other cells show the text aligned to the cells top. Is it possible to align the the row text completely to the bottom of the cells? ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] ?xml version=1.0 encoding=utf-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; !-- defines the layout master -- fo:layout-master-set fo:simple-page-master master-name=first page-height=29.7cm page-width=21cm margin-top=1cm margin-bottom=2cm margin-left=2.5cm margin-right=2.5cm fo:region-body margin-top=3cm/ fo:region-before extent=3cm/ fo:region-after extent=1.5cm/ /fo:simple-page-master /fo:layout-master-set !-- starts actual layout -- fo:page-sequence master-name=first fo:flow flow-name=xsl-region-body fo:table border-collapse=separate fo:table-column column-width=50mm/ fo:table-column column-width=50mm/ fo:table-column column-width=50mm/ fo:table-body fo:table-row fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockgood/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockbad/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockugly/fo:block/fo:table-cell /fo:table-row fo:table-row fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blocknice nice nice nice nice nice nice nice/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockdice/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockvice/fo:block/fo:table-cell /fo:table-row fo:table-row fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockliterature/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockmusic/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockart/fo:block/fo:table-cell /fo:table-row fo:table-row fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockjava/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockperl/fo:block/fo:table-cell fo:table-cell border-width=0.5mm border-style=solid background-color=yellowfo:blockpython/fo:block/fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:flow /fo:page-sequence /fo:root ___ Erik Rehrmann - IOn AG [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]