Skip to content

Commit 1b87844

Browse files
ES_907669_Git-Hub_Sample_changes
1 parent 42df956 commit 1b87844

File tree

167 files changed

+530
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+530
-78
lines changed

Paragraphs/Add-an-email-link/.NET/Add-an-email-link/Add-an-email-link.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@
1010
<PackageReference Include="Syncfusion.DocIO.Net.Core" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Output\.gitkeep">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
</ItemGroup>
18+
1319
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


Paragraphs/Add-an-email-link/.NET/Add-an-email-link/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static void Main(string[] args)
2020
//Appends Email hyperlink to the paragraph.
2121
paragraph.AppendHyperlink("mailto:[email protected]", "Sales", HyperlinkType.EMailLink);
2222
//Creates file stream.
23-
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite))
23+
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))
2424
{
2525
//Saves the Word document to file stream.
2626
document.Save(outputFileStream, FormatType.Docx);

Paragraphs/Add-bookmark-hyperlink/.NET/Add-bookmark-hyperlink/Add-bookmark-hyperlink.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@
1010
<PackageReference Include="Syncfusion.DocIO.Net.Core" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Output\.gitkeep">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
</ItemGroup>
18+
1319
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


Paragraphs/Add-bookmark-hyperlink/.NET/Add-bookmark-hyperlink/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static void Main(string[] args)
2626
//Appends Bookmark hyperlink to the paragraph.
2727
paragraph.AppendHyperlink("Introduction", "Bookmark", HyperlinkType.Bookmark);
2828
//Creates file stream.
29-
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite))
29+
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))
3030
{
3131
//Saves the Word document to file stream.
3232
document.Save(outputFileStream, FormatType.Docx);

Paragraphs/Add-file-hyperlink/.NET/Add-file-hyperlink/Add-file-hyperlink.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@
1010
<PackageReference Include="Syncfusion.DocIO.Net.Core" Version="*" />
1111
</ItemGroup>
1212

13+
<ItemGroup>
14+
<None Update="Data\Template.docx">
15+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
16+
</None>
17+
<None Update="Output\.gitkeep">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
20+
</ItemGroup>
21+
1322
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+


Paragraphs/Add-file-hyperlink/.NET/Add-file-hyperlink/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ static void Main(string[] args)
1818
paragraph.AppendText("File Hyperlinks: ");
1919
paragraph = section.AddParagraph();
2020
//Appends hyperlink field to the paragraph.
21-
paragraph.AppendHyperlink(@"Template.docx", "File", HyperlinkType.FileLink);
21+
paragraph.AppendHyperlink(@"Data/Template.docx", "File", HyperlinkType.FileLink);
2222
//Creates file stream.
23-
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"../../../Result.docx"), FileMode.Create, FileAccess.ReadWrite))
23+
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Result.docx"), FileMode.Create, FileAccess.ReadWrite))
2424
{
2525
//Saves the Word document to file stream.
2626
document.Save(outputFileStream, FormatType.Docx);

0 commit comments

Comments
 (0)