RE: FOP -- PDF

2002-02-14 Thread Savino, Matt C
I just tried touching up one of my generated PDFs w/Acrobat 5 and it worked. -Original Message- From: Chuck Paussa [mailto:[EMAIL PROTECTED] Sent: Thursday, February 14, 2002 1:07 PM To: [EMAIL PROTECTED] Subject: Re: FOP -- PDF Karim, I'm able to touch up my own PDFs. (I'd

RE: Big files, no memory...

2002-02-18 Thread Savino, Matt C
Try adding creating a new fo:page-sequence every X (~20?) pages or so.The attached XSL does the trick for me. Of course if you don't have natural page breaks (this is the only one of our reports that does), the output will be kind of awkward. Good luck, Matt Savino -Original Message-

RE: setting a property with value of a variable

2002-02-19 Thread Savino, Matt C
If you need to use a variable instead of an attribute, try this (don't forget the '$'): fo:table background-color={$bakColor} / Or if you need the attribute to be the result of something more complicated like a choose statement, you can use xsl:attribute: fo:table xsl:attribute

RE: Keeping it together

2002-02-19 Thread Savino, Matt C
Supposedly in .20.3, fo:table-row keep-with-next=always works. In previous versions it went into an endless loop if the rows went beyond the end of the page. Has anyone used .20.3? I didn't like the the logging errors and two new jar files I was supposed to use. And I missed my benchmarking

RE: Newbie: Vertical Lines in region start and region end

2002-02-20 Thread Savino, Matt C
Is this basicaly the same problem I'm having? I've been trying for some time now to figure out how to get a table that spans multiple pages to always have the same size border on each page. Simplified, my page needs to look like this (The '_'s and '|' represent the actual printed border): top of

XMLSpy - FOP

2002-02-27 Thread Savino, Matt C
Has anyone gotten FO transformations to work on XMLSpy w/FOP .20.2? No matter what I try I keep getting the following error: Output of external XSL converter: The filename, directory name, or volume label syntax is incorrect. thx a lot, Matt Savino Senior Systems Analyst Quest Diagnostics

RE: XMLSpy - FOP

2002-02-28 Thread Savino, Matt C
. Good luck. Peter Savino, Matt C wrote: I'm 99% sure there is a huge corporate demand for an FO-PDF engine right NOW. Those guys at RenderX are nice but unresponsive, their product is on par with FOP at best, and the're too busy to breathe selling $5k/CPU licenses! I'm about

RE: XMLSpy - FOP

2002-02-28 Thread Savino, Matt C
, but is there incentive for a company to hire someone to enhance FOP and release the updates to the public domain? Are most of the developers employed to do this, or is this done in their free time? Brian On Wed, 27 February 2002, Peter B. West wrote: Savino, Matt C wrote: I

RE: XMLSpy - FOP

2002-02-28 Thread Savino, Matt C
Arved, I'd love to help out with the Perl prototyping if you have any pieces that make sense to break off. I hear you about the UML. I think on some projects it's more about control than functional necessity. I'm protyping an HTML ad-hoc query builder right now. Once I get the user interface

RE: Is it possible?

2002-02-28 Thread Savino, Matt C
I don't see why not. It would be an a lot of work, but not impossible. I assume you want to fill in the values as well? The only thing I see that I can't speak for sure about is the background image at the top of the page. But I guess you could always make the whole header an image if you have to.

RE: IE reloads the PDF document generated from servlet multiple t imes (2 times!)

2002-03-07 Thread Savino, Matt C
This is a known issue. There seem to be several approaches, which may depend on your particular situation. There's a full discusssion of this on the fop-dev list under the subject 'FO - PDF works with Netscape, not with IE' which has the code for my solution (you can find it in the archives if not

RE: IE reloads the PDF document generated from servlet multiplet imes (2 times!)

2002-03-07 Thread Savino, Matt C
:- -- response.setHeader(Cache-Control, max-age=10); // workaround so IE does not refresh/reload PDF page again/twice -- regds, Dharmendra -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Thursday, March 07, 2002 1:51 PM

OT: Mime Types

2002-04-22 Thread Savino, Matt C
Can anyone point me to a good references on getting various response content types/file extension mappings to work with IE and Netscape? I'm having a devil of a time getting CSV and XML to save correctly AND create the correct user prompts. We'd like the open/save dialog to come up for everything,

RE: Can I submit XSLT properties to FOP?

2002-04-29 Thread Savino, Matt C
Here is a servlet we use to generate PDF and HTML. For the PDF first it calls the transformer w/some parameters, then calls FOP. There's a lot going on, but you should be able to find the pieces you're looking for. Matt Savino -Original Message- From: Markus Wiese [mailto:[EMAIL

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-04-30 Thread Savino, Matt C
Thanks Scott. Can you share a little more detail on how you queue the reports? Matt Savino -Original Message- From: Scott Moore [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:29 PM To: '[EMAIL PROTECTED]' Subject: RE: Why is FO(P) a superior model than what most

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-04-30 Thread Savino, Matt C
at compile rather than run time. Ada is an ISO standard which is available as a GNU compiler, GNAT. It should be noted that Java is a proprietary language owned by SUN. -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 2:01 PM To: '[EMAIL

RE: Why is FO(P) a superior model than what most proprietary tool s propose

2002-04-30 Thread Savino, Matt C
Our application absolutely requires tables spanning mulitple pages. Are we trying to fit a square peg into a round hole incorporating FOP into a reporting app as opposed to book publishing? Matt Savino -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: stress test FOP in a servlet?

2002-05-01 Thread Savino, Matt C
Just make a frameset that loads as many identical pages as you want. You'll get near concurrent loading. Or you can shell out $30k for loadrunner. Matt Savino -Original Message- From: Carter, Will [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 8:58 AM To: '[EMAIL

RE: FOP memory consumption

2002-05-01 Thread Savino, Matt C
No. A forward reference is for example a fo:page-number-citation referring to a page after the current page, like in the overused page X of Y construct. No offense, but if it's over-used, then it's probably because end users ask for it. As a project lead I really wouldn't look forward to

RE: OutOfMemory - What worked for me.

2002-05-02 Thread Savino, Matt C
This is great if you have logical page breaks. Only one of our reports has any logical page breaks however. So I can insert new page-sequences every 1000 rows or so. But unless I start counting rows and trying to guess at when a cell wraps, I have no way of preventing page breaks that leave

RE: Memory usage on lage documents

2002-05-06 Thread Savino, Matt C
If you know that none of your table cells are going to wrap you could count rows at the XSLT level and put in a new page sequence every x pages. This defeats a lot of the elegance of FOP, but could work. My problem is I have lots of random cell-wrapping, and I'm not about to start trying to

RE: Performance Guidance

2002-06-06 Thread Savino, Matt C
and not in the final rendering? Do you have a profiler you can recommend? Thanks very much for the feedback. Mike Z. -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 1:51 PM To: '[EMAIL PROTECTED]' Subject: RE: Performance Guidance

RE: Performance Guidance

2002-06-07 Thread Savino, Matt C
J: No offense meant, but most people start with the most inefficient ways to generate XML, usually doing a lookup in a remote database (which is slow, but hard to avoid), building an XML string or a DOM tree (which is slow, memory consuming and avoidable) and then feed it to the XSLT

RE: Performance Guidance

2002-06-07 Thread Savino, Matt C
That's really good to know. Thanks Matt Savino Doesn't XSLT ultimately need it's source XML in a DOM object to run? It depends. One point is that DOM is an interface, and there exist heavyweight and leightweight implementations. Some XSLT processors can work directly from an arbitrary

RE: Possibility of converting from XML to PDF without the interme dia te stage of FO format

2002-06-11 Thread Savino, Matt C
If performance is everything, you might look into some of the proprietary PDF engines like faceless.org. But either way I believe you're still going to have to convert your raw xml into something marked up for display, then feed it to the PDF generator. Does anyone have any experieince with

RE: Possibility of converting from XML to PDF without theinterme dia te stage of FO format

2002-06-12 Thread Savino, Matt C
You might want to check out the adobe sight I think they might have somehting in the works. Are you talking about either the Make Accessible plug-in or the Save as XML plugin? I don't think either of these qualify, but it would be cool if Adobe is working on some new kind of PDF that is more

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Check to see if there's anything different about their internet settings or IE build than the other 99%. Look behind the scenes to see if your servlet is being called twice. It sounds like it could be some quirky caching behvior on just those browsers. Even the newest versions of IE call the PDF

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Oh yeah, putting '...dummy=.pdf' at the end of your query string also seems to help sometimes. -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED] Sent: Thursday, November 21, 2002 12:24 PM To: [EMAIL PROTECTED] Subject: Re: blank screen in browser It happends a

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Not necessarily. If only a few people's browsers are actually sending a second request through to the servlet you might only see an error then. (Say if you were storing the byte-stream in the user session for some reason, but then deleting it after the first hit to the servlet, it would return and

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Not sure exactly if your .BAT file is calling a Java app or something else, but here is how we set an external xsl:param within our report generator servlet: transformer.setParameter(pdfImagePath, getServletConfig().getServletContext().getAttribute(pdfImagePath)); Then the xslt

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Do you use XSLT to generate your FO file from XML data, or are you building it some other way? I know you can pass properties to FOP through the command line, but as far as something like don't print the second page, I imagine that would have to be in your FO. -Matt -Original Message-

RE: XSL_FO generator

2003-02-10 Thread Savino, Matt C
The new XMLSpy is supposed to contain a graphical xsl:fo generator. We haven't received our licenses yet so I haven't had a chance to play with it. And no unfortunately it's not cheap. -Original Message- From: Steve Pitchford [mailto:[EMAIL PROTECTED] Sent: Friday, February 07, 2003

RE: How do you set the memory size for FOP

2003-02-19 Thread Savino, Matt C
FYI - if you are trying to process a huge document, it may possible FOP could be running out of memory before it even prints a page., while it is in the 'calculating' phase. During this phase, I've seen our heap approach 300-400M on a ~200 page document. Are you using hotspot? Try turning on

RE: How do you set the memory size for FOP

2003-02-19 Thread Savino, Matt C
450 pages is pretty good. Just curious did you use multiple page sequences? no large tables? Also do you see how much memory it did use? thanks -Original Message- From: Jon Steeves [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 19, 2003 3:26 PM To: '[EMAIL PROTECTED]' Subject:

RE: Writing efficient XSL

2003-02-20 Thread Savino, Matt C
Title: RE: Writing efficient XSL If you can "generate the FO object relatively quickly", then you should be already past the XSL stage and into the FO processing (Driver.run()). Unless I am interpreting this wrong. If so try writing your FO out to a file to see how long it takes. How many

RE: Writing efficient XSL

2003-02-21 Thread Savino, Matt C
... it seems that JDK1.3 and Xalan2.4.1 performs slightly better.., but not much.. Thanks -Original Message-From: Savino, Matt C [mailto:[EMAIL PROTECTED]Sent: Thursday, February 20, 2003 6:35 PMTo: [EMAIL PROTECTED]Subject: RE: Writing efficient XSL

RE: logo contest again

2003-02-27 Thread Savino, Matt C
I set Photoshop to Save for Web highest quality. Let me know if you want it larger/smaller or higher/lower DPI. -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 3:28 PM To: [EMAIL PROTECTED] Subject: Re: logo contest again Oleg

RE: logo contest again

2003-02-27 Thread Savino, Matt C
Here is the PSD file. -Original Message- From: Savino, Matt C Sent: Thursday, February 27, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: RE: logo contest again I set Photoshop to Save for Web highest quality. Let me know if you want it larger/smaller or higher/lower DPI

RE: FOP in production app

2003-03-12 Thread Savino, Matt C
FYI - we use FOP in an online production app to deliver on-demand print verions of our managment reports and lab reports. Our clients (drug companies) use the app to log on and see how their clinical trials are going. Luckily we haven't had much demand for large (50+ pages) PDFs or many

Seeking advice on HSSF

2003-04-29 Thread Savino, Matt C
Hi, I figured I'd ask this here just in case anyone had any opinions. We have a web-app which currently uses FOP in a servlet to generate PDFs. We are looking into using HSSF to generate .xls files in a similar fashion. Is anyone out there swapping FOP and HSSF like this? I've read all of the

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
, April 29, 2003 3:53 PM To: [EMAIL PROTECTED] Subject: RE: Seeking advice on HSSF I am currently seeking the same information. I'll post some info if I come up with something. -Adam -Original Message- From: Savino, Matt C [mailto:[EMAIL PROTECTED] Sent: April 29, 2003 3:41

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Thanks Jeremias. I think the main reason we are parsing the fodoc into a DOM is so we can serialize the FO out to a file for debugging (it's either that or do the transformation twice). I'm actually in the process of altering the HSSF stuff now so I can debug the GMR output. On your adive I

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Cool. I will. I think the main reason this hasn't been much of an issue is that the FOP render time is always an order of magnitude over the XML/XSLT parsing/transforming. (And from my preliminary results it's looking like HSSF is even more of a resource hog.) thx. -Matt -Original

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Arg. Here's the last line I was trying to paste when I accidentally hit Ctrl-Enter: But that still doesn't mean it's ok to be wasteful on the XSLT side. -matt -Original Message- From: Savino, Matt C Sent: Thursday, May 01, 2003 11:17 AM To: '[EMAIL PROTECTED]' Subject: RE

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
I'm missing a font so I can't see the text. Does the upper two-column section need to flow like the lower one? Can it be the same height every time? Is there a new upper two-column section on every page? That's some complicated layout you have there, almost looks more like a catalog you would

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
So I'm guessing the text below the pics in the upper split section is a continuous paragraph? If you don't mind my asking, can you just divide the content in half? Or do you really need the split between the text part? - To

RE: Column / character width question

2003-05-09 Thread Savino, Matt C
-Original Message- From: Ben Galbraith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2003 3:56 PM To: [EMAIL PROTECTED] Subject: Re: Column / character width question Savino, Matt C wrote: So I'm guessing the text below the pics in the upper split section is a continuous

RE: Column / character width question

2003-05-09 Thread Savino, Matt C
Thanks Clay, looks promising. I may have to finally upgrade from FOP .20.2 to test it. From what I understand markers weren't well-implemented in this version. Basically what I need is for the word 'Continued' to appear at the top a block (table) of results every time there is a page break. The

RE: Re: Error when piping XSL-FO to FOP driver using SAXResult

2003-05-14 Thread Savino, Matt C
Below is something we use as part of a much more involved stylesheet. Although looking at it now it's not the most efficient piece of code as it loops through the same nodes several times. (We use it to break output into groups of five columns and know we'll never have more than 3 or 4 groups,

RE: Re: Error when piping XSL-FO to FOP driver using SAXResult

2003-05-14 Thread Savino, Matt C
. -Original Message- From: Savino, Matt C Sent: Wednesday, May 14, 2003 11:47 AM To: [EMAIL PROTECTED] Subject: RE: Re: Error when piping XSL-FO to FOP driver using SAXResult Below is something we use as part of a much more involved stylesheet. Although looking at it now it's

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
[I'll give J. a breather on this one] Assuming you've made certain that the bottleneck is in FOP and not your XSLT transformation, the only thing you can really do to help with very large reports is to break the PDFs into multiple page-sequences. IE start a new page-sequence every X nodes.

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
XMLs Savino, Matt C wrote: We increased our max PDF size on this report from 30 pages to 200 Huh? What complications do you add to the layout to run out of memory at only *30* pages? I never had any problems until I got well past 1000 pages (using -mx128M, JDK 1.3.1) J.Pietschmann

RE: Big/Huge XMLs

2003-05-23 Thread Savino, Matt C
not only FOP, but Weblogic entirely, with no warning at all. Can anyone see why? Very very strange. -Matt -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2003 11:43 AM To: [EMAIL PROTECTED] Subject: Re: Big/Huge XMLs Savino, Matt C wrote

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
Here's how we insert a dynamicly generated script it in the xslt that passes through to the HTML: script language=JavaScriptloadTopFrame(quot;xsl:value-of select=$print-csr/quot;,quot;xsl:value-of select=$print-quick-trend/quot;,quot;xsl:value-of

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
As long as the calculations get done somewhere, either by the XLST processor or the browser, the end result should be the same correct? (Unless some other XSLT process is dependent on the outcome of these calcs.) -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent:

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
Duh, I forgot this was the FOP board. Is this output going to PDF? I think PDF can also do some form of JavaScript processing but I've never tried. -Original Message- From: Savino, Matt C Sent: Friday, September 12, 2003 10:16 AM To: [EMAIL PROTECTED] Subject: RE: Java script

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
PROTECTED] Subject: RE: Java script with xsl in FOP ? YES. The output will be pdf. So I dont want to proceed if I know that it wont work in the future. So I am asking everyone so that I can think what I should be doing. Abhi --- Savino, Matt C [EMAIL PROTECTED] wrote: Duh, I forgot

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
something like this is feasible using XSL for variable lengths of the strings that come from xml? Your help is really appreciated. Thanks, Abhi --- Savino, Matt C [EMAIL PROTECTED] wrote: Can you paste the entire JavaScript functionality you are trying to emulate with XSLT

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
going long down the road. Sorry about that. If you still want the code I write it and send. Thanks Abhi --- Savino, Matt C [EMAIL PROTECTED] wrote: You don't have the actual JavaScript do you? I find code usually works better than prose. -Original Message- From: Abhijit

RE: Convert existing PDF to XSL-FO tool

2003-09-12 Thread Savino, Matt C
We started using FOP based on the same requirements and have been thrilled with the results. If you can get from XSL-FO to PDF, I'm not sure why you might need a path *back*. If you are looking to create the PDF through something like Acrobat Exchange, then spit out the xsl:fo, you may be in