/** * Converts a {@link MulBlankRecord} into an equivalent array of {@link BlankRecord}s */ public static BlankRecord[] ConvertBlankRecords(MulBlankRecord mbk) { BlankRecord[] mulRecs = new BlankRecord[mbk.NumColumns]; for (int k = 0; k < mbk.NumColumns; k++) { BlankRecord br = new BlankRecord(); br.Column = k + mbk.FirstColumn; br.Row = mbk.Row; br.XFIndex = mbk.GetXFAt(k); mulRecs[k] = br; } return(mulRecs); }
public void AddMultipleBlanks(MulBlankRecord mbr) { for (int j = 0; j < mbr.NumColumns; j++) { BlankRecord br = new BlankRecord(); br.Column = j + mbr.FirstColumn; br.Row = mbr.Row; br.XFIndex = (mbr.GetXFAt(j)); InsertCell(br); } }
/** * Converts a {@link MulBlankRecord} into an equivalent array of {@link BlankRecord}s */ public static BlankRecord[] ConvertBlankRecords(MulBlankRecord mbk) { BlankRecord[] mulRecs = new BlankRecord[mbk.NumColumns]; for (int k = 0; k < mbk.NumColumns; k++) { BlankRecord br = new BlankRecord(); br.Column = k + mbk.FirstColumn; br.Row = mbk.Row; br.XFIndex = mbk.GetXFAt(k); mulRecs[k] = br; } return mulRecs; }