CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc ITableAttributes.java,1.8,1.9 RtfTableRow.java,1.13,1.14
Peter Herweg <[email protected]> Sat, 30 Aug 2003 09:06:21 -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-serv1975/src/org/jfor/jfor/rtflib/rtfdoc
Modified Files:
ITableAttributes.java RtfTableRow.java
Log Message:
fo:rows inside fo:table-header are to be repeated on every page
Index: ITableAttributes.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/ITableAttributes.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ITableAttributes.java 3 Jul 2003 17:51:52 -0000 1.8
--- ITableAttributes.java 30 Aug 2003 16:06:19 -0000 1.9
***************
*** 77,80 ****
--- 77,82 ----
String ATTR_ROW_U_PADDING_LEFT = "trpaddfl";
String ATTR_ROW_U_PADDING_RIGHT = "trpaddfr";
+
+ String ATTR_HEADER = "trhdr";
// list of ALL ROW PADDING attributes, used to select them
Index: RtfTableRow.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfTableRow.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** RtfTableRow.java 3 Jul 2003 17:51:52 -0000 1.13
--- RtfTableRow.java 30 Aug 2003 16:06:19 -0000 1.14
***************
*** 62,65 ****
--- 62,68 ----
// $Id$
// $Log$
+ // Revision 1.14 2003/08/30 16:06:19 pherweg
+ // fo:rows inside fo:table-header are to be repeated on every page
+ //
// Revision 1.13 2003/07/03 17:51:52 pherweg
// support for height attribute at table-row tag added
***************
*** 204,208 ****
//if table is only one row long
! if(isFirstRow() && parentTable.isHighestRow(id)){
m_attrib.unset(ITableAttributes.ROW_BORDER_HORIZONTAL);
//or if row is the first row
--- 207,211 ----
//if table is only one row long
! /* if(isFirstRow() && parentTable.isHighestRow(id)){
m_attrib.unset(ITableAttributes.ROW_BORDER_HORIZONTAL);
//or if row is the first row
***************
*** 216,226 ****
m_attrib.unset(ITableAttributes.ROW_BORDER_BOTTOM);
m_attrib.unset(ITableAttributes.ROW_BORDER_TOP);
! }
}
writeAttributes(m_attrib,ITableAttributes.ROW_BORDER);
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));
--- 219,230 ----
m_attrib.unset(ITableAttributes.ROW_BORDER_BOTTOM);
m_attrib.unset(ITableAttributes.ROW_BORDER_TOP);
! }*/
}
+ writeAttributes(m_attrib,new String[]{ITableAttributes.ATTR_HEADER});
writeAttributes(m_attrib,ITableAttributes.ROW_BORDER);
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));
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf