OK, forget it. I'm obviously worse at explaining things than I thought. I don't have the time to chew this through. It should have been quick and painless, but obviously it isn't. Hopefully, someone else has a better solution.
I'm sorry for wasting your time writing this answer. Back to my JNI wrapper for FOP... Jeremias Maerki