Hi Keiron On Thu, 3 Jan 2002 09:44:50 +0100 Keiron Liddle wrote: > Hi Jeremias, > > The code looks fine. Putting the new classes under apps might not be the > best place, it's already confusing enough.
I guessed that could be a problem. I wasn't that happy with it, either. But since it has to do with the interface to the outside world I thought apps would be the most obvious place. I don't care where it finally lands. > There is a problem that it doesn't actually compile due to a missing > method on PageSequence. Oops. Which method? > I also think it should be put in the main branch, possibly in a different > form to go with user agent etc. Ok. I haven't looked at the main branch for some weeks now, so I don't know how this would look like. I hope to have time again to do something for FOP in about two months. Maybe you could drop a mail explaining how you envision this to be done. Thanks for having looked at it! > Regards, > Keiron. > > On 2001.12.04 16:04 Jeremias Maerki wrote: > > 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 pages generated within a particular page-sequence. > > PageSequenceResult also returns the page-sequence's "id" attribute, so a > > calling application can establish a context between the page-sequence > > and a logical document. This is especially handy if you're rendering > > multiple documents within one XML-file that are separated into multiple > > page-sequences. > > > > Attached is a ZIP-File with a diff and the two new classes. The diff is > > against the tag 'fop-0_20_2-maintain'. I think this should be brought > > over to the main branch at some time. The two new classes go into the > > package org.apache.fop.apps. > > > > As a little side-effect the patch includes a little modification to the > > render() methods in Driver.java which removes some duplicate code. > > > > Tell me what you think! If someone thinks there is a better way of doing > > this, I'm open to suggestions. Cheers, Jeremias M�rki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
