problem with FOP 0.91.beta and gif images

2006-01-10 Thread Andreas Grund
Hi, i create a stylesheet containing the following source: fo:table-cell column-number="1"fo:blockfo:external-graphic src="" content-width="75mm"//fo:block/fo:table-cell Everytime i try to publish my xml-file using my stylesheet i got the error message: image not available: bild1.gif.

Re: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Jeremias Maerki
The command-line of FOP uses the directory of the source XML file (not the stylesheet) as base directory/URL. If your stylesheet is not in the same directory as the XML file FOP won't find it if you don't specify an explicit base directory in the config file. So, the work-around for you at the

Re: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Kaarle Kaila
hej, I have used something like this fo:external-graphic src="url(pave_files/P1R7.jpg)"/ And it works OK! med vänlig hälsning Kaarle Kaila - Original Message - From: Andreas Grund To: fop-users@xmlgraphics.apache.org Sent: Tuesday, January 10, 2006 10:38 AM

Re: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Kaarle Kaila
hi, In my current case the images would belong to the XML file and not the stylesheet so current is OK with me! For some other case I could need some icons etc from a common directory. regards Kaarle Kaila - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To:

Page Numbers in PDF, Merging documents

2006-01-10 Thread Thomas . Schmitt . extern
Title: Nachricht Dear all, I havea document which defines a header and footer in RTF. I am using RTFtoFO to generate the fo file. Next I am merging another fo document by appending the flow body subtree to the flow body of the first file. The resulting pdfdisplays in the footer on page

Re: AW: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Manuel Mall
On Tue, 10 Jan 2006 06:11 pm, Andreas Grund wrote: Hi Jeremias, First thanks for your help. But I think I forgot to say, that I call FOP out of an java program using the FOPUserAgent. I set the baseURL using the function FOPUserAgent.setBaseURL but it does not work. I path a string like

table header repeated in next page

2006-01-10 Thread [EMAIL PROTECTED]
hi all I 'm rendering an rtf file using xsl-fo. I have a dynamic table quite long that exceed more than one page.My problem is that the header of the table is NOT repeated in every next page. That's not happen rendering a PDF using the same xsl-fo file.Why? Any help?

RE: AW: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Jukka Ignatius
-Original Message- From: Manuel Mall [mailto:[EMAIL PROTECTED] I have not tested this but I believe a URL with out a host part must have 3 consecutive slashes not 2. Try file:///c:/my/graphic/folder. Roughly(!) speaking the first two slashes separate the URL scheme from the

Re: table header repeated in next page

2006-01-10 Thread Jeremias Maerki
A quick test tells me that a table-header is repeated on every page with RTF output, so I can't reproduce your problem. Maybe you should post a small example. I've seen that there are still a few things in this area that are not properly done. table-footers, for example. On the other side, there

AW: Page Numbers in PDF, Merging documents

2006-01-10 Thread Thomas . Schmitt . extern
I am doing this in java, extending the keys is already done. What I do not understand, is that the second footer is missing and overall number of pages is wrong. Why do I have to combine the layout master ? I only would like to append the content. The master of the first document should be kept as

Re: AW: Page Numbers in PDF, Merging documents

2006-01-10 Thread Jeremias Maerki
On 10.01.2006 16:03:53 Thomas.Schmitt.extern wrote: I am doing this in java, extending the keys is already done. What I do not understand, is that the second footer is missing and overall number of pages is wrong. Well, without actually seeing what you're doing it's difficult to help here. If

Re: table header repeated in next page

2006-01-10 Thread [EMAIL PROTECTED]
u r right. I used Jfor.But if i use for 0.91 how to render an rtf? Could u suggest me any usefull tutorial? Regards -- Initial Header --- From : Jeremias Maerki [EMAIL PROTECTED] To : fop-users@xmlgraphics.apache.org Cc : Date : Tue, 10 Jan 2006

Re: problem with FOP 0.91.beta and gif images

2006-01-10 Thread Glen Mazza
Jeremias Maerki wrote: If I'm thinking about it, it is probably a bad idea to use the XML file as base URL source when a stylesheet is used. Normally, you'd place the resources for a stylesheet relative to the stylesheet, not the source XML file. fop-devs, what do you think? It would be easy to

Base URI for url() (in fo:external-graphic)

2006-01-10 Thread Florent Georges
Hi Since I upgraded to FOP 0.91, the base URI to resolve url() seems to be changed. Before (in FOP 0.20.5, but in 0.90 too, I think), I used a URI relative to the FO file. Now, I have to use a URI relative to the current directory. Before: url('rsrc/logo.svg') After:

Re: problem with FOP 0.91.beta and gif images

2006-01-10 Thread J.Pietschmann
Jeremias Maerki wrote: If I'm thinking about it, it is probably a bad idea to use the XML file as base URL source when a stylesheet is used. The XML source may refer to other ressources as well, which would probably use the XML source URL as base. That's not going to be easy to resolve,

fop_20.5 fo validation??

2006-01-10 Thread Dirk Bromberg
Hi, is there a xsd or something else to validate a fo.file for using it with fop_20.5 like the trunk version has? I mean a validation which has build in all the differences form the specs to fop :-) (eg. image width and not content-width) we have new developer at our project and the ask

OT: How to send report directly to the printer.. Sorry thought it was obvious but haven't found... please give a clue :-)

2006-01-10 Thread David Gagnon
Hi all, I have a web application with a background thread that check for a condition and then this condition is meet needs to generates a report with fop and send it directly to a printer. For now I want to stay as general as possible. The web application is deployed with Tomcat on

Re: OT: How to send report directly to the printer.. Sorry thought it was obvious but haven't found... please give a clue :-)

2006-01-10 Thread Glen Mazza
David Gagnon wrote: Hi all, I have a web application with a background thread that check for a condition and then this condition is meet needs to generates a report with fop and send it directly to a printer. snip/ Any help, or code example will be appreciated ..