Re: FOP vs RenderX

2002-03-26 Thread Matt Savino

I thought keep-together-with-next worked at the row level on .20.3. (W/o
going into an endless loop like .20.2 did if the selected group of rows
happened to span more than a page.) What is the final word on this?

-Matt


Patrick Andries wrote:
 
 To be frank, although I have the same experience as Matt as far as speed
 (or lack thereof) of XEP is concerned, XEP is pleasant to work with
 (more syntax checking) and does support many more features (among which
 the absolutely essential keep-with-next for any professional looking
 document).
 
 I hear often that this may not be available soon in FOP, what does this
 mean a month, two months ?
 
 Patrick
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP vs RenderX

2002-03-25 Thread Matt Savino

Search my threads a few months back. In my case XEP was 10 times slower
than FOP. The RenderX guys looked at and said there was something weird
about my tables. By most accounts RenderX and FOP should be about the
same speed. I told them (RenderX) that if they could figure it out and
XEP proved not to run out of memory the way FOP does we might still be
interested in purchasing a number of licenses. They CEO of the company
called me and tried to help, but I got the impression whey were all too
busy to breathe--selling $5000/CPU licenses for a product that's
inferior to something free.

Arghh.

-Matt


 Mark Bitz wrote:
 
 I was wondering if anybody had done any comparisons of FOP vs XEP
 (RenderX's engine).  Or if anybody knows where I can find any such
 comparisons.  RenderX took their comparison down off of their web site
 and I am trying to fend off a potential XEP solution in my company. I
 would rather use FOP and a comparison may be very helpful.
 
 Mark
 
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: problems with keep-with-next

2002-03-15 Thread Matt Savino

Isn't it true that keep-with-next is still only implemented for the
table-row element?

-Matt

Stephen Bannasch wrote:
 
 keep-with-next still doesn't work on 0.20.3
 
 I tried to add a comment to:
 
   http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5434
 
 but i couldn't figure out how (probably too late at night :-)
 
 Anyway there is a very simple test case here:
 
   http://concord.org/~stephen/fop-bugs/keep-with-next-bug.fo
 
 the testcase keep-with-next-bug.fo references the image:
 
   http://concord.org/~stephen/fop-bugs/ccprobe-interface-blockdiag.png
 
 The problem is very annoying when I have a figure with a title on one page and the 
image on the next.
 
 --
 
 -s
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Acrobat 5.0 Error

2002-03-11 Thread Matt Savino

I can't really tell from this example, but I know I ran into an issue
where I was trying to use a JSP page to generate either PDF or HTML. I
finally realized I was getting an error when the output was PDF which
was due to whitespace between the %% tags. The JSP engine compiles
whitespace as System.out.println(   ), which naturally doesn't agree
with the byte array output stream Acrobat is expecting. I quickly
switched back to a servlet.

-Matt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Web site update request

2002-03-08 Thread Matt Savino

Weird. I posted a reply to this thread that I see on my work account,
but my home Earthlink account never picked it up. This is the second
time I've seen this. Anyone else experience this problem?

-Matt

Keiron Liddle wrote:
 
 Sure. I'll change that.
 
 Is there any chance that you could get together all the information about
 viewing pdf through IE so that we don't have to go through it all again.
 
 On 2002.03.07 13:35 alex wrote:
  Pretty please can someone amend this page
  http://xml.apache.org/fop/faq.html on the website / xdocs in cvs
 
  (I don't have CVS access otherwise I'd do it myself, however I'm happy
  to learn how to do a diff if someone says they will apply it.)
 
 
  Please change
 
  For up to date information or more details please visit the Fop FAQ
  site. The site uses Jyve to provide an
  interactive FAQ: http://www.OWAL.co.uk:8090/
 
  to this
 
  For up to date information or more details please visit the Fop FAQ site.
  http://www.OWAL.co.uk/cgi-bin/fopfaq.cgi
  Any problems with the FAQ itself or new answers for the FAQ should be
  mailed to [EMAIL PROTECTED]
  More general questions about FOP should be directed to one of the
  mailing lists.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Example extension

2002-03-01 Thread Matt Savino

I've been told than an extension is the way to go for these two needed
features:

1. Add a string ['(Continued)'] to a table header if the table spans
multiple pages. Note these tables are part of the content and can start
anywhere in the page. They could be seen more like paragraphs or blocks
with a title. Any other solution to this problem is acceptable. 

2. Separate page number display for a subsection. IE - master document
is page 4 of 7, but subsection is page 2 of 3.

Please let me know if I'm missing any existing functionality that solves
these problems. I am planning to look into writing an extension some
day. An example would certainly help.


In the meantime, someone mentioned using iText for final stage add-on
functionality like this. Does that make any sense here?

Thanks a lot,
Matt


BTW, if anyone is in there poking around with the redesign, and feels
like creating a table-add-something-different-to-header-after-break
property, or even table-omit-header-before-break, I'd certainly love you
for it.



Keiron Liddle wrote:
 
 Hi,
 
 It really depends on what type of extension you want to do.
 This is an area that will change and become much easier in the future (in
 theory). Examples and help will be available for the new way of doing
 things.
 
 Could you tell us what you want your extension to do so that we have more
 ideas on what type of extensions people are thinking about. Then we can
 work out how they should be handled if possible.
 
 So to answer your question, there are some extensions but it really
 depends on what you want to do.
 
 On 2002.03.01 08:33 Adrian Edwards wrote:
  Hi fop-dev,
 
  Has anyone written a simple(ish) FOP extension that they would be
  willing to share with the list (or even just me) as an example?  I'm
  talking full jar file here.  The lack of examples (other than the quite
  complicated SVG extension) in the docs and on the mailing lists is quite
  frustrating.
 
  We don't have to go through the work of writing it up for publication
  (yet).  Just seeing the mechanics of someone else's jar would be great
  for beginners.
 
  Thanks in advance.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Crazy question

2002-02-10 Thread Matt Savino

Is there any way (clean, dirty or otherwise) to start a new
page-sequence w/o a page break?

I've managed to solve the FOP running-out-of-memory issue by starting a
new page sequence every x-rows. It works beautifully. The only problem
is that some of my reports don't have any natural page breaks that I can
use to begin a new page-sequence at the XSLT level. I do have section
breaks that I can use, but these sections could end one line into the
page. I think this would look a little odd if I have to do it every 20
pages or so.

Thanks a lot,
Matt Savino

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Why do you use FOP instead of ...

2002-02-04 Thread Matt Savino

Well since you said please and it is a sunny day (at least in LA)...

Roland wrote:
 
 At 11:58 AM 2/1/02 -0800, you wrote:
 I've attached an XSLT stylesheet that we use to create a PDF version of
 a clinical trial participant's lab report. It uses some fairly
 
 Can you please send us an example of the generated pdf file?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]


LabReport.pdf
Description: Adobe PDF document

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: Clueless Newbie is lost!

2002-01-29 Thread Matt Savino

The general path is to convert XML-FO via XSLT, then run FOP on the FO
file. FO is XML, but it contains much more than just the data, so it
ends up looking more like HTML. See the FOP examples.

Hope I'm interpreting the problem right!

-Matt

[EMAIL PROTECTED] wrote:
 
 Thierry,
 I guess I am so new to this that I don't
 know what you mean by formatting?  I thought
 that XML was formatless (if that is a word), in that
 the DTD and the style sheets did all the formatting?
 This is just about the most simple example I could
 come up with that would render *something* in
 HTML.  (Besides the quote is special to me.)
 I couldn't get a PDF version to work with any
 fop tool...most of the tools didn't work either.
 That is the problem.  I would like to use the
 same code to generate HTML, PDF, and maybe
 another type of output that I could capture for the
 book, and show the student/readers the beauty of
 XML, write it once display it on many platforms.
 
 tim
 1/29/02 5:42:10 AM, Thierry Gounelle [EMAIL PROTECTED]
 wrote:
 
 Hi tim,
 I don't see any formating code in your post, just an xml source file.
 Could you be more precise.
 
 thierry
 
 [EMAIL PROTECTED] wrote:
 
  Folks,
  I am writing a textbook on HTML, and want to
  include a chapter on XML.  I am trying to get the
  following code (DocBook) to generate a PDF file.
   After a LONG struggle I managed to
  xsltproc to use my XML and get the HTML to
  render...but the PDF eludes me.  Can y'all see
  anything wrong with the following code?
 
  When it is generated,
  by someone who knows what he is doing,
  the block quote stuff just
  disappears...the cite stuff renders
  just fine???
 
  What I am trying to do is simply show my
  student/readers how XML can be used.
  I have spent over 70 hours trying different
  software to no avail.  Ideas welcome!
  What I really need is a reliable tool-chain
  to take XML and generate HTML, PDF,
  and maybe one other format that I could
  capture and show the students.
 
  Can anyone help?
 
  Thanks in advance!
 
  tim
 
  ?xml version=1.0?
  !DOCTYPE article  SYSTEM ./docbookx.dtd
  article
  titleThere and Back Again/title
  artheader
  author
  firstnameBilbo/firstname
  surnameBaggins/surname
  /author
  pubdateLong Ago/pubdate
  /artheader
  para
  abbrevLOTR/abbrev stands for Lord of the Rings.
  In this paragaraph we could discuss
  the intricate details of the construction
  of a most proper hole in the ground.
  /para
  bridgeheadNow, a wonderful quote!/bridgehead
  para
  blockquote
  There were many paths that lead up into those
  mountains, and many passes over them.  But most
  of the paths were cheats and deceptions and
  lead nowhere or to bad ends; and most of the
  passes were infested by evil things and
  dreadful danger.
  citationPage 64 of
  citetitleThe Hobbit/citetitle
  by J. R. R. Tolkin/citation
  /blockquote
  /para
  /article
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Seeking Comments on Status of Project

2002-01-25 Thread Matt Savino

Thanks Alex, point taken. I would love nothing more than to help with
the redesign for the challenge and experience. I think FOP is a great
project that the world needs yesterday. Unfortunately my company already
has too much work for me and my clone, and there's no money in the
budget for a third clone at this time. I'm sure you hear this sob story
all the time.

As far as paying some third-party to address performance concerns, do
you think that would make sense before the redesign is completed?

thx,
-Matt


alex wrote:
 
 At 03:37 25/01/02, Matt Savino wrote:
   Arved, thanks for the status update. Looking forward to .20.3, and would
   love to get a rough, non-binding idea when the redesign might be
   accomplished.
 
 If you ask this sort of question on any Apache project where Jon S Stevens
 is active you will usually get the response: It'll be ready when its
 ready. I get the impression that the redesign is at very early stages and
 therefore any kind of time estimate should not be relied on.
 
 The other response is Thanks for volunteering to help with the redesign :-)
 
 The one he doesn't usually give is Do you want to pay for some Java
 developers to work on Fop because I'm sure we can offer a support contract
 :-) There are a few companies willing to help enhance Fop if you pay them.
 
 Alex
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Seeking Comments on Status of Project

2002-01-25 Thread Matt Savino

Actually I am willing to volunteer a few hours a week towards anything
the group needs done. I know it's not much, but if there's some admin or
minor programming task that no one wants to do, etc.

Matt Savino wrote:
 
 Thanks Alex, point taken. I would love nothing more than to help with
 the redesign for the challenge and experience. I think FOP is a great
 project that the world needs yesterday. Unfortunately my company already
 has too much work for me and my clone, and there's no money in the
 budget for a third clone at this time. I'm sure you hear this sob story
 all the time.
 
 As far as paying some third-party to address performance concerns, do
 you think that would make sense before the redesign is completed?
 
 thx,
 -Matt
 
 alex wrote:
 
  At 03:37 25/01/02, Matt Savino wrote:
Arved, thanks for the status update. Looking forward to .20.3, and would
love to get a rough, non-binding idea when the redesign might be
accomplished.
 
  If you ask this sort of question on any Apache project where Jon S Stevens
  is active you will usually get the response: It'll be ready when its
  ready. I get the impression that the redesign is at very early stages and
  therefore any kind of time estimate should not be relied on.
 
  The other response is Thanks for volunteering to help with the redesign :-)
 
  The one he doesn't usually give is Do you want to pay for some Java
  developers to work on Fop because I'm sure we can offer a support contract
  :-) There are a few companies willing to help enhance Fop if you pay them.
 
  Alex
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Choice of a XSL-Fo processor

2002-01-25 Thread Matt Savino

Thanks Betty for filling in some of the blanks. (I was mixing up XEP and
PassiveTex in a post I made earlier. I forgot XEP is RenderX.)

I just had a couple of questions:

Antenna House is Windows-only right?

Do you think XEP's command line-driven approach would work within a J2EE
internet application dynamically generating printable reports?
Apparently the reason my developer couldn't find an API to XEP is that
there is none. I'd rather avoid hassling with temp files and calling
command line driven batch processes from within my application if I can
avoid it.

Thanks a lot for all your help. 

-Matt

  




Betty Harvey wrote:
 
 Aurelien:
 
 I recently went through this exercise.  I evaluated FOP, XEP and
 AntennaHouse.  I didn't evaluate PassiveTex.  I started putting together
 analysis sheet together of the different products but haven't completed it
 yet.  For commercial projects I think both XEP and Antenna House work very
 well.  XEP provided more of the functionality we required (internal and
 external linking and side navigation bar (extension to FO). Although I
 understand that Antenna House will have some of this functionality in the
 next release. However, you have to use a XSLT parser to create the FO
 file first.  XEP is command-line driven.  Another good feature of XEP and
 FOP is that it created the PDF and doesn't require Distiller.  FOP also
 has a side-navigation bar extension.
 
 I liked Antenna Houses graphical user interface for the
 development of the XSL-FO.  This is a nice development tool because
 you can see the results without creating a PDF file and opening
 the Reader to see the results. However, to create a PDF file you
 do need Distiller.  I used the evaluation version of Antenna House
 recently to print training materials for a training class and I
 was very happy with the results.
 
 I originally created my XSL-FO file to work with XEP. I had
 one to change one attribute in the XSL file to get it to work
 with Antenna House (fo:page-sequence master-reference to
 fo:page-sequence master-name).  I had to do major surgery to
 get it to work with FOP because of the unsupported features.
 
 Bottom line both XEP and Antenna House are good and seem
 very stable.  If I get my analysis sheet completed I may post it
 if anyone is interested.
 
 Hope this helps.
 
 Betty
 
 On Fri, 25 Jan 2002, GISBERT Aurélien (DSIT-EX) wrote:
 
 
  I have to do a comparison between the different existing XSL-Fo processors.
  I focused on these ones:
  -FOP, Apache
  -XEP, RenderX
  -Antenna House XSL Processor
  -PassiveTeX
 
  Could you give me their good and bad parts?
  Who support them?
  What are the aims of each one about the XSL specification?
  Finally, is there any other good XSL-Fo processors?
 
  I understood that these 4 XSL-Fo processors were all compliant to the basic
  conformance level in the W3C recommendation, and also to some of the objects
  and properties of the extended level.
 
  I would like to have your opinions. I have to transform an XML document into
  a PDF file, using a specific model of presentation (first page, contents,
  headers, titles, ...)
 
  Regards
 
  ---
  Aurelien Gisbert
  Engineer student in the INSA of Lyon, France
  Internee in the SNCF, France (working with Alain Herbuel, in the DSIT-EX
  section)
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Seeking Comments on Status of Project

2002-01-24 Thread Matt Savino

Arved, thanks for the status update. Looking forward to .20.3, and would
love to get a rough, non-binding idea when the redesign might be
accomplished. 

FYI, here's what I gleaned from looking into the three alternate
solutions you mentioned. I would love to hear more details/corrections
from the experts on this board.

Antenna House - Windows only, no good for us.

XEP - needs TeX, not sure if I want to hassle with it or if it would
ever fly w/our infrastructure guys

RenderX - fits requirements. Someone else tested it but said he couldn't
get access to the API from demo--only batch mode. I've heard anecdotal
evidence that it is no faster than FOP. Would love to hear more from
anyone else w/firsthand experience. I'll try get it set up to benchmark
large reports in batch mode if I get a chance. 

I have another guy looking into faceless as a possible solution for
generating PDFs of very large, relatively simple reports. I'd love to
stay within xsl:fo though.

Thanks for all your hard work,
Matt Savino



Arved Sandstrom wrote:
 
 Hi, Pete
 
 I think that it would be most accurate to say that there is a relatively
 stable core of features - the feedback on this list has been that people do
 indeed use FOP, and reliably so, in production. But there are definitely
 limitations - both lack of some XSL-FO features and also issues related to
 memory.
 
 We are not where we would like to be, despite some significant personal
 efforts. I don't count myself in that latter group, not for the past half
 year certainly, as I have been sidelined by real work. I think Keiron Liddle
 or Karen Lease would be best able to comment on where we FOP is headed.
 
 I think, based on your problem description, that you may very well find that
 FOP suits your needs even in its current state. For a certain set of
 problems I would not necessarily describe FOP as being beta at all. Others
 will likely comment. I might add that because of the Apache license your
 development teams would be able to freely modify and improve the source.
 
 For x.yy.z, x == 0 just means FOP hasn't achieved our first major target:
 full feature support at nearly Extemded Conformance, with performance
 enhancements. With that in mind, we advance yy every few months as
 relatively significant new features are introduced. 'z' represents sets of
 bug-fixes and minor enhancements.
 
 We are currently at 0.20.3rc, and should upgrade to 0.20.3 in less than a
 week.
 
 Bertrand Delacretaz is working on JFOR integration - I am sure he will have
 more to say.
 
 If extensive feature support (XSL-FO compliance) is the _primary_ concern, I
 think you'd not go wrong in looking at either RenderX XEP or Antenna House
 XSL Formatter. I can't comment on the price.
 
 Expect other comments. :-)
 
 Regards,
 Arved Sandstrom
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: January 24, 2002 7:13 PM
 To: [EMAIL PROTECTED]
 Subject: Seeking Comments on Status of Project
 
 First off, thank you for what looks like a fantastic effort. I admire (and
 am envious of) each of you who have found the time to contribute to such a
 valuable project.
 
 I am involved with the approval process for bringing new technology into
 our company.  We have several development groups who have seen the FOP
 engine and would like to include it their applications. The requirements
 are pretty much the same across applications. They need to generate lots of
 short dynamic documents in PDF (lots=500-1000 per day, short=1-20 pages,
 mostly text, some tables).  Some of the applications need to support
 unicode or double-byte languages.
 
 On the surface, I agree that FOP looks like the right answer for what they
 need.  However, I also need to ensure that we follow our guidelines for
 technology acquisition.
 
 One of our primary tenets is no beta software should be included in
 production applications.
 
 I have read through many posts in the mail list and appreciate the honesty
 and clarity about the current status.
 Back in January of 2001 and again in July 2001, Arved Sandstrom pointed out
 that FOP is still a development effort.
 With this message, I am hoping I can persuade one of the committers to
 provide a January 2002 update on the status.
 I have found the occasional status messages very useful, hopefully any
 response to this message on the archive will help others in the future.
 
 Here is a snippet from the July 2001 post by Arved:
 
  FOP developers and committers have never suggested that the processor is
  anything other than a work in progress. My best guess is that if we have
 a
  production release by the end of the year then we'll be doing well.
 Alpha is
  a long ways away.
 
 Is this still the case?  I am making an assumption that the version number
 speaks to the status (v0.x is pre-release).
 Is the version numbering a reflection of:
  A. Still early in development
  B. Indication of how completely the XSL:FO spec is implemented

Re: Table layout

2002-01-11 Thread Matt Savino

will do

Christian Geisert wrote:
 
 Matt Savino wrote:
 
  Right now keep-with-next at the row level is the only thing that works.
  But if you have more rows than can fit on a page, FOP goes into an
  endless loop.
 
  This issue isn't adressed at all in the upocoming maintenance release is
  it?
 
 It is adressed
 .. and you hereby voluntered to test the forthcoming release candidate ;-)
 
 Christian
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Table layout

2002-01-10 Thread Matt Savino

Right now keep-with-next at the row level is the only thing that works.
But if you have more rows than can fit on a page, FOP goes into an
endless loop. 

This issue isn't adressed at all in the upocoming maintenance release is
it?




Phillips Tony wrote:
 
 Thanks, still can't seem to get it going - looking at bugzilla report 3044
 suggest this isn't working at the moment, anybody succeeded in using
 keep-together?
 
 thanks
 
 Tony
 
  -Original Message-
  From: Sergei Timofejev [mailto:[EMAIL PROTECTED]]
  Sent: 10 January 2002 13:14
  To: [EMAIL PROTECTED]
  Subject: RE: Table layout
 
 
  keep-togather=always
 
 
 E-MAIL DISCLAIMER
 
 The information in this e-mail and any attachment is confidential.
 It is intended only for the named recipient(s). If you are not a
 named recipient please notify the sender immediately and do not
 disclose the contents to another person or take copies. Although
 Axxia Systems has taken every reasonable precaution to ensure
 that any attachment to this e-mail has been checked for viruses,
 it is strongly recommended that you carry out your own virus
 check before opening any attachment, as we cannot accept
 liability for any damage sustained as a result of software virus
 infection. Axxia Systems reserves the right and senders of
 messages shall be taken to consent to the monitoring and
 recording of e-mails addressed to axxia.com.
 ***
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 writing pages to the output stream
 immediatly instead of buffering them into memory?
 
 Luigi_
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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 something relative (IE - absolute URL prefix for HTTPS redirects,
absolute filepath to the XSLT stylesheets, etc.). 

The problem is I have no idea how to get Xalan to read properties from
this file, or in any way be aware of it's own context.  So I manually
change the image source path everytime I upload a build to the Unix box.
Not a big deal for me right now since I only have one image in all of my
reports. But I imagine it could be a pain if you had a lot more.

-Matt



Beer, Christian wrote:
 
 Hello!!
 
 Well, try this one:
 fo:external-graphic src={$filepathValue} /
 
 { and } are kind of escape-chars, that tell xalan to process their
 content.
 
 You can also do this, I think, if you only need the filename one time.
 fo:external-graphic
 src={concat('file:../default/tra-app/images/',client/id,'logo.gif')} /
 
 Greetz
 
 Christian
 
 -Ursprüngliche Nachricht-
 Von: Rachael Blank [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 4. Januar 2002 18:46
 An: [EMAIL PROTECTED]
 Betreff: FOP-XSL:dynamic external graphics
 
 Hello and thanks in advance for your help!
 
 Is there a way I can dynamically display images based on an xml tag that
 I am given?
 
 I receive the following xml:
 client
id/id
...
 /client
 
 I currently have the following uri specification and it works:
 fo:external-graphic src=file:../default/tra-app/images/chclogo.gif/
 
 I need the image name (chclogo.gif) to change depending on the
 clientida number/id/client that I receive in the xml.
 
 I thought something like this would work:
 fo:table-cell
fo:block
white-space-collapse=true
xsl:variable name=filepathValue
 
 select=concat('file:../default/tra-app/images/',client/id,'logo.gif')
 /
fo:external-graphic src=$filepathValue /
xsl:value-of select=$filepathValue /!--Error checking--
/fo:block
 /fo:table-cell
 
 I am receiving the following error with the above code:
 Error while creating area : Invalid Image URL - error on relative URL :
 java.lang.NullPointerException
 
 I am sure that I have the correct path (because the $filepathValue
 displays correctly on the screen via my value-of select statement), but
 I am thinking it is not possible to pass a variable into the src element
 of the fo:external-graphic statement.  I also made sure this image is
 correctly named and in the appropriate directory.
 
 Any thoughts or alternatives, anyone?
 
 Thanks!
 
 Rachael
 
 Can I
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: conditional characters?

2001-12-10 Thread Matt Savino

I've been meddling on this board for several months now and this has to
be the 5-6th time that some variation of this problem has come up. (In
my case I need to put the word 'Continued' in every instance of a table
header that occurs after the first page break.) It still amazes me that
with all the things they DID think of in the FO spec, this case is not
addressed. Maybe they wanted to leave this as a nice juicy extension out
there for the implementation guys. 

Anyway, I'm getting ready to start on my 'Continued' extension within
the next few weeks, promise. If I can pull it off, I'll be sure to post
it to the board. I also need to work on functionality for a sub-section
within the main document that has it's own page numbering scheme. 

I haven't had time to look into the FO extenisions offered by any of
FOP's closed-source competitors, but I'd be interested to see if any of
them cover these issues.

-Matt



Bodo Teichmann wrote:
 
  Hi,
is there any way to make a specific character conditional, if some
   condition
such as a formater generated line break occurs,
or something like the *opposite* of  suppress-at-line-break ?
So what im trying to  do is to specify possibe hyphenation points for
  words
directly in the xsl:fo file. (and not in the UserAgent)
 
Any ideas?
Bodo
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Matt Savino

All my urls are .jsp and I don't have a problem with IE 4-5-6
recognizing them as PDF--as long as I set the response contentType. I
have a myriad of other problems with older verisons of IE, but this is
not one of them.

Cyril Rognon wrote:
 
 It has been reported many times that IE5.0 needs some strong mime type
 information
  : not only you must set the content-type HTTP header to
 application/pdf but you also have to use an url with .pdf at the
 end...
 
 Cyril Rognon
 
 At 14:05 07/12/2001 +0100, you wrote:
 
  I'm trying to see a pdf-report, created dinamically with an
  XML-XSL process. But if I try to see it with an IE 5.0, I see just a
  blank page with an icon. If I try it with an IE 5.5, I can see it
  with no problem.
 
  Why is it? And there is a solution, because I cannot change the
  browser to 5.5?
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: xsl:choice

2001-12-07 Thread Matt Savino

Try xsl:choose.

I'm available for consulting.


 Edward Dowgiallo wrote:
 
 I seem to be not getting the intended use of xsl:choice.
 
 The following stylesheet segment causes fop to terminate with the
 message: ...; Line 78 Column 25; [ERROR]: null
 
   fo:block font-family=Helvetica font-size=18pt
 text-align=end
 xsl:choice
   xsl:when test=//eraname
 xsl:value-of select=//eraname/
   /xsl:when
   xsl:when test=//conflictname
 xsl:value-of select=//conflictname/
   /xsl:when
   xsl:otherwise
 xsl:textHistory of the World/xsl:text
   /xsl:otherwise
 xsl:choice
   /fo:block
 1st, a more verbose error message would be useful.
 
 2nd, What I am trying to do is find out if the current element
 contains an element named eraname, if it does I want to use the
 value of the element eraname
 If it doesn't I want to check if the current element contains a child
 element named conflictname, if it does I want to use the value of
 the element conflictname.
 If it doesn't I want to slap in some boiler plate text.
 
 The xml file being processed when this fails does contain the child
 element eraname.
 
 I'd be more than happy to use a workaround here.
 
 Thank you,
 Ed

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: xsl:choice

2001-12-07 Thread Matt Savino

Sorry, I didn't read the bottom. 

You can only include one xsl:when as a child of xsl:choose. (There
is no concept of a case switch or elsif in XSLT.)

test=//eraname returns true if there is an element eraname anywhere
in the document. To search only the children of the current node, take
out the '//' part. 

To do what you want try this (anyone knows of a more elegant method,
please chime in):

   fo:block font-family=Helvetica font-size=18pt
text-align=end
 xsl:choose
   xsl:when test=eraname or conflictname

xsl:choose
 xsl:when test=eraname
   xsl:value-of select=eraname/
 /xsl:when
 xsl:otherwise
  xsl:value-of select=conflictname/
 /xsl:otherwise
/xsl:choose

   /xsl:when
   xsl:otherwise
 xsl:textHistory of the World/xsl:text
   /xsl:otherwise
 /xsl:choose
   /fo:block


 Edward Dowgiallo wrote:
 
 I seem to be not getting the intended use of xsl:choice.
 
 The following stylesheet segment causes fop to terminate with the
 message: ...; Line 78 Column 25; [ERROR]: null
 
   fo:block font-family=Helvetica font-size=18pt
 text-align=end
 xsl:choice
   xsl:when test=//eraname
 xsl:value-of select=//eraname/
   /xsl:when
   xsl:when test=//conflictname
 xsl:value-of select=//conflictname/
   /xsl:when
   xsl:otherwise
 xsl:textHistory of the World/xsl:text
   /xsl:otherwise
 xsl:choice
   /fo:block
 1st, a more verbose error message would be useful.
 
 2nd, What I am trying to do is find out if the current element
 contains an element named eraname, if it does I want to use the
 value of the element eraname
 If it doesn't I want to check if the current element contains a child
 element named conflictname, if it does I want to use the value of
 the element conflictname.
 If it doesn't I want to slap in some boiler plate text.
 
 The xml file being processed when this fails does contain the child
 element eraname.
 
 I'd be more than happy to use a workaround here.
 
 Thank you,
 Ed

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




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:
 
 Will this work for SSL sites?
 
 I have servlets that produce images (graphs) and I'm try to include them in
 the generated PDFs.  I wasn't sure that you could use relative path for
 src attribute?  Since I wasn't able to get it working, I needed to create
 a separate site in order to use absolute path to servlets (example:
 http://localhost/Pie, where Pie is the graph producing servlet)  Obviously,
 I would like to use relative so users do not see pop-up message about not
 secure
 
 Is anyone using FOP in SSL enabled sites with external-graphic that are not
 static filebased?
 
 Todd
 
 -Original Message-
 From: Max Froumentin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 03, 2001 10:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: fo:external-graphic question
 
 You wrote:
 
  If you want a relative URI, why not just use a relative URI?  I.e.,
 
 src=config/isappdev/applications/RVWebApp1/WEB-INF/lib/ClinTrialLogoGreenBi
 g.gif?
  Then the current protocol, host, and directory will be used as the base
 URI
  and the relative URI interpreted relative to that.
 
 And of course this should ideally be
 
 src=url(config/isappdev...)
 
 Max.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Line break in FO

2001-11-21 Thread Matt Savino

fo:block/

Matthias Fischer wrote:
 
 How do I generate a line break, such as is generated by BR in HTML, in FO?
 
 Matthias
 
 Dott. Matthias Fischer
 abc.Mediaservice GmbH
 
 Nebelhornstraße 8
 86807 Buchloe
 Tel. (08241) 9686-38
 Fax  (08241) 9686-26
 http://www.abc-media.de
 e-mail: [EMAIL PROTECTED]
 
 ein Unternehmen der abc.Mediengruppe
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: horizontal line won't print?

2001-11-15 Thread Matt Savino

Thanks Maneshi. I tried leader but I couldn't seem to get it to come
close enough to text above. There alway seems to be a several pixel gap
no matter what settings I try. I think I've managed to get table-cell
borders to do what I want.

thx
-Matt

Maneshi Tuli wrote:
 
 For horizental line , i am using this code and it is working for me , u can try also 
, might be it help u
 
 fo:block space-after=5pt
  fo:leader leader-length=10.5in leader-pattern=rule rule-thickness=2pt 
color=green /
  /fo:block
 
 thanks
 
  Message History 

 
 From: Matt Savino [EMAIL PROTECTED] on 11/13/2001 06:14 PM PST
 
 Please respond to [EMAIL PROTECTED]
 
 To:   [EMAIL PROTECTED] [EMAIL PROTECTED]
 cc:
 Subject:  horizontal line won't print?
 
 I've been using this constriction for the occasional horizontal line in
 my reports:
 
 fo:block text-align=center background-color=green
 space-before.optimum=4pt space-after.optimum=4pt
 line-height=1pt/fo:block
 
 I like it because it's independent of any table structures I insert it
 into. Problem is, while it looks fine in the PDF viewer, the line
 doesn't print. Also, no matter what I set the line-height to, it seems
 to come out 1pt.
 
 The only other way I know to get a horizontal line--that does print--is
 a table (or table-cell) border. Has anyone else seen this phenomenon,
 and does anyone know of an easy way to insert horizontal lines that show
 up in print?
 
 thanks a lot,
 Matt
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 --
 
 This e-mail may contain confidential and/or privileged information. If you are not 
the intended recipient (or have received this e-mail in error) please notify the 
sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




horizontal line won't print?

2001-11-13 Thread Matt Savino

I've been using this constriction for the occasional horizontal line in
my reports:

fo:block text-align=center background-color=green
space-before.optimum=4pt space-after.optimum=4pt
line-height=1pt/fo:block

I like it because it's independent of any table structures I insert it
into. Problem is, while it looks fine in the PDF viewer, the line
doesn't print. Also, no matter what I set the line-height to, it seems
to come out 1pt. 

The only other way I know to get a horizontal line--that does print--is
a table (or table-cell) border. Has anyone else seen this phenomenon,
and does anyone know of an easy way to insert horizontal lines that show
up in print?

thanks a lot,
Matt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP: Critical Problem

2001-11-02 Thread Matt Savino

I work for a giant healthcare company, and it's still hard for me to
imagine how the data comes from --somewhere-- then is inserted into an
fo: document with no chance for any text manipulation. Not saying I
don't believe it, Id just love to hear the situation. 

So what about some kind of quick n' dirty little extension to do the
work until linespace-treatment=preserve is implemented. (Is it in the
plans to attempt to implement everything in the FO spec?) I haven't
started on my table-header with (Cont) extension yet, but when I do I'll
let the group know how it goes.

Arved Sandstrom wrote:
 
 At 09:52 AM 11/2/01 -0800, you wrote:
 Our application also needs linefeeds preserved in certain cases. We
 convert them at the stylesheet level. Here's how we do it:
 [ SNIP ]
 Like I said, I have no idea if you're even using stylesheets. I have a
 feeling if you're talking with Arved, this avenue has already been
 explored. But I figured I'd throw it out there just in case. By the way
 if anyone knows of a slicker method to do what I'm doing above (ie some
 sort of Perl-style replace, or Java-style string tokenizer
 functionality), please chime in.
 
 This possibility, or something essentially similar, came up. That is, I
 suggested a workaround. Rachael explained the production scenario, and it
 appears to make sense to me that extra processing of the content before it
 gets to the formatter is not acceptable. So unless something has changed we
 are definitely talking about source code changes.
 
 I did Rachael a disservice by underestimating the scope of the fix (I looked
 at the FOP code and started working on this, and it wasn't so
 straightforward) and overestimating the amount of time I had available to do
 something about it. Work at my last company was pretty crazy for a lot of
 this year, and I should have taken that into account, and I apologize for
 being naively optimistic. In any case that last company has now folded and
 at the moment I am _not_ in a position to assist. :-)
 
 Regards,
 Arved Sandstrom
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP: Critical Problem

2001-11-02 Thread Matt Savino
 on
 the fly with JSP.
 (Up until this point I am not involved in development)
 I am on the Web GUI side where I create stylesheets that enable the physician to
 edit, view a read only copy and/or print a final PDF copy of the document.
 We also offer a batch printing, sorting and searching capabilities.
 
 After a certain period of time specified by the client, we archive the data and
 can do very detailed and advanced analysis for the client.
 
 We would sincerely appreciate any more help with this issue.  It would be a
 terrible shame for us and FOP for the project to go BUST.
 
 Thanks again!
 
 Rachael
 
 Matt Savino wrote:
 
  I work for a giant healthcare company, and it's still hard for me to
  imagine how the data comes from --somewhere-- then is inserted into an
  fo: document with no chance for any text manipulation. Not saying I
  don't believe it, Id just love to hear the situation.
 
  So what about some kind of quick n' dirty little extension to do the
  work until linespace-treatment=preserve is implemented. (Is it in the
  plans to attempt to implement everything in the FO spec?) I haven't
  started on my table-header with (Cont) extension yet, but when I do I'll
  let the group know how it goes.
 
  Arved Sandstrom wrote:
  
   At 09:52 AM 11/2/01 -0800, you wrote:
   Our application also needs linefeeds preserved in certain cases. We
   convert them at the stylesheet level. Here's how we do it:
   [ SNIP ]
   Like I said, I have no idea if you're even using stylesheets. I have a
   feeling if you're talking with Arved, this avenue has already been
   explored. But I figured I'd throw it out there just in case. By the way
   if anyone knows of a slicker method to do what I'm doing above (ie some
   sort of Perl-style replace, or Java-style string tokenizer
   functionality), please chime in.
  
   This possibility, or something essentially similar, came up. That is, I
   suggested a workaround. Rachael explained the production scenario, and it
   appears to make sense to me that extra processing of the content before it
   gets to the formatter is not acceptable. So unless something has changed we
   are definitely talking about source code changes.
  
   I did Rachael a disservice by underestimating the scope of the fix (I looked
   at the FOP code and started working on this, and it wasn't so
   straightforward) and overestimating the amount of time I had available to do
   something about it. Work at my last company was pretty crazy for a lot of
   this year, and I should have taken that into account, and I apologize for
   being naively optimistic. In any case that last company has now folded and
   at the moment I am _not_ in a position to assist. :-)
  
   Regards,
   Arved Sandstrom
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, email: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: table-header with (Con't)

2001-10-26 Thread Matt Savino

So how hard do you think it would be for a realtive FOP-newbie to write
some kind of extension?

I'm thinking of a few possible hacks:

1) Somehow implement the inverse of table-omit-header-at-break. Then I
could specify the 'xxx Continued' piece as the header and simply print
xxx as the first row of the table.

2) Add some facility for specifying a different header for every
occurrence after the first. I'd be happy with hard-coding the word
Continued if it was the only easy way.

Any other clever ideas? How hard is it to just stick something like this
in? It seems to me that with all the page-aware capabilites of FOP
(header, static content, keep-together, page-number, widows, orphans
etc.) there ought to be a sneaky way to piggy back this functionality
onto one of them.

Just to be clear, here's what I'm talking about:

My Page Header

-- other stuff --

My Table Header
row1
row2
row3

-- new page --

My Page Header

My Table Header (Continued)
row4
row5
row6


The block in question doesn't necessarily have to be a table, but it
can't be part of static content. It's nested inside two tables already,
one has a header of varying length (so it can't be part of the static
content).

Like I said, I have no idea how hard it is to go poking around in FOP. I
know enough about PDF to know that I want to stay at the highest level
possible (that's I think somehow suppressing the table header on the
first occurrence may be the best way for me to go). Thanks in advance
for any ideas.

-Matt



Arved Sandstrom wrote:
 
 At 09:33 PM 10/24/01 -0400, Matt Savino wrote:
 Jim, I'm doing the same thing with my report. Add a different last-page id
 block at the end of each section ( fo:block
 id=last-csr-page/fo:block) You'll also have to start a new
 master-page-sequence with each section and set the initial page number to 1.
 
 I assume you mean new page-sequence. You can re-use simple-page-masters and
 page-sequence-masters all you like.
 
 Now if we can just figure out how to get (Continued) into a table header!
 I've been trying to come up with some clever way to change the header on the
 fly or use table-omit-header in reverse, but I'm stumped. Is this what
 marker/retrieve marker is supposed to be for by any chance? I'm playing with
 them right now. I'll let you know if I get any where. ANd what the heck are
 widows and orphans?
 
 Widows and orphans have to do with how many minimum lines are to be kept
 together at the beginning of the first area generated by an FO (orphans)
 or at the end of the last area generated by the FO (widows). Not quite the
 same concept as you might be used to in, say, Word.
 
 Markers are for running headers and footers, where headers and footers are
 assumed to be modelled using fo:static-content. For a variety of reasons I
 see no way in which you could use them. In fact I see no solution to this
 problem using XSL 1.0; this falls into an identified set of problems which
 require formatting-time logic over and above what is currently available.
 
 Regards,
 Arved Sandstrom
 
 Fairly Senior Software Type
 e-plicity (http://www.e-plicity.com)
 Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Unknown header extent?

2001-10-23 Thread Matt Savino

Karen, thanks a lot. The table-header did the trick.

Karen Lease wrote:
 
 Matt,
 
 The short answer is no. The value must be specified as a fixed length
 or as a percentage which is interpreted relative to the page height, so
 it's still a fixed value.
 
 So your options are:
 1) make extent large enough to contain your biggest possible header
 2) depending on the structure of your documents, put the entire document
 into an fo:table and put the header part into the fo:table-header.
 
 Regards,
 Karen
 
 Matt Savino wrote:
 
  Is there any to avoid explicitly setting the extent of header
  (region-before)? I have a report that requires a varied number of data
  rows and possibly a comment field of unknown size within the header.
  I've looked through the examples, but all of them seem to have the
  header size hard-coded.
 
  Thanks a lot,
  Matt
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




table-header with (Con't)

2001-10-23 Thread Matt Savino

Is there anyway to get a table header to print differently after the
first time/page? Namely I want to reprint the title above a particular
table everytime the page breaks, but I want to add '(Con't)' to the end
of the title. I'm already using a page header and then a table header
within that. These blocks are sub-tables with their own headers within
that master table.

So far, thanks to your help I've managed to avoid counting rows. I hope
there's a solution to this problem as well.

Thanks a lot,
Matt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Performance

2001-10-18 Thread Matt Savino

Just in case anyone is interested, see this benchmarking from an earlier
post. I still haven't figured out what causes the serious degradation on
Unix with two or more concurrent reports. But I did find out it only
occurs when running FOP on a servlet inside Weblogic! Two separate Java
processes don't see the same degradation. I'm sure BEA support will
figure out this problem in no time.


To benchmark I used a servlet with embedded FOP to render a 200 page PDF
document from an XSLT
transform on a static XML-file (no database connection is involved).
Both boxes are running Weblogic 6.1. The
XSLT transform takes very little time compared to the FOP renderer. I've
tried a DomSource for input, a SaxSource, and the
XSLTInputHandler. The results are almost exactly the same in each case.

Below are the results I see. Initial heap size=max heap size in each
case.
Each server is running the latest JDK 131 (w/Hotspot). (I have set all
the
HP system variables (max_thread_proc, etc.) to Sun recommendations.)

Nt dev box (NT4-Worksatation, PIII-933mhz, 512MB ram):
Heap Size=64M, 1 report   =  251ms/page 
Heap Size=64M, 2 reports  =  750ms/page 
Heap Size=256M, 1 report  =  245ms/page
Heap Size=256M, 2 reports =  500/page

HP server (HP-Unix, 2x550 mhz, 2GB ram):
Heap Size=64M, 1 report =  545ms/page (frequent out of memory errors)
Heap Size=64M, 2 reports  =  didn't try
Heap Size=256M, 1 report  =  372ms/page
Heap Size=256M, 2 reports =  1700ms/page
Heap Size=512M, 1 report  =  350ms/page
Heap Size=512M, 2 reports =  1675ms/page

The only difference I can see for sure between the two boxes is that the
NT
machine performs at least 10 times as much garbage collection.
(Sometimes
several times per page, as opposed to once every 8-10 pages on the NT
box.)
Garbage collection occurs a little more frequenly on the HP box when I
lower
the heap size, but still not nearly as often as on the NT--at any heap
size.
Also the HP box runs out of memory if I lower the heap size. I was
hoping
this was due to some HP setting, but I'm starting to come to the
conclusion
that it's just some difference in the hotspot implementations.




Amit wrote:
 
 Yup I run it under Linux and it is actually way faster than windowsNT or
 98.
 I have the latest kernel 2.4.12 and am using jdk1.2.2 with 128MB or RAM
 this is in my development environment.
 
 Jim Wright wrote:
 
  I run complex table stuff on Linux with FOP pretty consistently, and
  have not experienced the slow-downs you mention. Are you running under
  Linux with a decent amount of memory?
 
  jw
 
  -Original Message-
  From: Alenka Skrbinek [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, October 18, 2001 12:29 AM
  To: [EMAIL PROTECTED]
  Subject: Performance
 
  I have performance problems with Fop on Linux for S390. The same
  document (for example 4 tables on one page) takes 3 seconds on Win NT,
  while it takes more than one minute on Linux. The same happens with
  examples which came with FOP - they are slow on Linux. What should I
  do?
 
  Thanks!!
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: XSLTInputHandler constructor for InputSources?

2001-09-28 Thread Matt Savino

I am in the exact same situation as far as my xml source. I've currently
been using a DOM XSLT transform and sending that result to FOP. 

I built the latest CVS so I could try SAX (since the SAX input is broken
in .20.1). But as you'll see below, the times seem about the same. I
also don't know what to do about the logger errors in the latest cvs.
And finally I really like the way .20.1 shows you where the page breaks
are as it reports it's progress back to the program. Is that gone for
good? I think keeping the page numbers in rows rather than streaming
down the screen makes the console output easier to read for developers.

By the way I did a little rough benchmarking on FOP embedded in a
servlet. (I'm running on a Weblogic development box - Wintel - P-III -
933). I tried three different methods: a DOM source, a SAX stream from
an XSLT transfrom, and the XSLTInputHandler (I serialzed the xml source
out to a file). The XSLT transform is pretty simple as the xml-data is
already well structured.

Interestingly all three took between 50-51 seconds to render a ~5000
line report into a 300k, 200 page PDF document (there were a lot of page
breaks). I'm thinking that's not too bad. Especially since in our case I
don't think the end user will be able to tell the difference between
render time and download time. 

Do these numbers sound about right?

-Matt




Rob Heittman wrote:
 
 Would it cause problems to provide an alternate constructor for
 XSLTInputHandler ... ?
 
   XSLTInputHandler(InputSource xmlsource, InputSource xsltsource)
 
 in addition to:
 
   XSLTInputHandler(File xmlfile, File xsltfile)
 
 I am working with XML which is streamed directly out of a repository, not
 a file, and could get rid of a bunch of lines of redundant code in my app
 if I could use FOP's XSLTInputHandler instead.
 
 If this makes sense, let me know and I'll be happy to provide a patch.
 
 - Rob
 
 --
 
 Rob Heittman
 
 cluestream ventures  |  effective information management
 research, development, analysis and consulting
 http://www.cluestream.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]