1 17 18 19 20 package org.apache.fop.render.rtf.rtflib.rtfdoc; 21 22 28 29 import java.io.Writer ; 30 import java.io.IOException ; 31 32 35 public class RtfPageArea 36 extends RtfContainer { 37 private RtfPage currentPage; 38 private RtfNull nullChild; 39 private RtfAttributes childAttributes; 40 41 42 RtfPageArea(RtfFile f, Writer w) throws IOException { 43 super(f, w); 44 } 45 46 52 public RtfPage newPage(RtfAttributes attr) throws IOException { 53 if (currentPage != null) { 54 currentPage.close(); 55 } 56 currentPage = new RtfPage(this, writer, attr); 57 58 return currentPage; 59 } 60 61 64 protected boolean okToWriteRtf() { 65 return true; 66 } 67 } | Popular Tags |