From 907ab4a1757f2d317d9373c75d31d9509cc4393c Mon Sep 17 00:00:00 2001 From: KurmithaSF4004 Date: Wed, 11 Dec 2024 18:00:26 +0530 Subject: [PATCH] Add Readme Files --- .../CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md | 2 +- .../Create Conditional Format/README.md | 2 +- .../Workbook to JSON with Schema/README.md | 4 ++-- .../Create Chart/.NET/Create Chart/Create Chart/README.md | 2 +- .../Set Formula/.NET/Set Formula/Set Formula/README.md | 2 +- .../Create Table/.NET/Create Table/Create Table/README.md | 2 +- .../.NET/List Validation/List Validation/README.md | 2 +- .../Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md | 2 +- .../.NET/Workbook to PDF/Workbook to PDF/README.md | 2 +- .../.NET/Import Data Table/Import Data Table/README.md | 2 +- .../DataTable to Worksheet/DataTable to Worksheet/README.md | 2 +- .../.NET/Create Pivot Table/Create Pivot Table/README.md | 2 +- .../Add Comment/.NET/Add Comment/Add Comment/README.md | 2 +- .../.NET/Worksheet to Image/Worksheet to Image/README.md | 2 +- .../.NET/Protect-Workbook/ProtectWorkbook/README.md | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md b/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md index 0e79226d..ab2535ca 100644 --- a/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md +++ b/CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/README.md @@ -28,7 +28,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) IWorksheet worksheet = workbook.Worksheets[0]; //Saving the workbook as stream - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); //Dispose streams diff --git a/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md b/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md index c6cdcf64..1bb4cded 100644 --- a/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md +++ b/Conditional Formatting/Create Conditional Format/.NET/Create Conditional Format/Create Conditional Format/README.md @@ -70,7 +70,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/ConditionalFormat.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/ConditionalFormat.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md b/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md index a344fb5c..da4e17ba 100644 --- a/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md +++ b/Convert Excel to JSON/Workbook to JSON with Schema/.NET/Workbook to JSON with Schema/Workbook to JSON with Schema/README.md @@ -29,11 +29,11 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region save as JSON //Saves the workbook to a JSON filestream, as schema by default - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Excel-Workbook-To-JSON-as-schema-default.json"), FileMode.Create, FileAccess.ReadWrite); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Excel-Workbook-To-JSON-as-schema-default.json"), FileMode.Create, FileAccess.ReadWrite); workbook.SaveAsJson(outputStream); //Saves the workbook to a JSON filestream as schema - FileStream stream1 = new FileStream(Path.GetFullPath("Output/Excel-Workbook-To-JSON-as-schema.json"), FileMode.Create, FileAccess.ReadWrite); + FileStream stream1 = new FileStream(Path.GetFullPath(@"Output/Excel-Workbook-To-JSON-as-schema.json"), FileMode.Create, FileAccess.ReadWrite); workbook.SaveAsJson(stream1, true); #endregion diff --git a/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md b/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md index 8d5e6d62..7f9516e1 100644 --- a/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md +++ b/Create and Edit Charts/Create Chart/.NET/Create Chart/Create Chart/README.md @@ -57,7 +57,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Chart.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Chart.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md b/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md index 00e0414d..b5f48bf9 100644 --- a/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md +++ b/Create and Edit Formulas/Set Formula/.NET/Set Formula/Set Formula/README.md @@ -36,7 +36,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Formula.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Formula.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md b/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md index f8e394e2..d72055f5 100644 --- a/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md +++ b/Create and Edit Table/Create Table/.NET/Create Table/Create Table/README.md @@ -32,7 +32,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/CreateTable.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/CreateTable.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Data Validation/List Validation/.NET/List Validation/List Validation/README.md b/Data Validation/List Validation/.NET/List Validation/List Validation/README.md index dc4e9ca6..f5230090 100644 --- a/Data Validation/List Validation/.NET/List Validation/List Validation/README.md +++ b/Data Validation/List Validation/.NET/List Validation/List Validation/README.md @@ -39,7 +39,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/ListValidation.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/ListValidation.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md b/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md index 9e06e8b5..cdd21ccd 100644 --- a/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md +++ b/Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/README.md @@ -25,7 +25,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) IWorkbook workbook = application.Workbooks.Open(inputStream); //Saving the workbook as streams - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Sample.csv"), FileMode.Create, FileAccess.ReadWrite); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Sample.csv"), FileMode.Create, FileAccess.ReadWrite); workbook.SaveAs(outputStream, ","); //Dispose streams diff --git a/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md b/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md index 405d6819..a3679ce7 100644 --- a/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md +++ b/Excel to PDF/Workbook to PDF/.NET/Workbook to PDF/Workbook to PDF/README.md @@ -35,7 +35,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/WorkbookToPDF.pdf"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/WorkbookToPDF.pdf"), FileMode.Create, FileAccess.Write); pdfDocument.Save(outputStream); #endregion diff --git a/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md b/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md index 4a0e6c89..853b1f2b 100644 --- a/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md +++ b/Import Data to Template/Import Data Table/.NET/Import Data Table/Import Data Table/README.md @@ -53,7 +53,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/ImportDataTable.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/ImportDataTable.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md b/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md index 68346a0f..a25fcdea 100644 --- a/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md +++ b/Import and Export Data/DataTable to Worksheet/.NET/DataTable to Worksheet/DataTable to Worksheet/README.md @@ -37,7 +37,7 @@ class Program #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/ImportDataTable.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/ImportDataTable.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md b/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md index 9fc2dfd7..ee54a48c 100644 --- a/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md +++ b/Pivot Table/Create Pivot Table/.NET/Create Pivot Table/Create Pivot Table/README.md @@ -43,7 +43,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/PivotTable.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/PivotTable.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md b/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md index d8617720..96dcc8d3 100644 --- a/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md +++ b/Threaded Comments/Add Comment/.NET/Add Comment/Add Comment/README.md @@ -34,7 +34,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/AddComment.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/AddComment.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion diff --git a/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md b/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md index ab70d5e7..9e62501c 100644 --- a/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md +++ b/Worksheet to Image/Worksheet to Image/.NET/Worksheet to Image/Worksheet to Image/README.md @@ -32,7 +32,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Image.png"), FileMode.Create, FileAccess.Write); sheet.ConvertToImage(sheet.UsedRange, outputStream); #endregion diff --git a/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md b/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md index af87f9b4..331b557b 100644 --- a/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md +++ b/XlsIO-Excel-Protect-UnProtect/Protect-Workbook/.NET/Protect-Workbook/ProtectWorkbook/README.md @@ -34,7 +34,7 @@ using (ExcelEngine excelEngine = new ExcelEngine()) #region Save //Saving the workbook - FileStream outputStream = new FileStream(Path.GetFullPath("Output/ProtectedWorkbook.xlsx"), FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/ProtectedWorkbook.xlsx"), FileMode.Create, FileAccess.Write); workbook.SaveAs(outputStream); #endregion