FOP-XSL:dynamic external graphics

2002-01-07 Thread Joerg Pietschmann
Rachael Blank [EMAIL PROTECTED] wrote: Is there a way I can dynamically display images based on an xml tag that I am given? [...] I thought something like this would work: fo:table-cell fo:block white-space-collapse=true xsl:variable name=filepathValue

Haw force last page to be blank?

2002-01-07 Thread Dariusz Grabowski
Hi . I have a problem using blank-or-not-blank tries. Im going to create a following print job: first page contains different layout that other pages. even pages are blank odd pages contain text. Document must contain even number of pages. This means that last page must be blank. Have somebody

Re: Haw force last page to be blank?

2002-01-07 Thread Etwin van Krimpen
Dariusz, Try this: fo:page-sequence format=1 initial-page-number={$initial.page.number} force-page-count=end-on-even master-reference=body ... Regards, Etwin - Original Message - From: Dariusz Grabowski [EMAIL PROTECTED] To: [EMAIL

FOP-XSL:dynamic external graphics

2002-01-07 Thread Kai Ulrich
Hey I have a problem to data from xml to an xsl - atribute: the xml file is like: ... page homepage table tr td img_homepagehttp://url/111/img_homepage /td /tr tr td img_homepagehttp://url/222/img_homepage /td /tr

RE: FOP-XSL:dynamic external graphics

2002-01-07 Thread Jarno . Elovirta
Hi I have a problem to data from xml to an xsl - atribute: the xml file is like: ... page homepage table tr td img_homepagehttp://url/111/img_homepage /td /tr tr td img_homepagehttp://url/222/img_homepage /td /tr

FOP-XSL:dynamic external graphics

2002-01-07 Thread Kai Ulrich
Hey I have a problem to data from xml to an xsl - atribute: the xml file is like: ... page homepage table tr td img_homepagehttp://url/111/img_homepage /td /tr tr td img_homepagehttp://url/222/img_homepage /td /tr

AW: FOP-XSL:dynamic external graphics

2002-01-07 Thread Kai Ulrich
Yes, it's working ! Thanxs ! k. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 7. Januar 2002 12:28 An: [EMAIL PROTECTED] Betreff: RE: FOP-XSL:dynamic external graphics Hi I have a problem to data from xml to an xsl - atribute: the xml

How can i optimize memory consumtion?

2002-01-07 Thread Luigi Savini
I need to produce a very large PDF document (about 1300 pages!), no images, just plain text. I set JVM memory parameters (Xms and Xmx) but i can't process this document anyway. Did anyone try to modify sources writing pages to the output stream immediatly instead of buffering them into memory?

Write pdf file to disk

2002-01-07 Thread Mitchell, Scott(LIT)
Hi, I have code that creates a pdf file using fop. The problem I am seeing is that I do not know how to define where the pdf file is stored (or indeed, what it should be called). The code I have is shown below... // Transform from fop to pdf XMLReader xmlReader = new SAXParser();

ODP: Haw force last page to be blank?

2002-01-07 Thread Dariusz Grabowski
Thank you Etwin Its works. With Best Regards Dariusz Grabowski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

table-cells and clipping (overflow=hidden)

2002-01-07 Thread Jens von Pilgrim
Title: table-cells and clipping (overflow=hidden) Hello, I've got a problem with tables and clipping. In my document, content of a table cell shouldn't exceed the tabel cell. For this reason I tried to use the clip or overflow property, but it doesn't work. Content containing spaces

Re: Write pdf file to disk

2002-01-07 Thread Louis . Masters
Scott: Try this: OutputStream stream = new BufferedOutputStream(new FileOutputStream(filePathHere)); driver.setOutputStream(stream); we use a simple random file name generated from: int rndNumber = Math.abs(new Random().nextInt()); randFileName=String.valueOf(rndNumber);

Re: How can i optimize memory consumtion?

2002-01-07 Thread Matt Savino
Try breaking your document into multiple page-sequences. Luigi Savini wrote: I need to produce a very large PDF document (about 1300 pages!), no images, just plain text. I set JVM memory parameters (Xms and Xmx) but i can't process this document anyway. Did anyone try to modify sources

Re: AW: FOP-XSL:dynamic external graphics

2002-01-07 Thread Matt Savino
My problem is that I need to change the filepath between environments. (NT and Unix). In all of my Java/JSP code I use an environment-level (Weblogic domain-level) properties file for any values that must change from across environments and which I haven't figured out a way to get by with

Re: How can i optimize memory consumtion?

2002-01-07 Thread Cyril Rognon
Does it really work ? I have tried with my own documents, but it seems the memory usage still depends on the total page number. Maybe I use something that bugs memory. I would be glad to hear if it works for you, Luigi. Cyril At 06:52 07/01/2002 -0800, you wrote: Try breaking your document

RE: AW: FOP-XSL:dynamic external graphics

2002-01-07 Thread Mark Reeves
Try using xsl:param e.g. xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xsl:output ... xsl:param name=filepathValue/ ... fo:external-graphic src={concat($filepathValue,'anImage.gif')} / Then in your code to do the transform, use ( for TRAX)

DO NOT REPLY [Bug 5718] New: - internal linking between separate page-sequences

2002-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5718. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

RE: Sorry that I am asking here. (Join two XML files /parent-child/)

2002-01-07 Thread Cook, Jim x66261
Look at June/July XML magazine -Original Message- From: IvanLatysh [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 8:56 AM To: [EMAIL PROTECTED] Subject: Sorry that I am asking here. (Join two XML files /parent-child/) If I have 2 xml file, and I need to join this files.

RE: Write pdf file to disk

2002-01-07 Thread Mitchell, Scott(LIT)
Thanks Louis. I actually did this after a few hours of messing round with it. Thanks anyway, Scott. -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: Re: Write pdf file to disk

Re: Page numbering, FOP version

2002-01-07 Thread Claus Nielsen
Hey John. Try this in the beginning of your xsl: fo:block fo:page-number//fo:page-number-citation ref-id=endofdoc/ /fo:block And this somewhere close to the end. fo:block id=endofdoc/fo:block Claus Nielsen Denmark

Re: Page numbering, FOP version

2002-01-07 Thread Cyril Rognon
You can do the page 1/(total nb of pages) using some last block reference. I mean you can generate a block with a special id, like my-very-last-paragraph within the last page. then, you can use a page-number-citation that refers to your my-very-last-paragraph block. as for the last FOP dist,

[PATCH] fix for looping table bug (maintenance branch)

2002-01-07 Thread Christian Geisert
Hi, this patch should fix infinite looping on tables if keep_with or row spans are not fitting on a page. This hack just ignores all keeps for a table after the first page-break (sounds really simple :-) It would be better to check if the table starts already on top of the page but I found no

RE: AW: FOP-XSL:dynamic external graphics

2002-01-07 Thread Savino, Matt C
Thanks a lot, that did the trick. I knew there was a way to use global parameters, but hadn't had time to look into it. Nothing speeds development like cutting and pasting from an email straight into your code and having it work the first time! -Matt -Original Message- From: Mark

RE: How can i optimize memory consumtion?

2002-01-07 Thread Michael Crino
I had the same problem. I was able to break the document into 1 page long page-sequences and have been able to produce a 1700+ page document that included images with less then 256MB or RAM. -Mike -Original Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07,

How to process wide tables

2002-01-07 Thread Larry_Mason
I've figured out how to repeat certain table data on top of each page for tall tables (more rows than can fit on a page) but now I'm struggling with wide tables (more columns than can fit on a page). For example, let's say the page can fit 4 columns across and 5 rows down. My xml data has 12

DO NOT REPLY [Bug 5727] New: - Rendering crashes on 1st run

2002-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5727. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.