Skip to content

Update examples for python porting #376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
e310857
Added desc
Jan 20, 2025
208d2cd
Updated "aspose-words-document-object-model"
Jan 20, 2025
46a601e
Updated "Translate Markdown to DOM"
Jan 20, 2025
9bc120b
Updated "Document Builder Overview"
Jan 21, 2025
73ab97e
Updated "Navigation with Cursor"
Jan 21, 2025
a90a3d6
Updated "Work with document properties"
Jan 21, 2025
6151505
Updated "Convert between units"
Jan 21, 2025
409a69c
Updated "Clean Up a Document"
Jan 21, 2025
947e712
Updated "Work with Options and Appearance"
Jan 21, 2025
c45b655
Updated "Work with Office Add-ins"
Jan 21, 2025
55bfa87
Updated "Open a Document Read-Only"
Jan 21, 2025
67e410d
Updated "Restrict document editing"
Jan 21, 2025
03c51f4
Updated "Compare Documents"
Jan 21, 2025
e27c5dc
Updated "Clone document"
Jan 22, 2025
5c3fb06
Updated "Split a Document"
Jan 22, 2025
56b553d
Updated "Find and Replace"
Jan 22, 2025
83b716f
Updated "Styles and Themes"
Jan 22, 2025
5f38547
Updated "Ranges"
Jan 22, 2025
40fc9cf
Updated "Footnote and endnote"
Jan 22, 2025
7a9efc3
Updated "Working with Table of Contents"
Jan 22, 2025
5b54293
Updated "Working with Bookmarks"
Jan 22, 2025
f05d73b
Updated "Working with Paragraphs"
Jan 22, 2025
88101f1
Updated "Working with fonts"
Jan 24, 2025
266c26e
Updated "Asian Typography"
Jan 24, 2025
ab43887
Updated "Working with TextBoxes"
Jan 24, 2025
719f525
Updated "Working with Comments"
Jan 24, 2025
5148563
Updated "Track Changes"
Jan 24, 2025
9a66b9b
Updated "Working with shapes"
Jan 24, 2025
5af9e40
Updated "Working with Images"
Jan 24, 2025
f27ac11
Updated "Working with Charts"
Jan 24, 2025
5f2be46
Updated "Working with OfficeMath"
Jan 27, 2025
8c1c659
Updated "Working with SmartArt"
Jan 27, 2025
a7fac4f
Updated "Working with watermark"
Jan 27, 2025
7c6ffbb
Updated "Working with OLE"
Jan 28, 2025
a19c262
updated examples for correct porting to python (#375)
KotovDE Jan 28, 2025
5ffc37d
Updated "Fields Overview"
Jan 28, 2025
9e48ff2
Updated "Insert Fields"
Jan 28, 2025
9bb9ae8
Updated "Field Properties"
Jan 28, 2025
acdb0ab
Updated "Customize Field Properties"
Jan 28, 2025
7aa1207
Updated "Update Fields"
Jan 28, 2025
609f2d3
Updated "Remove Fields"
Jan 29, 2025
79e0a46
Updated "Replace Fields"
Jan 29, 2025
d448110
Updated "Apply Custom Formatting"
Jan 29, 2025
a241a95
Updated "Working with Hyperlinks"
Jan 29, 2025
7a40448
Updated "Working with Form Fields"
Jan 30, 2025
cbf3f93
Updated "Working with Sdt"
Jan 30, 2025
a919d4e
Updated "Working With Control Characters"
Jan 30, 2025
dcf840b
Updated "Working with VBA"
Jan 30, 2025
02746da
Updated "Working with Markdown"
Jan 30, 2025
e7253af
Updated "Working with Text"
Jan 30, 2025
ff1b8d7
Fixes
Feb 3, 2025
4edd7a8
Added AI class
Feb 3, 2025
5bd2369
Updated "Translate a Document"
Feb 3, 2025
b27a8c1
Updated "AI Grammar Checking"
Feb 3, 2025
8f6fdeb
Merge branch 'UEX-497' into ReleasePreparation
Feb 3, 2025
b203f5f
Updated API examples
Feb 3, 2025
32c78f5
Added examples for API 25.2
Feb 4, 2025
c7129a1
Added gist
Feb 4, 2025
b9b88ea
Fixed examples
Feb 4, 2025
4336345
Updated to API 25.2
Feb 14, 2025
0c6f05b
Updated examples and documents
Feb 24, 2025
01a3e34
updated examples
KotovDA Feb 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ApiExampleBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2023 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
18 changes: 9 additions & 9 deletions Examples/ApiExamples/ApiExamples/ApiExamples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,16 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspose.BarCode" Version="24.12.0" />
<PackageReference Include="Aspose.Page" Version="24.12.0" />
<PackageReference Include="Aspose.PDF" Version="25.1.0" />
<PackageReference Include="Aspose.Words" Version="25.1.0" />
<PackageReference Include="Aspose.Words.Shaping.HarfBuzz" Version="25.1.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="Aspose.BarCode" Version="25.1.0" />
<PackageReference Include="Aspose.Page" Version="25.1.2" />
<PackageReference Include="Aspose.PDF" Version="25.2.0" />
<PackageReference Include="Aspose.Words" Version="25.2.0" />
<PackageReference Include="Aspose.Words.Shaping.HarfBuzz" Version="25.2.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0">
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/CustomBarcodeGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/DocumentHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
16 changes: 8 additions & 8 deletions Examples/ApiExamples/ApiExamples/ExAI.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down Expand Up @@ -55,14 +55,14 @@ public void AiSummarize()
//ExEnd:AiSummarize
}

[Test, Ignore("This test should be run manually to manage API requests amount")]
[Test, Explicit("This test should be run manually to manage API requests amount")]
public void AiTranslate()
{
//ExStart:AiTranslate
//GistId:695136dbbe4f541a8a0a17b3d3468689
//ExFor:IAiModelText.Translate(Document, AI.Language)
//ExFor:AI.Language
//ExSummary:Shows how to translate text using Google models.
//ExFor:IAiModelText.Translate(Document, AI.Language)
//ExFor:AI.Language
//ExSummary:Shows how to translate text using Google models.
Document doc = new Document(MyDir + "Document.docx");

string apiKey = Environment.GetEnvironmentVariable("API_KEY");
Expand All @@ -74,7 +74,7 @@ public void AiTranslate()
//ExEnd:AiTranslate
}

[Test, Ignore("This test should be run manually to manage API requests amount")]
[Test, Explicit("This test should be run manually to manage API requests amount")]
public void AiGrammar()
{
//ExStart:AiGrammar
Expand All @@ -86,13 +86,13 @@ public void AiGrammar()

string apiKey = Environment.GetEnvironmentVariable("API_KEY");
// Use OpenAI generative language models.
IAiModelText model = (IAiModelText)AiModel.Create(AiModelType.Gpt4OMini).WithApiKey(apiKey);
IAiModelText model = (OpenAiModel)AiModel.Create(AiModelType.Gpt4OMini).WithApiKey(apiKey);

CheckGrammarOptions grammarOptions = new CheckGrammarOptions();
grammarOptions.ImproveStylistics = true;

Document proofedDoc = model.CheckGrammar(doc, grammarOptions);
proofedDoc.Save("AI.AiGrammar.docx");
proofedDoc.Save(ArtifactsDir + "AI.AiGrammar.docx");
//ExEnd:AiGrammar
}
}
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExAbsolutePositionTab.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExBookmarks.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExBorder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExBorderCollection.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExBuildVersion.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExBuildingBlocks.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExCellFormat.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExCertificateHolder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExCharts.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExChmLoadOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExCleanupOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExComHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
6 changes: 3 additions & 3 deletions Examples/ApiExamples/ApiExamples/ExComment.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down Expand Up @@ -77,7 +77,7 @@ public void PrintAllComments()

// If a comment has no ancestor, it is a "top-level" comment as opposed to a reply-type comment.
// Print all top-level comments along with any replies they may have.
foreach (Comment comment in comments.OfType<Comment>().Where(c => c.Ancestor == null))
foreach (Comment comment in comments.OfType<Comment>().Where(c => c.Ancestor == null).ToList())
{
Console.WriteLine("Top-level comment:");
Console.WriteLine($"\t\"{comment.GetText().Trim()}\", by {comment.Author}");
Expand Down Expand Up @@ -219,7 +219,7 @@ private static void PrintAllCommentInfo(NodeCollection comments)
CommentInfoPrinter commentVisitor = new CommentInfoPrinter();

// Iterate over all top-level comments. Unlike reply-type comments, top-level comments have no ancestor.
foreach (Comment comment in comments.Where(c => ((Comment)c).Ancestor == null))
foreach (Comment comment in comments.Where(c => ((Comment)c).Ancestor == null).ToList())
{
// First, visit the start of the comment range.
CommentRangeStart commentRangeStart = (CommentRangeStart)comment.PreviousSibling.PreviousSibling.PreviousSibling;
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExCompatibilityOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExControlChar.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDigitalSignatureUtil.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDocSaveOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
6 changes: 3 additions & 3 deletions Examples/ApiExamples/ApiExamples/ExDocument.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down Expand Up @@ -548,8 +548,8 @@ public void AppendDocument()

string outDocText = new Document(ArtifactsDir + "Document.AppendDocument.docx").GetText();

Assert.True(outDocText.StartsWith(dstDoc.GetText(), StringComparison.Ordinal));
Assert.True(outDocText.EndsWith(srcDoc.GetText(), StringComparison.Ordinal));
Assert.True(outDocText.StartsWith(dstDoc.GetText()));
Assert.True(outDocText.EndsWith(srcDoc.GetText()));
}

[Test]
Expand Down
4 changes: 2 additions & 2 deletions Examples/ApiExamples/ApiExamples/ExDocumentBase.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down Expand Up @@ -77,7 +77,7 @@ public void ImportNode()
// Every node has a parent document, which is the document that contains the node.
// Inserting a node into a document that the node does not belong to will throw an exception.
Assert.AreNotEqual(dstDoc, srcDoc.FirstSection.Document);
Assert.Throws<ArgumentException>(() => { dstDoc.AppendChild(srcDoc.FirstSection); });
Assert.Throws<ArgumentException>(() => dstDoc.AppendChild(srcDoc.FirstSection));

// Use the ImportNode method to create a copy of a node, which will have the document
// that called the ImportNode method set as its new owner document.
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDocumentBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDocumentProperties.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDocumentVisitor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExDrawing.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
2 changes: 1 addition & 1 deletion Examples/ApiExamples/ApiExamples/ExEditableRange.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2001-2024 Aspose Pty Ltd. All Rights Reserved.
// Copyright (c) 2001-2025 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
Expand Down
Loading
Loading