From d948b16098bf0b8dd52631156831c5b7a1e53beb Mon Sep 17 00:00:00 2001 From: DharanyaSakthivel-SF4210 Date: Tue, 3 Sep 2024 22:14:26 +0530 Subject: [PATCH 1/4] Add-playground-in-sample --- .../Add-table-of-contents.csproj | 6 ++++++ .../.NET/Add-table-of-contents/Output/gitkeep | 1 + .../.NET/Add-table-of-contents/Program.cs | 2 +- .../Add_toc_in_merged_documents.csproj | 15 +++++++++++++++ .../Add_toc_in_merged_documents/Output/gitkeep | 1 + .../.NET/Add_toc_in_merged_documents/Program.cs | 4 ++-- .../Customize-TOC-entries-style.csproj | 6 ++++++ .../Customize-TOC-entries-style/Output/gitkeep | 1 + .../.NET/Customize-TOC-entries-style/Program.cs | 2 +- .../Exclude_caption_label_numbers.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Exclude_caption_label_numbers/Program.cs | 4 ++-- .../Remove-table-of-contents/Output/gitkeep | 1 + .../Remove-table-of-contents/Program.cs | 4 ++-- .../Remove-table-of-contents.csproj | 9 +++++++++ .../Apply-custom-table-style/Data/Template.docx | Bin 0 -> 38402 bytes 16 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Output/gitkeep create mode 100644 Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Output/gitkeep create mode 100644 Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Output/gitkeep create mode 100644 Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Output/gitkeep create mode 100644 Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Output/gitkeep create mode 100644 Tables/Apply-custom-table-style/.NET/Apply-custom-table-style/Data/Template.docx diff --git a/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Add-table-of-contents.csproj b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Add-table-of-contents.csproj index fa729d06..1b53fbcb 100644 --- a/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Add-table-of-contents.csproj +++ b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Add-table-of-contents.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Output/gitkeep b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Program.cs b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Program.cs index 50265b3d..586dc075 100644 --- a/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Program.cs +++ b/Table-Of-Contents/Add-table-of-contents/.NET/Add-table-of-contents/Program.cs @@ -52,7 +52,7 @@ static void Main(string[] args) //Updates the table of contents. document.UpdateTableOfContents(); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Add_toc_in_merged_documents.csproj b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Add_toc_in_merged_documents.csproj index aa508695..8bbdebad 100644 --- a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Add_toc_in_merged_documents.csproj +++ b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Add_toc_in_merged_documents.csproj @@ -12,4 +12,19 @@ + + + Always + + + Always + + + Always + + + Always + + + diff --git a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Output/gitkeep b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs index fed062af..9eb5d711 100644 --- a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs +++ b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs @@ -3,7 +3,7 @@ using Syncfusion.DocIORenderer; //Get the Source document names from the folder. -string[] sourceDocumentNames = Directory.GetFiles(@"../../../Data/"); +string[] sourceDocumentNames = Directory.GetFiles(@"Data/"); //Create an WordDocumentinstance for destination document. using (WordDocument destinationDocument = new WordDocument()) @@ -34,7 +34,7 @@ //Updates the table of contents destinationDocument.UpdateTableOfContents(); //Save the destination document. - using (FileStream outputStream = new FileStream(@"../../../Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream(@"Output/Output.docx", FileMode.Create, FileAccess.Write)) { destinationDocument.Save(outputStream, FormatType.Docx); } diff --git a/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Customize-TOC-entries-style.csproj b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Customize-TOC-entries-style.csproj index 972dd6a9..12835921 100644 --- a/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Customize-TOC-entries-style.csproj +++ b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Customize-TOC-entries-style.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Output/gitkeep b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Program.cs b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Program.cs index b0c1f87e..8b680da0 100644 --- a/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Program.cs +++ b/Table-Of-Contents/Customize-TOC-entries-style/.NET/Customize-TOC-entries-style/Program.cs @@ -68,7 +68,7 @@ static void Main(string[] args) //Update the table of contents. document.UpdateTableOfContents(); //Save the file in the given path. - Stream docStream = File.Create(Path.GetFullPath(@"../../../Sample.docx")); + Stream docStream = File.Create(Path.GetFullPath(@"Output/Sample.docx")); document.Save(docStream, FormatType.Docx); docStream.Dispose(); } diff --git a/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Exclude_caption_label_numbers.csproj b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Exclude_caption_label_numbers.csproj index 2fe58484..a3594eda 100644 --- a/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Exclude_caption_label_numbers.csproj +++ b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Exclude_caption_label_numbers.csproj @@ -10,4 +10,13 @@ + + + + Always + + + Always + + diff --git a/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Output/gitkeep b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Program.cs b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Program.cs index 6998ae3f..eabda624 100644 --- a/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Program.cs +++ b/Table-Of-Contents/Exclude_caption_label_numbers/.NET/Exclude_caption_label_numbers/Program.cs @@ -5,7 +5,7 @@ //Load an existing Word document. -using FileStream fileStream = new FileStream(Path.GetFullPath(@"../../../Data/Input.docx"), FileMode.Open, FileAccess.Read); +using FileStream fileStream = new FileStream(Path.GetFullPath(@"Data/Input.docx"), FileMode.Open, FileAccess.Read); using WordDocument document = new WordDocument(fileStream, FormatType.Docx); WParagraph paragraph = new WParagraph(document); paragraph.AppendText("List of Figures"); @@ -87,6 +87,6 @@ document.UpdateTableOfContents(); //Create a FileStream to save the Word document. -using FileStream outputStream = new FileStream("Result.docx", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite); +using FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite); //Save the Word document. document.Save(outputStream, FormatType.Docx); \ No newline at end of file diff --git a/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Output/gitkeep b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Program.cs b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Program.cs index 430c08a1..e0281768 100644 --- a/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Program.cs +++ b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Program.cs @@ -5,14 +5,14 @@ using (WordDocument document = new WordDocument()) { //Opens the Word template document. - Stream docStream = File.OpenRead(Path.GetFullPath(@"../../../Data/TOC.docx")); + Stream docStream = File.OpenRead(Path.GetFullPath(@"Data/TOC.docx")); document.Open(docStream, FormatType.Docx); docStream.Dispose(); //Removes the TOC field. TableOfContent toc = document.Sections[0].Body.Paragraphs[2].Items[0] as TableOfContent; RemoveTableOfContents(toc); //Saves the file in the given path - docStream = File.Create(Path.GetFullPath(@"../../../Sample.docx")); + docStream = File.Create(Path.GetFullPath(@"Output/Sample.docx")); document.Save(docStream, FormatType.Docx); docStream.Dispose(); } diff --git a/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Remove-table-of-contents.csproj b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Remove-table-of-contents.csproj index 07c47a21..e8b0310e 100644 --- a/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Remove-table-of-contents.csproj +++ b/Table-Of-Contents/Remove-table-of-contents/.NET/Remove-table-of-contents/Remove-table-of-contents/Remove-table-of-contents.csproj @@ -12,4 +12,13 @@ + + + Always + + + Always + + + diff --git a/Tables/Apply-custom-table-style/.NET/Apply-custom-table-style/Data/Template.docx b/Tables/Apply-custom-table-style/.NET/Apply-custom-table-style/Data/Template.docx new file mode 100644 index 0000000000000000000000000000000000000000..36f890a016e7e179d04b74db4f6ebab3cb3ff95a GIT binary patch literal 38402 zcmeFYWpG^0wk23%w3wN}VrI!=W@ct)W+sc7nI(&vnaL$)Sr)U!H1c=fd($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6Y64Lg@ViJeLrB1RwHUpy=9BuMkCOW?)d3g=&Xbj%)~4hoD~ti7;y^@c2Bi zLr^Y;M0W}LoqP!WF-lPV$T#$%Ye&Bw4WV676{;QSt~7Mr=y%N^bTjIp=mwwKh^`y` z1_Fd`O(P_)L+>L%*NuK+JVN(&6BON8?M6T18=>399L43}15nZJMn5nWq1(g`#cr&+ z(a*R<=-%%D)eT8J=qFx6oPqn~NQ6O~9H9nboFj?u74#Jl2s8AGp=O}3hd?(1eQp+E z#Pu?$5y&&O=-Sa|R}k7ms$tsUb1mqa(fd>g&9mE~n$db#=q8|d3=k$rbV5x?1C~SZ zZUVY~)Mg?=Hv@xLHvU}`mprYW0OA1v DwD{Lv literal 0 HcmV?d00001 From 8bf2fb9abc8b87256f6c9805cc989ed2dae95d2b Mon Sep 17 00:00:00 2001 From: DharanyaSakthivel-SF4210 Date: Tue, 3 Sep 2024 22:27:56 +0530 Subject: [PATCH 2/4] Add-playground-in-sample --- .../TOC-with-user-defined-styles/Output/gitkeep | 1 + .../.NET/TOC-with-user-defined-styles/Program.cs | 2 +- .../TOC-with-user-defined-styles.csproj | 6 ++++++ .../.NET/Table_of_figures/Output/gitkeep | 1 + .../.NET/Table_of_figures/Program.cs | 4 ++-- .../.NET/Table_of_figures/Table_of_figures.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../.NET/Update-table-of-contents/Output/gitkeep | 1 + .../.NET/Update-table-of-contents/Program.cs | 4 ++-- .../Update-table-of-contents.csproj | 9 +++++++++ 10 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Output/gitkeep create mode 100644 Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Output/gitkeep rename Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/{ => Data}/Template.docx (100%) create mode 100644 Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Output/gitkeep diff --git a/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Output/gitkeep b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Program.cs b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Program.cs index 9a32b076..72ca0bad 100644 --- a/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Program.cs +++ b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/Program.cs @@ -60,7 +60,7 @@ static void Main(string[] args) //Updates the table of contents. document.UpdateTableOfContents(); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/TOC-with-user-defined-styles.csproj b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/TOC-with-user-defined-styles.csproj index 83920697..412e8644 100644 --- a/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/TOC-with-user-defined-styles.csproj +++ b/Table-Of-Contents/TOC-with-user-defined-styles/.NET/TOC-with-user-defined-styles/TOC-with-user-defined-styles.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Output/gitkeep b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Program.cs b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Program.cs index e970fe91..a62df68d 100644 --- a/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Program.cs +++ b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Program.cs @@ -5,7 +5,7 @@ //Load an existing Word document. -using FileStream fileStream = new FileStream(Path.GetFullPath(@"../../../Data/Input.docx"), FileMode.Open, FileAccess.Read); +using FileStream fileStream = new FileStream(Path.GetFullPath(@"Data/Input.docx"), FileMode.Open, FileAccess.Read); using WordDocument document = new WordDocument(fileStream, FormatType.Docx); WParagraph paragraph = new WParagraph(document); paragraph.AppendText("List of Figures"); @@ -83,6 +83,6 @@ document.UpdateTableOfContents(); //Create a FileStream to save the Word document. -using FileStream outputStream = new FileStream("Result.docx", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite); +using FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite); //Save the Word document. document.Save(outputStream, FormatType.Docx); \ No newline at end of file diff --git a/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Table_of_figures.csproj b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Table_of_figures.csproj index f229932e..29ee7ce6 100644 --- a/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Table_of_figures.csproj +++ b/Table-Of-Contents/Table_of_figures/.NET/Table_of_figures/Table_of_figures.csproj @@ -11,4 +11,13 @@ + + + Always + + + Always + + + diff --git a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Template.docx b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Data/Template.docx similarity index 100% rename from Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Template.docx rename to Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Data/Template.docx diff --git a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Output/gitkeep b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Program.cs b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Program.cs index d638d0da..23cd3f73 100644 --- a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Program.cs +++ b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Creates a new Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -17,7 +17,7 @@ static void Main(string[] args) //Updates the table of contents. document.UpdateTableOfContents(); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Update-table-of-contents.csproj b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Update-table-of-contents.csproj index 8afcacd4..c0ab7c15 100644 --- a/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Update-table-of-contents.csproj +++ b/Table-Of-Contents/Update-table-of-contents/.NET/Update-table-of-contents/Update-table-of-contents.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + From af23fc0749e7fc4f0f1339640b5e8374687a9170 Mon Sep 17 00:00:00 2001 From: DharanyaSakthivel-SF4210 Date: Tue, 10 Sep 2024 09:37:55 +0530 Subject: [PATCH 3/4] Add-playground-in-sample --- .../Access-styles-in-document.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Access-styles-in-document/Output/gitkeep | 1 + .../.NET/Access-styles-in-document/Program.cs | 4 ++-- .../Add-custom-document-properties.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Output/gitkeep | 1 + .../Add-custom-document-properties/Program.cs | 4 ++-- .../Apply-built-in-style.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../.NET/Apply-built-in-style/Output/gitkeep | 1 + .../.NET/Apply-built-in-style/Program.cs | 4 ++-- ...ply-gradient-background-to-document.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- ...pply-picture-background-to-document.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- .../Clone-whole-Word-document.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Clone-whole-Word-document/Output/gitkeep | 1 + .../.NET/Clone-whole-Word-document/Program.cs | 4 ++-- ...cel-content-to-Word-with-formatting.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- .../Create-new-paragraph-style.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Create-new-paragraph-style/Output/gitkeep | 1 + .../Create-new-paragraph-style/Program.cs | 4 ++-- .../Extract-images-from-Word-document.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- ...and-replace-text-with-Excel-content.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- .../{ => Data}/Input.docx | Bin ...de-backgrounds-in-print-layout-view.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- .../Insert-document-before-the-text.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- .../{ => Data}/Template.docx | Bin .../Iterate-document-elements.csproj | 9 +++++++++ .../Iterate-document-elements/Output/gitkeep | 1 + .../.NET/Iterate-document-elements/Program.cs | 4 ++-- .../Link-paragraph-and-character-style.csproj | 6 ++++++ .../Output/gitkeep | 1 + .../Program.cs | 2 +- .../Merge-documents-in-new-page.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Merge-documents-in-new-page/Program.cs | 6 +++--- .../Merge-documents-in-same-page.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Merge-documents-in-same-page/Program.cs | 6 +++--- ...e-documents-with-destination-margin.csproj | 12 ++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- ...cuments-with-same-header-and-footer.csproj | 15 +++++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- ...Merge-without-changing-page-numbers.csproj | 15 +++++++++++++++ .../Output/gitkeep | 1 + .../Program.cs | 6 +++--- ...23multiple-Word-files-in-same-page.csproj" | 18 ++++++++++++++++++ .../Output/gitkeep" | 1 + .../Program.cs" | 10 +++++----- .../{ => Data}/Template.docx | Bin ...Modify-built-in-document-properties.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- .../Modify-built-in-style.csproj | 6 ++++++ .../.NET/Modify-built-in-style/Output/gitkeep | 1 + .../.NET/Modify-built-in-style/Program.cs | 2 +- .../{ => Data}/Template.docx | Bin .../Modify-content-type-properties.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Modify-content-type-properties/Program.cs | 4 ++-- .../{ => Data}/Template.docx | Bin .../Modify-custom-document-properties.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- ...odify-formatting-for-default-styles.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- .../{ => Data}/Input.docx | Bin .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- .../Remove-background-in-Word-document.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- ...move-empty-pages-from-Word-document.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Output/gitkeep | 1 + .../Remove-paragraph-with-style/Program.cs | 4 ++-- .../Remove-paragraph-with-style.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Output/gitkeep | 1 + .../Program.cs | 4 ++-- ...move-particular-style-from-document.csproj | 9 +++++++++ .../Output/gitkeep | 1 + .../Program.cs | 2 +- .../Set-page-field-for-each-section.csproj | 6 ++++++ .../.NET/Split-by-bookmark/Output/gitkeep | 1 + .../.NET/Split-by-bookmark/Program.cs | 4 ++-- .../Split-by-bookmark.csproj | 9 +++++++++ .../.NET/Split-by-heading/Output/gitkeep | 1 + .../.NET/Split-by-heading/Program.cs | 6 +++--- .../Split-by-heading/Split-by-heading.csproj | 9 +++++++++ .../Split-by-placeholder-text/Output/gitkeep | 1 + .../.NET/Split-by-placeholder-text/Program.cs | 4 ++-- .../Split-by-placeholder-text.csproj | 9 +++++++++ .../.NET/Split-by-section/Output/gitkeep | 1 + .../.NET/Split-by-section/Program.cs | 4 ++-- .../Split-by-section/Split-by-section.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../Update-alternate-chunks/Output/gitkeep | 1 + .../.NET/Update-alternate-chunks/Program.cs | 4 ++-- .../Update-alternate-chunks.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../.NET/Update-pages-count/Output/gitkeep | 1 + .../.NET/Update-pages-count/Program.cs | 4 ++-- .../Update-pages-count.csproj | 9 +++++++++ .../{ => Data}/Template.docx | Bin .../.NET/Update-words-count/Output/gitkeep | 1 + .../.NET/Update-words-count/Program.cs | 4 ++-- .../Update-words-count.csproj | 9 +++++++++ 128 files changed, 483 insertions(+), 83 deletions(-) rename Word-document/Access-styles-in-document/.NET/Access-styles-in-document/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Output/gitkeep rename Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Output/gitkeep rename Word-document/Apply-built-in-style/.NET/Apply-built-in-style/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Output/gitkeep rename Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Output/gitkeep create mode 100644 Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Output/gitkeep rename Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Output/gitkeep create mode 100644 Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Output/gitkeep rename Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Output/gitkeep create mode 100644 Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Output/gitkeep create mode 100644 Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Output/gitkeep rename Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/{ => Data}/Input.docx (100%) create mode 100644 Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Output/gitkeep create mode 100644 Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Output/gitkeep rename Word-document/Iterate-document-elements/.NET/Iterate-document-elements/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Output/gitkeep create mode 100644 Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Output/gitkeep create mode 100644 Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Output/gitkeep create mode 100644 Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Output/gitkeep create mode 100644 Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Output/gitkeep create mode 100644 Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Output/gitkeep create mode 100644 Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Output/gitkeep create mode 100644 "Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Output/gitkeep" rename Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Output/gitkeep create mode 100644 Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Output/gitkeep rename Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Output/gitkeep rename Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Output/gitkeep create mode 100644 Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Output/gitkeep rename Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/{ => Data}/Input.docx (100%) create mode 100644 Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Output/gitkeep create mode 100644 Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Output/gitkeep rename Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Output/gitkeep rename Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Output/gitkeep create mode 100644 Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Output/gitkeep create mode 100644 Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Output/gitkeep create mode 100644 Word-document/Split-by-heading/.NET/Split-by-heading/Output/gitkeep create mode 100644 Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Output/gitkeep create mode 100644 Word-document/Split-by-section/.NET/Split-by-section/Output/gitkeep rename Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Output/gitkeep rename Word-document/Update-pages-count/.NET/Update-pages-count/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Update-pages-count/.NET/Update-pages-count/Output/gitkeep rename Word-document/Update-words-count/.NET/Update-words-count/{ => Data}/Template.docx (100%) create mode 100644 Word-document/Update-words-count/.NET/Update-words-count/Output/gitkeep diff --git a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Access-styles-in-document.csproj b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Access-styles-in-document.csproj index a165ab17..242f8b07 100644 --- a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Access-styles-in-document.csproj +++ b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Access-styles-in-document.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Template.docx b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Data/Template.docx similarity index 100% rename from Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Template.docx rename to Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Data/Template.docx diff --git a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Output/gitkeep b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Program.cs b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Program.cs index 6389a98d..3f108d15 100644 --- a/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Program.cs +++ b/Word-document/Access-styles-in-document/.NET/Access-styles-in-document/Program.cs @@ -10,7 +10,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an input Word template. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -24,7 +24,7 @@ static void Main(string[] args) //Changes the first line indent of Paragraph as 36 points. heading1ParagraphStyle.ParagraphFormat.FirstLineIndent = 36; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Add-custom-document-properties.csproj b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Add-custom-document-properties.csproj index bff5c54e..07c6b2b0 100644 --- a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Add-custom-document-properties.csproj +++ b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Add-custom-document-properties.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Template.docx b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Data/Template.docx similarity index 100% rename from Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Template.docx rename to Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Data/Template.docx diff --git a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Output/gitkeep b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Program.cs b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Program.cs index 362238ab..c672bbd1 100644 --- a/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Program.cs +++ b/Word-document/Add-custom-document-properties/.NET/Add-custom-document-properties/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -20,7 +20,7 @@ static void Main(string[] args) document.CustomDocumentProperties.Add("PropertyC", true); document.CustomDocumentProperties.Add("PropertyD", new DateTime(2015, 7, 20)); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Apply-built-in-style.csproj b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Apply-built-in-style.csproj index d4fc7033..1e64dca2 100644 --- a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Apply-built-in-style.csproj +++ b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Apply-built-in-style.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Template.docx b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Data/Template.docx similarity index 100% rename from Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Template.docx rename to Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Data/Template.docx diff --git a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Output/gitkeep b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Program.cs b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Program.cs index 4be55f47..5630ce95 100644 --- a/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Program.cs +++ b/Word-document/Apply-built-in-style/.NET/Apply-built-in-style/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -17,7 +17,7 @@ static void Main(string[] args) //Applies the style to paragraph. document.LastParagraph.ApplyStyle(BuiltinStyle.Emphasis); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Apply-gradient-background-to-document.csproj b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Apply-gradient-background-to-document.csproj index 04614353..26287e0d 100644 --- a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Apply-gradient-background-to-document.csproj +++ b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Apply-gradient-background-to-document.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Template.docx b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Data/Template.docx similarity index 100% rename from Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Template.docx rename to Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Data/Template.docx diff --git a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Output/gitkeep b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Program.cs b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Program.cs index 0d5442f9..50d2cf23 100644 --- a/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Program.cs +++ b/Word-document/Apply-gradient-background-to-document/.NET/Apply-gradient-background-to-document/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -23,7 +23,7 @@ static void Main(string[] args) document.Background.Gradient.ShadingStyle = GradientShadingStyle.DiagonalUp; document.Background.Gradient.ShadingVariant = GradientShadingVariant.ShadingDown; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Apply-picture-background-to-document.csproj b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Apply-picture-background-to-document.csproj index afe2ae12..c75843d6 100644 --- a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Apply-picture-background-to-document.csproj +++ b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Apply-picture-background-to-document.csproj @@ -10,4 +10,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Output/gitkeep b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs index 51d6ee8b..115a004d 100644 --- a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs +++ b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs @@ -8,7 +8,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -16,7 +16,7 @@ static void Main(string[] args) //Sets the background type as picture. document.Background.Type = BackgroundType.Picture; //Opens the existing image. - using (FileStream imageStream = new FileStream(@"../../../Data/Picture.png", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream imageStream = new FileStream(@"Data/Picture.png", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { using (MemoryStream memoryStream = new MemoryStream()) { @@ -25,7 +25,7 @@ static void Main(string[] args) } } //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Clone-whole-Word-document.csproj b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Clone-whole-Word-document.csproj index 7ae9fc3d..464aa60c 100644 --- a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Clone-whole-Word-document.csproj +++ b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Clone-whole-Word-document.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Template.docx b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Data/Template.docx similarity index 100% rename from Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Template.docx rename to Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Data/Template.docx diff --git a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Output/gitkeep b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Program.cs b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Program.cs index 86b64e0e..57e28157 100644 --- a/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Program.cs +++ b/Word-document/Clone-whole-Word-document/.NET/Clone-whole-Word-document/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an existing document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -18,7 +18,7 @@ static void Main(string[] args) using (WordDocument clonedDocument = document.Clone()) { //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the cloned document instance. clonedDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Copy-Excel-content-to-Word-with-formatting.csproj b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Copy-Excel-content-to-Word-with-formatting.csproj index 6af3d44a..50a99c24 100644 --- a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Copy-Excel-content-to-Word-with-formatting.csproj +++ b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Copy-Excel-content-to-Word-with-formatting.csproj @@ -14,4 +14,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Output/gitkeep b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs index c2ced0d5..12184127 100644 --- a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs +++ b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs @@ -18,7 +18,7 @@ ExtractExcelContent(table); //Load the file into stream -FileStream outputStream = new FileStream("../../../Data/Output.docx", FileMode.Create, FileAccess.Write); +FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write); //Save the Word document. document.Save(outputStream, FormatType.Docx); //Close the document @@ -35,7 +35,7 @@ void ExtractExcelContent(WTable table) IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Xlsx; //Load the file into stream - FileStream inputExcelStream = new FileStream("../../../Data/Sample.xlsx", FileMode.Open, FileAccess.Read); + FileStream inputExcelStream = new FileStream("Data/Sample.xlsx", FileMode.Open, FileAccess.Read); IWorkbook workbook = application.Workbooks.Open(inputExcelStream); //Get the first worksheet diff --git a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Create-new-paragraph-style.csproj b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Create-new-paragraph-style.csproj index 3e396422..ff50af5a 100644 --- a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Create-new-paragraph-style.csproj +++ b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Create-new-paragraph-style.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Template.docx b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Data/Template.docx similarity index 100% rename from Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Template.docx rename to Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Data/Template.docx diff --git a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Output/gitkeep b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Program.cs b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Program.cs index a7d779bc..8fdbedab 100644 --- a/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Program.cs +++ b/Word-document/Create-new-paragraph-style/.NET/Create-new-paragraph-style/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -24,7 +24,7 @@ static void Main(string[] args) //Applies the style to paragraph. document.LastParagraph.ApplyStyle("MyStyle"); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Extract-images-from-Word-document.csproj b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Extract-images-from-Word-document.csproj index f5078ede..074cc94c 100644 --- a/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Extract-images-from-Word-document.csproj +++ b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Extract-images-from-Word-document.csproj @@ -12,4 +12,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Output/gitkeep b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Program.cs b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Program.cs index 3b929a57..d45ee639 100644 --- a/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Program.cs +++ b/Word-document/Extract-images-from-Word-document/.NET/Extract-images-from-Word-document/Program.cs @@ -11,7 +11,7 @@ internal class Program static void Main(string[] args) { // Open the file as a stream. - using (FileStream docStream = new FileStream(Path.GetFullPath(@"../../../Data/Template.docx"), FileMode.Open, FileAccess.Read)) + using (FileStream docStream = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read)) { // Load the file stream into a Word document. using (WordDocument document = new WordDocument(docStream, FormatType.Docx)) @@ -28,7 +28,7 @@ static void Main(string[] args) using (MemoryStream memoryStream = new MemoryStream(image.ImageBytes)) { // Define the path where the image will be saved. - string imagePath = Path.GetFullPath(@"../../../Image-" + i + ".jpeg"); + string imagePath = Path.GetFullPath(@"Output/Image-" + i + ".jpeg"); // Create a FileStream to write the image to the specified path. using (FileStream filestream = new FileStream(imagePath, FileMode.Create, FileAccess.Write)) diff --git a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Find-and-replace-text-with-Excel-content.csproj b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Find-and-replace-text-with-Excel-content.csproj index 03e2e4e8..1cc36e1f 100644 --- a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Find-and-replace-text-with-Excel-content.csproj +++ b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Find-and-replace-text-with-Excel-content.csproj @@ -13,4 +13,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Output/gitkeep b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs index 2fa73bed..aded7192 100644 --- a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs +++ b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs @@ -5,7 +5,7 @@ using Syncfusion.DocIO; -using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) +using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an existing Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) @@ -24,7 +24,7 @@ document.Replace("<>", bodyPart, true, true, false); //Load the file into stream - FileStream outputStream = new FileStream("../../../Data/Output.docx", FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write); //Save the Word document. document.Save(outputStream, FormatType.Docx); } @@ -40,7 +40,7 @@ void ExtractExcelContent(WTable table) IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Xlsx; //Load the file into stream - FileStream inputExcelStream = new FileStream("../../../Data/Sample.xlsx", FileMode.Open, FileAccess.Read); + FileStream inputExcelStream = new FileStream("Data/Sample.xlsx", FileMode.Open, FileAccess.Read); IWorkbook workbook = application.Workbooks.Open(inputExcelStream); //Get the first worksheet diff --git a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Input.docx b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Data/Input.docx similarity index 100% rename from Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Input.docx rename to Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Data/Input.docx diff --git a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Hide-backgrounds-in-print-layout-view.csproj b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Hide-backgrounds-in-print-layout-view.csproj index 9f870ba2..9805d669 100644 --- a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Hide-backgrounds-in-print-layout-view.csproj +++ b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Hide-backgrounds-in-print-layout-view.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Output/gitkeep b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Program.cs b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Program.cs index 07df195b..7bf40a08 100644 --- a/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Program.cs +++ b/Word-document/Hide-backgrounds-in-print-layout-view/.NET/Hide-backgrounds-in-print-layout-view/Program.cs @@ -8,7 +8,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Input.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Input.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the file stream into the Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) @@ -16,7 +16,7 @@ static void Main(string[] args) //Disable a flag to hide the background in the print layout view. document.Settings.DisplayBackgrounds = false; //Create file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Insert-document-before-the-text.csproj b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Insert-document-before-the-text.csproj index 6b240c25..a501fb8e 100644 --- a/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Insert-document-before-the-text.csproj +++ b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Insert-document-before-the-text.csproj @@ -10,4 +10,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Output/gitkeep b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Program.cs b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Program.cs index be8638db..24ae5975 100644 --- a/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Program.cs +++ b/Word-document/Insert-document-before-the-text/.NET/Insert-document-before-the-text/Program.cs @@ -9,12 +9,12 @@ class Program static void Main(string[] args) { //Open the file as a stream. - using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the file stream into a Word document. using (WordDocument sourceDocument = new WordDocument(sourceStreamPath, FormatType.Automatic)) { - using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Open the destination document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) @@ -37,7 +37,7 @@ static void Main(string[] args) } //Create a file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save the Word document to the file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Template.docx b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Data/Template.docx similarity index 100% rename from Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Template.docx rename to Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Data/Template.docx diff --git a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Iterate-document-elements.csproj b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Iterate-document-elements.csproj index b21571f5..256a1628 100644 --- a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Iterate-document-elements.csproj +++ b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Iterate-document-elements.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Output/gitkeep b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Program.cs b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Program.cs index 44fbdc60..c624d84c 100644 --- a/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Program.cs +++ b/Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an existing document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -26,7 +26,7 @@ static void Main(string[] args) IterateTextBody(headersFooters.OddFooter); } //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Link-paragraph-and-character-style.csproj b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Link-paragraph-and-character-style.csproj index 3c45ce73..36b9b322 100644 --- a/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Link-paragraph-and-character-style.csproj +++ b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Link-paragraph-and-character-style.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Output/gitkeep b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Program.cs b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Program.cs index 9d45a036..02ba8a79 100644 --- a/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Program.cs +++ b/Word-document/Link-paragraph-and-character-style/.NET/Link-paragraph-and-character-style/Program.cs @@ -35,7 +35,7 @@ static void Main(string[] args) //Applies style to the text range. (document.LastParagraph.ChildEntities[0] as WTextRange).ApplyStyle("ParagraphStyle"); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Merge-documents-in-new-page.csproj b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Merge-documents-in-new-page.csproj index 14f0af2d..f02e2b81 100644 --- a/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Merge-documents-in-new-page.csproj +++ b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Merge-documents-in-new-page.csproj @@ -10,4 +10,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Output/gitkeep b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Program.cs b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Program.cs index fa4c1178..b32f3698 100644 --- a/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Program.cs +++ b/Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Program.cs @@ -10,12 +10,12 @@ class Program { static void Main(string[] args) { - using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an source document from file system through constructor of WordDocument class. using (WordDocument sourceDocument = new WordDocument(sourceStreamPath, FormatType.Automatic)) { - using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens the destination document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) @@ -23,7 +23,7 @@ static void Main(string[] args) //Imports the contents of source document at the end of destination document. destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Merge-documents-in-same-page.csproj b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Merge-documents-in-same-page.csproj index 9196af0b..6307e949 100644 --- a/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Merge-documents-in-same-page.csproj +++ b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Merge-documents-in-same-page.csproj @@ -10,4 +10,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Output/gitkeep b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Program.cs b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Program.cs index b5f0f398..d3da63ff 100644 --- a/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Program.cs +++ b/Word-document/Merge-documents-in-same-page/.NET/Merge-documents-in-same-page/Program.cs @@ -10,12 +10,12 @@ class Program { static void Main(string[] args) { - using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an source document from file system through constructor of WordDocument class. using (WordDocument sourceDocument = new WordDocument(sourceStreamPath, FormatType.Automatic)) { - using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens the destination document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) @@ -25,7 +25,7 @@ static void Main(string[] args) //Imports the contents of source document at the end of destination document. destinationDocument.ImportContent(sourceDocument, ImportOptions.UseDestinationStyles); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Merge-documents-with-destination-margin.csproj b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Merge-documents-with-destination-margin.csproj index b86d074a..89469b34 100644 --- a/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Merge-documents-with-destination-margin.csproj +++ b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Merge-documents-with-destination-margin.csproj @@ -10,4 +10,16 @@ + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Output/gitkeep b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Program.cs b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Program.cs index 3fbac648..c989c2ee 100644 --- a/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Program.cs +++ b/Word-document/Merge-documents-with-destination-margin/.NET/Merge-documents-with-destination-margin/Program.cs @@ -11,12 +11,12 @@ class Program static void Main(string[] args) { //Open the file as a stream. - using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream sourceStreamPath = new FileStream(Path.GetFullPath(@"Data/SourceDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the file stream into a Word document. using (WordDocument sourceDocument = new WordDocument(sourceStreamPath, FormatType.Automatic)) { - using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Open the destination document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) @@ -31,7 +31,7 @@ static void Main(string[] args) destinationDocument.Sections.Add(sourceSection.Clone()); } //Create a file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save the Word document to the file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Merge-documents-with-same-header-and-footer.csproj b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Merge-documents-with-same-header-and-footer.csproj index 0e4c0a2a..9ce38615 100644 --- a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Merge-documents-with-same-header-and-footer.csproj +++ b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Merge-documents-with-same-header-and-footer.csproj @@ -10,4 +10,19 @@ + + + Always + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Output/gitkeep b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs index 4fbb3613..b44b905e 100644 --- a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs +++ b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs @@ -12,13 +12,13 @@ class Program static void Main(string[] args) { //Open the destination document as a stream. -            using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) +            using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Open the destination document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) { //Get the Source document names from the folder. - string[] sourceDocumentNames = Directory.GetFiles(@"../../../Data/SourceDocuments/"); + string[] sourceDocumentNames = Directory.GetFiles(@"Data/SourceDocuments/");                     //Merge each source document to the destination document. foreach (string subDocumentName in sourceDocumentNames) { @@ -45,7 +45,7 @@ static void Main(string[] args) } } //Create a file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save the Word document to the file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Merge-without-changing-page-numbers.csproj b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Merge-without-changing-page-numbers.csproj index 115010a7..4cee6873 100644 --- a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Merge-without-changing-page-numbers.csproj +++ b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Merge-without-changing-page-numbers.csproj @@ -10,4 +10,19 @@ + + + Always + + + Always + + + Always + + + Always + + + diff --git a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Output/gitkeep b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs index 992937e7..171102cd 100644 --- a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs +++ b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs @@ -11,13 +11,13 @@ class Program static void Main(string[] args) { //Open the file as a stream. - using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream destinationStreamPath = new FileStream(Path.GetFullPath(@"Data/DestinationDocument.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the file stream into a Word document. using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) { //Get the Source document names from the folder. - string[] sourceDocumentNames = Directory.GetFiles(@"../../../Data/SourceDocuments/"); + string[] sourceDocumentNames = Directory.GetFiles(@"Data/SourceDocuments/"); foreach (string subDocumentName in sourceDocumentNames) { //Open the source document files as a stream. @@ -45,7 +45,7 @@ static void Main(string[] args) } } //Create a file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save a Word document to the file stream. destinationDocument.Save(outputFileStream, FormatType.Docx); diff --git "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Merge\342\200\223multiple-Word-files-in-same-page.csproj" "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Merge\342\200\223multiple-Word-files-in-same-page.csproj" index 96cb3b21..cd6f6931 100644 --- "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Merge\342\200\223multiple-Word-files-in-same-page.csproj" +++ "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Merge\342\200\223multiple-Word-files-in-same-page.csproj" @@ -12,4 +12,22 @@ + + + Always + + + Always + + + Always + + + Always + + + Always + + + diff --git "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Output/gitkeep" "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Output/gitkeep" new file mode 100644 index 00000000..5f282702 --- /dev/null +++ "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Output/gitkeep" @@ -0,0 +1 @@ + \ No newline at end of file diff --git "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" index 705cfd86..c44d8961 100644 --- "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" +++ "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" @@ -4,11 +4,11 @@ //Get the list of source document to be imported List sourceFileNames = new List(); -sourceFileNames.Add("../../../Data/Addressblock.docx"); -sourceFileNames.Add("../../../Data/Salutation.docx"); -sourceFileNames.Add("../../../Data/Greetings.docx"); +sourceFileNames.Add("Data/Addressblock.docx"); +sourceFileNames.Add("Data/Salutation.docx"); +sourceFileNames.Add("Data/Greetings.docx"); -string destinationFileName = "../../../Data/Title.docx"; +string destinationFileName = "Data/Title.docx"; using (FileStream destinationStreamPath = new FileStream(destinationFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens the destination document @@ -16,7 +16,7 @@ { ImportOtherDocuments(sourceFileNames, destinationDocument); //Saves and closes the destination document - using (FileStream outputStream = new FileStream("../../../Data/Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write)) { destinationDocument.Save(outputStream, FormatType.Docx); destinationDocument.Close(); diff --git a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Template.docx b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Data/Template.docx similarity index 100% rename from Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Template.docx rename to Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Data/Template.docx diff --git a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Modify-built-in-document-properties.csproj b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Modify-built-in-document-properties.csproj index 2d56c922..b44ababe 100644 --- a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Modify-built-in-document-properties.csproj +++ b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Modify-built-in-document-properties.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Output/gitkeep b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Program.cs b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Program.cs index 7598140b..32ce0000 100644 --- a/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Program.cs +++ b/Word-document/Modify-built-in-document-properties/.NET/Modify-built-in-document-properties/Program.cs @@ -10,7 +10,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -31,7 +31,7 @@ static void Main(string[] args) document.BuiltinDocumentProperties.RevisionNumber = "2"; document.BuiltinDocumentProperties.Company = "Adventure Works Cycle"; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Modify-built-in-style.csproj b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Modify-built-in-style.csproj index 820a430c..3fc9b6da 100644 --- a/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Modify-built-in-style.csproj +++ b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Modify-built-in-style.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Output/gitkeep b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Program.cs b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Program.cs index de9f5831..7a4a5c26 100644 --- a/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Program.cs +++ b/Word-document/Modify-built-in-style/.NET/Modify-built-in-style/Program.cs @@ -26,7 +26,7 @@ static void Main(string[] args) //Applies the new style to paragraph. paragraph.ApplyStyle(style.Name); //Creates file stream.s - using (FileStream outputStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) { //Saves the Word document to file stream.s document.Save(outputStream, FormatType.Docx); diff --git a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Template.docx b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Data/Template.docx similarity index 100% rename from Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Template.docx rename to Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Data/Template.docx diff --git a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Modify-content-type-properties.csproj b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Modify-content-type-properties.csproj index c0fd2fd9..18598c65 100644 --- a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Modify-content-type-properties.csproj +++ b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Modify-content-type-properties.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Output/gitkeep b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Program.cs b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Program.cs index 9b095ee5..ad796361 100644 --- a/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Program.cs +++ b/Word-document/Modify-content-type-properties/.NET/Modify-content-type-properties/Program.cs @@ -10,7 +10,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an existing document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -67,7 +67,7 @@ static void Main(string[] args) } } //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Template.docx b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Data/Template.docx similarity index 100% rename from Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Template.docx rename to Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Data/Template.docx diff --git a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Modify-custom-document-properties.csproj b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Modify-custom-document-properties.csproj index c118fba5..959980ec 100644 --- a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Modify-custom-document-properties.csproj +++ b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Modify-custom-document-properties.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Output/gitkeep b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Program.cs b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Program.cs index 74fda354..4fd6b0dd 100644 --- a/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Program.cs +++ b/Word-document/Modify-custom-document-properties/.NET/Modify-custom-document-properties/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -19,7 +19,7 @@ static void Main(string[] args) //Modifies the value of DocumentProperty instance. property.Value = "Hello world"; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Modify-formatting-for-default-styles.csproj b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Modify-formatting-for-default-styles.csproj index 5af8cb86..d734aea6 100644 --- a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Modify-formatting-for-default-styles.csproj +++ b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Modify-formatting-for-default-styles.csproj @@ -12,4 +12,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Output/gitkeep b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs index d17da4e0..51edf9b1 100644 --- a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs +++ b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs @@ -1,7 +1,7 @@ using Syncfusion.DocIO; using Syncfusion.DocIO.DLS; -using (FileStream fileStreamPath = new FileStream(@"../../../Data/Input.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) +using (FileStream fileStreamPath = new FileStream(@"Data/Input.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Open the existing Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) @@ -12,7 +12,7 @@ ChangeParagraphFormatting(document); //Change table style formatting ChangeTableFormatting(document); - using (FileStream outputStream = new FileStream(@"../../../Data/Output.docx", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) + using (FileStream outputStream = new FileStream(@"Output/Output.docx", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) { //Save the Word document. document.Save(outputStream, FormatType.Docx); diff --git a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Input.docx b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Data/Input.docx similarity index 100% rename from Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Input.docx rename to Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Data/Input.docx diff --git a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Output/gitkeep b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Program.cs b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Program.cs index 7202ad77..2b29c3ed 100644 --- a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Program.cs +++ b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Input.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Input.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the file stream into the Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) @@ -17,7 +17,7 @@ static void Main(string[] args) //Remove the existing background in the Word document. document.Background.Type = BackgroundType.NoBackground; //Create file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Sample.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Save the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Remove-background-in-Word-document.csproj b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Remove-background-in-Word-document.csproj index ccb02103..a9296788 100644 --- a/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Remove-background-in-Word-document.csproj +++ b/Word-document/Remove-background-in-Word-document/.NET/Remove-background-in-Word-document/Remove-background-in-Word-document.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Output/gitkeep b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs index 5dd2ff32..8bb2af93 100644 --- a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs +++ b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs @@ -3,7 +3,7 @@ //Opens an existing Word document -using (FileStream inputStream = new FileStream("../../../Data/Sample.docx", FileMode.Open, FileAccess.Read)) +using (FileStream inputStream = new FileStream("Data/Sample.docx", FileMode.Open, FileAccess.Read)) { using (WordDocument document = new WordDocument(inputStream, FormatType.Docx)) { @@ -22,7 +22,7 @@ document.ChildEntities.RemoveAt(SectionIndex); } } - using (FileStream outputStream = new FileStream("../../../Data/Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write)) { //Saves and closes the Word document document.Save(outputStream, FormatType.Docx); diff --git a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Remove-empty-pages-from-Word-document.csproj b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Remove-empty-pages-from-Word-document.csproj index 4c36389d..9267d6ad 100644 --- a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Remove-empty-pages-from-Word-document.csproj +++ b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Remove-empty-pages-from-Word-document.csproj @@ -12,4 +12,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Template.docx b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Data/Template.docx similarity index 100% rename from Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Template.docx rename to Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Data/Template.docx diff --git a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Output/gitkeep b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Program.cs b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Program.cs index 855a0f6b..d3e56a20 100644 --- a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Program.cs +++ b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an existing document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -27,7 +27,7 @@ static void Main(string[] args) IterateTextBody(headersFooters.OddFooter); } //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Remove-paragraph-with-style.csproj b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Remove-paragraph-with-style.csproj index 3629f24b..b7765040 100644 --- a/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Remove-paragraph-with-style.csproj +++ b/Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Remove-paragraph-with-style.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Template.docx b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Data/Template.docx similarity index 100% rename from Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Template.docx rename to Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Data/Template.docx diff --git a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Output/gitkeep b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Program.cs b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Program.cs index 7d0695d8..b92ac284 100644 --- a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Program.cs +++ b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -21,7 +21,7 @@ static void Main(string[] args) //Remove the "Style1" style from the Word document. style.Remove(); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Remove-particular-style-from-document.csproj b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Remove-particular-style-from-document.csproj index a693a8ed..c7b8f62f 100644 --- a/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Remove-particular-style-from-document.csproj +++ b/Word-document/Remove-particular-style-from-document/.NET/Remove-particular-style-from-document/Remove-particular-style-from-document.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Output/gitkeep b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Program.cs b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Program.cs index 932b9979..618d16d7 100644 --- a/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Program.cs +++ b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Program.cs @@ -44,7 +44,7 @@ static void Main(string[] args) FindAndPrintPageNumbers(document); //Saves the Word document to file system. - using (FileStream outputStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) { document.Save(outputStream,FormatType.Docx); } diff --git a/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Set-page-field-for-each-section.csproj b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Set-page-field-for-each-section.csproj index 420b7935..b80f4656 100644 --- a/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Set-page-field-for-each-section.csproj +++ b/Word-document/Set-page-field-for-each-section/.NET/Set-page-field-for-each-section/Set-page-field-for-each-section.csproj @@ -10,4 +10,10 @@ + + + Always + + + diff --git a/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Output/gitkeep b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Program.cs b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Program.cs index 297597b9..c449bf54 100644 --- a/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Program.cs +++ b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Program.cs @@ -9,7 +9,7 @@ class Program static void Main(string[] args) { //Load an existing Word document. - FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite); + FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite); using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) { //Create the bookmark navigator instance to access the bookmark. @@ -26,7 +26,7 @@ static void Main(string[] args) using (WordDocument newDocument = documentPart.GetAsWordDocument()) { //Save the Word document to file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../" + bookmark.Name + ".docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/" + bookmark.Name + ".docx"), FileMode.Create, FileAccess.ReadWrite)) { newDocument.Save(outputFileStream, FormatType.Docx); } diff --git a/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Split-by-bookmark.csproj b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Split-by-bookmark.csproj index b84d80f1..15f3dff1 100644 --- a/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Split-by-bookmark.csproj +++ b/Word-document/Split-by-bookmark/.NET/Split-by-bookmark/Split-by-bookmark.csproj @@ -9,4 +9,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Split-by-heading/.NET/Split-by-heading/Output/gitkeep b/Word-document/Split-by-heading/.NET/Split-by-heading/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Split-by-heading/.NET/Split-by-heading/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs b/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs index f6cfe219..58039e4e 100644 --- a/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs +++ b/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs @@ -8,7 +8,7 @@ class Program { static void Main(string[] args) { - using (FileStream inputStream = new FileStream(@"../../../Data/Template.docx", FileMode.Open, FileAccess.Read)) + using (FileStream inputStream = new FileStream(@"Data/Template.docx", FileMode.Open, FileAccess.Read)) { //Load the template document as stream using (WordDocument document = new WordDocument(inputStream, FormatType.Docx)) @@ -37,7 +37,7 @@ static void Main(string[] args) if (newDocument != null) { //Saves the Word document - string fileName = @"../../../Document" + (headingIndex + 1) + ".docx"; + string fileName = @"Output/Document" + (headingIndex + 1) + ".docx"; SaveWordDocument(newDocument, fileName); headingIndex++; } @@ -57,7 +57,7 @@ static void Main(string[] args) if (newDocument != null) { //Saves the Word document - string fileName = @"../../../Document" + (headingIndex + 1) + ".docx"; + string fileName = @"Output/Document" + (headingIndex + 1) + ".docx"; SaveWordDocument(newDocument, fileName); } } diff --git a/Word-document/Split-by-heading/.NET/Split-by-heading/Split-by-heading.csproj b/Word-document/Split-by-heading/.NET/Split-by-heading/Split-by-heading.csproj index 4cd1cccb..cbf33489 100644 --- a/Word-document/Split-by-heading/.NET/Split-by-heading/Split-by-heading.csproj +++ b/Word-document/Split-by-heading/.NET/Split-by-heading/Split-by-heading.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Output/gitkeep b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Program.cs b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Program.cs index ec45a48d..6c99ef97 100644 --- a/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Program.cs +++ b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Program.cs @@ -11,7 +11,7 @@ class Program static void Main(string[] args) { //Load an existing Word document into DocIO instance. - FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite); + FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite); using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) { @@ -75,7 +75,7 @@ static void Main(string[] args) using (WordDocument newDocument = wordDocumentPart.GetAsWordDocument()) { //Save the Word document to file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Placeholder_" + fileIndex + ".docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Placeholder_" + fileIndex + ".docx"), FileMode.Create, FileAccess.ReadWrite)) { newDocument.Save(outputFileStream, FormatType.Docx); } diff --git a/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Split-by-placeholder-text.csproj b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Split-by-placeholder-text.csproj index b84d80f1..15f3dff1 100644 --- a/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Split-by-placeholder-text.csproj +++ b/Word-document/Split-by-placeholder-text/.NET/Split-by-placeholder-text/Split-by-placeholder-text.csproj @@ -9,4 +9,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Split-by-section/.NET/Split-by-section/Output/gitkeep b/Word-document/Split-by-section/.NET/Split-by-section/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Split-by-section/.NET/Split-by-section/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Split-by-section/.NET/Split-by-section/Program.cs b/Word-document/Split-by-section/.NET/Split-by-section/Program.cs index 0fbe9a4f..6ab76ce6 100644 --- a/Word-document/Split-by-section/.NET/Split-by-section/Program.cs +++ b/Word-document/Split-by-section/.NET/Split-by-section/Program.cs @@ -8,7 +8,7 @@ class Program { static void Main(string[] args) { - using (FileStream inputStream = new FileStream(@"../../../Data/Template.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream inputStream = new FileStream(@"Data/Template.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Load the template document as stream using (WordDocument document = new WordDocument(inputStream, FormatType.Docx)) @@ -23,7 +23,7 @@ static void Main(string[] args) //Add cloned section into new Word document newDocument.Sections.Add(section.Clone()); //Saves the Word document to MemoryStream - using (FileStream outputStream = new FileStream(@"../../../Section" + fileId + ".docx", FileMode.OpenOrCreate, FileAccess.ReadWrite)) + using (FileStream outputStream = new FileStream(@"Output/Section" + fileId + ".docx", FileMode.OpenOrCreate, FileAccess.ReadWrite)) { newDocument.Save(outputStream, FormatType.Docx); } diff --git a/Word-document/Split-by-section/.NET/Split-by-section/Split-by-section.csproj b/Word-document/Split-by-section/.NET/Split-by-section/Split-by-section.csproj index e348b3dd..14b4546b 100644 --- a/Word-document/Split-by-section/.NET/Split-by-section/Split-by-section.csproj +++ b/Word-document/Split-by-section/.NET/Split-by-section/Split-by-section.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Template.docx b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Data/Template.docx similarity index 100% rename from Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Template.docx rename to Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Data/Template.docx diff --git a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Output/gitkeep b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Program.cs b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Program.cs index 3ed17ada..755462bc 100644 --- a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Program.cs +++ b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -17,7 +17,7 @@ static void Main(string[] args) //Update the alternate chunks in the document. document.UpdateAlternateChunks(); //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Update-alternate-chunks.csproj b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Update-alternate-chunks.csproj index a3a76c1c..7e65dc26 100644 --- a/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Update-alternate-chunks.csproj +++ b/Word-document/Update-alternate-chunks/.NET/Update-alternate-chunks/Update-alternate-chunks.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Update-pages-count/.NET/Update-pages-count/Template.docx b/Word-document/Update-pages-count/.NET/Update-pages-count/Data/Template.docx similarity index 100% rename from Word-document/Update-pages-count/.NET/Update-pages-count/Template.docx rename to Word-document/Update-pages-count/.NET/Update-pages-count/Data/Template.docx diff --git a/Word-document/Update-pages-count/.NET/Update-pages-count/Output/gitkeep b/Word-document/Update-pages-count/.NET/Update-pages-count/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Update-pages-count/.NET/Update-pages-count/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Update-pages-count/.NET/Update-pages-count/Program.cs b/Word-document/Update-pages-count/.NET/Update-pages-count/Program.cs index 5d50538e..466c3f5d 100644 --- a/Word-document/Update-pages-count/.NET/Update-pages-count/Program.cs +++ b/Word-document/Update-pages-count/.NET/Update-pages-count/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -19,7 +19,7 @@ static void Main(string[] args) //Get the page count in the document. int pageCount = document.BuiltinDocumentProperties.PageCount; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Update-pages-count/.NET/Update-pages-count/Update-pages-count.csproj b/Word-document/Update-pages-count/.NET/Update-pages-count/Update-pages-count.csproj index 161c4dfa..eceacb43 100644 --- a/Word-document/Update-pages-count/.NET/Update-pages-count/Update-pages-count.csproj +++ b/Word-document/Update-pages-count/.NET/Update-pages-count/Update-pages-count.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + diff --git a/Word-document/Update-words-count/.NET/Update-words-count/Template.docx b/Word-document/Update-words-count/.NET/Update-words-count/Data/Template.docx similarity index 100% rename from Word-document/Update-words-count/.NET/Update-words-count/Template.docx rename to Word-document/Update-words-count/.NET/Update-words-count/Data/Template.docx diff --git a/Word-document/Update-words-count/.NET/Update-words-count/Output/gitkeep b/Word-document/Update-words-count/.NET/Update-words-count/Output/gitkeep new file mode 100644 index 00000000..5f282702 --- /dev/null +++ b/Word-document/Update-words-count/.NET/Update-words-count/Output/gitkeep @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Word-document/Update-words-count/.NET/Update-words-count/Program.cs b/Word-document/Update-words-count/.NET/Update-words-count/Program.cs index 49ddc2b1..773c6194 100644 --- a/Word-document/Update-words-count/.NET/Update-words-count/Program.cs +++ b/Word-document/Update-words-count/.NET/Update-words-count/Program.cs @@ -9,7 +9,7 @@ class Program { static void Main(string[] args) { - using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"../../../Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens an document from file system through constructor of WordDocument class. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Automatic)) @@ -23,7 +23,7 @@ static void Main(string[] args) //Get the paragraph count in the document. int paragraphCount = document.BuiltinDocumentProperties.ParagraphCount; //Creates file stream. - using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite)) + using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite)) { //Saves the Word document to file stream. document.Save(outputFileStream, FormatType.Docx); diff --git a/Word-document/Update-words-count/.NET/Update-words-count/Update-words-count.csproj b/Word-document/Update-words-count/.NET/Update-words-count/Update-words-count.csproj index 9499f537..45cac16e 100644 --- a/Word-document/Update-words-count/.NET/Update-words-count/Update-words-count.csproj +++ b/Word-document/Update-words-count/.NET/Update-words-count/Update-words-count.csproj @@ -10,4 +10,13 @@ + + + Always + + + Always + + + From 2a8b29b93ff4348cb840acdb83ee5ab200e3b94c Mon Sep 17 00:00:00 2001 From: DharanyaSakthivel-SF4210 Date: Tue, 10 Sep 2024 23:33:54 +0530 Subject: [PATCH 4/4] Feedback addressed --- .../.NET/Add_toc_in_merged_documents/Program.cs | 4 ++-- .../.NET/Apply-picture-background-to-document/Program.cs | 2 +- .../Copy-Excel-content-to-Word-with-formatting/Program.cs | 4 ++-- .../.NET/Find-and-replace-text-with-Excel-content/Program.cs | 4 ++-- .../Merge-documents-with-same-header-and-footer/Program.cs | 2 +- .../.NET/Merge-without-changing-page-numbers/Program.cs | 2 +- .../Program.cs" | 4 ++-- .../.NET/Modify-formatting-for-default-styles/Program.cs | 4 ++-- .../.NET/Remove-empty-pages-from-Word-document/Program.cs | 4 ++-- .../Split-by-heading/.NET/Split-by-heading/Program.cs | 4 ++-- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs index 9eb5d711..70653ea2 100644 --- a/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs +++ b/Table-Of-Contents/Add_toc_in_merged_documents/.NET/Add_toc_in_merged_documents/Program.cs @@ -3,7 +3,7 @@ using Syncfusion.DocIORenderer; //Get the Source document names from the folder. -string[] sourceDocumentNames = Directory.GetFiles(@"Data/"); +string[] sourceDocumentNames = Directory.GetFiles(Path.GetFullPath(@"Data/")); //Create an WordDocumentinstance for destination document. using (WordDocument destinationDocument = new WordDocument()) @@ -34,7 +34,7 @@ //Updates the table of contents destinationDocument.UpdateTableOfContents(); //Save the destination document. - using (FileStream outputStream = new FileStream(@"Output/Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write)) { destinationDocument.Save(outputStream, FormatType.Docx); } diff --git a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs index 115a004d..316f688d 100644 --- a/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs +++ b/Word-document/Apply-picture-background-to-document/.NET/Apply-picture-background-to-document/Program.cs @@ -16,7 +16,7 @@ static void Main(string[] args) //Sets the background type as picture. document.Background.Type = BackgroundType.Picture; //Opens the existing image. - using (FileStream imageStream = new FileStream(@"Data/Picture.png", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) + using (FileStream imageStream = new FileStream(Path.GetFullPath(@"Data/Picture.png"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { using (MemoryStream memoryStream = new MemoryStream()) { diff --git a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs index 12184127..53140ca8 100644 --- a/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs +++ b/Word-document/Copy-Excel-content-to-Word-with-formatting/.NET/Copy-Excel-content-to-Word-with-formatting/Program.cs @@ -18,7 +18,7 @@ ExtractExcelContent(table); //Load the file into stream -FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write); +FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write); //Save the Word document. document.Save(outputStream, FormatType.Docx); //Close the document @@ -35,7 +35,7 @@ void ExtractExcelContent(WTable table) IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Xlsx; //Load the file into stream - FileStream inputExcelStream = new FileStream("Data/Sample.xlsx", FileMode.Open, FileAccess.Read); + FileStream inputExcelStream = new FileStream(Path.GetFullPath(@"Data/Sample.xlsx"), FileMode.Open, FileAccess.Read); IWorkbook workbook = application.Workbooks.Open(inputExcelStream); //Get the first worksheet diff --git a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs index aded7192..5f868cac 100644 --- a/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs +++ b/Word-document/Find-and-replace-text-with-Excel-content/.NET/Find-and-replace-text-with-Excel-content/Program.cs @@ -24,7 +24,7 @@ document.Replace("<>", bodyPart, true, true, false); //Load the file into stream - FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write); + FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write); //Save the Word document. document.Save(outputStream, FormatType.Docx); } @@ -40,7 +40,7 @@ void ExtractExcelContent(WTable table) IApplication application = excelEngine.Excel; application.DefaultVersion = ExcelVersion.Xlsx; //Load the file into stream - FileStream inputExcelStream = new FileStream("Data/Sample.xlsx", FileMode.Open, FileAccess.Read); + FileStream inputExcelStream = new FileStream(Path.GetFullPath(@"Data/Sample.xlsx"), FileMode.Open, FileAccess.Read); IWorkbook workbook = application.Workbooks.Open(inputExcelStream); //Get the first worksheet diff --git a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs index b44b905e..37513e83 100644 --- a/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs +++ b/Word-document/Merge-documents-with-same-header-and-footer/.NET/Merge-documents-with-same-header-and-footer/Program.cs @@ -18,7 +18,7 @@ static void Main(string[] args) using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) { //Get the Source document names from the folder. - string[] sourceDocumentNames = Directory.GetFiles(@"Data/SourceDocuments/"); + string[] sourceDocumentNames = Directory.GetFiles(Path.GetFullPath(@"Data/SourceDocuments/"));                     //Merge each source document to the destination document. foreach (string subDocumentName in sourceDocumentNames) { diff --git a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs index 171102cd..8e738cb4 100644 --- a/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs +++ b/Word-document/Merge-without-changing-page-numbers/.NET/Merge-without-changing-page-numbers/Program.cs @@ -17,7 +17,7 @@ static void Main(string[] args) using (WordDocument destinationDocument = new WordDocument(destinationStreamPath, FormatType.Automatic)) { //Get the Source document names from the folder. - string[] sourceDocumentNames = Directory.GetFiles(@"Data/SourceDocuments/"); + string[] sourceDocumentNames = Directory.GetFiles(Path.GetFullPath(@"Data/SourceDocuments/")); foreach (string subDocumentName in sourceDocumentNames) { //Open the source document files as a stream. diff --git "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" index c44d8961..328b9827 100644 --- "a/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" +++ "b/Word-document/Merge\342\200\223multiple-Word-files-in-same-page/.NET/Merge\342\200\223multiple-Word-files-in-same-page/Program.cs" @@ -8,7 +8,7 @@ sourceFileNames.Add("Data/Salutation.docx"); sourceFileNames.Add("Data/Greetings.docx"); -string destinationFileName = "Data/Title.docx"; +string destinationFileName = Path.GetFullPath(@"Data/Title.docx"); using (FileStream destinationStreamPath = new FileStream(destinationFileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Opens the destination document @@ -16,7 +16,7 @@ { ImportOtherDocuments(sourceFileNames, destinationDocument); //Saves and closes the destination document - using (FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write)) { destinationDocument.Save(outputStream, FormatType.Docx); destinationDocument.Close(); diff --git a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs index 51edf9b1..06abf35c 100644 --- a/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs +++ b/Word-document/Modify-formatting-for-default-styles/.NET/Modify-formatting-for-default-styles/Program.cs @@ -1,7 +1,7 @@ using Syncfusion.DocIO; using Syncfusion.DocIO.DLS; -using (FileStream fileStreamPath = new FileStream(@"Data/Input.docx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) +using (FileStream fileStreamPath = new FileStream(Path.GetFullPath(@"Data/Input.docx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { //Open the existing Word document. using (WordDocument document = new WordDocument(fileStreamPath, FormatType.Docx)) @@ -12,7 +12,7 @@ ChangeParagraphFormatting(document); //Change table style formatting ChangeTableFormatting(document); - using (FileStream outputStream = new FileStream(@"Output/Output.docx", FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite)) { //Save the Word document. document.Save(outputStream, FormatType.Docx); diff --git a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs index 8bb2af93..fd400b98 100644 --- a/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs +++ b/Word-document/Remove-empty-pages-from-Word-document/.NET/Remove-empty-pages-from-Word-document/Program.cs @@ -3,7 +3,7 @@ //Opens an existing Word document -using (FileStream inputStream = new FileStream("Data/Sample.docx", FileMode.Open, FileAccess.Read)) +using (FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/Sample.docx"), FileMode.Open, FileAccess.Read)) { using (WordDocument document = new WordDocument(inputStream, FormatType.Docx)) { @@ -22,7 +22,7 @@ document.ChildEntities.RemoveAt(SectionIndex); } } - using (FileStream outputStream = new FileStream("Output/Output.docx", FileMode.Create, FileAccess.Write)) + using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write)) { //Saves and closes the Word document document.Save(outputStream, FormatType.Docx); diff --git a/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs b/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs index dfc3e9bd..d5c5dcf3 100644 --- a/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs +++ b/Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs @@ -37,7 +37,7 @@ static void Main(string[] args) if (newDocument != null) { //Saves the Word document - string fileName = @"Output/Document" + (headingIndex + 1) + ".docx"; + string fileName = Path.GetFullPath(@"Output/Document") + (headingIndex + 1) + ".docx"; SaveWordDocument(newDocument, fileName); headingIndex++; } @@ -57,7 +57,7 @@ static void Main(string[] args) if (newDocument != null) { //Saves the Word document - string fileName = @"Output/Document" + (headingIndex + 1) + ".docx"; + string fileName = Path.GetFullPath(@"Output/Document") + (headingIndex + 1) + ".docx"; SaveWordDocument(newDocument, fileName); } }