The class ExtensionObj is used in a particular way. Overriding it like you
have done will not do what you want.
You should extends the FObj class and in the layout method you should
insert the text that you want into the line area. The same as what is done
in the FOText class by adding your
Greetings all,
I'm learning to write extensions and I'm trying to start simple.
I think I've followed the directions on the Extensions page
(http://xml.apache.org/fop/extensions.html), but something
is still missing or incorrect.
I'm using JDK build 1.4.0-beta3-b84 with Fop0.20.2 on
Windows