1 17 18 19 20 package org.apache.fop.layoutmgr.table; 21 22 import org.apache.fop.fo.flow.TableBody; 23 import org.apache.fop.fo.flow.TableColumn; 24 import org.apache.fop.fo.flow.TableRow; 25 26 29 public class EmptyGridUnit extends GridUnit { 30 31 private TableRow row; 32 private TableBody body; 33 34 40 public EmptyGridUnit(TableRow row, TableColumn column, TableBody body, 41 int startCol) { 42 super(null, null, column, startCol, 0); 43 this.row = row; 44 this.body = body; 45 } 46 47 48 public boolean isPrimary() { 49 return true; 50 } 51 52 53 public TableBody getBody() { 54 return this.body; 55 } 56 57 58 public TableRow getRow() { 59 return this.row; 60 } 61 } 62 | Popular Tags |