Skip to content

Commit

Permalink
Updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
falleretic committed Nov 2, 2023
1 parent f112a99 commit 73cb32d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Examples/ApiExamples/ApiExamples/ExCharts.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-2023 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 @@ -1308,7 +1308,7 @@ public void LegendEntries()
public void LegendFont()
{
//ExStart:LegendFont
//ReleaseVersion:23.11
//GistId:470c0da51e4317baae82ad9495747fed
//ExFor:ChartLegendEntry.Font
//ExFor:ChartLegend.Font
//ExSummary:Shows how to work with a legend font.
Expand Down
4 changes: 2 additions & 2 deletions Examples/ApiExamples/ApiExamples/ExReportingEngine.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-2023 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 @@ -1185,7 +1185,7 @@ public void InsertComboboxDropdownListItemsDynamically(SdtType sdtType)
public void UpdateFieldsSyntaxAware()
{
//ExStart:UpdateFieldsSyntaxAware
//ReleaseVersion:23.11
//GistId:470c0da51e4317baae82ad9495747fed
Document doc = new Document(MyDir + "Reporting engine template - Fields.docx");

// Note that enabling of the option makes the engine to update fields while building a report,
Expand Down
4 changes: 2 additions & 2 deletions Examples/ApiExamples/ApiExamples/ExRevision.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-2023 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 @@ -294,7 +294,7 @@ public void RevisionOptions()
}

//ExStart:RevisionSpecifiedCriteria
//ReleaseVersion:23.11
//GistId:470c0da51e4317baae82ad9495747fed
//ExFor:RevisionCollection.Accept(IRevisionCriteria)
//ExFor:RevisionCollection.Reject(IRevisionCriteria)
//ExSummary:Shows how to accept or reject revision based on criteria.
Expand Down
10 changes: 5 additions & 5 deletions Examples/ApiExamples/ApiExamples/ExStructuredDocumentTag.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-2023 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 @@ -1271,10 +1271,10 @@ public void Citation()
}

[Test]
public void RangeStartWordOpenXMLMinimal()
public void RangeStartWordOpenXmlMinimal()
{
//ExStart:RangeStartWordOpenXMLMinimal
//ReleaseVersion:23.11
//ExStart:RangeStartWordOpenXmlMinimal
//GistId:470c0da51e4317baae82ad9495747fed
//ExFor:StructuredDocumentTagRangeStart.WordOpenXMLMinimal
//ExSummary:Shows how to get minimal XML contained within the node in the FlatOpc format.
Document doc = new Document(MyDir + "Multi-section structured document tags.docx");
Expand All @@ -1285,7 +1285,7 @@ public void RangeStartWordOpenXMLMinimal()
.Contains(
"<pkg:part pkg:name=\"/docProps/app.xml\" pkg:contentType=\"application/vnd.openxmlformats-officedocument.extended-properties+xml\">"));
Assert.False(tag.WordOpenXMLMinimal.Contains("xmlns:w16cid=\"http://schemas.microsoft.com/office/word/2016/wordml/cid\""));
//ExEnd:
//ExEnd:RangeStartWordOpenXmlMinimal
}
}
}
4 changes: 2 additions & 2 deletions Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.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-2023 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 @@ -33,7 +33,7 @@ public void CompressXlsx()
public void SelectionMode()
{
//ExStart:SelectionMode
//ReleaseVersion:23.11
//GistId:470c0da51e4317baae82ad9495747fed
//ExFor:XlsxSaveOptions.SectionMode
//ExSummary:Shows how to save document as a separate worksheets.
Document doc = new Document(MyDir + "Big document.docx");
Expand Down

0 comments on commit 73cb32d

Please sign in to comment.