API Reference

Class

WordMailMergeTemplateInspection

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Modifiers sealed

Describes the merge fields, conditional blocks, and validation issues found in a Word mail-merge template.

Inheritance

  • Object
  • WordMailMergeTemplateInspection

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public WordMailMergeTemplateInspection EnsureValid() #
Returns: WordMailMergeTemplateInspection

Throws when validation issues were found, otherwise returns this inspection.

Properties

public IReadOnlyList<String> MergeFieldNames { get; } #

Unique MERGEFIELD names found in the template.

public IReadOnlyList<String> ConditionalBlockNames { get; } #

Unique conditional block names found in the template.

public IReadOnlyList<String> RepeatingBlockNames { get; } #

Unique repeated block names found in the template.

public IReadOnlyList<WordMailMergeTemplateIssue> Issues { get; } #

Validation issues found during inspection.

public Boolean IsValid { get; } #

True when the template has no validation issues.