CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfSection.java,1.8,1.9
Bertrand Delacretaz <[email protected]> Sun, 14 Jul 2002 23:43:32 -0700
| Newsgroups | gmane.text.xml.jfor.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc In directory usw-pr-cvs1:/tmp/cvs-serv21094/src/org/jfor/jfor/rtflib/rtfdoc Modified Files: RtfSection.java Log Message: footer code contributed by Andreas Lambert <[email protected]> Index: RtfSection.java =================================================================== RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfSection.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RtfSection.java 12 Jul 2002 08:08:31 -0000 1.8 --- RtfSection.java 15 Jul 2002 06:43:30 -0000 1.9 *************** *** 63,66 **** --- 63,69 ---- // $Id$ // $Log$ + // Revision 1.9 2002/07/15 06:43:30 bdelacretaz + // footer code contributed by Andreas Lambert <[email protected]> + // // Revision 1.8 2002/07/12 08:08:31 bdelacretaz // License changed to jfor Apache-style license *************** *** 100,104 **** public class RtfSection extends RtfContainer ! implements IRtfParagraphContainer,IRtfTableContainer,IRtfListContainer,IRtfExternalGraphicContainer,IRtfBeforeContainer,IRtfParagraphKeepTogetherContainer { private RtfParagraph m_paragraph; --- 103,114 ---- public class RtfSection extends RtfContainer ! implements ! IRtfParagraphContainer, ! IRtfTableContainer, ! IRtfListContainer, ! IRtfExternalGraphicContainer, ! IRtfBeforeContainer, ! IRtfParagraphKeepTogetherContainer, ! IRtfAfterContainer { private RtfParagraph m_paragraph; *************** *** 107,110 **** --- 117,121 ---- private RtfExternalGraphic m_externalGraphic; private RtfBefore m_before; + private RtfAfter m_after; /** Create an RTF container as a child of given container */ *************** *** 159,162 **** --- 170,174 ---- } + /** IRtfBeforeContainer */ public RtfBefore newBefore(RtfAttributes attrs) throws IOException { closeAll(); *************** *** 165,169 **** } ! /** can be overridden to write RTF prefix code, what comes before our children */ --- 177,186 ---- } ! /** IRtfAfterContainer */ ! public RtfAfter newAfter(RtfAttributes attrs) throws IOException { ! closeAll(); ! m_after = new RtfAfter(this,m_writer,attrs); ! return m_after; ! } /** can be overridden to write RTF prefix code, what comes before our children */ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf