private void importTable(Table table) {
        this.rows = new ArrayList();
        this.tableWidthPercent = table.getWidth();
        this.proportionalWidths = table.getProportionalWidths();
        this.cellPadding = (float) (table.getPadding() * TWIPS_FACTOR);
        this.cellSpacing = (float) (table.getSpacing() * TWIPS_FACTOR);
        this.borders = new RtfBorderGroup(this.document, RtfBorder.ROW_BORDER, table.getBorder(), table.getBorderWidth(), table.getBorderColor());
        this.alignment = table.getAlignment();
        
        int i = 0;
        Iterator rowIterator = table.iterator();
        while(rowIterator.hasNext()) {
            this.rows.add(new RtfRow(this.document, this, (Row) rowIterator.next(), i));
            i++;
        }
        for(i = 0; i < this.rows.size(); i++) {
            ((RtfRow) this.rows.get(i)).handleCellSpanning();
            ((RtfRow) this.rows.get(i)).cleanRow();
        }
        this.headerRows = table.getLastHeaderRow();
        this.cellsFitToPage = table.isCellsFitPage();
        this.tableFitToPage = table.isTableFitsPage();
        if(!Float.isNaN(table.getOffset())) {
            this.offset = (int) (table.getOffset() * 2);
        }
    }
private void importTable ( Table table ) { this . rows = new ArrayList ( ) ; this . tableWidthPercent = table . getWidth ( ) ; this . proportionalWidths = table . getProportionalWidths ( ) ; this . cellPadding = ( float ) ( table . getPadding ( ) * TWIPS_FACTOR ) ; this . cellSpacing = ( float ) ( table . getSpacing ( ) * TWIPS_FACTOR ) ; this . borders = new RtfBorderGroup ( this . document , RtfBorder . ROW_BORDER , table . getBorder ( ) , table . getBorderWidth ( ) , table . getBorderColor ( ) ) ; this . alignment = table . getAlignment ( ) ; int i = 0 ; Iterator rowIterator = table . iterator ( ) ; while ( rowIterator . hasNext ( ) ) { this . rows . add ( new RtfRow ( this . document , this , ( Row ) rowIterator . next ( ) , i ) ) ; i ++ ; } for ( i = 0 ; i < this . rows . size ( ) ; i ++ ) { ( ( RtfRow ) this . rows . get ( i ) ) . handleCellSpanning ( ) ; ( ( RtfRow ) this . rows . get ( i ) ) . cleanRow ( ) ; } this . headerRows = table . getLastHeaderRow ( ) ; this . cellsFitToPage = table . isCellsFitPage ( ) ; this . tableFitToPage = table . isTableFitsPage ( ) ; if ( ! Float . isNaN ( table . getOffset ( ) ) ) { this . offset = ( int ) ( table . getOffset ( ) * 2 ) ; } }
Imports the rows and settings from the Table into this
RtfTable.

@param table The source Table