void commitRow(){
  if (rowInsretionPos == -1) {
    rows.addElement(currentRow);
  }
 else {
    rows.insertElementAt(currentRow,rowInsretionPos++);
  }
  if (curSegmentType != SEGMENT_TFOOT) {
    bodyInsertionPos++;
  }
  lastCommittedRow=currentRow;
  currentRow=new Vector();
}

void commitRow ( ) { if ( rowInsretionPos == - 1 ) { rows . addElement ( currentRow ) ; } else { rows . insertElementAt ( currentRow , rowInsretionPos ++ ) ; } if ( curSegmentType != SEGMENT_TFOOT ) { bodyInsertionPos ++ ; } lastCommittedRow = currentRow ; currentRow = new Vector ( ) ; }
commits the current row . this opens a new empty row .
