FOP Extensions

2002-01-10 Thread Software AG

Hi, there.

Trying to create a FOP Extension I'm getting totally confused with the docs.
The HTML document says to just have a look at org.apache.fop.extensions.*
and implement the ExtensionObj interface. ExtensionObj is not an interface
but a class, and hardly documented. So all I know is I need to overload the 

public Status layout(Area area)

method. I have rendering code that eats a dom tree and spits out a
java.awt.Image or GIF or whatsoever. Looking at the SVG extension code
confused me more than it helped. From the list archives I could not derive a
cookbook what to do.

- What class do I have to extend: Area (like SVGArea) or ExtensionObj?
- How is this new class going to get the DOM tree inside the
fo:instream-foreign-object element?
- How is this new class going to pass the rendered image to FOP?
- How do I correctly register the new class so FOP will call it?
- What happens if I cannot provide name spaces on the elements?

Hiran

---
Hiran Chaudhuri
SAG Systemhaus GmbH

Email [EMAIL PROTECTED]
Phone +49-171-2204990 

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




Re: FOP Extensions

2002-01-11 Thread Keiron Liddle

Hi,

I think you confusing a few things.

Starting from this page:
http://xml.apache.org/fop/extensions.html
(it could be a bit better and there will be some examples one day)

The default extensions are svg and the bookmarks so you can just use these.

To make your own extension you need to consider what you want to do first.

1. do you want to put a formatting object area in the output, eg. some 
text, block etc.
2. do you want a graphic in the output, ie. somthing that could be done 
with svg
3. do you want to do some document specific settings such as what the 
bookmarks does
also what version are you using, this is about the latest release.


If 1. then you need to do a similar sort of thing to all other fo objects.
If 2. then you setup a class that can get a DOM and turn it into SVG.
If 3. then it is a bit more difficult.

It doesn't say to extend ExtensionObj, this is just an example.

More below...

On 2002.01.10 18:15 Software AG wrote:
> Hi, there.
> 
> Trying to create a FOP Extension I'm getting totally confused with the
> docs.
> The HTML document says to just have a look at org.apache.fop.extensions.*
> and implement the ExtensionObj interface. ExtensionObj is not an
> interface
> but a class, and hardly documented. So all I know is I need to overload
> the
> 
> public Status layout(Area area)
> 
> method. I have rendering code that eats a dom tree and spits out a
> java.awt.Image or GIF or whatsoever. Looking at the SVG extension code
> confused me more than it helped. From the list archives I could not
> derive a
> cookbook what to do.
> 
> - What class do I have to extend: Area (like SVGArea) or ExtensionObj?

You will likely need to extend FObj.

> - How is this new class going to get the DOM tree inside the
> fo:instream-foreign-object element?

The same what that SVG gets the DOM


> - How is this new class going to pass the rendered image to FOP?

??
If you want SVG for the output then just do what the SVG does, ie. put the 
SVG DOM into an SVGArea.

> - How do I correctly register the new class so FOP will call it?

As on the website
"include the following file 
"/META-INF/services/org.apache.fop.fo.ElementMapping". In this file you 
need to put the fully qualified classname of your element mappings class. 
This class must implement the "org.apache.fop.fo.ElementMapping" 
interface."


> - What happens if I cannot provide name spaces on the elements?

You must have a separate namespace.

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




Re: FOP Extensions

2002-01-11 Thread Matt Savino

I'm still planning to write my Table-header with "Continued" extension
sometime in the mythical future when I get my head above water. Does
this fall into #1 or #3? Is it really realisitic that I'll be able to
get this done in a few days? I'm pretty good with Java and I have access
to a couple of near-gurus.

As a refresher, the idea is make some table-header functionality that
adds the word "Continued" (or anything) on all instances of the
table-header but the first. I'm willing to make it very extensible,
unless quick and dirty is just much easier. (IE - even hardcoding the
word "Continued" somewhere, although I realize that won't help the group
as much.)

thx a lot
-Matt



Keiron Liddle wrote:
> 
> Hi,
> 
> I think you confusing a few things.
> 
> Starting from this page:
> http://xml.apache.org/fop/extensions.html
> (it could be a bit better and there will be some examples one day)
> 
> The default extensions are svg and the bookmarks so you can just use these.
> 
> To make your own extension you need to consider what you want to do first.
> 
> 1. do you want to put a formatting object area in the output, eg. some
> text, block etc.
> 2. do you want a graphic in the output, ie. somthing that could be done
> with svg
> 3. do you want to do some document specific settings such as what the
> bookmarks does
> also what version are you using, this is about the latest release.
> 
> If 1. then you need to do a similar sort of thing to all other fo objects.
> If 2. then you setup a class that can get a DOM and turn it into SVG.
> If 3. then it is a bit more difficult.
> 
> It doesn't say to extend ExtensionObj, this is just an example.
> 
> More below...
> 
> On 2002.01.10 18:15 Software AG wrote:
> > Hi, there.
> >
> > Trying to create a FOP Extension I'm getting totally confused with the
> > docs.
> > The HTML document says to just have a look at org.apache.fop.extensions.*
> > and implement the ExtensionObj interface. ExtensionObj is not an
> > interface
> > but a class, and hardly documented. So all I know is I need to overload
> > the
> >
> > public Status layout(Area area)
> >
> > method. I have rendering code that eats a dom tree and spits out a
> > java.awt.Image or GIF or whatsoever. Looking at the SVG extension code
> > confused me more than it helped. From the list archives I could not
> > derive a
> > cookbook what to do.
> >
> > - What class do I have to extend: Area (like SVGArea) or ExtensionObj?
> 
> You will likely need to extend FObj.
> 
> > - How is this new class going to get the DOM tree inside the
> > fo:instream-foreign-object element?
> 
> The same what that SVG gets the DOM
> 
> > - How is this new class going to pass the rendered image to FOP?
> 
> ??
> If you want SVG for the output then just do what the SVG does, ie. put the
> SVG DOM into an SVGArea.
> 
> > - How do I correctly register the new class so FOP will call it?
> 
> As on the website
> "include the following file
> "/META-INF/services/org.apache.fop.fo.ElementMapping". In this file you
> need to put the fully qualified classname of your element mappings class.
> This class must implement the "org.apache.fop.fo.ElementMapping"
> interface."
> 
> > - What happens if I cannot provide name spaces on the elements?
> 
> You must have a separate namespace.
> 
> -
> 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 Extensions

2002-01-13 Thread Keiron Liddle

On 2002.01.11 19:52 Matt Savino wrote:
> I'm still planning to write my Table-header with "Continued" extension
> sometime in the mythical future when I get my head above water. Does
> this fall into #1 or #3? Is it really realisitic that I'll be able to
> get this done in a few days? I'm pretty good with Java and I have access
> to a couple of near-gurus.

#1
You simply want to put an area (the word "Continued") into the area tree.

I think it shouldn't be too hard. It could be just a matter of - when 
layout is called the first time then do nothing, all following times it 
should put the word "Continued" in the current line.


> As a refresher, the idea is make some table-header functionality that
> adds the word "Continued" (or anything) on all instances of the
> table-header but the first. I'm willing to make it very extensible,
> unless quick and dirty is just much easier. (IE - even hardcoding the
> word "Continued" somewhere, although I realize that won't help the group
> as much.)
> 
> thx a lot
> -Matt

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




AW: FOP Extensions

2002-01-14 Thread Software AG

Hi.

Having downloaded fop 0.20.2-bin and -src, I had read the documentation
about extensions. There is says to add my own extension, I better had a look
at the source in org.apache.fop.extension.  Unfortunately the only
documented class is ExtensionObj, stating to be "base class for extension
objects".
This is why I had to ask the list.

What I have is code that can render data from a DOM tree and gives me a
java.awt.Image, which I can then use in applications or convert to GIF
images. Now I want to reuse that code within FOP. I assume in your words
this means I want an area in the output, but I really do not know what an
area actually is. For me it sounds more like graphics, but I do not want to
use SVG since I'd have to recode what is already there.

So if I choose 1 (see below), I need to do "a similar sort of thing to all
other fo objects". Does this mean I have to extend Area or FObj?

For my understanding, I have to extend ExtensionObj, which also is an FObj
and override the layout(Area) method. But then I do not know how to insert
the image into the Area (do I have to extend that also?) and how to retrieve
the DOM source (maybe that is done via the PropertyLists?).

Hiran


> -Ursprüngliche Nachricht-
> Von: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 11. Januar 2002 10:21
> An: [EMAIL PROTECTED]
> Betreff: Re: FOP Extensions
> 
> 
> Hi,
> 
> I think you confusing a few things.
> 
> Starting from this page:
> http://xml.apache.org/fop/extensions.html
> (it could be a bit better and there will be some examples one day)
> 
> The default extensions are svg and the bookmarks so you can 
> just use these.
> 
> To make your own extension you need to consider what you want 
> to do first.
> 
> 1. do you want to put a formatting object area in the output, 
> eg. some 
> text, block etc.
> 2. do you want a graphic in the output, ie. somthing that 
> could be done 
> with svg
> 3. do you want to do some document specific settings such as what the 
> bookmarks does
> also what version are you using, this is about the latest release.
> 
> 
> If 1. then you need to do a similar sort of thing to all 
> other fo objects.
> If 2. then you setup a class that can get a DOM and turn it into SVG.
> If 3. then it is a bit more difficult.
> 
> It doesn't say to extend ExtensionObj, this is just an example.
> 
> More below...
> 
> On 2002.01.10 18:15 Software AG wrote:
> > Hi, there.
> > 
> > Trying to create a FOP Extension I'm getting totally 
> confused with the
> > docs.
> > The HTML document says to just have a look at 
> org.apache.fop.extensions.*
> > and implement the ExtensionObj interface. ExtensionObj is not an
> > interface
> > but a class, and hardly documented. So all I know is I need 
> to overload
> > the
> > 
> > public Status layout(Area area)
> > 
> > method. I have rendering code that eats a dom tree and spits out a
> > java.awt.Image or GIF or whatsoever. Looking at the SVG 
> extension code
> > confused me more than it helped. From the list archives I could not
> > derive a
> > cookbook what to do.
> > 
> > - What class do I have to extend: Area (like SVGArea) or 
> ExtensionObj?
> 
> You will likely need to extend FObj.
> 
> > - How is this new class going to get the DOM tree inside the
> > fo:instream-foreign-object element?
> 
> The same what that SVG gets the DOM
> 
> 
> > - How is this new class going to pass the rendered image to FOP?
> 
> ??
> If you want SVG for the output then just do what the SVG 
> does, ie. put the 
> SVG DOM into an SVGArea.
> 
> > - How do I correctly register the new class so FOP will call it?
> 
> As on the website
> "include the following file 
> "/META-INF/services/org.apache.fop.fo.ElementMapping". In 
> this file you 
> need to put the fully qualified classname of your element 
> mappings class. 
> This class must implement the "org.apache.fop.fo.ElementMapping" 
> interface."
> 
> 
> > - What happens if I cannot provide name spaces on the elements?
> 
> You must have a separate namespace.
> 
> -
> 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 Extensions

2002-01-14 Thread Keiron Liddle

On 2002.01.14 10:25 Software AG wrote:
> Hi.
> 
> Having downloaded fop 0.20.2-bin and -src, I had read the documentation
> about extensions. There is says to add my own extension, I better had a
> look
> at the source in org.apache.fop.extension.  Unfortunately the only
> documented class is ExtensionObj, stating to be "base class for extension
> objects".
> This is why I had to ask the list.

"extensions objects" - means object (classes) that implement the extension 
called "extension" or ext.


> 
> What I have is code that can render data from a DOM tree and gives me a
> java.awt.Image, which I can then use in applications or convert to GIF
> images.

The SVG is something that gets a DOM tree and creates an area.
So look at how svg is done for reading your DOM tree.

> Now I want to reuse that code within FOP. I assume in your words
> this means I want an area in the output, but I really do not know what an
> area actually is. For me it sounds more like graphics, but I do not want
> to
> use SVG since I'd have to recode what is already there.

Everything that appears on your page is in an area, text, lines, images, 
svg etc.
The process is like so (I'm sure this information is available somewhere) :
- sax events create an FO tree
- the fo tree is layed out into an area tree
- the area tree is rendered to the output

So when the sax events are creating an fo tree you will want to also be 
create an FObj (this is a class in the fo tree).
When the fo tree is being layed out your fo object will also be layed out. 
To get anything in the output it will need to create an area.

> So if I choose 1 (see below), I need to do "a similar sort of thing to
> all
> other fo objects". Does this mean I have to extend Area or FObj?
> 
> For my understanding, I have to extend ExtensionObj, which also is an
> FObj
> and override the layout(Area) method. But then I do not know how to
> insert
> the image into the Area (do I have to extend that also?) and how to
> retrieve
> the DOM source (maybe that is done via the PropertyLists?).

DOM Source? what is that?

> Hiran

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




Confused with Fop extensions, distinct.

2002-04-16 Thread Rich Van Deren (万达仁)
I have tried to read the docs.   I had used distinct before but not in an embedded application.

Function not supported.   Is my error message.

I have inclued my stack Trace.  My includes in my application. and my stylesheet.
Thanks in advance for any help you can give.

  distinct used here.

Trace:
java.lang.RuntimeException: Function not supported!
at org.apache.xml.utils.UnImplNode.error(UnImplNode.java:87)
at org.apache.xml.utils.UnImplNode.getNodeValue(UnImplNode.java:570)
at org.apache.xalan.lib.Extensions.distinct(Extensions.java:210)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:332)
at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:253)
at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:141)
at org.apache.xpath.XPath.execute(XPath.java:269)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:388)
at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.jav

stylesheet:


xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan"
>










page-height="29.7cm" 
page-width="21cm"
margin-top="1.5cm" 
margin-bottom="2cm" 
margin-left="2.5cm" 
margin-right="2.5cm">









font-size="10pt" 
font-family="serif" 
line-height="14pt" >
My Resume - p. 

 



















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="10pt"
space-after.optimum="9pt"
text-align="start"
padding-top="3pt">

provisional-label-separation=".35cm">

start-indent="0mm" end-indent="label-end()">
Work:

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">
Home: 

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">  

start-indent="body-start()">










start-indent="0mm" end-indent="label-end()">
  

start-indent="body-start()">








start-indent="0mm" end-indent="label-end()">
Email: 

start-indent="body-start()">


  





start-indent="0mm" end-indent="label-end()">
Resume URLs: 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.html
vanderne pacbell Resume html	




start-indent="0mm" end-indent="label-end()">
 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.pdf
vanderne pacbell Resume.pdf





	





font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Education



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="4pt"
space-after.optimum="3pt"
text-align="start"
padding-top="3pt">















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Experience



font-family="sans-serif" 
line-height="13pt"
space-after.optimum="3pt"
space-before.optimum="3pt"
text-align="justify">










font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="cente

Confused with Fop extensions, distinct.

2002-04-16 Thread Rich Van Deren (万达仁)
I have tried to read the docs.   I had used distinct before but not in an embedded application.

Function not supported.   Is my error message.

I have inclued my stack Trace.  My includes in my application. and my stylesheet.
Thanks in advance for any help you can give.

  distinct used here.

Trace:
java.lang.RuntimeException: Function not supported!
at org.apache.xml.utils.UnImplNode.error(UnImplNode.java:87)
at org.apache.xml.utils.UnImplNode.getNodeValue(UnImplNode.java:570)
at org.apache.xalan.lib.Extensions.distinct(Extensions.java:210)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:332)
at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:253)
at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:141)
at org.apache.xpath.XPath.execute(XPath.java:269)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:388)
at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.jav

stylesheet:


xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan"
>










page-height="29.7cm" 
page-width="21cm"
margin-top="1.5cm" 
margin-bottom="2cm" 
margin-left="2.5cm" 
margin-right="2.5cm">









font-size="10pt" 
font-family="serif" 
line-height="14pt" >
My Resume - p. 

 



















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="10pt"
space-after.optimum="9pt"
text-align="start"
padding-top="3pt">

provisional-label-separation=".35cm">

start-indent="0mm" end-indent="label-end()">
Work:

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">
Home: 

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">  

start-indent="body-start()">










start-indent="0mm" end-indent="label-end()">
  

start-indent="body-start()">








start-indent="0mm" end-indent="label-end()">
Email: 

start-indent="body-start()">


  





start-indent="0mm" end-indent="label-end()">
Resume URLs: 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.html
vanderne pacbell Resume html	




start-indent="0mm" end-indent="label-end()">
 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.pdf
vanderne pacbell Resume.pdf





	





font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Education



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="4pt"
space-after.optimum="3pt"
text-align="start"
padding-top="3pt">















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Experience



font-family="sans-serif" 
line-height="13pt"
space-after.optimum="3pt"
space-before.optimum="3pt"
text-align="justify">










font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="cente

Confused with Fop extensions, distinct.

2002-04-16 Thread Rich Van Deren (万达仁)

I have tried to read the docs.   I had used distinct before but not in an embedded application.

Function not supported.   Is my error message.

I have inclued my stack Trace.  My includes in my application. and my stylesheet.
Thanks in advance for any help you can give.

  distinct used here.

Trace:
java.lang.RuntimeException: Function not supported!
at org.apache.xml.utils.UnImplNode.error(UnImplNode.java:87)
at org.apache.xml.utils.UnImplNode.getNodeValue(UnImplNode.java:570)
at org.apache.xalan.lib.Extensions.distinct(Extensions.java:210)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.xalan.extensions.ExtensionHandlerJavaClass.callFunction(ExtensionHandlerJavaClass.java:332)
at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:253)
at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:141)
at org.apache.xpath.XPath.execute(XPath.java:269)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:388)
at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.jav

stylesheet:


xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan"
>










page-height="29.7cm" 
page-width="21cm"
margin-top="1.5cm" 
margin-bottom="2cm" 
margin-left="2.5cm" 
margin-right="2.5cm">









font-size="10pt" 
font-family="serif" 
line-height="14pt" >
My Resume - p. 

 



















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="10pt"
space-after.optimum="9pt"
text-align="start"
padding-top="3pt">

provisional-label-separation=".35cm">

start-indent="0mm" end-indent="label-end()">
Work:

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">
Home: 

start-indent="body-start()">






start-indent="0mm" end-indent="label-end()">  

start-indent="body-start()">










start-indent="0mm" end-indent="label-end()">
  

start-indent="body-start()">








start-indent="0mm" end-indent="label-end()">
Email: 

start-indent="body-start()">


mailto:',Contact/Email)"/>  





start-indent="0mm" end-indent="label-end()">
Resume URLs: 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.html
vanderne pacbell Resume html	




start-indent="0mm" end-indent="label-end()">
 

start-indent="body-start()">


http://home.pacbell.net/vanderen/Resume.pdf
vanderne pacbell Resume.pdf





	





font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Education



font-family="sans-serif" 
line-height="14pt"
space-before.optimum="4pt"
space-after.optimum="3pt"
text-align="start"
padding-top="3pt">















font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
color="white"
text-align="center"
>
Experience



font-family="sans-serif" 
line-height="13pt"
space-after.optimum="3pt"
space-before.optimum="3pt"
text-align="justify">










font-family="sans-serif" 
line-height="24pt"
space-before.optimum="15pt"
space-after.optimum="15pt"
background-color="blue"
colo

FOP extensions and reading the properties

2001-12-20 Thread Torben Nielsen

Hi

I have a problem with the extension in Fop

Very short what I'm doing :
I'm using Fop to read a XML file with a link to an EPS file.
The EPS file is read, and the information is written out as OPI instruction
to a PS file.
The PS file is then processed in our OPI server.

(I do know that FOP doesn't support EPS, and that the PS image render
doesn't work !)

I have added my own java class in package package org.apache.fop.extensions
(OpiObject.java)
and included the deffinition in 'ExtensionElementMapping' and the XSL file

http://xml.apache.org/fop/extensions";>



I get the class called correctly but I can't get any of the attributtes to
be read correctly

 [ERROR]: property 'height' ignored
 [ERROR]: property 'src' ignored

I have read the quidelines on your web page ! But I'm I missing something
???

Br/ Torben Nielsen
Pine Tree Systems, Denmark


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




Re: Confused with Fop extensions, distinct.

2002-04-16 Thread J.Pietschmann

Rich Van Deren wrote:
> I have tried to read the docs. I had used distinct before but not in an 
> embedded application.
> Function not supported. Is my error message.
...
>  select="xalan:distinct(/Resume/WorkHistoryInfo/...

This is an extension function. You appear to have
a problem with the Xalan installation which is used
by your embedded FOP.

Either your application uses an outdated Xalan version
(as for example WebSphere 3.x does), or extension
functions have been disabled. Find a Xalan version
which works and install it so that your application
uses it. Consult the manuals of your application for
how to do this, usually you have to copy your Xalan
jars into a certain directory, and/or adding them
to the classpath.

Alternatively, get rid of the extension function and
use Munchean Grouping. Start here:
   http://www.jenitennison.com/xslt/keys.html

J.Pietschmann


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




Re: Confused with Fop extensions, distinct.

2002-04-16 Thread Jeremias Maerki

Maybe the namespace declaration for the Xalan extensions is missing:

xmlns:xalan="http://xml.apache.org/xalan";

> Rich Van Deren wrote:
> > I have tried to read the docs. I had used distinct before but not in an 
> > embedded application.
> > Function not supported. Is my error message.
> ...
> >  > select="xalan:distinct(/Resume/WorkHistoryInfo/...
> 
> This is an extension function. You appear to have
> a problem with the Xalan installation which is used
> by your embedded FOP.
> 
> Either your application uses an outdated Xalan version
> (as for example WebSphere 3.x does), or extension
> functions have been disabled. Find a Xalan version
> which works and install it so that your application
> uses it. Consult the manuals of your application for
> how to do this, usually you have to copy your Xalan
> jars into a certain directory, and/or adding them
> to the classpath.
> 
> Alternatively, get rid of the extension function and
> use Munchean Grouping. Start here:
>http://www.jenitennison.com/xslt/keys.html

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +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]




Re: Confused with Fop extensions, distinct.

2002-04-17 Thread John Austin

On Tuesday 16 April 2002 11:13, you wrote:
> I have tried to read the docs.   I had used distinct before but not
> in an embedded application.
>
> Function not supported.   Is my error message.
>
> I have inclued my stack Trace.  My includes in my application. and my
> stylesheet.
> Thanks in advance for any help you can give.

Check your spelling in namespace declarations and make certain the 
class name is coirrect for the version of Xalan you are using.


I posted the following to cocoon-users a few weeks ago:


This note is mostly for the benefit of anyone else searching for help 
with Redirect. Sorry if Xalan is a bit off topic for Cocoon2, but I 
expect that a lot of XSLT users will be using Cocoon as a framework for 
Xalan-J/XSLT-based applications.

I spotted Redirect in Chapter 8(?) of "XSLT" by Doug Tidwell, August 
2001, O'Reilly and Associates. It does work in Cocoon2 but I had a few 
problems getting it to run. I finally solved it by looking at the 
Xalan-J docs at xml.apache.org as well as the source code for Redirect.

The Redirect class seems to have moved from 
org.apache.xalan.xslt.extensions.Redirect to the more concise
org.apache.xalan.lib.Redirect.

The comments in Redirect are actually useful! (thank you Mr Boag!)

It appears that you need to include several namespaces in the 
stylesheet tag. This was another source of 'the fog of war' for me.

http://xml.apache.org/xslt";
 xmlns:redirect="org.apache.xalan.lib.Redirect"
 extension-element-prefixes="redirect"
 ... rest omitted ...

This did not work for me when I followed examples from various sources.

I have one minor complaint about Redirect (may apply to all extensions).
This facility is terrific but it is strangely silent when things go 
wrong. For example, I used file="concat(... at one point and created a 
directory named "concat(...".

When I had mis-spelled namespace URI's nothing worked and it did so 
silently. When the lxslt declaration was missing ... same thing. I know 
I had perms wrong and was rewarded again with silence.

Thanks again. Hope this helps.

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




cvs commit: xml-fop/src/java/org/apache/fop/extensions Bookmarks.java

2003-08-20 Thread vmote
vmote   2003/08/20 09:35:27

  Modified:src/java/org/apache/fop/apps Driver.java
   src/java/org/apache/fop/control Document.java
   src/java/org/apache/fop/extensions Bookmarks.java
  Log:
  move some fields and methods from Driver to Document
  
  Revision  ChangesPath
  1.30  +7 -56 xml-fop/src/java/org/apache/fop/apps/Driver.java
  
  Index: Driver.java
  ===
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/apps/Driver.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Driver.java   19 Aug 2003 22:17:57 -  1.29
  +++ Driver.java   20 Aug 2003 16:35:27 -  1.30
  @@ -59,8 +59,6 @@
   import org.apache.fop.fo.FOUserAgent;
   import org.apache.fop.fo.FOInputHandler;
   import org.apache.fop.fo.FOTreeHandler;
  -import org.apache.fop.fo.FOTreeListener;
  -import org.apache.fop.fo.FOTreeEvent;
   import org.apache.fop.area.Title;
   import org.apache.fop.fo.pagination.PageSequence;
   import org.apache.fop.mif.MIFHandler;
  @@ -138,7 +136,7 @@
* driver.render(parser, fileInputSource(args[0]));
* 
*/
  -public class Driver implements LogEnabled, FOTreeListener {
  +public class Driver implements LogEnabled {
   
   /**
* private constant to indicate renderer was not defined.
  @@ -236,12 +234,6 @@
   private Logger log = null;
   private FOUserAgent userAgent = null;
   
  -/**
  - * The current AreaTree for the PageSequence being rendered.
  - */
  -private AreaTree areaTree;
  -private AreaTreeModel atModel;
  -
   private Document currentDocument = null;
   
   /**
  @@ -597,11 +589,11 @@
   try {
   if (foInputHandler instanceof FOTreeHandler) {
   FOTreeHandler foTreeHandler = (FOTreeHandler)foInputHandler;
  -foTreeHandler.addFOTreeListener(this);
  -this.areaTree = new AreaTree();
  -this.atModel = AreaTree.createRenderPagesModel(renderer);
  +foTreeHandler.addFOTreeListener(currentDocument);
  +currentDocument.areaTree = new AreaTree();
  +currentDocument.atModel = AreaTree.createRenderPagesModel(renderer);
   //this.atModel = new CachedRenderPagesModel(renderer);
  -areaTree.setTreeModel(atModel);
  +currentDocument.areaTree.setTreeModel(currentDocument.atModel);
   }
   /**
The following statement triggers virtually all of the processing
  @@ -619,7 +611,7 @@
   parser.parse(source);
   if (foInputHandler instanceof FOTreeHandler) {
   FOTreeHandler foTreeHandler = (FOTreeHandler)foInputHandler;
  -foTreeHandler.removeFOTreeListener(this);
  +foTreeHandler.removeFOTreeListener(currentDocument);
   }
   } catch (SAXException e) {
   if (e.getException() instanceof FOPException) {
  @@ -661,7 +653,7 @@
   initialize();
   }
   
  -if (renderer == null && rendererType != RENDER_RTF 
  +if (renderer == null && rendererType != RENDER_RTF
   && rendererType != RENDER_MIF) {
   setRenderer(RENDER_PDF);
   }
  @@ -681,47 +673,6 @@
   } else {
   render(reader, source);
   }
  -}
  -
  -/**
  - * Required by the FOTreeListener interface. It handles an
  - * FOTreeEvent that is fired when a PageSequence object has been completed.
  - * @param event the FOTreeEvent that was fired
  - * @throws FOPException for errors in building the PageSequence
  - */
  -public void foPageSequenceComplete (FOTreeEvent event) throws FOPException {
  -PageSequence pageSeq = event.getPageSequence();
  -Title title = null;
  -if (pageSeq.getTitleFO() != null) {
  -title = pageSeq.getTitleFO().getTitleArea();
  -}
  -areaTree.startPageSequence(title);
  -pageSeq.format(areaTree);
  -}
  -
  -/**
  - * Required by the FOTreeListener interface. It handles an FOTreeEvent that
  - * is fired when the Document has been completely parsed.
  - * @param event the FOTreeEvent that was fired
  - * @throws SAXException for parsing errors
  - */
  -public void foDocumentComplete (FOTreeEvent event) throws SAXException {
  -//processAreaTree(atModel);
  -try {
  -areaTree.endDocument();
  -renderer.stopRenderer();
  -} catch (IOException ex) {
  -throw new SAXException(ex);
  -}
  -}
  -
  -/**
  - * Get the area tree for this layout handler.
  - *
  - * @return the area tree for this document
  - */
  -public AreaTree getAreaTree() {
  

cvs commit: xml-fop/src/org/apache/fop/extensions ContinuedLabel.java ExtensionElementMapping.java

2002-11-24 Thread klease
klease  2002/11/24 13:29:11

  Modified:src/org/apache/fop/extensions Tag: fop-0_20_2-maintain
ExtensionElementMapping.java
  Added:   src/org/apache/fop/extensions Tag: fop-0_20_2-maintain
ContinuedLabel.java
  Log:
  Implement a continued-label extension for use in tables
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.4.2.4   +3 -1  
xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java
  
  Index: ExtensionElementMapping.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java,v
  retrieving revision 1.4.2.3
  retrieving revision 1.4.2.4
  diff -u -r1.4.2.3 -r1.4.2.4
  --- ExtensionElementMapping.java  19 Nov 2002 01:03:58 -  1.4.2.3
  +++ ExtensionElementMapping.java  24 Nov 2002 21:29:11 -  1.4.2.4
  @@ -25,6 +25,7 @@
   foObjs = new HashMap();
   foObjs.put("outline", Outline.maker());
   foObjs.put("label", Label.maker());
  +foObjs.put("continued-label", ContinuedLabel.maker());
   }
   }
   
  @@ -45,3 +46,4 @@
   }
   
   }
  +
  
  
  
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +108 -0    xml-fop/src/org/apache/fop/extensions/Attic/ContinuedLabel.java
  
  
  
  

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




cvs commit: xml-fop/src/java/org/apache/fop/extensions - New directory

2003-03-11 Thread jeremias
jeremias2003/03/11 04:52:19

  xml-fop/src/java/org/apache/fop/extensions - New directory

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



cvs commit: xml-fop/src/org/apache/fop/extensions ExtensionElementMapping.java ExtensionObj.java Label.java Outline.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:08:56

  Removed: src/org/apache/fop/extensions Tag: FOP_0-20-0_Alt-Design
ExtensionElementMapping.java ExtensionObj.java
Label.java Outline.java
  Log:
  Removed for experimental environment

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




cvs commit: xml-fop/src/org/apache/fop/extensions ContinuedLabel.java Destination.java ExtensionElementMapping.java ExtensionObj.java Label.java Outline.java

2003-02-25 Thread jeremias
jeremias2003/02/25 03:05:54

  Modified:src/org/apache/fop/extensions Tag: fop-0_20_2-maintain
ContinuedLabel.java Destination.java
ExtensionElementMapping.java ExtensionObj.java
Label.java Outline.java
  Log:
  Switched to long licence
  Cleanup of tab characters where necessary
  Cleanup of unused imports where necessary
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.2   +49 -5 xml-fop/src/org/apache/fop/extensions/Attic/ContinuedLabel.java
  
  Index: ContinuedLabel.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/extensions/Attic/ContinuedLabel.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- ContinuedLabel.java   24 Nov 2002 21:29:11 -  1.1.2.1
  +++ ContinuedLabel.java   25 Feb 2003 11:05:52 -  1.1.2.2
  @@ -1,9 +1,53 @@
   /*
* $Id$
  - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  - * For details on use and redistribution please refer to the
  - * LICENSE file included with these sources.
  - */
  + * 
  + *The Apache Software License, Version 1.1
  + * 
  + * 
  + * Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + * 
  + * Redistribution and use in source and binary forms, with or without modifica-
  + * tion, are permitted provided that the following conditions are met:
  + * 
  + * 1. Redistributions of source code must retain the above copyright notice,
  + *this list of conditions and the following disclaimer.
  + * 
  + * 2. Redistributions in binary form must reproduce the above copyright notice,
  + *this list of conditions and the following disclaimer in the documentation
  + *and/or other materials provided with the distribution.
  + * 
  + * 3. The end-user documentation included with the redistribution, if any, must
  + *include the following acknowledgment: "This product includes software
  + *developed by the Apache Software Foundation (http://www.apache.org/)."
  + *Alternately, this acknowledgment may appear in the software itself, if
  + *and wherever such third-party acknowledgments normally appear.
  + * 
  + * 4. The names "FOP" and "Apache Software Foundation" must not be used to
  + *endorse or promote products derived from this software without prior
  + *written permission. For written permission, please contact
  + *[EMAIL PROTECTED]
  + * 
  + * 5. Products derived from this software may not be called "Apache", nor may
  + *"Apache" appear in their name, without prior written permission of the
  + *Apache Software Foundation.
  + * 
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  + * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  + * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + * 
  + * 
  + * This software consists of voluntary contributions made by many individuals
  + * on behalf of the Apache Software Foundation and was originally created by
  + * James Tauber <[EMAIL PROTECTED]>. For more information on the Apache
  + * Software Foundation, please see <http://www.apache.org/>.
  + */ 
   package org.apache.fop.extensions;
   
   import org.apache.fop.datatypes.IDReferences;
  
  
  
  1.1.2.2   +7 -60 xml-fop/src/org/apache/fop/extensions/Attic/Destination.java
  
  Index: Destination.java
  =======
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/extensions/Attic/Destination.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- Destination.java  7 Feb 2003 00:10:45 -   1.1.2.1
  +++ Destination.java  25 Feb 2003 11:05:52 -  1.1.2.2
  @@ -1,61 +1,8 @@
  -package org.apache.fop.extensions;
  -
  -import org.apache.fop.fo.*;
  -import org.apache.fop.datatypes.IDReference

cvs commit: xml-fop/src/org/apache/fop/extensions Outline.java ExtensionElementMapping.java Label.java BookmarkData.java ExtensionObj.java Bookmarks.java

2003-03-05 Thread jeremias
jeremias2003/03/05 12:40:18

  Modified:src/org/apache/fop/extensions Outline.java
ExtensionElementMapping.java Label.java
BookmarkData.java ExtensionObj.java Bookmarks.java
  Log:
  Switched to long licence
  
  Revision  ChangesPath
  1.10  +49 -6 xml-fop/src/org/apache/fop/extensions/Outline.java
  
  Index: Outline.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/extensions/Outline.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Outline.java  13 Sep 2002 09:29:49 -  1.9
  +++ Outline.java  5 Mar 2003 20:40:18 -   1.10
  @@ -1,10 +1,53 @@
   /*
* $Id$
  - * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
  - * For details on use and redistribution please refer to the
  - * LICENSE file included with these sources.
  - */
  -
  + * 
  + *The Apache Software License, Version 1.1
  + * 
  + * 
  + * Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + * 
  + * Redistribution and use in source and binary forms, with or without modifica-
  + * tion, are permitted provided that the following conditions are met:
  + * 
  + * 1. Redistributions of source code must retain the above copyright notice,
  + *this list of conditions and the following disclaimer.
  + * 
  + * 2. Redistributions in binary form must reproduce the above copyright notice,
  + *this list of conditions and the following disclaimer in the documentation
  + *and/or other materials provided with the distribution.
  + * 
  + * 3. The end-user documentation included with the redistribution, if any, must
  + *include the following acknowledgment: "This product includes software
  + *developed by the Apache Software Foundation (http://www.apache.org/)."
  + *Alternately, this acknowledgment may appear in the software itself, if
  + *and wherever such third-party acknowledgments normally appear.
  + * 
  + * 4. The names "FOP" and "Apache Software Foundation" must not be used to
  + *endorse or promote products derived from this software without prior
  + *written permission. For written permission, please contact
  + *[EMAIL PROTECTED]
  + * 
  + * 5. Products derived from this software may not be called "Apache", nor may
  + *"Apache" appear in their name, without prior written permission of the
  + *Apache Software Foundation.
  + * 
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  + * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  + * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  + * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + * 
  + * 
  + * This software consists of voluntary contributions made by many individuals
  + * on behalf of the Apache Software Foundation and was originally created by
  + * James Tauber <[EMAIL PROTECTED]>. For more information on the Apache
  + * Software Foundation, please see <http://www.apache.org/>.
  + */ 
   package org.apache.fop.extensions;
   
   import org.apache.fop.fo.FONode;
  
  
  
  1.10  +49 -6 
xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java
  
  Index: ExtensionElementMapping.java
  ===========
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ExtensionElementMapping.java  13 Sep 2002 09:29:49 -  1.9
  +++ ExtensionElementMapping.java  5 Mar 2003 20:40:18 -   1.10
  @@ -1,10 +1,53 @@
   /*
* $Id$
  - * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
  - * For details on use and redistribution please refer to the
  - * LICENSE file included with these sources.
  - */
  -
  + * ==