From 73cb32d09230abaf62f6bd4d543e1dfcd23eeb60 Mon Sep 17 00:00:00 2001 From: vderyushev Date: Thu, 2 Nov 2023 16:10:44 +0300 Subject: [PATCH] Updated examples --- Examples/ApiExamples/ApiExamples/ExCharts.cs | 4 ++-- Examples/ApiExamples/ApiExamples/ExReportingEngine.cs | 4 ++-- Examples/ApiExamples/ApiExamples/ExRevision.cs | 4 ++-- .../ApiExamples/ApiExamples/ExStructuredDocumentTag.cs | 10 +++++----- Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.cs | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Examples/ApiExamples/ApiExamples/ExCharts.cs b/Examples/ApiExamples/ApiExamples/ExCharts.cs index 34739845d..d3b4daf35 100644 --- a/Examples/ApiExamples/ApiExamples/ExCharts.cs +++ b/Examples/ApiExamples/ApiExamples/ExCharts.cs @@ -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 @@ -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. diff --git a/Examples/ApiExamples/ApiExamples/ExReportingEngine.cs b/Examples/ApiExamples/ApiExamples/ExReportingEngine.cs index ea142236a..f66900062 100644 --- a/Examples/ApiExamples/ApiExamples/ExReportingEngine.cs +++ b/Examples/ApiExamples/ApiExamples/ExReportingEngine.cs @@ -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 @@ -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, diff --git a/Examples/ApiExamples/ApiExamples/ExRevision.cs b/Examples/ApiExamples/ApiExamples/ExRevision.cs index 4d4a5d2e3..fc21c67ff 100644 --- a/Examples/ApiExamples/ApiExamples/ExRevision.cs +++ b/Examples/ApiExamples/ApiExamples/ExRevision.cs @@ -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 @@ -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. diff --git a/Examples/ApiExamples/ApiExamples/ExStructuredDocumentTag.cs b/Examples/ApiExamples/ApiExamples/ExStructuredDocumentTag.cs index d702c731c..dc990e4e7 100644 --- a/Examples/ApiExamples/ApiExamples/ExStructuredDocumentTag.cs +++ b/Examples/ApiExamples/ApiExamples/ExStructuredDocumentTag.cs @@ -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 @@ -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"); @@ -1285,7 +1285,7 @@ public void RangeStartWordOpenXMLMinimal() .Contains( "")); Assert.False(tag.WordOpenXMLMinimal.Contains("xmlns:w16cid=\"http://schemas.microsoft.com/office/word/2016/wordml/cid\"")); - //ExEnd: + //ExEnd:RangeStartWordOpenXmlMinimal } } } diff --git a/Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.cs b/Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.cs index 27fd1a87e..3dd2179fd 100644 --- a/Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.cs +++ b/Examples/ApiExamples/ApiExamples/ExXlsxSaveOptions.cs @@ -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 @@ -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");