Ejemplo n.º 1
0
 public ISDWorksheetCell(object text__1, ISDDataType type__2, string styleID__3, string format__4)
 {
     Value   = text__1;
     Type    = type__2;
     StyleID = styleID__3;
     Format  = format__4;
 }
Ejemplo n.º 2
0
        // Add column to excel book, creates style for that column set's format
        // before call to this function empty row needs to be added
        protected internal void AddColumnToExcelBook(int column, string caption, ISDDataType type, int width, string format)
        {
            if (ISDExcelRow == null)
            {
                return;
            }

            ISDExcelRow.Cells.Add(new ISDWorksheetCell(caption, "HeaderRowStyle"));
            ISDExcelSheet.Table.Columns.Add(width);
        }
Ejemplo n.º 3
0
        // Add cell with data to existing row
        // column - column number to set correct format for this cell
        // name - column name
        // entityType - EntityType instance, that holds types definitions for this table
        // val - data value for this cell
        protected internal void AddCellToExcelRow(int column, ISDDataType type, object val, string format)
        {
            String styleName = "Style"; //name of the format style

            if (ISDExcelRow == null)
            {
                return;
            }

            ISDExcelRow.Cells.Add(new ISDWorksheetCell(val, type, (styleName + column), format));
        }
Ejemplo n.º 4
0
 public ISDWorksheetCell(object text__1, string styleID__2)
 {
     Value   = text__1;
     Type    = ISDDataType.ISDString;
     StyleID = styleID__2;
 }
Ejemplo n.º 5
0
 public ISDWorksheetCell()
 {
     Value   = "";
     Type    = ISDDataType.ISDString;
     StyleID = "";
 }
Ejemplo n.º 6
0
 public ISDWorksheetCell(object text__1)
 {
     Value   = text__1;
     Type    = ISDDataType.ISDString;
     StyleID = "";
 }
Ejemplo n.º 7
0
        // Add cell with data to existing row
        // column - column number to set correct format for this cell
        // name - column name
        // entityType - EntityType instance, that holds types definitions for this table
        // val - data value for this cell
        protected internal void AddCellToExcelRow(int column, ISDDataType type, string val)
        {
            String styleName = "Style"; //name of the format style

            if (ISDExcelRow == null)
                return;

            //If the value of the column to be exported is nothing, add an empty cell to the Excel file
            if (val == null)
            {
                ISDExcelRow.Cells.Add(new ISDWorksheetCell());
            }
            else
            {
                ISDExcelRow.Cells.Add(new ISDWorksheetCell(val, type, (styleName + column)));
            }
        }
Ejemplo n.º 8
0
        // Add column to excel book, creates style for that column set's format
        // before call to this function empty row needs to be added
        protected internal void AddColumnToExcelBook(int column, string caption, ISDDataType type, int width, string format)
        {
            if (ISDExcelRow == null)
                return;

            ISDExcelRow.Cells.Add(new ISDWorksheetCell(caption, "HeaderRowStyle"));
            ISDExcelSheet.Table.Columns.Add(width);
        }
Ejemplo n.º 9
0
 public ISDWorksheetCell(string text, ISDDataType type, string styleID)
 {
     Text = text;
     Type = type;
     StyleID = styleID;
 }
Ejemplo n.º 10
0
 public ISDWorksheetCell(string text, string styleID)
 {
     Text = text;
     Type = ISDDataType.ISDString;
     StyleID = styleID;
 }
Ejemplo n.º 11
0
 public ISDWorksheetCell(string text, ISDDataType type)
 {
     Text = text;
     Type = type;
     StyleID = "";
 }
Ejemplo n.º 12
0
 public ISDWorksheetCell(string text)
 {
     Text = text;
     Type = ISDDataType.ISDString;
     StyleID = "";
 }
Ejemplo n.º 13
0
 public ISDWorksheetCell()
 {
     Text = "";
     Type = ISDDataType.ISDString;
     StyleID = "";
 }