Re: How to create TOC

2002-05-29 Thread J.Pietschmann
Ali, Farhan wrote: > Anybody having any example of how to create Table of Contents(TOC) > dynamically on the basis of xml document. while generating PDF using XML and > XSL as input. The usual approach is moded templates. A general outline of the necessary techniques can be found in the XSL FAQ,

Image Mask

2002-05-29 Thread Matt Johnston
Has anyone looked into adding an Image Mask to FOP?  I have modified the 0.20.3 version to mask out a specific color, but I am trying to use one image as a mask for another image. Matt Johnston Manager of Internet Content American Profile, http://www.americanprofile.com 341 Cool Springs Blv

Re: keep-together.within-page - does it work ?

2002-05-29 Thread IvanLatysh
Hello, Jeremias! You wrote to <[EMAIL PROTECTED]> on Wed, 29 May 2002 19:16:45 +0200: JM> Well, I have a big table with 4 columns. Each part of the details of JM> the invoice is in its own table-row. But Joe's right. See the JM> attached testcase. If you build a PDF from it you'll see that JM

How to create TOC

2002-05-29 Thread Ali, Farhan
Anybody having any example of how to create Table of Contents(TOC) dynamically on the basis of xml document. while generating PDF using XML and XSL as input. Thanks Ali - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [REDESIGN] configuration

2002-05-29 Thread Nicola Ken Barozzi
From: "Jeremias Maerki" <[EMAIL PROTECTED]> > > In a server environment especially, good role hierarchy and containment is > > paramount, and Avalon helps to enforce and use it. > > > > One thing though: Logging is a bit different than other things... it's not > > really a component, but an aspec

Re: keep-together.within-page - does it work ?

2002-05-29 Thread Jeremias Maerki
Well, I have a big table with 4 columns. Each part of the details of the invoice is in its own table-row. But Joe's right. See the attached testcase. If you build a PDF from it you'll see that keep-with-next has an effect on page one but not on consecutive pages. Seem like I have to revisit my sty

Re: keep-together.within-page - does it work ?

2002-05-29 Thread IvanLatysh
Hello, Jeremias! You wrote to <[EMAIL PROTECTED]> on Wed, 29 May 2002 18:19:39 +0200: JM> Thanks for speaking up. I didn't follow this topic so I missed that. JM> Seems like I've been lucky only having two-page-documents where I JM> used keeps. And how did you get it working :-) --- Yours si

Re: [REDESIGN] configuration

2002-05-29 Thread Jeremias Maerki
> Sorry if I'm not replying inline, but with some mails Outlook Express seems > to be unable to properly add >>> s . :-( (If anyone knows a workaround, > please let me know) You must have think nerves that you work with Outlook Express. :-) > Anyway, your description is correct, and very wel

Re: keep-together.within-page - does it work ?

2002-05-29 Thread Jeremias Maerki
Thanks for speaking up. I didn't follow this topic so I missed that. Seems like I've been lucky only having two-page-documents where I used keeps. > If you're past page 1, I think the "keeps" are turned off. > > There was a big problem with running into an infinite loop when > the total layout a

Re: [REDESIGN] configuration

2002-05-29 Thread Jeremias Maerki
> On Wed, 2002-05-29 at 17:18, Jeremias Maerki wrote: > > > - Configurable FOUserAgent (have default FOUserAgent that can be > > > used/extended without config) > > > To make it possible to setup all the various options like dpi. > > > > I'm still at a lack of knowledge on these new things. :-( B

Re: [REDESIGN] configuration

2002-05-29 Thread Nicola Ken Barozzi
Sorry if I'm not replying inline, but with some mails Outlook Express seems to be unable to properly add >>> s . :-( (If anyone knows a workaround, please let me know) Anyway, your description is correct, and very well done. One of the main points in avalon is the IoC (inversion of control),

Re: FOP 0.20.3 doesn't build

2002-05-29 Thread Keiron Liddle
On Wed, 2002-05-29 at 17:48, IvanLatysh wrote: > Hi. > > I am trying to compile FOP 0.20.3 (Windows, Linux RH - same result ) > java -version > java version "1.4.0" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) > Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Du

Re: keep-together.within-page - does it work ?

2002-05-29 Thread joseph . aloysius . gilvary
The keep-with stuff is only implemented for tables. And I'm not sure that all of it really is. Try wrapping your block in simple tables and specify the keep-with attributes on the table-row. I've sucessfully used keep-with-previous="always" and keep-with-next="always" on table-row. Good luck.

FOP 0.20.3 doesn't build

2002-05-29 Thread IvanLatysh
Hi. I am trying to compile FOP 0.20.3 (Windows, Linux RH - same result ) I am getting this exception: [echo] Compiling the sources [javac] Compiling 310 source files to /home/ivan/fop/fop-0.20.3/build/classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] /home

Re: [REDESIGN] configuration

2002-05-29 Thread Keiron Liddle
On Wed, 2002-05-29 at 17:18, Jeremias Maerki wrote: > > - Configurable FOUserAgent (have default FOUserAgent that can be > > used/extended without config) > > To make it possible to setup all the various options like dpi. > > I'm still at a lack of knowledge on these new things. :-( But it sounds

Re: keep-together.within-page - does it work ?

2002-05-29 Thread IvanLatysh
Hello, Jeremias! You wrote to <[EMAIL PROTECTED]> on Wed, 29 May 2002 17:22:36 +0200: JM> The keep-with stuff is only implemented for tables. And I'm not sure JM> that all of it really is. Try wrapping your block in simple tables JM> and specify the keep-with attributes on the table-row. I've

Re: keep-together.within-page - does it work ?

2002-05-29 Thread Jeremias Maerki
The keep-with stuff is only implemented for tables. And I'm not sure that all of it really is. Try wrapping your block in simple tables and specify the keep-with attributes on the table-row. I've sucessfully used keep-with-previous="always" and keep-with-next="always" on table-row. Good luck. > I

Re: [REDESIGN] configuration

2002-05-29 Thread Jeremias Maerki
So do I. Maybe we have to hold the version in a separate XML file and put that into a Java class or a manifest file using XSLT during build. > On Wed, 2002-05-29 at 16:32, Peter B. West wrote: > > Keiron, > > > > I can't comment on the details of this unless and until I look at > > avalon. I n

Re: [REDESIGN] configuration

2002-05-29 Thread Jeremias Maerki
> Here are some ideas about how we could do the configuration for FOP. > Comments are welcome. > > Use this class and various supporting classs (already in avalon > framework jar): > org.apache.avalon.framework.configuration.Configuration > > From a brief look at how this works it should be quit

Re: javax.xml.transform.TransformerFactory.newInstance() throwsa ex ception

2002-05-29 Thread Oleg Tkachenko
Lara Lara, Pedro wrote: > This line is in a method of org.apache.fop.tools.xslt.TraxTransform.java : > > TransformerFactory factory = TransformerFactory.newInstance(); > > From this line is throws a exception what it can not be catched with > Exception class. xslt engine probably cannot be

javax.xml.transform.TransformerFactory.newInstance() throws a exception

2002-05-29 Thread Lara Lara, Pedro
Title: javax.xml.transform.TransformerFactory.newInstance() throws a exception Hello. This line is in a method of org.apache.fop.tools.xslt.TraxTransform.java  : TransformerFactory factory = TransformerFactory.newInstance(); From this line is throws a exception what it can not be catche

Re: [REDESIGN] configuration

2002-05-29 Thread Keiron Liddle
On Wed, 2002-05-29 at 16:32, Peter B. West wrote: > Keiron, > > I can't comment on the details of this unless and until I look at > avalon. I notice, though, that version is still given as a > configuration parameter. Does that mean that a user can arbitrarily > change the FOP version? My p

Re: [REDESIGN] configuration

2002-05-29 Thread Peter B. West
Keiron, I can't comment on the details of this unless and until I look at avalon. I notice, though, that version is still given as a configuration parameter. Does that mean that a user can arbitrarily change the FOP version? My point, of course, is that version has nothing to do with confi

keep-together.within-page - does it work ?

2002-05-29 Thread IvanLatysh
Hi All I have template where I have fo:block, inside there are 4 tables and other blocks. And I need to keep all this on the same page. Af cource I have read documentation and there are some mentions about "keep-together.within-page" I did: Anyway block is braking, I did play around and didn't f

cvs commit: xml-fop/src/org/apache/fop/svg PDFANode.java PDFGraphics2D.java

2002-05-29 Thread keiron
keiron 02/05/29 06:53:41 Modified:src/org/apache/fop/svg PDFANode.java PDFGraphics2D.java Log: fixed link problem, now handles external properly Revision ChangesPath 1.6 +2 -1 xml-fop/src/org/apache/fop/svg/PDFANode.java Index: PDFANode.java ==

[REDESIGN] configuration

2002-05-29 Thread Keiron Liddle
Hi, Here are some ideas about how we could do the configuration for FOP. Comments are welcome. Use this class and various supporting classs (already in avalon framework jar): org.apache.avalon.framework.configuration.Configuration >From a brief look at how this works it should be quite easy to

Re: Structure Handlers - RTF Renderer

2002-05-29 Thread Keiron Liddle
On Tue, 2002-05-28 at 01:20, Peter B. West wrote: > < > I started writing this before the flurry of messages in the last day or > two, so it may now be redundant. If so, however, I have missed part of > the conversation. My recollection of consensus of opinion some months > ago was as I state