Table of Contents

Class MergeFieldEditingExtensions

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

Phase 161 (WQ-0134): a merge field inserted as Word's Mailings > Insert Merge Field writes one, before any data: MERGEFIELD Name with «Name» as its result, which proofing skips.

public static class MergeFieldEditingExtensions
Inheritance
MergeFieldEditingExtensions
Inherited Members

Fields

DefaultAddressBlockSwitches

The switches Word's Insert Address Block dialog writes by default (Phase 167): its name, company and address format, English (US), the country printed only when it is not the United States, laid out by the destination country.

DefaultGreetingLineSwitches

The switches Word's Insert Greeting Line dialog writes by default (Phase 167): "Dear Mr. Randall," and "Dear Sir or Madam,".

MaxNameLength

The longest merge field name Word takes.

Methods

InsertAddressBlock(WordDocument, DocumentPosition, string?)

Inserts Word's Address Block (Phase 167): ADDRESSBLOCK with «AddressBlock» as its result, as Mailings

Address Block writes it. One undo step.

InsertGreetingLine(WordDocument, DocumentPosition, string?)

Inserts Word's Greeting Line (Phase 167): GREETINGLINE with «GreetingLine» as its result. One undo step.

InsertMergeField(WordDocument, DocumentPosition, string)

Inserts a merge field at a position. One undo step.