cvs commit: xml-fop/src/org/apache/fop/image FopImageFactory.java
keiron 01/10/11 02:13:33 Modified:src/org/apache/fop/image FopImageFactory.java Log: throws a different error if base dir not specified Revision ChangesPath 1.25 +7 -1 xml-fop/src/org/apache/fop/image/FopImageFactory.java Index: FopImageFactory.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/FopImageFactory.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- FopImageFactory.java 2001/09/18 08:17:07 1.24 +++ FopImageFactory.java 2001/10/11 09:13:33 1.25 @@ -1,5 +1,5 @@ /* - * $Id: FopImageFactory.java,v 1.24 2001/09/18 08:17:07 keiron Exp $ + * $Id: FopImageFactory.java,v 1.25 2001/10/11 09:13:33 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -76,6 +76,12 @@ } catch (Exception e) { // maybe relative URL context_url = null; +String base = Configuration.getStringValue(baseDir); +if(base == null) { +throw new FopImageException(Error with image URL: + + e.getMessage() + + and no base directory is specified); +} try { absoluteURL = new URL(Configuration.getStringValue(baseDir) + absoluteURL.getFile()); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/svg SVGElement.java
keiron 01/10/11 02:16:24 Modified:src/org/apache/fop/svg SVGElement.java Log: do not attempt to set base dir if not available Revision ChangesPath 1.16 +4 -2 xml-fop/src/org/apache/fop/svg/SVGElement.java Index: SVGElement.java === RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- SVGElement.java 2001/10/05 10:29:48 1.15 +++ SVGElement.java 2001/10/11 09:16:24 1.16 @@ -1,5 +1,5 @@ /* - * $Id: SVGElement.java,v 1.15 2001/10/05 10:29:48 keiron Exp $ + * $Id: SVGElement.java,v 1.16 2001/10/11 09:16:24 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -141,7 +141,9 @@ try { String baseDir = Configuration.getStringValue(baseDir); -((SVGOMDocument)doc).setURLObject(new URL(baseDir)); +if(baseDir != null) { +((SVGOMDocument)doc).setURLObject(new URL(baseDir)); +} } catch (Exception e) { log.error(Could not set base URL for svg, e); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
provisional-distance-between-starts and provisional-label-separationdoesn't work
hi all, I'm using FOP-0.20.1 and I have used the above attributes for the list-block, but it doesn't work. So, anyone has any ideas about this problem? Anyway, in order to perform this task, I have used text-indent in the list-block, and it worked. But, there is a text-alignment problem in the list (please refer the attachment), so, how can I solve it? Thanks. The following is my xsl and tne pdf files: xsl:template match=//list/item fo:list-block provisional-distance-between-starts=2cm provisional-label-separation.maximum=2cm provisional-label-separation.minimum=0.5cm provisional-label-separation.optimum=1cm fo:list-item fo:list-item-label fo:block * /fo:block /fo:list-item-label fo:list-item-body fo:block text-indent=15pt xsl:apply-templates/ /fo:block /fo:list-item-body /fo:list-item /fo:list-block /xsl:template (See attached file: my.pdf) best rgds, ektan my.pdf Description: Adobe Portable Document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
vertical align in a block
Hello How can I define the vertical align (i.e. top / bottom..) from a text in a fo:block Thx Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Large graphics
Hi all, I'm creating a cover page that contains a large graphic. Portions of the graphic are transparent (it's a PNG) and I'm trying to place the report title in some of the transparent region. But it always gets truncated by the graphic image, whether transparent or not. Is there a way to write on top of an image? Specifically, here's the layout of my cover page: --- -- - Title here - -- - - - - - - - - - - -- -- - - --- The G is the image and the T is the transparent part. As you can see, part of the title is in the transparent part. My only solution so far has been to split the graphic vertically in half and then try to align the two parts. It almost works, but careful examination shows the matchup isn't perfect. It's definitely not production quality. Any help would be appreciated! Scott
AW: Large graphics
What if you first place the image and then place the text. Doesn't that work?? -Ursprüngliche Nachricht-Von: Scott Moore [mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 11. Oktober 2001 15:05An: FOP ListBetreff: Large graphics Hi all, I'm creating a cover page that contains a large graphic. Portions of the graphic are transparent (it's a PNG) and I'm trying to place the report title in some of the transparent region. But it always gets truncated by the graphic image, whether transparent or not. Is there a way to write on top of an image? Specifically, here's the layout of my cover page: --- -- - Title here - -- - - - - - - - - - - -- -- - - --- The G is the image and the T is the transparent part. As you can see, part of the title is in the transparent part. My only solution so far has been to split the graphic vertically in half and then try to align the two parts. It almost works, but careful examination shows the matchup isn't perfect. It's definitely not production quality. Any help would be appreciated! Scott
Re: Large graphics
Scott: I have been looking into the background-image property (xsl 7.6.3) of a block, but it isn't implemented in FOP 0.18. If you are on a later version, you can try it out. -Lou Scott Moore [EMAIL PROTECTED] on 10/11/2001 09:05:08 AM Please respond to [EMAIL PROTECTED] To: FOP List [EMAIL PROTECTED] cc: Subject: Large graphics Hi all, I'm creating a cover page that contains a large graphic. Portions of the graphic are transparent (it's a PNG) and I'm trying to place the report title in some of the transparent region. But it always gets truncated by the graphic image, whether transparent or not. Is there a way to write on top of an image? Specifically, here's the layout of my cover page: --- - - - Title here - - - - - - - - - - - - - - - - - - - --- The G is the image and the T is the transparent part. As you can see, part of the title is in the transparent part. My only solution so far has been to split the graphic vertically in half and then try to align the two parts. It almost works, but careful examination shows the matchup isn't perfect. It's definitely not production quality. Any help would be appreciated! Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: orientation
Ok - found it. For some reason it seems to come from an other account: [EMAIL PROTECTED] - let me make sure it accepts both. Dw. On Thu, 11 Oct 2001, Brian T. Wolf wrote: I am trying to utilize the code in PCLRenderer that will send the landscape escape sequence. Unfortunately I cannot seem to figure out how to pass the information from the stylesheet to the renderer. If someone is already working on this I can wait a little bit; otherwise any advice on how to proceed to make the coding changes would be appreciated. Thanks, Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Large graphics
It's not implemented in 0.20 either. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 11, 2001 12:14 PM Subject: Re: Large graphics Scott: I have been looking into the background-image property (xsl 7.6.3) of a block, but it isn't implemented in FOP 0.18. If you are on a later version, you can try it out. -Lou Scott Moore [EMAIL PROTECTED] on 10/11/2001 09:05:08 AM Please respond to [EMAIL PROTECTED] To: FOP List [EMAIL PROTECTED] cc: Subject: Large graphics Hi all, I'm creating a cover page that contains a large graphic. Portions of the graphic are transparent (it's a PNG) and I'm trying to place the report title in some of the transparent region. But it always gets truncated by the graphic image, whether transparent or not. Is there a way to write on top of an image? Specifically, here's the layout of my cover page: --- - - - Title here - - - - - - - - - - - - - - - - - - - --- The G is the image and the T is the transparent part. As you can see, part of the title is in the transparent part. My only solution so far has been to split the graphic vertically in half and then try to align the two parts. It almost works, but careful examination shows the matchup isn't perfect. It's definitely not production quality. Any help would be appreciated! Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
The Position of my table in a body-content
Hi all, I have a Problem, I think someone can help to resolve this problem. I want to put my table in the center my body-content but I don't know, how I can do that. Any help would be appreciated thanks. -- [EMAIL PROTECTED] MATHEMA AG Nägelsbachstraße 25 b 91052 E r l a n g e n Telefon 09131/8903-0 Telefax 09131/8903-55 http://www.mathema.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Fop speed improvements
Hi all, This is the second message I post about fop performance; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Fop speed improvements
Hi all, This is the second message I post about fop performance and I didn't got any answer; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fop speed improvements
Wow. That's slow. I'm also using it in a Servlet and I don't have any performance problems. I generated a 100 page PDF in about 20 seconds, and that included many graphics and short tables. How big is your table? I typically have between 5-20 rows. I'm using JDF 1.3.1_01 with Tomcat 3.2.3. Are you using FOP 0.20? I am. Scott - Original Message - From: Pablo Iaria [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 11, 2001 1:50 PM Subject: Fop speed improvements Hi all, This is the second message I post about fop performance; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
orientation
I am trying to utilize the code in PCLRenderer that will send the landscape escape sequence. Unfortunately I cannot seem to figure out how to pass the information from the stylesheet to the renderer. If someone is already working on this I can wait a little bit; otherwise any advice on how to proceed to make the coding changes would be appreciated. Thanks, Brian
Re: Fop speed improvements
There are disclaimers stating that Fop is not ready for production level use. However many of us use it. I can generate 2+ page pdfs with graphics in less than 30 seconds...this is just to give you an idea. I a using JDK1.2.2 with 512MB of RAM If you could paste/attach your servlet code or the xml, xsl files someone might be able to take a look at it to see if something is going on there. Pablo Iaria wrote: Hi all, This is the second message I post about fop performance and I didn't got any answer; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Generating PDF
Hi there, I am Deep working on XML to PDF conversion. I have few questions can anyone please try and answer them. I need them urgently. Here are my queries: 1. I want to use the org.apache.fop.pdf package to create a pdf document. Can I use the org.apache.fop.pdf package separately for generating pdf? I do not want to use FOs and I will supply data through my program (need to write). 2. What all minimal set of data and in what form should I provide from my program to use this package so as to generate the pdf? 3. What class instantiation would be my starting point? PS: My requirement is to generate some PDF and they have standard (static) format. Say I want to display a calendar then my format is fixed like shoing grind in the PDF ya but the data that has to be shown in the document will be dynamic. Any pointer regarding will be helpful. Thanks Deep __ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Parcing Error
To whom it may concern: I am creating a report using xsl-fo. In the main table I am trying to add a nested table. When I put the nested table in and try to parce it to a pdf file I am getting a error [1ERROR: org.apache.fop.fo.flow.Table What is causing this error and how can I correct it. I have nested one table already but that's all I can get done. Any help would be greatly appreciated, Doug Gegelman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Making a native win32 binary out of FOP
Hi List. I would like to distribute FOP with my application, but I don't want to force people to install 5,4 MB worth of JRE. Do any of you have experience regarding translation of FOP into an .exe-file (+ some .dll's probably) that will run directlyfrom a win32 platform? Some sort of Java-win32 "wrapper" is acceptable, as long as it doesn't force us to install the JRE. Thanks in advance. - Thomas Kæregaard, Denmark
SIGSEGV when running Fop
Hi, I use Fop-0.20.1. Java SUN SDK-1.3.1 on Linux and always got a SIGSEGV when running 'java org.apache.fop.apps.Fop infile.fo outfile.pdf. I'm not too stron in Java, but it seems to me strnge to get SIGSEGV when running Java app. Does anybody know the solution? Thanks Libor Sakmary [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fop speed improvements
I have one table of 4 or 5 columns per row.. and about 30-35 rows per page. the fop version is fop 0.20.1 - Original Message - From: Scott Moore [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 11, 2001 3:05 PM Subject: Re: Fop speed improvements Wow. That's slow. I'm also using it in a Servlet and I don't have any performance problems. I generated a 100 page PDF in about 20 seconds, and that included many graphics and short tables. How big is your table? I typically have between 5-20 rows. I'm using JDF 1.3.1_01 with Tomcat 3.2.3. Are you using FOP 0.20? I am. Scott - Original Message - From: Pablo Iaria [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 11, 2001 1:50 PM Subject: Fop speed improvements Hi all, This is the second message I post about fop performance; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - 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]
Re: Fop speed improvements
On Thursday 11 October 2001 20:05, Scott Moore wrote: I generated a 100 page PDF in about 20 seconds Would you mind sharing the XSL-FO of this document? We are currently studying how far optimizing FO code (just on one example document that we know is less than optimal) makes a difference, and I'd be interested in comparing your FO constructs. -- -- Bertrand Delacrétaz, www.codeconsult.ch -- web technologies consultant - OO, Java, XML, C++ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Parcing Error
If you attached your XSL, I can take a look at it. Better yet, here is some code that is nesting tables: . . . fo:table-cell text-align=start space-before.optimum=1pt!--from main report table-- fo:table fo:table-column column-width=40mm/ fo:table-column column-width=20mm/ fo:table-body fo:table-row space-after.optimum=3pt fo:table-cell text-align=end fo:block xsl:apply-templates select=orderInfoDate/ /fo:block /fo:table-cell fo:table-cell text-align=start fo:block xsl:apply-templates select =orderInfoDateData/ /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell text-align=end fo:block xsl:apply-templates select =orderInfoMethod/ /fo:block /fo:table-cell fo:table-cell text-align=start fo:block xsl:apply-templates select =orderInfoMethodLC/ xsl:apply-templates select=orderInfoMethodData/ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:table-cell!--end from main report table-- . . . I have never nested more than two, so if that is what you are doing, then you are on your own. Hope it helps, Lou Gegelman, Doug [EMAIL PROTECTED] on 10/10/2001 11:28:03 AM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: Parcing Error To whom it may concern: I am creating a report using xsl-fo. In the main table I am trying to add a nested table. When I put the nested table in and try to parce it to a pdf file I am getting a error [1ERROR: org.apache.fop.fo.flow.Table What is causing this error and how can I correct it. I have nested one table already but that's all I can get done. Any help would be greatly appreciated, Doug Gegelman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Table Layout with Page Breaks
Make sure your table is in the xsl-region-body and not in the xsl-region-before or xsl-region-after. I have tables that go on for many pages without problems. You can then use the xsl-region-before for table headers at the top of each page. If you start your tables with the break-before=page attribute you will start a new page for each table. So you could have a 100 row table that goes across 3 pages, a 2 row table on 1 page then a 50 row table on 2 pages if that's what your wanting. John fop-dev-return-10770-jthaemlitz=oreillyauto.com@XML. APACHE.ORG To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] 10/10/01 06:30 PM cc: Please respond to fop-dev Subject: Table Layout with Page Breaks I'm using fop to generate tables that vary in length, so I need to be able set attributes such that the table layout will accommodate page breaks. I've tried using keep-with-next applied to fo:table-row and height applied to fo:table (plus many others) to setup the table layout so that it isn't truncated by a new page, but haven't had much success. Does FOP support this functionality? Chris W. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fop speed improvements
The arquitecture I have is: 1) I call a stored procedure that answers a cursor. 2) Traversing that cursor I build the xml file. 3) I transform the xml file with a xsl to get a .fo 4) Finally I use fo to get the PDF file. The most time consuming task is the transfomation performed in step 4 5. Thanks, pablo.- PS: I'm sorry for my English, is not my natural language... - Original Message - From: Amit [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 11, 2001 3:03 PM Subject: Re: Fop speed improvements There are disclaimers stating that Fop is not ready for production level use. However many of us use it. I can generate 2+ page pdfs with graphics in less than 30 seconds...this is just to give you an idea. I a using JDK1.2.2 with 512MB of RAM If you could paste/attach your servlet code or the xml, xsl files someone might be able to take a look at it to see if something is going on there. Pablo Iaria wrote: Hi all, This is the second message I post about fop performance and I didn't got any answer; is there a way to make it faster or useable. I'm generating a pdf from a servlet and although it's very easy to use, it's VERY slow and causes the browser to raise a timeout exception. I'm using a Pentium III 500 + 500 Mb + jdk1.3 machine and it takes 5 minutes to get a 2 pages document with no graphics, just one big table with 5 columns... Am I doing something wrong or fop is not ready for real-life ? Thanks in advance, Pablo.- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ?xml version=1.0 encoding='ISO-8859-1' ?reportheaderrow/row/headerbodyrowelementnameSize5cm/nameSizedataSize5cm/dataSizetextNombre:/textdata09090909090/data/elementelementnameSize5cm/nameSizedataSize5cm/dataSizetextApellido:/textdata09090909090/data/element/rowrowelementnameSize5cm/nameSizedataSize5cm/dataSizetextLocalidad:/textdataADELA
RE: XSL FO
Marianne: It would appear from you email that you are subscribed. Welcome. Regards, Jeff Langdon -Original Message- From: Marianne Engesvik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 10, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: XSL FO Subscribe I would like to join a group working with/learning XSL FO Adaptive Media ASA Marianne Engesvik XML/XSLT trainee/programmer Mobile: 928 19 572 Private: 22 17 38 66 Work: 22 82 32 25 Mailto: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ** 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. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Table Layout with Page Breaks
I think what Chris was asking is what needs to be done to make sure the table that doesn't fit on a page is started from the next page. I have a similar need. So far I just used table-header to at least make sure that even if the table crosses the page, at least the header will be repeated, but since my tables usually have only 5-6 rows, I would prefer for it to start from the next page if it can't fit on the previous page. Wouldn't break-before=page start EACH table from a new page? This is not what I would want. keep-with-next didn't work for me either. YS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 11, 2001 3:10 PM To: [EMAIL PROTECTED] Subject: Re: Table Layout with Page Breaks Make sure your table is in the xsl-region-body and not in the xsl-region-before or xsl-region-after. I have tables that go on for many pages without problems. You can then use the xsl-region-before for table headers at the top of each page. If you start your tables with the break-before=page attribute you will start a new page for each table. So you could have a 100 row table that goes across 3 pages, a 2 row table on 1 page then a 50 row table on 2 pages if that's what your wanting. John fop-dev-return-10770-jthaemlitz=oreillyauto.com@XML. APACHE.ORG To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] 10/10/01 06:30 PM cc: Please respond to fop-dev Subject: Table Layout with Page Breaks I'm using fop to generate tables that vary in length, so I need to be able set attributes such that the table layout will accommodate page breaks. I've tried using keep-with-next applied to fo:table-row and height applied to fo:table (plus many others) to setup the table layout so that it isn't truncated by a new page, but haven't had much success. Does FOP support this functionality? Chris W. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
ImageFormat exception in fop0.18
I am getting the format when refencing a specific image file while generating a PDF. sun.awt.image.ImageFormatException: Unsupported color conversion request at sun.awt.image.JPEGImageDecoder.readImage(Native Method) at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:150) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:255 ) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:221) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:189) Any workarounds? This is close to production so we cannot be changing versions of fop unless we have to? Any patches available?? Gagan Gagan Bhalla Senior Applications Architect Mediaprise (www.mediaprise.com) how brands leave their mark 512-342-2530 Extn 246 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
TXTRenderer
Is anyone else using the TXTRenderer? It seems that when I try it my pages all appear twice as wide as they are supposed to and the letter spacing is all funky. Is that already documented? If not, does anyone have any workarounds or ways to fix this? Thanks, Brian
Re: SIGSEGV when running Fop
That's a problem with the JVM not FOP. Java should not core dump in any case. That version of Linux SDK is known to be buggy. It seems that 1.3.0 is ok or any of the blackdown versions (www.blackdown.org). Cheers, Carlos [EMAIL PROTECTED] wrote: Hi, I use Fop-0.20.1. Java SUN SDK-1.3.1 on Linux and always got a SIGSEGV when running 'java org.apache.fop.apps.Fop infile.fo outfile.pdf. I'm not too stron in Java, but it seems to me strnge to get SIGSEGV when running Java app. Does anybody know the solution? Thanks Libor Sakmary [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: FOP and Sockets
I had the same problem parsing xml directly out of a zip, where the xml-parser also closes the whole stream. I did it this way: I wrote this class: code public class NonClosingInputStream extends FilterInputStream { public NonClosingInputStream(InputStream in) { super(in); } public void close() { } } /code and put it between the InputStream and the parser. That works fine. But remember to close the stream at the end! Christian -Ursprüngliche Nachricht- Von: Hinrich.Boog [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 9. Oktober 2001 15:17 An: [EMAIL PROTECTED] Betreff: FOP and Sockets I mailed some similar message some weeks ago, but now I had a closer look at my Sockets: The task I want to do is to buidl a RenderingServer. 1. opening a socket and make the FOP-Renderer listen 2. send some xsl:fo file over it 3. get it redered by the server 4. send it back over the socket. The point 1 2 work fine. I open a clientSocket and pass it inside an InputSource to the Driver. //here are come code bits Socket clientsocket; DataInputStream in = new DataInputStream(clientsocket.getInputStream()); OutputStream out = clientSocket.getOutputStream(); InputSource is = new InputSource(in); Driver driver = new Driver(is, temp); driver.setOutputStream(out); driver.run(); The main problem is, that the Driver seems to close down THE WHOLE socket after reading the inputData. Somehow I want to tell him leave my outputStream open until the redering is finished. Has anyone an idea, how to handle this ? Thanks Hinrich Hinrich Boog, [EMAIL PROTECTED] Infopark AG Kitzingstr. 15, D-12277 Berlin, Germany Tel +49(0)-30-747.993.0, Fax +49(0)-30-747.993.93 http://www.infopark.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]