poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sack...@apache.org
Subject cvs commit: jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/usermodel Range.java Table.java
Date Sun, 11 Jul 2004 05:54:37 GMT
sackley     2004/07/10 22:54:37

  Modified:    src/scratchpad/src/org/apache/poi/hwpf/usermodel Range.java
                        Table.java
  Log:
  fixes for article
  
  Revision  Changes    Path
  1.11      +1 -1      jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
  
  Index: Range.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Range.java	11 Jul 2004 04:38:32 -0000	1.10
  +++ Range.java	11 Jul 2004 05:54:36 -0000	1.11
  @@ -545,7 +545,7 @@
         cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007'));
         cell.setTableRowEnd(props);
       }
  -    return new Table(_start, _start + (rows * (columns + 1)), this, 0);
  +    return new Table(_start, _start + (rows * (columns + 1)), this, 1);
     }
   
     /**
  
  
  
  1.5       +1 -1      jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java
  
  Index: Table.java
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Table.java	11 Jul 2004 04:38:32 -0000	1.4
  +++ Table.java	11 Jul 2004 05:54:36 -0000	1.5
  @@ -38,7 +38,7 @@
         Paragraph p = getParagraph(rowEnd);
         if (p.isTableRowEnd() && p.getTableLevel() == levelNum)
         {
  -        _rows.add(new TableRow(rowStart, rowEnd, this, levelNum));
  +        _rows.add(new TableRow(rowStart, rowEnd + 1, this, levelNum));
           rowStart = rowEnd;
         }
         rowEnd++;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org


Mime
View raw message