Hi,

I need to support embedding files as attachment when generating pdf file.

I've been
- registering my element (using element mapping class). the Attachment class
extends the AbstractGraphics

now, for the layout manager, i've been trying to extend the
AbstractGraphicsLayoutManager: however, the class defines a method abstract Area
getChildArea() that prevents from extending, unless from same package.

What i've then been doing was copying the AbstractGraphicsLayoutManager code
into my AttachmentLayoutManager that now extends LeafNodeLayoutManager.

1- Is there any reason the getChildArea () is restricted to classes in same
package ?
2- Should I do it another way ?

Thank you for your help

Daniel

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

Reply via email to