10 public static void Export()
12 string str = CorePath.packageCore +
"Lang/Template/";
13 string str2 =
"sample.xlsx";
14 XSSFWorkbook xssfworkbook =
new XSSFWorkbook();
15 LangExporter.currentSheet = xssfworkbook.CreateSheet(
"newSheet");
16 using (FileStream fileStream =
new FileStream(str + str2, FileMode.Create))
18 xssfworkbook.Write(fileStream);
23 public static ICell GetCell(
int x,
int y)
26 return row.GetCell(x) ?? row.CreateCell(x);
30 public static void WriteCell(
int x,
int y,
string value)
36 public static void WriteCell(
int x,
int y,
double value)
42 private static ISheet currentSheet;