arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: Using Raw Values~~ The reporting engine replaces placeholders with dynamically generated text. The template in RTF contains font definitions which will be replaced as well. This is usually not a problem if there is some text before and after the replaced value. But if you want to use a specific font only for the placeholder, it might be a problem. To solve this, simply define the font for the placeholder: <code> [MACHINE_NAME(FONT=Wingdings)] </code> The test code is simple: <code java> Bean bean = new Bean(); bean.put("PEACE", "A"); BeanNode node = new BeanNode(bean); RtfWorker w = new RtfWorker(); w.loadDocument(getTemplateInputStream("fontvalue.rtf")); w.fillInData(node); w.saveDocument(new FileOutputStream(getTempOutputFile("result_fontvalue.rtf"))); </code> The result RTF document will show you the peace fingers!