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
AW: PDF table of contents - possible with FOP?
Title: PDF table of contents - possible with FOP? Here an xsl example, takenfrom my current project: xsl:template match="chapter" mode="content" fox:outline internal-destination="[EMAIL PROTECTED]}" fox:label xsl:number count="chapter" level="multiple"/ xsl:text./xsl:textxsl:value-of select="title"/ /fox:label xsl:apply-templates select="chapter" mode="content"/ /fox:outline /xsl:template Don't forget the name space: xmlns:fox="http://xml.apache.org/fop/extensions" version="1.0" This works with all FOP version I have useduntil now (0.18.1 - 0.20.3). -Ursprüngliche Nachricht-Von: Schweigl, Johann [mailto:[EMAIL PROTECTED]Gesendet: Montag, 27. Mai 2002 14:48An: '[EMAIL PROTECTED]'Betreff: PDF table of contents - possible with FOP? Hi all, is it possible to have Apache FOP generate a table of contents and maybe thumbnails for a PDF file? Is there any other FOP that can do that? Best Regards, Johann
AW: PDF table of contents - possible with FOP?
Title: PDF table of contents - possible with FOP? thanks a lot, that saved my day ... -Ursprüngliche Nachricht-Von: Jens Posingies [mailto:[EMAIL PROTECTED]Gesendet: Montag, 27. Mai 2002 14:58An: [EMAIL PROTECTED]Betreff: AW: PDF table of contents - possible with FOP? Here an xsl example, takenfrom my current project: xsl:template match="chapter" mode="content" fox:outline internal-destination="[EMAIL PROTECTED]}" fox:label xsl:number count="chapter" level="multiple"/ xsl:text./xsl:textxsl:value-of select="title"/ /fox:label xsl:apply-templates select="chapter" mode="content"/ /fox:outline /xsl:template Don't forget the name space: xmlns:fox="http://xml.apache.org/fop/extensions" version="1.0" This works with all FOP version I have useduntil now (0.18.1 - 0.20.3). -Ursprüngliche Nachricht-Von: Schweigl, Johann [mailto:[EMAIL PROTECTED]Gesendet: Montag, 27. Mai 2002 14:48An: '[EMAIL PROTECTED]'Betreff: PDF table of contents - possible with FOP? Hi all, is it possible to have Apache FOP generate a table of contents and maybe thumbnails for a PDF file? Is there any other FOP that can do that? Best Regards, Johann
drawing a table with different line-widths
Hi, I have to layout a table like this: = -- = = -header - = = -- = = -- = = -- = =--= . . . = - last - = = -- = My first try was to define border properties on the header, the body and around all cells. I thought I got it, but when I printed in postscript the lines were stacked in each other. I used PDF first and that was fine. I need to get PS though. Now my second try looks like this fo:table xsl:call-template name=Tabelle/ fo:table-body border-left=1.5pt border-right=1.5pt border-top=0pt border-bottom=0pt border-style=solid xsl:apply-templates select=... mode=tabelle/ /fo:table-body /fo:table xsl:template name=geheimhaltungsTabelle fo:table-column column-width=50mm/ fo:table-column column-width=50mm/ fo:table-column column-width=50mm/ fo:table-header border-width=1.5pt border-style=solid fo:table-row fo:table-cellfo:block font-weight=bold.../fo:block/fo:table-cell fo:table-cell border-top=0pt border-bottom=0pt border-right=0.5pt border-left=0.5pt border-style=solid fo:block font-weight=boldmiddle cell/fo:block/fo:table-cell fo:table-cellfo:block font-weight=boldName/fo:block/fo:table-cell /fo:table-row /fo:table-header /xsl:template xsl:template match=... mode=tabelle fo:table-row fo:table-cell border-top=0pt border-bottom=0.5pt border-left=0pt border-right=0pt border-style=solid fo:blockxsl:value-of select=...//fo:block/fo:table-cell fo:table-cell border-top=0pt border-bottom=0.5pt border-left=0.5pt border-right=0.5pt border-style=solid fo:blockxsl:value-of select=...//fo:block/fo:table-cell fo:table-cell border-top=0pt border-bottom=0.5pt border-left=0pt border-right=0pt border-style=solid fo:blockxsl:value-of select=...//fo:block/fo:table-cell /fo:table-row /xsl:template results in a gap between header and body. And of course I still have to fix the bottom line. I tried fop 0.20.2 and 0.20.3-2002-03-04. I think it might have s.th. to do with the border-collapse property, but as it seems fop or I do not understand the spec. Can anybody help please? Best regards Markus Fries
WG: Re: FOP FO to MIF transformation not working?
Hi, I may be missing something obvious, but FOP does not appear to run MIF conversions. I attempted to convert simple.fo from examples/fo to MIF and received the following output: fop simple.fo -mif simple.mif [INFO]: FOP 0.20.3rc [INFO]: building formatting object tree [INFO]: rendering areas to MIF [INFO]: [1] [ERROR]: null All other formats work fine. Do I need to any special FO directives for MIF to process? Thanks, Robert
Re: WG: Re: FOP FO to MIF transformation not working?
I had the same error and it was due to the attribute::master-name instead of attribute::master-reference in fo:page-sequence and fo:conditional-page-master-reference solution: replace master-name with master-reference in the mentioned fo-items and it should work ! Robert Wachter To: FOP User [EMAIL PROTECTED] [EMAIL PROTECTED]cc: de Subject: WG: Re: FOP FO to MIF transformation not working? 27/05/2002 15:28 Please respond to fop-user Hi, I may be missing something obvious, but FOP does not appear to run MIF conversions. I attempted to convert simple.fo from examples/fo to MIF and received the following output: fop simple.fo -mif simple.mif [INFO]: FOP 0.20.3rc [INFO]: building formatting object tree [INFO]: rendering areas to MIF [INFO]: [1] [ERROR]: null All other formats work fine. Do I need to any special FO directives for MIF to process? Thanks, Robert
Re: AW: WG: Re: FOP FO to MIF transformation not working?
Hi Robert, I've token a look and tried to generate the MIF file on my machine, and it worked without any problems. The difference : I'm using FOP 0.20.3 You're using FOP 0.20.3rc It might be the problem ! Jurgen Robert Wachter To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: de Subject: AW: WG: Re: FOP FO to MIF transformation not working? 27/05/2002 16:52 Please respond to fop-user Hi Jurgen, thanks for your help, but I cannot make it work. I could not find the mentioned attributes. In my example there is already fo:page-sequence master-reference =simple. You would help me a lot (!), when you could tak a look to the attached file, or if you would send me an exmple that works in your environment. Thanks in advance, Robert -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 27. Mai 2002 15:43 An: [EMAIL PROTECTED] Betreff: Re: WG: Re: FOP FO to MIF transformation not working? I had the same error and it was due to the attribute::master-name instead of attribute::master-reference in fo:page-sequence and fo:conditional-page-master-reference solution: replace master-name with master-reference in the mentioned fo-items and it should work ! Robert Wachter To: FOP User [EMAIL PROTECTED] [EMAIL PROTECTED]cc: de Subject: WG: Re: FOP FO to MIF transformation not working? 27/05/2002 15:28 Please respond to fop-user Hi, I may be missing something obvious, but FOP does not appear to run MIF conversions. I attempted to convert simple.fo from examples/fo to MIF and received the following output: fop simple.fo -mif simple.mif [INFO]: FOP 0.20.3rc [INFO]: building formatting object tree [INFO]: rendering areas to MIF [INFO]: [1] [ERROR]: null All other formats work fine. Do I need to any special FO directives for MIF to process? Thanks, Robert (See attached file: simple.fo) simple.fo Description: Binary data
AW: Learning needeed
There are a lot of article on the developerworks / alphaworks site at ibm. i find them very usefull. -Ursprüngliche Nachricht-Von: Ramon Maria Gallart [mailto:[EMAIL PROTECTED]Gesendet: Montag, 27. Mai 2002 17:03An: [EMAIL PROTECTED]Betreff: Learning needeed Hi all! I want to learn how to use FOP well and all the relatied technology behind it (from xml to xsl to fo, etc...). Does anyone of you know where can i find practical examples on how to create documents using xml, transform'em with xsl and then create pdfs from them? I've been looking in the apache's web but the examples i've found there where not clear for me. Lots of thanks. Ramon.
Re: Learning needeed
At 2002-05-27 17:02 +0200, Ramon Maria Gallart wrote: Hi all! I want to learn how to use FOP well and all the relatied technology behind it (from xml to xsl to fo, etc...). Does anyone of you know where can i find practical examples on how to create documents using xml, transform'em with xsl and then create pdfs from them? I've been looking in the apache's web but the examples i've found there where not clear for me. Download the free previews of our electronically published books on XSLT/XPath and XSLFO to see if their scopes include what you think you need. I hope this helps. .. Ken Electronic: Practical Transformation Using XSLT and XPath (XSL Transformations and the XML Path Language) Tenth Edition - 2001-12-06 - ISBN 1-894049-08-X Copyright (c) 2001 Crane Softwrights Ltd. / 394 Pages / Subscription price includes free updates, / / soft-copy of included examples, and an / / accessible rendition and 10 PDF renditions. / / Free 140-page download preview excerpt. Practical Formatting Using XSLFO (Extensible Stylesheet Language Formatting Objects) Second Edition - 2002-04-05 - ISBN 1-894049-09-8 Copyright (c) 2002 Crane Softwrights Ltd. / 361 Pages / Subscription price includes free updates, / / soft-copy of included examples, and an / / accessible rendition and 10 PDF renditions. / / Free 175-page download preview excerpt. Paper: Definitive XSLT and XPath First Edition - 2001-12-10 - ISBN 0-13-065196-6 Copyright (c) 2002 Crane Softwrights Ltd. Prentice Hall PTR - 393 pages (a print-only rendition of the Ninth Edition of Practical Transformation Using XSLT and XPath; this does not qualify for free electronic updates) http://www.CraneSoftwrights.com/links/dxx-info.htm Sample: http://www.CraneSoftwrights.com/links/dxx-sample.htm -- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO: June 17-21, 2002 - : 3-days XML Information Modeling: July 31-August 2, 2002 G. Ken Holmanmailto:[EMAIL PROTECTED] Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-07-1 Practical Formatting Using XSLFO XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed), articles, training(instructor-live,Internet-live,web/CD,licensed) Next public training: 2002-05-06,07,09,10,13,15,20, -06-04,07,10,11,13,14,17,20,07-31,08-05,27,30
Re: Learning needeed
Ramon Maria Gallart schrieb: Hi all! I want to learn how to use FOP well and all the relatied technology behind it (from xml to xsl to fo, etc...). Does anyone of you know where can i find practical examples on how to create documents using xml, transform'em with xsl and then create pdfs from them? I've been looking in the apache's web but the examples i've found there where not clear for me. Did you already have a look at the Tutorials/Articles mentioned on the resources page? Lots of thanks. Ramon. Christian
Re: WG: Re: FOP FO to MIF transformation not working?
Robert Wachter wrote: I may be missing something obvious, but FOP does not appear to run MIF conversions. I attempted to convert simple.fo from examples/fo to MIF and received the following output: fop simple.fo -mif simple.mif [INFO]: FOP 0.20.3rc ... All other formats work fine. Do I need to any special FO directives for MIF to process? No. Upgrade to the final 0.20.3 release. The example works fine. The MIF renderer still has some deficiencies, though. J.Pietschmann
Re: drawing a table with different line-widths
Fries, Markus, fiscus GmbH, Bonn wrote: Now my second try looks like this ... results in a gap between header and body. And of course I still have to fix the bottom line. I tried fop 0.20.2 and 0.20.3-2002-03-04. I think it might have s.th. to do with the border-collapse property, but as it seems fop or I do not understand the spec. The implementation for collapsing borders is, well, incomplete. Read the comments near the end of src/../fo/flow/TableCell.java why it's not easy to adhere to the spec. You should probably use border-bottom on the blocks within the table cells and refrain from specifying different widths for border-top and border-bottom. Happy tampering! J.Pietschmann