This is difficult. I've been experimenting with different techniques and haven't found anything easy. The PDF writer being used appears to be incredibly limited in terms of the supported styles. As an experiment I generated a ton of CSS styles and a table of matching text/blocks using them. It was depressing the amount of styles that are ignored.
That being said, I've handled this requirement in the past by using images. I'd generate images for all of the headers, then use a layout expression in the image to call the correct one. '/server/images/header_' + [query].[fieldname] + '.png'. Personally I hate this solution, gonna keep at it though.
------------------------------
Paul Mendelson
------------------------------