Exemplo n.º 1
0
 public void ChangeSheet(Sheet sheet)
 {
     this.sheet = sheet;
     this.section = null;
     ChangeCase(Case.Anonymous);
     ChangeTable((Table)null);
 }
Exemplo n.º 2
0
 public override void Write(Sheet sheet)
 {
     parser.ChangeSheet(sheet);
     xlsxFile.Read(sheet.Name);
 }
Exemplo n.º 3
0
 private void Write(Sheet sheet)
 {
     if (written)
     {
         return;
     }
     book.Author.Write(this);
     written = true;
 }
Exemplo n.º 4
0
 internal Sheet CreateSheet(string sheetName)
 {
     string key = ToMapKey(sheetName);
     lock (sheetMap)
     {
         Sheet sheet = new Sheet(this, sheetName, director);
         sheetMap[key] = sheet;
         return sheet;
     }
 }
Exemplo n.º 5
0
 /// <summary>
 /// テストケース定義を作成する。
 /// </summary>
 /// <param name="sheet">このテストケースが属すシート</param>
 /// <param name="caseName">テストケース名</param>
 /// <param name="director">ディレクタ</param>
 internal Case(Sheet sheet, string caseName, Director director)
 {
     this.sheet        = sheet;
     this.caseName     = caseName;
     this.dressingRoom = director.AssignActors(this);
 }
Exemplo n.º 6
0
 public void Initialize(Sheet sheet)
 {
     Initialize(sheet.GetCase(Case.Anonymous));
 }