page orientation

2001-12-04 Thread Isana Luzia Seabra Campos
Hi, How can I generate a page at landscape orientation format in pdf file? Is it possible? I've tried fo:region-start reference-orientation=90 and fo:region-start reference-orientation=-90 but I got an warning from fop: reference-orientation is not implemented yet. Thanks for any help! Isana

RE: page orientation

2001-12-04 Thread Smith, Paul
You can (obviously) achieve the same effect by swaping the values for page-width and page-height in the page-master. I don't know if there is a *proper* solution? -- Paul -Original Message- From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 11:30 To:

RE: page orientation

2001-12-04 Thread Smith, Paul R
I swapped the page width and height... I am not sure if this is the correct way. - Paul Smith -Original Message- From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 11:30 To: [EMAIL PROTECTED] Subject: page orientation Hi, How can I generate a page at

OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Barbara Slupik
Hello I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for a large document. When I run it from the Windows command line I added: java -Xms64M -Xmx320M and this fixed the memory problem. How to do the same in cocoon? Barbara Slupik

AW: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Beer, Christian
Hi Barbara! Well that's a cocoon question. Please ask that in a cocoon list. Greets Christian Beer -Ursprüngliche Nachricht- Von: Barbara Slupik [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Dezember 2001 14:18 An: [EMAIL PROTECTED] Betreff: OutOfMemoryError in apache

RE: Page Breaks

2001-12-04 Thread Jim Urban
How would I code my XSL to scan a text element for form feeds and insert a fo:block break-before=page and the corresponding /fo:block at the correct places? Jim -Original Message- From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:13 PM To: '[EMAIL

RE: Page Breaks

2001-12-04 Thread Jim Urban
I'm using XSLT to translate XML into FO. The field containing the form feeds is a text element. I need to be able to do this using XSL. Jim -Original Message- From: Mike Akerman [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:18 PM To: FOP Dev Subject: Re: Page Breaks

Re: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Marcus Crafter
On Tue, Dec 04, 2001 at 01:17:32PM -, Barbara Slupik wrote: I am using Apache fop-0_20 and Cocoon 2. I have OutOfMemoryError in fop for a large document. When I run it from the Windows command line I added: java -Xms64M -Xmx320M and this fixed the memory problem. How to do

Re: Page Breaks

2001-12-04 Thread Arved Sandstrom
Not everything needs to be XSLT. In this case you could preprocess with a Perl one-liner that would be blazingly fast. Something like: perl -i.bak -pe 's!\x0C!ff/!g;' XMLFILE (Use double quotes on a Windows command-line). Then you'll have ff/ elements that you can act on in your XSLT. Regards,

RE: Page Breaks

2001-12-04 Thread Jim Urban
Perl? We are Java Servlet web based application. We don't even own a Perl interpreter (thank God!). :) We are in the healthcare industry and data integrety is a major issue. We can not change the content of a client's data from within our code. The only way to modify the content of our

Re: page orientation

2001-12-04 Thread Isana Luzia Seabra Campos
Hi Paul, this way works very well! Thanks a lot. Isana Smith, Paul R wrote: I swapped the page width and height... I am not sure if this is the correct way. - Paul Smith -Original Message- From: Isana Luzia Seabra Campos [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 11:30

[PROPOSAL] FormattingResults

2001-12-04 Thread Jeremias Maerki
Hi foppers I did something I think is useful for some of us: It's basically a couple of new classes to report the results of a FO transformation. FormattingResults reports the total number of pages that have been generated and has a list of PageSequenceResult objects that return the number of

RE: Page Breaks

2001-12-04 Thread Jim Urban
Our application is a web application implemented in Java Servlets. To use the perl approach, we would have to call a perl script from within our servlet, passing the data in memory to the script. The script would then have to modify the data and return it in memory to the servlet. The data can

Re: Page Breaks

2001-12-04 Thread James Richardson
Jim Urban wrote: Using XSLT does not change the data. It simply formats the data for display. not that this relates to FOP, but I think XSLT, as its turing complete, cannot be said to change any data any less than perl, or name a language James

Re: Page Breaks

2001-12-04 Thread Arved Sandstrom
Not to start a war here...let me put it this way. The fact that my initial suggestion referenced Perl is actually irrelevant. Your servlet can do the equivalent. After all, at the point where you are presenting XML to the XSLT processor it is plaintext, right? So we are talking about inserting

RE: Page Breaks

2001-12-04 Thread Jim Urban
I agree with what you are saying. Here is the rule that I may not have explicitly stated: The data in our database comes from several legacy system. This data can not be modified by anything that our client does not directly control. Our applications are of the highest level of mission

SSL

2001-12-04 Thread Todd McGrath
In my app, I use a servlet to generate PDFs on the fly. The app is a SSL site. The PDFs contain numerous images that are generated dynamically. How do I specify a relative path for the external-graphic src? Environment: FOP: 0.20.2RC JDK 1.3.1_01 Windows 2000 The only way I can get images

RE: Page Breaks

2001-12-04 Thread Alistair Hopkins
How about an extension to XSL / Xalan? Would that be permissible, or possible? xsl:value-of select='myExt:mayHaveLineBreak(rawNode,'\n')'/ Ugly, but keeps control with the client... -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 5:05 PM

RE: Newbie - controlling table alignment

2001-12-04 Thread Smith, Paul
I think the post you needed to see is: Hi, please have a look at the FOP FAQs, I think the solution should be in there: - create a table as large as the page-body with only one cell - put your table into the block inside that cell - center the block in that cell HTH, Corinna You

RE: Page Breaks

2001-12-04 Thread Jim Urban
I doubt that would be permissible since the client wouldn't be able to control the extension (I'm assuming an extension is a compiled class). Jim -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 11:17 AM To: [EMAIL PROTECTED] Subject:

RE: OutOfMemoryError in apache fop/cocoon

2001-12-04 Thread Barbara Slupik
I set the TOMCAT_OPTS variable and it worked! Thank you very much Barbara -Original Message- From: Marcus Crafter [mailto:[EMAIL PROTECTED]] Sent: 04 December 2001 13:30 To: [EMAIL PROTECTED] Subject: Re: OutOfMemoryError in apache fop/cocoon On Tue, Dec 04, 2001 at 01:17:32PM -,

RE: Page Breaks

2001-12-04 Thread Ramin Firoozye
Hi Jim, Sounds like a text-replace is called for. A few questions: - Do you have the opportunity to pre-process the goods via Java/sed/perl or something like that? That would be the easiest way to do a text replace before you even get to the XSLT processor. - You might need to tweak the XML

RE: Page Breaks

2001-12-04 Thread Jim Urban
-Original Message- From: Ramin Firoozye [mailto:[EMAIL PROTECTED]] Sent: Monday, December 04, 2000 2:50 PM To: [EMAIL PROTECTED] Subject: RE: Page Breaks Hi Jim, Sounds like a text-replace is called for. A few questions: - Do you have the opportunity to pre-process the goods via

Re: fo:external-graphic question

2001-12-04 Thread Matt Savino
Ours is an SSL site. Like I wrote I just sue the absolute file path below. It works for all the Unix boxes. PDF imbeds the image anyway, rather than just linking to it and letting the browser server it up like HTML does. So you shouldn't see that secure-to-insecure error. Todd McGrath wrote: