Apache FOP Code fix

Code fix
by
JM
:

Bugfix: Regions with non-standard names got ignored in RTF output leading to
missing headers and footers.