Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

WordMergeStyleMode

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
e163ccb36643 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Specifies how styles are reconciled when one document is appended to another.

Inheritance

  • Enum
  • WordMergeStyleMode

Usage

Explore 3 API references to this type

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

Values

public const WordMergeStyleMode UseDestinationStyles #

A source style that matches a destination style by name (or by id) uses the destination definition. Source styles missing from the destination are copied.

Value: 0
public const WordMergeStyleMode KeepDifferentStyles #

A source style that matches a destination style but has a different definition is copied under a new unique id and name (for example Heading1_0 / heading 1_0), and the appended content is repointed to the copy. Styles without list references are shared when their definitions match; styles with list references are copied.

Value: 1