Skip to content

Commit 4fa32d2

Browse files
Changes_Reverted
1 parent 1cff6e9 commit 4fa32d2

File tree

6 files changed

+2
-22
lines changed

6 files changed

+2
-22
lines changed

Word-document/Iterate-document-elements/.NET/Iterate-document-elements/Iterate-document-elements.csproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,4 @@
2828
</None>
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<None Update="Data\Template.docx">
33-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
34-
</None>
35-
<None Update="Output\.gitkeep">
36-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
37-
</None>
38-
</ItemGroup>
39-
4031
</Project>

Word-document/Merge-documents-in-new-page/.NET/Merge-documents-in-new-page/Merge-documents-in-new-page.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<None Update="Data\DestinationDocument.docx">
1515
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1616
</None>
17-
<None Update="Data\SourceDocument.docx">
17+
<None Update="Data\SourceDocument.docx">
1818
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1919
</None>
2020
<None Update="Output\.gitkeep">

Word-document/Remove-paragraph-with-style/.NET/Remove-paragraph-with-style/Remove-paragraph-with-style.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1919
</None>
2020
</ItemGroup>
21+
2122
</Project>

Word-document/Split-by-heading/.NET/Split-by-heading/Program.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ static void Main(string[] args)
3838
{
3939
//Saves the Word document
4040
string fileName = Path.GetFullPath(@"Output/Document") + (headingIndex + 1) + ".docx";
41-
4241
SaveWordDocument(newDocument, fileName);
4342
headingIndex++;
4443
}
@@ -58,7 +57,6 @@ static void Main(string[] args)
5857
if (newDocument != null)
5958
{
6059
//Saves the Word document
61-
6260
string fileName = Path.GetFullPath(@"Output/Document") + (headingIndex + 1) + ".docx";
6361
SaveWordDocument(newDocument, fileName);
6462
}

Word-document/Split-by-heading/.NET/Split-by-heading/Split-by-heading.csproj

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,4 @@
2828
</None>
2929
</ItemGroup>
3030

31-
<ItemGroup>
32-
<None Update="Data\Template.docx">
33-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
34-
</None>
35-
<None Update="Output\.gitkeep">
36-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
37-
</None>
38-
</ItemGroup>
39-
4031
</Project>

Word-document/Split-by-section/.NET/Split-by-section/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ static void Main(string[] args)
2424
newDocument.Sections.Add(section.Clone());
2525
//Saves the Word document to MemoryStream
2626
using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Section") + fileId + ".docx", FileMode.OpenOrCreate, FileAccess.ReadWrite))
27-
2827
{
2928
newDocument.Save(outputStream, FormatType.Docx);
3029
}

0 commit comments

Comments
 (0)