Exemple #1
0
        internal void SendToExcelAsPart()
        {
            StringBuilder vbaBuilder = new StringBuilder();

            drawManager.Send(vbaBuilder);
            XLSFile.Generate(vbaBuilder, DesrcName);
        }
Exemple #2
0
 public void SendToExcel(string xlsFile)
 {
     if (string.IsNullOrEmpty(docPath))
     {
         StringBuilder vbaBuilder = new StringBuilder();
         drawManager.Send(vbaBuilder);
         XLSFile.Generate(xlsFile, vbaBuilder, DesrcName);
     }
 }
Exemple #3
0
 internal void MutliProjectSendToExcel(string xlsFile)
 {
     for (int i = 0; i < MutliProjectCount; i++)
     {
         DataAnalyse.Save();
         StringBuilder vbaBuilder = new StringBuilder();
         InitReportDataByPrjIndex(i);
         drawManager.Send(vbaBuilder, true);
         XLSFile.Generate(xlsFile, vbaBuilder, DesrcName);
         DataAnalyse.Cover();
     }
 }