CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfTableRow.java,1.12,1.13 ITableAttributes.java,1.7,1.8

Peter Herweg <[email protected]> Thu, 03 Jul 2003 10:51:54 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc
In directory sc8-pr-cvs1:/tmp/cvs-serv16604/src/org/jfor/jfor/rtflib/rtfdoc

Modified Files:
	RtfTableRow.java ITableAttributes.java 
Log Message:
support for height attribute at table-row tag added

Index: RtfTableRow.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfTableRow.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** RtfTableRow.java	29 Jun 2003 22:36:24 -0000	1.12
--- RtfTableRow.java	3 Jul 2003 17:51:52 -0000	1.13
***************
*** 62,65 ****
--- 62,68 ----
  // $Id$
  // $Log$
+ // Revision 1.13  2003/07/03 17:51:52  pherweg
+ // support for height attribute at table-row tag added
+ //
  // Revision 1.12  2003/06/29 22:36:24  pherweg
  // support for number-rows-spanned added
***************
*** 219,222 ****
--- 222,228 ----
          writeAttributes(m_attrib,ITableAttributes.CELL_BORDER);
          writeAttributes(m_attrib,BorderAttributesConverter.BORDERS);
+         
+         if(m_attrib.isSet(ITableAttributes.ROW_HEIGHT))
+             writeOneAttribute(ITableAttributes.ROW_HEIGHT,m_attrib.getValue(ITableAttributes.ROW_HEIGHT));
  
          /**
***************
*** 342,345 ****
--- 348,353 ----
            index++; // Added by Boris POUDEROUS on 2002/07/02
          }
+         
+         
  
          // now children can write themselves, we have the correct RTF prefix code

Index: ITableAttributes.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/ITableAttributes.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ITableAttributes.java	12 Aug 2002 09:40:02 -0000	1.7
--- ITableAttributes.java	3 Jul 2003 17:51:52 -0000	1.8
***************
*** 116,119 ****
--- 116,120 ----
      //Table row attributes
      String ROW_KEEP_TOGETHER = "trkeep";
+     String ROW_HEIGHT = "trrh";
  
      //This control word is nonexistent in RTF, used



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01