1 17 18 19 20 package org.apache.fop.render.rtf.rtflib.rtfdoc; 21 22 import java.io.IOException ; 23 import java.io.Writer ; 24 25 28 public class RtfGenerator extends RtfElement { 29 30 31 public RtfGenerator(RtfHeader h, Writer w) throws IOException { 32 super(h, w); 33 } 34 35 38 protected void writeRtfContent() throws IOException { 39 newLine(); 40 writeGroupMark(true); 41 writeStarControlWord("generator"); 42 writer.write("Apache XML Graphics RTF Library"); 43 writer.write(";"); 44 writeGroupMark(false); 45 } 46 47 50 public boolean isEmpty() { 51 return false; 52 } 53 54 } 55 | Popular Tags |