public bool IsCantSplitRow() { bool flag = false; CT_TrPr trPr = this.GetTrPr(); if (trPr.SizeOfCantSplitArray() > 0) { flag = trPr.GetCantSplitList()[0].val == ST_OnOff.on; } return(flag); }
/** * Return true if the "can't split row" value is true. The logic for this * attribute is a little unusual: a TRUE value means DON'T allow rows to * split, FALSE means allow rows to split. * @return true if rows can't be split, false otherwise. */ public bool IsCantSplitRow() { bool isCant = false; CT_TrPr trpr = GetTrPr(); if (trpr.SizeOfCantSplitArray() > 0) { CT_OnOff onoff = trpr.GetCantSplitList()[0]; isCant = onoff.val == (ST_OnOff.on); } return(isCant); }