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 and but I got an warning from fop: reference-orientation is not implemented yet. Thanks for any help! Isana - To unsu

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 "l

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 fop/co

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 "" and the corresponding "" at the correct places? Jim -Original Message- From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 4:13 PM To: '[EMAIL PROTECTED]' Subject: RE: Page Breaks

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 O

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. > > Ho

Newbie - controlling table alignment

2001-12-04 Thread John M. Corro
I've seen several posts in various archives asking the same question, but haven't been able to find an answer yet - how do you control aligning of an entire table (not the individual cell's contents)? ie in HTML something like I've attempted using the "text-align" tag, but didn't seem to wor

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!!g;' XMLFILE (Use double quotes on a Windows command-line). Then you'll have elements that you can act on in your XSLT. Regards, Arved

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 clien

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 Decembe

Re: Page Breaks

2001-12-04 Thread Arved Sandstrom
I hear you saying that modification of XML data with XSL is not really modification at all, but modification with Perl is bad. Seems somewhat unusual. Sorry you've had problems with scripting languages. I happen to be a professional software developer, and despite some current disillusionment wit

[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 pag

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 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 one

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 critical

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 wor

RE: Page Breaks

2001-12-04 Thread Alistair Hopkins
How about an extension to XSL / Xalan? Would that be permissible, or possible? Ugly, but keeps control with the client... -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 5:05 PM To: [EMAIL PROTECTED] Subject: RE: Page Breaks I agree wit

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, Corin

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 enc

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 Java

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: