tables not indented in lists
Hi, I have the problem that tables are not indented within lists. Here the fo sniplet: fo:list-item font-size=10pt space-after=0.2emfo:list-item-label end-indent=label-end()fo:block text-align=end font-size=12pt3./fo:block/fo:list-item-labelfo:list-item-body start-indent=body-start() text-align=justifyfo:block fo:list-block provisional-distance-between-starts=2em provisional-label-separation=0.5em fo:table table-layout=fixed space-before=10pt space-after=10pt inline-progression-dimension=300px fo:table-column column-width=100px/ fo:table-column column-width=200px/ fo:table-body start-indent=0pt end-indent=0pt fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockKontonummer: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockBLZ: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockBank: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row/fo:table-body/fo:table ... This code is generated by a XSLT stylesheet. It should be 1. Blah table But it is: 2. Blub table -- Soenke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Java App using FOP : How to communicate on the number of pages generated ?
Hi, I am using FOP to generate huge PDF document in a java/swing application. I made a little dialog box which tell the user about the progress of the transformation work (extracting data, serializing XML, first XSL transformation, etc..., and finally FOP). I saw in the FOP logs that he knows how much pages were generated (outputing [INFO] logs) : [INFO] [3] [INFO] [4] [INFO] [5] [INFO] [6] [INFO] [7] I just would like to know if there is any event or something I could use to communicate this information to my user. So i can have in my dialog label : Step 5 of 5 : Using FOP to generate PDF datas... page 3 Step 5 of 5 : Using FOP to generate PDF datas... page 4 Step 5 of 5 : Using FOP to generate PDF datas... page 5 etc... Is there a better way than using a specific logger ? Thanks forward for your help, and please excuse my english... :o) -- Simon OUALID -- ARTE FRANCE Analyste Programmeur [EMAIL PROTECTED] Tél : 01.55.00.73.18 Fax : 01.55.00.73.89 -- [EMAIL PROTECTED] 03/08/2004 19:19 Veuillez répondre à fop-user Pour :[EMAIL PROTECTED] cc : Objet :Re: For each in xsl Example... fo:table-row fo:table-cell font-size=inherited-property-value(apos;font-sizeapos;) - 2pt padding-bottom=0pt padding-left=0pt padding-right=0pt padding-top=0pt border-style=solid border-width=1pt border-color=white text-align=left padding-start=3pt padding-end=3pt padding-before=3pt padding-after=3pt display-align=center fo:block / /fo:table-cell fo:table-cell font-size=inherited-property-value(apos;font-sizeapos;) - 2pt padding-bottom=0pt padding-left=0pt padding-right=0pt padding-top=0pt border-style=solid border-width=1pt border-color=white text-align=right width=150pt padding-start=3pt padding-end=3pt padding-before=3pt padding-after=3pt display-align=center fo:block xsl:for-each select=invoice fo:inline font-weight=bold xsl:for-each select=TEMPLATE xsl:for-each select=PAGE fo:inline font-size=5pt xsl:apply-templates / /fo:inline /xsl:for-each /xsl:for-each#160; /fo:inline /xsl:for-each fo:page-number font-size=5pt font-weight=bold /#160;xsl:for-each select=invoice xsl:for-each select=TEMPLATE xsl:for-each select=OF_WORD fo:inline font-size=5pt xsl:apply-templates / /fo:inline /xsl:for-each /xsl:for-each#160; fo:page-number-citation font-size=5pt ref-id=last-page/ /xsl:for-each fo:inline font-weight=bold#160;/fo:inline /fo:block /fo:table-cell /fo:table-row Juan Manuel Bellina To:[EMAIL PROTECTED] [EMAIL PROTECTED]cc: oo.com Subject: For each in xsl 08/03/2004 10:12 AM Please respond to fop-user I need to use the for each to make some rows in the PDF but I do not know how to make it. I am making a PDF design using Altova StyleVision. Do you know if this tool allow me to introduce this feature? Can anybody send me a simple example? Thanks, Juan __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tables not indented in lists
Hi, I resolve this emdeding my table in a single cell table, and I compute the table-cell/@padding-left regarding ancestors lists. You can probably find an easier method using from-parent() method. Here follows my code: fo:table table-layout=fixed width=100% start-indent=0mm fo:table-column column-width=proportional-column-width(1)/ fo:table-body fo:table-row fo:table-cell padding-left={ ($bulletListIndent * count(ancestor::[EMAIL PROTECTED]'BULLET' or not(@TYPE)])) +($numberdedListIndent * count(ancestor::[EMAIL PROTECTED]'NUMBERED'])}mm fo:table table-layout=fixed width=100% xsl:use-attribute-sets=normalTable start-indent=0mm !-- your table content here -- /fo:table /fo:table-cell /fo:table-row /fo:table-body /fo:table Pascal -Message d'origine- De : Sönke Ruempler [mailto:[EMAIL PROTECTED] Envoyé : mardi 10 août 2004 09:24 À : [EMAIL PROTECTED] Objet : tables not indented in lists Hi, I have the problem that tables are not indented within lists. Here the fo sniplet: fo:list-item font-size=10pt space-after=0.2emfo:list-item-label end-indent=label-end()fo:block text-align=end font-size=12pt3./fo:block/fo:list-item-labelfo:list-item-body start-indent=body-start() text-align=justifyfo:block fo:list-block provisional-distance-between-starts=2em provisional-label-separation=0.5em fo:table table-layout=fixed space-before=10pt space-after=10pt inline-progression-dimension=300px fo:table-column column-width=100px/ fo:table-column column-width=200px/ fo:table-body start-indent=0pt end-indent=0pt fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockKontonummer: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockBLZ: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row fo:table-row xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:blockBank: /fo:block/fo:table-cell fo:table-cell padding-start=0.3em padding-end=0.2em padding-before=2pt padding-after=2ptfo:block fo:leader leader-length=100px leader-pattern=rule rule-thickness=1pt space-end=10pt/#xA0; /fo:block/fo:table-cell/fo:table-row/fo:table-body/fo:table ... This code is generated by a XSLT stylesheet. It should be 1. Blah table But it is: 2. Blub table -- Soenke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tables not indented in lists
Pascal Sancho mailto:[EMAIL PROTECTED] wrote on Tuesday, August 10, 2004 9:39 AM: I resolve this emdeding my table in a single cell table, and I compute the table-cell/@padding-left regarding ancestors lists. You can probably find an easier method using from-parent() method. Heh, i guessed that is a bug in FOP, isn't it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java App using FOP : How to communicate on the number of pages generated ?
[EMAIL PROTECTED] wrote: snip/ Is there a better way than using a specific logger ? Implementing a logger class that looks for the [INFO] [1] [INFO] [2] etc messages is the only way to report progress to the user. There is no way to know the total page count before hand either. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I manage columns
Hi I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: generating PDFs in non-english
Thanks for your help, but now I get an error in FOP: $ ../../phpdoc-tools/fop/fop.bat -c fop/ru.cfg -fo manual.fo -pdf manual.pdf [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser Exception in thread main java.lang.NullPointerException at org.apache.fop.configuration.ConfigurationParser.startElement(ConfigurationP arser.java:173) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.configuration.ConfigurationReader.start(ConfigurationReader.j ava:114) at org.apache.fop.apps.Options.loadUserconfiguration(Options.java:220) at org.apache.fop.apps.Options.loadUserconfiguration(Options.java:204) at org.apache.fop.apps.Options.setCommandLineOptions(Options.java:116) at org.apache.fop.apps.CommandLineStarter.init(CommandLineStarter.java:75) at org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineOptions.java:52 2) at org.apache.fop.apps.Fop.main(Fop.java:61) and my fop/ru.cfg: configuration font metrics-file=bkkoi8n.xml embed-file=bkkoi8n.ttf font-triplet name=serif style=normal weight=normal/ font-triplet name=serif style=italic weight=normal/ font-triplet name=serif style=normal weight=bold/ font-triplet name=serif style=italic weight=bold/ font-triplet name=sans-serif style=normal weight=normal/ font-triplet name=sans-serif style=italic weight=normal/ font-triplet name=sans-serif style=normal weight=bold/ font-triplet name=sans-serif style=italic weight=bold/ /font /configuration The bkkoi8n.xml was generated by FOP. Can you help me, please? Thanks, Nuno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I manage table columns
Hi I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Vous manquez despace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Specifying Line Spacing in tables
Hi, I'm trying to adjust the line spacing between fo:table-rows. I've played with the padding-* attributes, but they don't appear to do much (expect, when I use them in a fo:table-heading) Can anyone point me in the right direction ? Thanks, GTG Gordon Ross, Network Manager/Rheolwr Rhydwaith Countryside Council for Wales/Cyngor Cefn Gwlad Cymru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java App using FOP : How to communicate on the number of pages generated ? (resolved)
Hi, Thank you, that's exactly what I did... In fact, I thought there was a prettier way to implement this. Something like a PageGenerationListener... But this hack works correctly, here is the code snippets, if someone is interested in a such trivial thing... // public class FOPLogger implements Logger { private JLabel gui = null; public FOPLogger(JLabel gui) { this.gui = gui; } public void info(String arg0) { System.out.println([FOPLOGGER] + arg0); if (arg0.indexOf([) != -1) { int firstBalise = arg0.lastIndexOf([); int lastBalise = arg0.lastIndexOf(]); int page = 0; try { page = Integer.parseInt(arg0.substring(firstBalise+1,lastBalise)); } catch (Exception e) { e.printStackTrace(); } if (gui != null) gui.setText(page + page); } } /* Other methods implementation here... */ } // -- Simon OUALID -- ARTE FRANCE Analyste Programmeur [EMAIL PROTECTED] Tél : 01.55.00.73.18 Fax : 01.55.00.73.89 -- Chris Bowditch [EMAIL PROTECTED] 10/08/2004 10:55 Veuillez répondre à fop-user Pour :[EMAIL PROTECTED] cc : Objet :Re: Java App using FOP : How to communicate on the number of pages generated ? [EMAIL PROTECTED] wrote: snip/ Is there a better way than using a specific logger ? Implementing a logger class that looks for the [INFO] [1] [INFO] [2] etc messages is the only way to report progress to the user. There is no way to know the total page count before hand either. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I manage table columns
On Aug 10, 2004, at 3:19 AM, ELFELAH Tarek wrote: I have a problem with columns : How can I tell the XSL parser to forward to an other page the columns wich overflow the width of the page. thanx. Without knowing more about your task, it's hard to come up with a solution. For one thing, we don't know if your content is IMAGE-based or TEXT-based. As for overflow, I don't think the overflow (as it relates to fo:table-cell fo:table-column) is well-developed in FOP. I think you need to come up with some sort of XSL solution where you count the number of characters (or determine the width of an image at run-time) or something. This would be a process external to FOP and would be better discussed on an XSL/XSLT list: http://xml.apache.org/fop/maillist.html If you come up with a solution, please let us know so others may benefit from your experience. p.s. Thanks for moving this thread to fop-user. As you must've surmised, fop-dev is for development issues only. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Specifying Line Spacing in tables
On Aug 10, 2004, at 7:40 AM, Gordon Ross wrote: Hi, I'm trying to adjust the line spacing between fo:table-rows. I've played with the padding-* attributes, but they don't appear to do much (expect, when I use them in a fo:table-heading) Can anyone point me in the right direction ? Thanks, GTG This thread might help: http://marc.theaimsgroup.com/?l=fop-userm=108914876406883w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : OutOfMemoryException
Just run your app with these parameters : -Xmssizeset initial Java heap size -Xmxsizeset maximum Java heap size Type java -X for detailled help on non-standard options. -- Simon OUALID -- ARTE FRANCE Analyste Programmeur [EMAIL PROTECTED] Tél : 01.55.00.73.18 Fax : 01.55.00.73.89 -- Johannes Franz [EMAIL PROTECTED] 09/08/2004 14:44 Veuillez répondre à fop-user Pour :[EMAIL PROTECTED] cc : Objet :OutOfMemoryException Hello, i am buildung a pdf which includes png. The used java library is jimi-1.0.jar. If i include to much png-images i get the OutOfMemoryException. The answer of the FAQ is to increase the memory which is allocated for java. Could you explain me how i can do this? Do you have any other solutions for the OutOfMemoryException? Do you thinks using JAI instead of JIMI could help? Greetings, Johannes.
RE: generating PDFs in non-english
I'm pretty new to this, but I think your config file needs another set of tags. It should look like this: configuration fonts font (font information...) /font font (font information...) /font (etc) /fonts /configuration You forgot the fonts tag. -Katie -Original Message- From: Nuno Lopes [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 5:22 AM To: [EMAIL PROTECTED] Subject: Re: generating PDFs in non-english Thanks for your help, but now I get an error in FOP: $ ../../phpdoc-tools/fop/fop.bat -c fop/ru.cfg -fo manual.fo -pdf manual.pdf [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser Exception in thread main java.lang.NullPointerException at org.apache.fop.configuration.ConfigurationParser.startElement( ConfigurationP arser.java:173) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartEleme nt(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragment ContentDispatc her.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocu ment(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.fop.configuration.ConfigurationReader.start(Configu rationReader.j ava:114) at org.apache.fop.apps.Options.loadUserconfiguration(Options.java:220) at org.apache.fop.apps.Options.loadUserconfiguration(Options.java:204) at org.apache.fop.apps.Options.setCommandLineOptions(Options.java:116) at org.apache.fop.apps.CommandLineStarter.init(CommandLineStart er.java:75) at org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineO ptions.java:52 2) at org.apache.fop.apps.Fop.main(Fop.java:61) and my fop/ru.cfg: configuration font metrics-file=bkkoi8n.xml embed-file=bkkoi8n.ttf font-triplet name=serif style=normal weight=normal/ font-triplet name=serif style=italic weight=normal/ font-triplet name=serif style=normal weight=bold/ font-triplet name=serif style=italic weight=bold/ font-triplet name=sans-serif style=normal weight=normal/ font-triplet name=sans-serif style=italic weight=normal/ font-triplet name=sans-serif style=normal weight=bold/ font-triplet name=sans-serif style=italic weight=bold/ /font /configuration The bkkoi8n.xml was generated by FOP. Can you help me, please? Thanks, Nuno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AFP Renderer
Title: RE: AFP Renderer I concur. An AFP renderer would be something that we would/could use in almost everyone of our implementations. We currently have a method to produce AFP, non-xsl-fo based, and it would be a great help if this renderer was added to the FOP project. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, August 09, 2004 6:30 PM To: [EMAIL PROTECTED] Subject: AFP Renderer While browsing fop-dev mailing list, I found Pete Townsend was willing to donate his code for rendering documents in AFP format. I would like to request the fop-developers to consider this seriously as there are many AFP users around (in the mainframe World) and would like to have this renderer. I don't know whether a poll from user community will help. If this can not be done for any reason, we can atleast let the community know that they have to check with fop-dev before taking this up with their company for possible donation so that good souls like Pete need not waste time. Thanks -Rajendran - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: generating PDFs in non-english
Nuno Lopes wrote: configuration font metrics-file=bkkoi8n.xml embed-file=bkkoi8n.ttf font-triplet name=serif style=normal weight=normal/ font-triplet name=serif style=italic weight=normal/ Check the sample userconfig.xml again. Aparet from the missing enclosing fontgs element, all the font-triplet elements inside a font element are actually aliases for the same font, and must have different names. The bkkoi8n.xml was generated by FOP. ^^^ If the TTF really uses KOI8 encoding, it wont work. You need a real Unicode font. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemoryException
Johannes Franz wrote: i am buildung a pdf which includes png. The used java library is jimi-1.0.jar. If i include to much png-images i get the OutOfMemoryException. The answer of the FAQ is to increase the memory which is allocated for java. Could you explain me how i can do this? Check your friendly Java documentation. The online version is actually linked from the hint in the FOP documentation: http://xml.apache.org/fop/running.html#memory http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html Do you have any other solutions for the OutOfMemoryException? Do you thinks using JAI instead of JIMI could help? It depends. It is likely the problem is caused by the image cache. Reducing the PNG resolution or switching to a format which compresses better (low quality JPEG) might help. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tables not indented in lists
Sönke Ruempler wrote: I have the problem that tables are not indented within lists. Tables are block elements, and therefore can't be indented at all (or so they say). Don't use tables in a list. You can use a two column table instead of the list, and put the visible tables into the outer table's table cells. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I manage table columns
Clay Leeds wrote: As for overflow, I don't think the overflow (as it relates to fo:table-cell fo:table-column) is well-developed in FOP. There is no mechanism to overflow columns of a too-wide-a-table onto another page in XSLFO (might get into XSLFO 1.1. or 2.0.) J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Specifying Line Spacing in tables
Gordon Ross wrote: I'm trying to adjust the line spacing between fo:table-rows. Are you sure you mean what you have written? If you want to have a well defined space between table rows, insert an additional row with a heigth property of your choice. You can also try to add properly choosen space-before and space-after to the block in the table cells (if there are cells with potentially more than one block, enclose them in a single block). This is almost always preferred if all cells have borders. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemoryException
I forgot to mention that I am using a batch process which only uses the function one after another and not parallel. Perhaps the solution to my problem is to reduce the maximum Number of parallel Threads to 1. It seems that the programmers of fop set this number on 5. Perhaps somebody knows the position in the jar where i can reduce this number. (I am using Jai for the png) Greetings, Johannes. - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 10:00 PM Subject: Re: OutOfMemoryException Johannes Franz wrote: i am buildung a pdf which includes png. The used java library is jimi-1.0.jar. If i include to much png-images i get the OutOfMemoryException. The answer of the FAQ is to increase the memory which is allocated for java. Could you explain me how i can do this? Check your friendly Java documentation. The online version is actually linked from the hint in the FOP documentation: http://xml.apache.org/fop/running.html#memory http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html Do you have any other solutions for the OutOfMemoryException? Do you thinks using JAI instead of JIMI could help? It depends. It is likely the problem is caused by the image cache. Reducing the PNG resolution or switching to a format which compresses better (low quality JPEG) might help. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OutOfMemoryException
The pngs are the lowest sized images i can get. If i increase the memory, which is allocated for java to the size that is necessary for the amount of images, my system really slows down and nearly hangs up. Is there perhaps an option to force fop to delete the imagecache? Because without such an option it is not possible to create pdfs with a really big size of images. - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 10:00 PM Subject: Re: OutOfMemoryException Johannes Franz wrote: i am buildung a pdf which includes png. The used java library is jimi-1.0.jar. If i include to much png-images i get the OutOfMemoryException. The answer of the FAQ is to increase the memory which is allocated for java. Could you explain me how i can do this? Check your friendly Java documentation. The online version is actually linked from the hint in the FOP documentation: http://xml.apache.org/fop/running.html#memory http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/java.html Do you have any other solutions for the OutOfMemoryException? Do you thinks using JAI instead of JIMI could help? It depends. It is likely the problem is caused by the image cache. Reducing the PNG resolution or switching to a format which compresses better (low quality JPEG) might help. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]