RE: URGENT - Adding dynamic, non file system images into a pdf do cume nt.

2005-02-21 Thread Burlock, Craig (SAPOL)
Jeremias, thank you so much for your help. I've included the java files within my project and have specified the change to the jvm. I added some System.out.println traces into both files, but they just don't seem to run from within the cocoon-2.0.4 sitemap when serialization occurs.

Re: URGENT - Adding dynamic, non file system images into a pdf do cume nt.

2005-02-21 Thread Jeremias Maerki
Sounds like a class loader problem. I didn't think about you're using Cocoon which is complicating things a bit. I think the protocol handler is not found by the JDK because your JAR is in a custom class loader created by Cocoon. So we must ensure that the classes are available higher up in the

Re: Problem with report tail

2005-02-21 Thread Chris Bowditch
Miroslav Pukhalsky wrote: Hi! Chris Bowditch wrote: If you need to ensure content is always placed at the bottom of the last page, then I suggest you try putting this content into a fo:footnote. Sorry, but footnotes not workin properly. If body has more than one page, footnote prints on the first

repeating column cell

2005-02-21 Thread Rymasz Jacky
Hello everyone, I'm new to this foum so I wish to say hello to everyone ;) Here is my problem: I've got a table with 2 colums. The first colum is a title (kind of header) and the second column contains a lot of text of unknown size. The text in the second coloumn can be so big that it can

Re: Printing PDF with background image

2005-02-21 Thread Chris Bowditch
Jeremias Maerki wrote: On 18.02.2005 11:18:21 Chris Bowditch wrote: Java 1.5, also has support for printing PDFs. Although other users on this list have reported problems rendering XSL-FO using FOP on JDK 1.5 Others may know of other tools that can be used to print a PDF That Java 1.5 has

first and last pages timings...

2005-02-21 Thread Chandrasekhar Sanku
Hi, In the pdf generation process, I found that first and last pages are taking much time than the others. What is the reason? Thanks Regards, Chandu Confidentiality Notice The information contained in this electronic message and any attachments to this message are

XSLT Question

2005-02-21 Thread Kai Hackemesser
Hello, I know this is not quite the right mailing list for that question, but maybe somebody here knows? I need to create a kind of recursive call-template, where certain attributes from different parent elements are needed. I want to do a call to a template by itself, giving it the parent

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, I would need a bit more detail to be able to help with that. Please post the smallest (but still still complete) set of XML files (input and desired output) that you want. That way, we can see what you mean. A couple observations, though: You can't walk back up the tree from a

Re: XSLT Question

2005-02-21 Thread Kai Hackemesser
Hi, Jay, ok, here more details: my XML source looks like that: ... object Level=0 relation Level=0 object Level=1 relation Level=1 object Level=2 ... /object /relation /object object Level=1 relation Level=1 object

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, I don't think you need to call a template for that. You can test for the characteristics of the node from within the matching template and get the image you need. Several xsl:when statements within an xsl:choose block should let you figure out which images to use when. For example,

fop error - Too many open files

2005-02-21 Thread Elton Simões Baptista
[EMAIL PROTECTED] dbf]$ [EMAIL PROTECTED] dbf]$ fop.sh cat-scania.fo -pdf cat-scania.pdf -- Elton Simões Baptista elton at cipec com br Cipec Autopeças Ltda Fone: +55 19 3834.9817 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using

Re: XSLT Question

2005-02-21 Thread Kai Hackemesser
Hi J, Partly you are right, with your test I can tell what image I need for the current level of the tree, but I can't see how to retrieve the required images from lower levels. the test you described needs to be done for every element up to level 0. It's not just the Indent which I want to show,

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, Here are two layouts of a file structure. (To appear correctly, they need to be viewed with a monospace font.) Since I don't like to send images to mailing lists, I have used text symbols as shown below: Key: |-A node that is not the last node at its level -A node that is the last

Re: XSLT Question

2005-02-21 Thread Kai Hackemesser
Hi, Jay, The first example is the perfect hit: Key: |-A node that is not the last node at its level -A node that is the last node at its level | Continuation of an ancestor level Root |-Dir1 | |-File11 | -File12 |-Dir2 | |-File21 | |-File22 | |-Dir21 | | |-File211 | | -File212

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, The following stylesheet, applied to the following XML (an extension of your example), generates the same tree view as used by the Acrobat Reader (at least in version 7): XSL: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0

Re: XSLT Question

2005-02-21 Thread JBryant
Hi, Kai, Well, perhaps the solution I just sent will be good enough. Maybe you can say, That's how Adobe does it, and get away with it... If not, that left-most line will require a recursive template. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution

Re: Problem with report tail

2005-02-21 Thread J.Pietschmann
Chris Bowditch wrote: I dont understand what you mean. If you insert footnote at end of body, then footnote should appear on last page that content spills onto. No it wont. In 0.20.5 page generation stops after the main flow runs out of content, regardless whether there's pending content from

Re: fop error - Too many open files

2005-02-21 Thread J.Pietschmann
Elton Simões Baptista wrote: [EMAIL PROTECTED] dbf]$ [EMAIL PROTECTED] dbf]$ fop.sh cat-scania.fo -pdf cat-scania.pdf Your JRE seems to have difficulties with disposing unused File objects in time. Well, maybe FOP has indeed an object leak, it's quite hard to tell from a quick glance at the code.

Re: repeating column cell

2005-02-21 Thread J.Pietschmann
Rymasz Jacky wrote: I've got a table with 2 colums. The first colum is a title (kind of header) and the second column contains a lot of text of unknown size. The text in the second coloumn can be so big that it can overlap several pages. I would like to have the title of the first column to repeat

What is a table IPD?

2005-02-21 Thread William Brogden
I get the following error: [java] [ERROR] At least one of minimum, optimum, or maximum IPD must be specified on table. occuring a page that starts a long (but simple) table extending over multiple pages. Searching the source code for maximum IPD does not turn up anything and my XSL-FO book

Re: What is a table IPD?

2005-02-21 Thread JBryant
IPD = inline-progression-dimension FOP is probably peeved because you didn't tell it how big to make the columns. FOP doesn't automatically determine the size of columns. If you can't figure it out pretty quickly from that info, send a code listing (short as possible but that shows the

Re: XSLT Question

2005-02-21 Thread Kai Hackemesser
Hi, Jay, I try your solution tomorrow to see how it looks like. If I found a better solution I will tell you here :-) But many thanks for your hints! Kai Hi, Kai, The following stylesheet, applied to the following XML (an extension of your example), generates the same tree view as used