Example #1
0
 /// <summary>
 /// 指定された名前のワークシートを読み込む。
 /// </summary>
 /// <param name="sheetName">ワークシート名</param>
 public void Read(String sheetName)
 {
     try
     {
         XlsxWorksheetHandler handler = CreateHandler();
         String fileName = workbook.GetFileName(sheetName);
         if (fileName == null)
         {
             throw new ConfigException("M_Fixture_XlsxFile_Read", sheetName);
         }
         using (Stream stream = GetInputStream(fileName))
         {
             Parse(handler, stream);
         }
     }
     finally
     {
         Close();
     }
 }
Example #2
0
 private void Parse(XlsxWorksheetHandler handler, Stream sheet)
 {
     handler.Parse(sheet);
 }
Example #3
0
 private void Parse(XlsxWorksheetHandler handler, Stream sheet)
 {
     handler.Parse(sheet);
 }