Re: Overflow in block-level elements

2007-02-08 Thread Andreas L Delmelle
On Feb 9, 2007, at 00:11, Roger Kovack1 wrote: In short, overflow is allowed in fo:block-container but not in fo:block. Not exactly: overflow /is applicable to/ block-container, but not to block. However formatting properties states: 7.20.2 overflow ... This property specifies

Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Andreas L Delmelle
On Feb 6, 2007, at 07:22, Andreas L Delmelle wrote: snip / All that needs to be done, IIC, is to override Maker.make (PropertyList, String, FObj) in FontFamilyProperty. Note that this is about the only property that can contain spaces, where these spaces do /not/ signify boundaries between

Re: java.lang.NoClassDefFoundError

2007-02-06 Thread Andreas L Delmelle
On Feb 6, 2007, at 19:04, Jeanna Geier wrote: snip / In my project I've included the fop-0.20.5 Batik_1.6 Libraries. Errmm, sorry, but that's a big NO-NO :) FOP 0.20.5 is not compatible with Batik 1.6. You'll have to use the Batik version shipped with FOP 0.20.5, or --better-- you can try

Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-05 Thread Andreas L Delmelle
On Feb 6, 2007, at 03:59, Daniel Noll wrote: Jeff Vannest wrote: Jeremias Maerki wrote: Try font-family='Arial Unicode MS' http://www.w3.org/TR/xsl11/#font-family says: Font family names containing whitespace should be quoted. font-family=Arial Unicode MS is already quoted, right? To my

Re: block-container and margin/padding properties

2007-02-03 Thread Andreas L Delmelle
On Feb 3, 2007, at 13:26, paul wrote: snip / In short: margins on the left and right side get duplicated (see diagrams below). Just to be sure, I'd check if it is not indent-inheritance you're bitten by... See: http://wiki.apache.org/xmlgraphics-fop/IndentInheritance HTH! Cheers,

Re: display-align=justify

2007-02-02 Thread Andreas L Delmelle
On Feb 2, 2007, at 19:07, Luis Ferro wrote: When doing the pagination of a large block of text, with columns, the text is if the keepers/orfan/widows are defined acordingly, passed to the next column leaving some space behind in the previous page. The visual effect of the full pages isn't

Re: Cell overflow: word too large

2007-02-01 Thread Andreas L Delmelle
On Feb 1, 2007, at 12:14, Florent Georges wrote: I just saw a strange overflow in a table cell. The cell contains two words, and the second word seems to being not put on a new line if it is larger than the column width. Here is a use case. The second cell is a little bit less large, then

Re: Using style sheets with FOP

2007-01-29 Thread Andreas L Delmelle
On Jan 29, 2007, at 12:17, Clarke, Thomas (UK) wrote: I'm new to the FOP scene so I apologise if this is in anyway a stupid question. Is there a way already implemented of referencing a CSS file to supply the style values for my xsl-fo files? I have a very large number of them and I'm

Re: Problems with fop-0.20.5 and batik-all-1.6.

2007-01-29 Thread Andreas L Delmelle
On Jan 29, 2007, at 18:34, Iris Soto wrote: snip / I try switching to FOP 0.93 but I got a hassle with the serializer that cocoon have because fop-0.93 doesn't include the class MessageHandler that cocoon's serializer needs. Ah, yes, that's still on the todo-list. FWIW: I've already been

Re: Problems with fop-0.20.5 and batik-all-1.6.

2007-01-28 Thread Andreas L Delmelle
On Jan 25, 2007, at 17:00, Iris Soto wrote: Hi, I am using jfreechart-0.9.20 to generate svg graphics this require batik-all1.6 to work. I'm also using fop-0.20.5 with batik-all-1.6 but when I render to pdf document the image doesn't appear. In the mailing list I read that fop-0.20.5 is

Re: awt performance 0.93 vs 0.92beta

2007-01-24 Thread Andreas L Delmelle
On Jan 24, 2007, at 04:30, Daniel Noll wrote: Andreas L Delmelle wrote: If it turns out that 0.93 is slower on any JVM, then if you can, please send us the FO, so we can investigate what might be causing this. Is there anything special about the FO-file? (i.e. lots of markers, images

Re: awt performance 0.93 vs 0.92beta

2007-01-23 Thread Andreas L Delmelle
On Jan 23, 2007, at 10:34, paul wrote: I'll be happy to do some investigating, but I'm also a bit pressed for time at the moment(should be doing work :). It seems to me 1.5 is still installed on the system. does someone happen to know a quick way to change between different jre's, for

Re: Bad FOP configurations

2007-01-23 Thread Andreas L Delmelle
On Jan 23, 2007, at 15:06, Adrian Cumiskey wrote: Hi Adrian, I am investigating some bugs with bad FOP configurations.. http://issues.apache.org/bugzilla/show_bug.cgi?id=40120 http://issues.apache.org/bugzilla/show_bug.cgi?id=40288 In your opinion, on initialization if the FopFactory and

Re: Usage of setRendererOverride()

2007-01-18 Thread Andreas L Delmelle
On Jan 18, 2007, at 00:20, Daniel Noll wrote: snip / The FOUserAgent passed in and the one obtained from fop.getUserAgent () are the same object, I didn't actually create a new one. Ouch! Completely missed that... I read fopFactory.getUserAgent()... I'll see what we can do about that.

Re: OutputStream and renderers where it doesn't make sense.

2007-01-18 Thread Andreas L Delmelle
On Jan 18, 2007, at 02:23, Daniel Noll wrote: snip / Is this API going to be improved at some point so that subclasses don't need to implement hacks such as these? Perhaps some kind of Destination object which could contain an OutputStream, multiple OutputStreams, or even just a marker

Re: java.lang.IndexOutOfBoundsException in ColumnSetup.getXOffset()

2007-01-16 Thread Andreas L Delmelle
On Jan 16, 2007, at 11:16, Michael Bruns wrote: Thanks Andreas, that hint finally showed me my mistake :-) You were right, I accidentally created a row with too many columns. Anyway, I still think throwing an exception isn't the desired behaviour, is it? Correct. This could/should be caught

Re: java.lang.IndexOutOfBoundsException in ColumnSetup.getXOffset()

2007-01-15 Thread Andreas L Delmelle
On Jan 15, 2007, at 17:15, Michael Bruns wrote: Hi, snip / Hmmm...I would really like to provide you some examples, but I couldn't figure out *what* exactly causes the crashes, yet. My best guess is that it's a table with too many cells in one row (more than there are columns)... Do

Re: FOP Problem

2007-01-10 Thread Andreas L Delmelle
On Jan 10, 2007, at 18:48, pwillsey wrote: I ran the transformation from both computers on the command line, the FO file was identical and did not contain a fo:simple-page-master element with more then one fo:region-body. Did you do a visual check, or a more reliable XPath check?

Re: FOP Memory issues - please help

2007-01-05 Thread Andreas L Delmelle
On Jan 4, 2007, at 21:34, Cliff wrote: Hi Cliff, I'm facing FOP memory issues that I fought with a long time ago. I lost the battle back then and had to resort to some ugly manual page breaking logic and now I'm wondering the current status of the FOP project. My immediate question is: Do

Re: PNG transparency renders as black - urgent

2006-12-19 Thread Andreas L Delmelle
On Dec 19, 2006, at 19:04, Martin Zak wrote: ...just to point out that I used the same image with the FOP binary from November 13th, and the result was *ok*. What changed between these versions??? AFAICT from the fop-commits archive: exactly on that day, support was added for rgb-icc()

Re: PNG transparency renders as black - urgent

2006-12-19 Thread Andreas L Delmelle
On Dec 19, 2006, at 19:56, Peter wrote: When working on the patch I certainly can not remember coming anywhere close to code that could have an influence on how png's get into the pdf. I was also a bit puzzled, since in the patch there are no explicit references to anything png-related

Re: Troubleshooting No meaningful layout errors

2006-12-13 Thread Andreas L Delmelle
On Dec 13, 2006, at 19:18, Paul Moloney wrote: Hi, A particular user manual is giving a No meaningful layout error. [ERROR] file:/home/pmoloney/svn/pplus/docs/manuals/target/fo/ care_applications_g uide/care_applications_guide.fo:88:696 No meaningful layout in block after many attempts.

Re: FOPException: No element found for Namespace URI:

2006-12-08 Thread Andreas L Delmelle
On Dec 8, 2006, at 13:36, [EMAIL PROTECTED] leeloo5e79- [EMAIL PROTECTED] wrote: On Wednesday this week I downloaded the actual files from FOP Trunk and compiled FOP using ANT. snip / In FO-File on line 2 and at character 28782 I found this: fox:destination internal-destination=id2508829/

Re: bother with secure options

2006-12-08 Thread Andreas L Delmelle
On Dec 8, 2006, at 00:21, paul caffrey wrote: I'm having some difficulty getting the secure option to work in my fop installation. I'm getting the message: Cannot find any provider supporting RC4 I was wondering if perhaps this could be due to the fop installation (from before I arrived on

Re: Fop with Java 1.5?

2006-12-07 Thread Andreas L Delmelle
On Dec 7, 2006, at 19:05, Brad Smith wrote: I have seen references on this list to people using fop in conjunction with java 1.5. However, fop breaks on my system that has it. ... Would compiling from source on a java 1.5 system make a difference, then? Not sure. I'd expect 1.4 compiled code

Re: specify values for attribute once and then refer to it.

2006-12-03 Thread Andreas L Delmelle
On Dec 3, 2006, at 19:08, Potje rode kool wrote: Hi, Is it posible to specify on one place some values for attributes and then refer to that, a bit like its done with css, where you create a class and refer to it with the class attribute in the html element? Google around for

Re: Copyfitting

2006-12-02 Thread Andreas L Delmelle
On Dec 1, 2006, at 18:02, Peter wrote: Hi Peter, I am wondering whether anyone has any experience in the area of copyfitting and xsl-fo. To clarify - assume that I want to format a piece of text in an area (page if you want) with given dimensions. Now, in stead of getting an overflow I

Re: Prevent Linebreaks in Table Cells

2006-11-28 Thread Andreas L Delmelle
On Nov 28, 2006, at 15:06, [EMAIL PROTECTED] wrote: Hi, I have Content that overflows a Table Cell but I dont want that FOP breaks the Text in multiple Lines the Text should simply cut at the end of the Cell I have read much Dokumentation but I can't find a working Example for FOP 0.92

Re: need help with templating issues...

2006-11-09 Thread Andreas L Delmelle
On Nov 9, 2006, at 16:13, Ricardo Soe-Agnie wrote: Hi, I want to transform the following XML to PDF: I see you're a first-time poster, but to us all it seems like the zillionth time: Such questions actually do not belong on this list. Mulberry's XSLT list is much, much better suited.

Re: fop doesn't like imagemagick'd pngs?

2006-11-04 Thread Andreas L Delmelle
On Nov 3, 2006, at 23:30, Brad Smith wrote: Hi, snip / Does anyone have any insight into what's going on here? I'm on FC6 using fop-0.91beta-2 and ImageMagick-6.2.8.0 if that's relevant. Well, 0.91beta is a tad outdated. I'd suggest at least checking out 0.92beta to see if that solves

Re: FOP 0.92 : OutOfMemoryError

2006-10-31 Thread Andreas L Delmelle
On Oct 31, 2006, at 09:28, Debasish Jana wrote: Hi, Possibly that's why, I see that memory is not being released to the same level since when the rendering was started. Is there any API that can force memory cleanup after the rendering is done - success or failure? None that I know of,

Re: FOP 0.92 : OutOfMemoryError

2006-10-30 Thread Andreas L Delmelle
On Oct 31, 2006, at 08:01, Debasish Jana wrote: Hi, We are using FOP 0.92 for converting a XSL:FO document to PDF/RTF etc. Since there is a table with many rows with data coming from a huge db table, it is causing OutOfMemoryError. We split up the document with single fo:root but

Re: Problem PDF Renderer could not be found

2006-10-19 Thread Andreas L Delmelle
On Oct 19, 2006, at 16:10, [EMAIL PROTECTED] wrote: Hi, Now I implemented the UserAgent + Renderer correct, but now it seems that the SAX Parser can't figure out the correct FOEventHandler. Is there any way like the Renderer to configure a EventHandler? My code at the moment is:

Re: One Page DOcument

2006-10-18 Thread Andreas L Delmelle
On Oct 18, 2006, at 15:56, mikevn123 wrote: I've used the fo:marker logic with FOP 0.20.5, however 0.92beta does not allow fo:tables within markers. FYI: this has been fixed in FOP Trunk, and so will be available in the next release. Cheers, Andreas

Re: conversion of xml data to pdf

2006-10-08 Thread Andreas L Delmelle
On Oct 8, 2006, at 12:33, Srinivas Akula wrote: I am using Fop 0.2.5., it is working fine in tomcat 5.0, but when the same application has been deployed in oracle 9i apache server, the application is throwing Null Pointer Exception,. The Problem i am getting is at

Re: node() and text() problem

2006-10-02 Thread Andreas L Delmelle
On Oct 2, 2006, at 17:19, fabio76 wrote: Hi, Strictly speaking, this is a pure XSLT question, and therefore better suited on the Mulberry list. Anyway, xml nodethis is a test node_2subnode node_3sub_sub_node/node_3 /node_2 continue... node I need to

Re: FOP 1.0dev: exploiting of AreaTree for measurement of content

2006-09-29 Thread Andreas L Delmelle
On Sep 29, 2006, at 09:56, Igor Istomin wrote: Hi Igor, snip / Maybe you could use the Intermediate Format (*) for this? Render the area tree to XML, perform the computations/transform the attributes via XSLT, and finally render the altered area tree to PDF. Thanks for this idea. I

Re: FOP 1.0dev: exploiting of AreaTree for measurement of content

2006-09-28 Thread Andreas L Delmelle
On Sep 28, 2006, at 10:04, Igor Istomin wrote: Hi, I started to use FOP 0.92beta (for prototyping of print subsystem) and I need to measure some content before producing of final XSL-FO document. In fact, I need to determine height of page header/footer. Is it possible to use FOP's API

Re: AW: Setting configuration of fonts in java code?

2006-09-01 Thread Andreas L Delmelle
On Sep 1, 2006, at 10:49, Peter Neu wrote: Hi, I'm working my way through the src code of FOP in order to find a way to configure the font setup in the java code. But this seems rather difficult. The org.apache.fop.configuration.FontInfo object gives me the possibility to insert the font

Re: tables or no tables

2006-09-01 Thread Andreas L Delmelle
On Sep 1, 2006, at 16:12, Niek van Elck wrote: I’m quite new to the xsl-fo subject, allthough i have build a couple of pdf reports using xsl-fo. I have encountered some limitations on fo:table The book xsl-fo from o’reilly says there are so many other ways to represent data than the use

Re: tables or no tables

2006-09-01 Thread Andreas L Delmelle
On Sep 1, 2006, at 16:27, Rick Roen wrote: Hi, Just FYI: With HTML I could specify a width of a span element and make if right or left aligned, however I don’t know of a way to do this with FOP In principle, all you'd need is an inline-container... but as indicated, these are

Re: FOP - 0.20.5 and page sequence

2006-08-30 Thread Andreas L Delmelle
On Aug 30, 2006, at 20:43, Shaun Shoaee wrote: Hi, snip / Now a little issue is to count the page and fo:block id=last-page/ will not work before page sequence ends. Any idea how to approach? Not entirely sure if I understand the problem, but it seems as if you are looking for this:

Re: Font Symbol

2006-08-29 Thread Andreas L Delmelle
On Aug 25, 2006, at 01:04, Andreas L Delmelle wrote: snip / Anyway, I'll give other devs a chance to chime in before I start fiddling with it. If no objections arise, I'll probably commit this small change during the weekend. A little later than promised, but here goes: http

Re: Font Symbol

2006-08-24 Thread Andreas L Delmelle
On Aug 25, 2006, at 00:11, Luis Ferro wrote: Hi Luis, When i use the font Symbol (which is built it), all works well... except if i try to use the font-style='italic' with it... it gives an error: missing font (or something like that): 'Symbol, italic, 400' replacing with default (or

Re: keep-with-next (fop thrunk-svn 08Ago2006)

2006-08-23 Thread Andreas L Delmelle
On Aug 23, 2006, at 12:07, Luis Ferro wrote: Hi, I've the following code somewhere in a page: snip / What i was supposed to expect would be that the two tables to stick together in the same page, but the actual results are that they are broken apart one in each page... Is there a

Re: [0.92beta] foUserAgent.setBaseURL - Problem with external-graphics

2006-08-23 Thread Andreas L Delmelle
On Aug 23, 2006, at 13:27, Johannes Becker wrote: Hi, snip / As far as I understood I can do this in 0.92beta with the foUserAgent: foUserAgent.setBaseURL(pathString); Sounds right. If this is surrounded by code that resembles the description given on the embedding page, that is...

Re: Automated tasks

2006-08-22 Thread Andreas L Delmelle
On Aug 22, 2006, at 11:52, Jeremias Maerki wrote: snip / 2. The same problem as above quoted but how to do it via webinterface and PHP. Read the files in folder -- create a form -- mark the radiobuttons -- select a xsl file -- create PDF with FOP. So how to send the selected files to fop?

Re: Keeping text together in two different table cells

2006-08-22 Thread Andreas L Delmelle
On Aug 22, 2006, at 21:00, Jacqueline Radebaugh wrote: Hi, Unfortunately, now I have another problem. Like I wrote yesterday, snip / Unfortunately, sometimes the name data exceeds the line of the column and flows on over to the next line. When this happens, my output columns resemble:

Re: text width

2006-08-22 Thread Andreas L Delmelle
On Aug 22, 2006, at 21:40, Luis Ferro wrote: Hi Luis, I've a table with two cells... a code and a description. I want that the first cell has a fixed size, and the second to have the size of the text within. Is there some way to get the width of a text so one can supply it to the

Re: Keeping text together in two different table cells

2006-08-21 Thread Andreas L Delmelle
On Aug 21, 2006, at 20:06, Jacqueline Radebaugh wrote: Hi, snip / Unfortunately, sometimes the name data exceeds the line of the column and flows on over to the next line. When this happens, my output columns resemble: $aName of $a that goes over the line and ruins my columns. $b

Re: Keeping text together in two different table cells

2006-08-21 Thread Andreas L Delmelle
On Aug 21, 2006, at 20:55, Jacqueline Radebaugh wrote: Hello: Thank you for your message. I am using FOP 0.20.5rc3a (I apologize for not including this in my first message.) Well, 0.20.5 is ancient, so I'd definitely give 0.92beta a go (*). It's stabler than the beta tag indicates, and

Re: Strange behavior after upgrading FOP

2006-08-21 Thread Andreas L Delmelle
On Aug 21, 2006, at 23:53, [EMAIL PROTECTED] wrote: Hi, snip / I gathered what info I could and attempted to stop the Jetty servlet container in order to restart it. Jetty wouldn’t go down. I tried kill. Then I tried kill -9 and it still wouldn’t go down! Finally I had to reboot the

Re: Batik 1.6 pdf-transcoder.jar sources

2006-08-17 Thread Andreas L Delmelle
On Aug 17, 2006, at 15:25, Henric Rosvall wrote: Hi, Currently the PDFTrancoder in Batik only has support for creating a single page in the PDF, even though FOP has support for creating multiple pages. I want to modify the PDFTranscoder in Batik 1.6 to enable it to recieve multiple areas

Re: (See page X)

2006-08-15 Thread Andreas L Delmelle
On Aug 15, 2006, at 11:27, Jeremias Maerki wrote: On 15.08.2006 11:17:01 andyrob_24_7 wrote: Any chance on more details about using the area tree XML format to determine the page number. That's non-standard procedure so there's no official documentation. It's just a hacky work-around.

Re: region-before with columns

2006-08-13 Thread Andreas L Delmelle
On Aug 13, 2006, at 08:28, Jeremias Maerki wrote: On 11.08.2006 11:46:12 Luis Ferro wrote: snip / I've a region-before in a page with 2 columns defined. My only problem is that i need that the region-before to ocupy only the area of the 1st column and allow text to flow into it's position

Re: PDF generation

2006-08-10 Thread Andreas L Delmelle
On Aug 10, 2006, at 16:25, Vincent Hennebert wrote: Hi all, (Note for Fop-dev regarding the break-after problem: That said, I think there's a bug as a new page is created while there is nothing more but whitespace characters in the flow. If I remove the indenting so that all the remaining

Re: PDF generation

2006-08-10 Thread Andreas L Delmelle
On Aug 10, 2006, at 19:44, Andreas L Delmelle wrote: snip / I'll keep looking for that reference, but I wouldn't be surprised if there are none. The conclusion that the break should be avoided seems more like 'expected' than 'compliant' behaviour... Another _possible_ solution --haven't

Re: out of memory error

2006-08-09 Thread Andreas L Delmelle
On Aug 9, 2006, at 19:27, Luis Ferro wrote: Hi, It has LOADS of page sequences... it's a book with 2500 pages where from 3 or 4 pages, the template changes from one column page to 2 column page... Is there a better way of doing this swap of columns? Not that I'm aware of... (you're

Re: 0.92beta and keep-with-next / keep-with-previous

2006-08-08 Thread Andreas L Delmelle
On Aug 8, 2006, at 22:27, Zaleski, Matthew (M.E.) wrote: Hi, One feature that seems to be still under development is the keep-with-next / keep-with-previous attributes. From the conformance table on the FOP website it wasn't clear if those attributes works on *any* of the table features. Is

Re: FOP does nothing

2006-08-07 Thread Andreas L Delmelle
On Aug 7, 2006, at 18:27, Fabian Zeindl wrote: Christian Geisert schrieb: 1. When I try to convert the attached rechnung.fo into a pdf by running There is no attachement .. Sorry, I forgot that. I already figured out the error. Fop 0.20 displayed the wrong xml statements. Fop 0.92

Re: fop-trunk build error(machine crash)

2006-08-05 Thread Andreas L Delmelle
On Aug 5, 2006, at 03:30, Karthik wrote: Hi, Thanks. Deleting the build directory solved the problem, but I am running continously into another issue. My machine just crashes down and turns-off while running standard layout engine tests(junit-layout-standard target). Tried a few times

Re: fop-trunk build error

2006-08-04 Thread Andreas L Delmelle
On Aug 4, 2006, at 22:53, Karthik wrote: Got the following error while trying to build the latest from trunk. Let me know, if any pointers to fix this. compile-java: [javac] Compiling 823 source files to C:\fop-trunk\build\classes [javac] C:\fop-trunk\src\java\org\apache\fop\fonts

Re: FOP 0.20.5 versus FOP 0.92 performance

2006-08-02 Thread Andreas L Delmelle
On Aug 2, 2006, at 19:37, Donald Mackinnon wrote: Hi, I have generated large PDF reports on a Solaris 10 server running Java 1.5.0_01 for FOP release 0.20.5 and 0.92 Beta and findings are as follows: First of all: thanks for sharing your findings. Always interesting to get feedback on

Re: Possible memory leak

2006-07-27 Thread Andreas L Delmelle
On Jul 27, 2006, at 18:54, Karthik wrote: Coming back to profiling, I tried taking a snapshot of the heap after a FOP conversion using Jprobe and Jprobe reports CondLengthProperty as the loitering object. Not very familiar with analyzing this further. I have a snapshot file and some screen

Memory leak? (was: 'Possible' memory leak on fop-users)

2006-07-27 Thread Andreas L Delmelle
On Jul 27, 2006, at 23:56, Andreas L Delmelle wrote: snip / I wouldn't be surprised to see a lot of these trees occur in the course of the process, but if I esteem correctly, in a literal snapshot, there should be only one. There is only one handler which has one reference to the current

Re: AW: marker value to variable [SOLVED]

2006-07-25 Thread Andreas L Delmelle
On Jul 25, 2006, at 12:05, Alexander Schwartz wrote: Hi, One thing when doing calculations in XSL: All these numbers are floats, therefore every calculation may give you unexpected rounding errors. True, but then again, this is not specific to XSL... As you are probably aware, on the

Re: table row numbers per page

2006-07-24 Thread Andreas L Delmelle
On Jul 20, 2006, at 11:34, pat wrote: Hi, I'm back again. I need to number the table rows, but table rows on each page starts counting from '1'. The sample is: snip / Ouch! Tough one, and I'm afraid even outright impossible when you don't have control over the page-breaks. :( Read this

Re: marker value to variable

2006-07-19 Thread Andreas L Delmelle
On Jul 19, 2006, at 09:46, pat wrote: Hi, So, the creation of two markers is not possible (addition of fraction can produce integer part :-\). I don't get it... 1) you calculate the sum 2) then split that sum in integer and fraction 3) create two markers from the results. What would be

Re: marker value to variable

2006-07-19 Thread Andreas L Delmelle
On Jul 19, 2006, at 17:16, Andreas L Delmelle wrote: snip / To illustrate what I mean (untested, but seems OK, for positive numbers at least... gotta leave some to you ;)): xsl:template match=someNum xsl:variable name=vSum select=sum(preceding::someNum) / xsl:variable name=vInt select

Re: marker value to variable

2006-07-18 Thread Andreas L Delmelle
On Jul 18, 2006, at 20:36, Andreas L Delmelle wrote: (so, one marker/retrieve-marker pair per subtotal). Errrm... I mean *two* pairs, of course 8) Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Possible memory leak

2006-07-18 Thread Andreas L Delmelle
On Jul 5, 2006, at 16:21, karthik wrote: Hi, Sorry to get back so late. Thanks for your comments. Looks like for sure there are FOP references hanging around that GC could not clear up, which eventually kills the process. [Since you've been profiling the process anyway, I feel like taking

Re: Possible memory leak

2006-07-18 Thread Andreas L Delmelle
On Jul 18, 2006, at 22:23, Andreas L Delmelle wrote: snip / Oh, just noticed something that does not look completely right to me, though. Don't know what the rest thinks; could be that I need to brush up my XSLT :/ OK, my bad. It is literally defined in the Rec: Unlike apply- templates

Re: Performance with large Tables

2006-07-03 Thread Andreas L Delmelle
On Jul 3, 2006, at 06:43, mcevikce wrote: Hi, This is a 3rd party filter that handles CSS parsing as well. I also confirmed that my XSL-FO to PDF takes 6-7 sec but my xsl-fo generation is the problem. I figured as much, based on the observation you wrote earlier on, that most of the

Re: Possible memory leak

2006-07-03 Thread Andreas L Delmelle
On Jul 3, 2006, at 15:19, karthik wrote: Hi, Like you said, I agree that once memory is allocated JVM does not release it. But, why would the process slow down gradually and eventually die? Isn't this a indication of a memory leak? Not necessarily. It just means that, given FOP's

Re: Performance with large Tables

2006-07-02 Thread Andreas L Delmelle
On Jun 30, 2006, at 15:53, mcevikce wrote: Hi, Thank you for running the file. There is a huge difference between your result 6.1 sec and mine 27 sec. It would be awsome if I can get this to run on 6.1 sec. Are you testing this from a command line using fop.bat? Can you tell me which

Re: PDF reader can not read generated file

2006-06-21 Thread Andreas L Delmelle
On Jun 21, 2006, at 11:35, sim085 wrote: Hi, I'm sorry again ... as you may have now noticed I am still new to the FOP objects, and just following the examples. However I have modified my code in order to save the FO syntax, which is as follows: [code] %PDF-1.4 %ª«¬ ?xml version=1.0

Re: margins

2006-06-16 Thread Andreas L Delmelle
On Jun 16, 2006, at 03:25, Rick Roen wrote: Hi, FOP trunk I’m confused by the page margins I am getting with the xslt below. I would like to get 1cm margins on all sides with the footer taking 5mm and the body above that by 5mm. What I am getting when I render to a pdf is 1cm top, approx

Re: 'Re: Hyperlinks in PDF' - MARC

2006-06-12 Thread Andreas L Delmelle
On Jun 12, 2006, at 21:47, John Besch wrote: OK. So how do I get 0.92beta? - can't seem to find it anywhere. Seek, and ye shall find... somewhere over here: http://xmlgraphics.apache.org/fop/download.html ;) HTH! Andreas

Re: border-collapse workaround fop0.92beta

2006-06-11 Thread Andreas L Delmelle
On Jun 11, 2006, at 11:55, Gregor Stefan wrote: [...] Let's say you need a border of 1pt over the whole table (=every line in the grid needs to be 1pt wide), then you'd need to specify: a) a border of 0.5pt for the table b) borders of 0.5pt for the cells c) border-separation=0pt for the table

Re: border-collapse workaround fop0.92beta

2006-06-11 Thread Andreas L Delmelle
On Jun 11, 2006, at 16:20, Gregor Stefan wrote: snip / border-separation=0pt causes fop to throw the following exception (but the solution works fine without the attribute): Oops! Completely forgot: this was a bug in 0.92, and recently fixed, so works only in FOP Trunk. I think it

Re: A way to automatically generate metrics AND config entries for *.ttf?

2006-06-11 Thread Andreas L Delmelle
On Jun 12, 2006, at 00:07, Stefan Scholl wrote: Manuel Mall [EMAIL PROTECTED] wrote: cygwin. And it is not very sophisticated, i.e. assuming normal style and weight. But you could extend it to interpret the last two chars of the Windows font file name: bi = Bold Italic ?i = Italic ?b = Bold

Re: new problem with handling svg elements

2006-06-10 Thread Andreas L Delmelle
On Jun 9, 2006, at 19:48, Phillip Tornroth wrote: Hi, First of all, I'm using 0.20.5 still... I'll switch over as soon as svg works in the new builds :) I started refactoring some of my reports stuff and it took me some effort to get the Transform class hooked up and working correctly.

Re: border-collapse workaround fop0.92beta

2006-06-10 Thread Andreas L Delmelle
On Jun 10, 2006, at 23:06, Gregor Stefan wrote: snip / i've got that... i see no problem in setting a border in every cell... XSL-FO refers to CSS, not HTML, so the only way to mimic that behaviour is to specify the borders on the table-cells. but with border-collapse i could specify one

Re: new problem with handling svg elements

2006-06-10 Thread Andreas L Delmelle
On Jun 10, 2006, at 17:48, Tornroth, Phill wrote: Hi, Thanks, sorry.. I should have mentioned that I tried just about every namespace trick I could find. I definitely tried binding it to that namespace, even to the fo: namespace, and declaring those namespaces at the top of the document

Re: BookMark Problem

2006-06-10 Thread Andreas L Delmelle
On Jun 10, 2006, at 20:30, Kirthi Raman wrote: Hi, I have been using FOP (version 0.20.5) on Windows and the following example does generate PDF but the bookmark looks jibberish. Can anyone help. The bookmarks are generated, but the display is all jibberish. (Something to do with

Re: border-collapse workaround fop0.92beta

2006-06-08 Thread Andreas L Delmelle
On Jun 8, 2006, at 20:11, Gregor Fellenz wrote: Hi, i'm using fop0.92beta to realise a fo project with a table over several pages. the table layout with fop0.20.5 was pretty ok, but in this version i couldn't use the keep attributes. with 0.92 i got the keep attributes but i also need the

Re: border-collapse workaround fop0.92beta

2006-06-08 Thread Andreas L Delmelle
On Jun 8, 2006, at 20:52, Andreas L Delmelle wrote: snip / This is basically the only way to achieve your desired result, I think. BTW: even if border-collapse were implemented, this would still work. Specifying the borders on the table-cells directly is (virtually) always a good idea

Re: list-item formatting in 0.92

2006-06-08 Thread Andreas L Delmelle
On Jun 8, 2006, at 20:17, David P. Nesbitt wrote: Jeremias, I think the three enclosed files demonstrate what I am seeing. Please place them in the same directory and run the following command: fop -xml Test.xml -xsl Test.xsl -pdf Test.pdf You will see the behavior that I described earlier

Re: Original ValidationException disappears

2006-06-07 Thread Andreas L Delmelle
On Jun 7, 2006, at 11:34, Jeremias Maerki wrote: I don't manage to reproduce the problem with your description. I've put a list-item as direct child of a block and FOP fails properly with a ValidationException. Would you please post an FO file that I can use to reproduce it? Thanks.

Re: Original ValidationException disappears

2006-06-07 Thread Andreas L Delmelle
On Jun 7, 2006, at 12:35, Raphael Parree wrote: I will get back on this friday and let you know. I will test if it is the filter using a test filter that I can then share with you. Thanks. Just FYI: of course, I don't mean that your code is 'wrong' per se --can't tell without having looked

Re: What happened to base dir in 0.92?

2006-06-03 Thread Andreas L Delmelle
On Jun 3, 2006, at 03:33, David P. Nesbitt wrote: Hi David, snip / With 0.92, there doesn't seem to be a mechanism for initializing the baseDir anymore. Yes there is, only not directly through a factory method. IIC, then what you're after is either: - the baseURL entry in the config file -

Re: What happened to base dir in 0.92?

2006-06-03 Thread Andreas L Delmelle
On Jun 3, 2006, at 19:13, David P. Nesbitt wrote: Andreas, Thanks for the response. However, I am running in embedded mode, so I don't think the UserAgent thing is relevant. Is it? It sure is. Even if you don't instantiate one explicitly, FopFactory uses a default FOUserAgent internally.

Re: Extra space between following tables

2006-06-02 Thread Andreas L Delmelle
On Jun 1, 2006, at 14:16, Jeremias Maerki wrote: Andreas, I'm more than happy to delegate this to you if you volunteer because I have more than enough on my plate already. Thanks. Done. Turned out to be a very easy fix indeed. I'll also add the FO as a testcase for future reference shortly.

Re: Very large files to PDF

2006-06-02 Thread Andreas L Delmelle
On Jun 2, 2006, at 20:49, Stefan Ziel wrote: Hi, for use in my report system i need to render reports with 30k pages into a single PDF file. generating single XSL:FO files (size up to 2,3GB) causes OutOfMemory exception. the report system is also able to generate the report in parts

Re: Extra space between following tables

2006-06-01 Thread Andreas L Delmelle
On Jun 1, 2006, at 10:21, Jeremias Maerki wrote: No, actually it seems to be a bug. FOP's white space handling only seems to handle linefeeds correctly around fo:block and not around other block-level elements such as fo:table and fo:list-block. I'll look into it. Hmm... I think I know

Re: Saxon 8 with FOP 0.92b

2006-05-31 Thread Andreas L Delmelle
On May 31, 2006, at 22:17, Rick Roen wrote: Hi, I am using Saxon 8 to do the xslt transformation from xml - xsl - pdf in FOP 0.92b. I have Saxon8.jar listed in the java\lib\endorsed which works find with my DOS batch file. I am getting ready to deploy the application and would rather not

Re: TTF Reader : file not found exception ?

2006-03-23 Thread Andreas L Delmelle
On Mar 23, 2006, at 16:43, Jeremias Maerki wrote: Oh, that's good news because it means the problem doesn't exist anymore in FOP Trunk. I've tested with 1.5.0_03 on WinXP SP2 today and couldn't reproduce the problem. For the die-hard 0.20.5 users: can someone try --don't have the

Re: TTF Reader : file not found exception ?

2006-03-23 Thread Andreas L Delmelle
On Mar 23, 2006, at 20:09, Andreas L Delmelle wrote: On Mar 23, 2006, at 16:43, Jeremias Maerki wrote: Oh, that's good news because it means the problem doesn't exist anymore in FOP Trunk. I've tested with 1.5.0_03 on WinXP SP2 today and couldn't reproduce the problem. For the die-hard

Re: Namespace not found error when trying to generate PDF in Servlet using FOP

2006-03-20 Thread Andreas L Delmelle
On Mar 20, 2006, at 21:24, John Quinn wrote: H, I am receiving an exception when I try to generate a PDF in a Servlet using FOP under JBoss4.0.1SP1 (and JBoss4.0.3SP1) in a Redhat linux 2.1 OS. I am running the same code under a Suse linux and Win XP OS without any errors using JBoss.

Re: Referencing multiple XML files using FOP

2006-03-15 Thread Andreas L Delmelle
On Mar 15, 2006, at 17:25, Gosselin, Michael wrote: Hi Michael, How do I set up the XSL file to look for the different XML files I will be using? He showed me once, but it didn't stick in my brain. If you need one PDF file as a result of multiple XML files, maybe what he showed you was

<    1   2   3   4   5   >