CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfTableCell.java,1.5,1.6

Marra Roberto <[email protected]> Thu, 11 Jul 2002 07:08:15 -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-serv4119

Modified Files:
	RtfTableCell.java 
Log Message:
Do not create useless paragraph

Index: RtfTableCell.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfTableCell.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** RtfTableCell.java	28 Dec 2001 17:08:50 -0000	1.5
--- RtfTableCell.java	11 Jul 2002 14:08:13 -0000	1.6
***************
*** 36,39 ****
--- 36,42 ----
  // $Id$
  // $Log$
+ // Revision 1.6  2002/07/11 14:08:13  rmarra
+ // Do not create useless paragraph
+ //
  // Revision 1.5  2001/12/28 17:08:50  bdelacretaz
  // V0.5.2 - first integration of Chris Scott's changes
***************
*** 226,232 ****
  		// TODO this is what causes the extra spaces in nested table of test 004-spacing-in-tables.fo,
  		// but if is not here we generate invalid RTF for word97
  		if(!containsText()) {
  			writeControlWord("intbl");
! 			writeControlWord("par");
  		}
  
--- 229,239 ----
  		// TODO this is what causes the extra spaces in nested table of test 004-spacing-in-tables.fo,
  		// but if is not here we generate invalid RTF for word97
+ 		
  		if(!containsText()) {
  			writeControlWord("intbl");
! 
! 			//R.Marra this create useless paragraph 
! 			//Seem working into Word97 with the "intbl" only
! //			writeControlWord("par");
  		}
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf