Skip to content

Commit

Permalink
Updated tags
Browse files Browse the repository at this point in the history
  • Loading branch information
falleretic committed Nov 2, 2023
1 parent 73cb32d commit f61511b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Examples/ApiExamples/ApiExamples/ExReportingEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1184,8 +1184,6 @@ public void InsertComboboxDropdownListItemsDynamically(SdtType sdtType)
[Test]
public void UpdateFieldsSyntaxAware()
{
//ExStart:UpdateFieldsSyntaxAware
//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 All @@ -1194,8 +1192,7 @@ public void UpdateFieldsSyntaxAware()
BuildReport(doc, new string[] { "First topic", "Second topic", "Third topic" }, "topics",
ReportBuildOptions.UpdateFieldsSyntaxAware);

doc.Save(ArtifactsDir + "ReportingEngine.UpdateFieldsSyntaxAware.docx");
//ExEnd:UpdateFieldsSyntaxAware
doc.Save(ArtifactsDir + "ReportingEngine.UpdateFieldsSyntaxAware.docx");
}

private static void BuildReport(Document document, object dataSource, ReportBuildOptions reportBuildOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,7 @@ public void Citation()
sdt.AppendChild(sdt.NextSibling);

doc.Save(ArtifactsDir + "StructuredDocumentTag.Citation.docx");
//ExEnd
}

[Test]
Expand Down

0 comments on commit f61511b

Please sign in to comment.