private RowHeader CreateRowHeader(Table table)
{
RowHeader rowheader = new RowHeader (table);
int startColumnIndex = m_tableData.startcell .columnIndex ;
int endColumnIndex = m_tableData.endcell .columnIndex ;
Row row = new Row (table);
Cell cell = this.CreateNullStringCell (table);
row.Cells .Add (cell);
for(int i=startColumnIndex; i<=endColumnIndex; i++)
{
Cell tempCell = new Cell (table.Document);
tempCell.OfficeValueType ="string";
Paragraph paragraph = new Paragraph (m_document);
string content =((char)('A'+i-1)).ToString ()+"ĮŠ";
paragraph.TextContent .Add (new SimpleText (m_document ,content));
tempCell.Content .Add (paragraph);
row.Cells .Add (tempCell);
}
rowheader.RowCollection .Add (row);
return rowheader;
}