Example #1
0
        /** 開く。
         */
        public bool ReadOpen(Fee.File.Path a_path)
        {
            this.raw_excel = Excel_ExcelDataReader_Tool.Open(a_path);
            if (this.raw_excel == null)
            {
                return(false);
            }

            return(true);
        }
Example #2
0
        /** アクティブシート。設定。
         */
        public bool SetActiveSheet(int a_sheet_index)
        {
            this.raw_sheet = Excel_ExcelDataReader_Tool.GetSheet(this.raw_excel, a_sheet_index);
            if (this.raw_sheet == null)
            {
                Tool.Assert(false);
                return(false);
            }

            return(true);
        }
Example #3
0
        /** アクティブセル。設定。
         */
        public bool SetActiveCell(int a_x, int a_y)
        {
            this.raw_line = Excel_ExcelDataReader_Tool.GetLine(this.raw_sheet, a_y);

            if (this.raw_line == null)
            {
                //データのないライン。
                this.raw_cell = null;
            }
            else
            {
                this.raw_cell = Excel_ExcelDataReader_Tool.GetCell(this.raw_line, a_x);
            }

            return(true);
        }
Example #4
0
 /** シート数。取得。
  */
 public int GetSheetCount()
 {
     return(Excel_ExcelDataReader_Tool.GetSheetCount(this.raw_excel));
 }
Example #5
0
 /** 文字列。取得。
  */
 public bool GetTryCellNumeric(out double a_result_value)
 {
     return(Excel_ExcelDataReader_Tool.GetTryCellNumeric(this.raw_cell, out a_result_value));
 }
Example #6
0
 /** 文字列。取得。
  */
 public bool GetTryCellString(out string a_result_value)
 {
     return(Excel_ExcelDataReader_Tool.GetTryCellString(this.raw_cell, out a_result_value));
 }