public bool IsRepeatHeader() { bool flag = false; CT_TrPr trPr = this.GetTrPr(); if (trPr.SizeOfTblHeaderArray() > 0) { flag = trPr.GetTblHeaderList()[0].val == ST_OnOff.on; } return(flag); }
/** * Return true if a table's header row should be repeated at the top of a * table split across pages. * @return true if table's header row should be repeated at the top of each * page of table, false otherwise. */ public bool IsRepeatHeader() { bool repeat = false; CT_TrPr trpr = GetTrPr(); if (trpr.SizeOfTblHeaderArray() > 0) { CT_OnOff rpt = trpr.GetTblHeaderList()[0]; repeat = rpt.val == (ST_OnOff.on); } return(repeat); }