Fix for trace output in PDF and Office processor.