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~~ If you're creating RTF reports with RtfWorker, it's sometimes useful to directly write RTF syntax. This can be useful if you need a feature which it's not already implemented. Such a raw value can help you in that case. Here's a short example which creates a simple checkbox with Wingdings font: <code java> Bean bean = new Bean(); bean.put("CHECKBOX", new RawStringValue("{\\field{\\*\\fldinst SYMBOL 254 \\\\f \"Wingdings\" \\\\s 11}{\\fldrslt\\f10\\fs22}}")); BeanNode node = new BeanNode(bean); RtfWorker w = new RtfWorker(); w.loadDocument(getTemplateInputStream("rawvalues.rtf")); w.fillInData(node); w.saveDocument(new FileOutputStream(getTempOutputFile("result_rawvalues.rtf"))); </code> The template only contains: <code> [CHECKBOX] </code>