1 51 package com.lowagie.text.rtf; 52 53 import com.lowagie.text.Element; 54 import com.lowagie.text.HeaderFooter; 55 import com.lowagie.text.Phrase; 56 57 58 72 public class RtfHeaderFooter extends HeaderFooter { 73 74 75 private Element content = null; 76 77 78 83 public RtfHeaderFooter( Phrase before, Phrase after ) { 84 super( before, after ); 85 } 86 87 88 93 public RtfHeaderFooter( Phrase before, boolean numbered ) { 94 super( before, numbered ); 95 } 96 97 98 102 public RtfHeaderFooter( Element content ) { 103 super(new Phrase(content.toString()), false); 104 this.content = content; 105 } 106 107 108 111 public Element content() { 112 return content; 113 } 114 } 115 | Popular Tags |