Esempio n. 1
0
 public void setCell(SpreadSheetCell cell)
 {
     sheetArray[cell.getRowIndex(), cell.getColumnIndex()] = cell;
 }
Esempio n. 2
0
        public XmlWriter makeTagBlock(SpreadSheetCell sheetCell, XmlWriter xmlWriter)
        {
            //The main header for the cell block
            xmlWriter.WriteStartElement("SheetCell");
            //Add in the cell attributes
            xmlWriter.WriteElementString("Color", sheetCell.getColor().ToString());
            xmlWriter.WriteElementString("RowIndex", sheetCell.getRowIndex().ToString());
            xmlWriter.WriteElementString("ColumnIndex", sheetCell.getColumnIndex().ToString());
            xmlWriter.WriteElementString("Text", sheetCell.getText().ToString());
            //The end to the block (aka "</SheetCell>"
            xmlWriter.WriteEndElement();

            return xmlWriter;
        }