Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

WordStyleConflictMode

OfficeIMO.Word

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

Decides what happens when an imported style matches a style the target document already has.

Inheritance

  • Enum
  • WordStyleConflictMode

Remarks

A style matches when it has the same type and name, or the same type and identifier.

Usage

Explore 5 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.

Accepted by parameters 1

Values

public const WordStyleConflictMode KeepTarget #

Keep the target's style. Imported styles that refer to it use the target's definition.

Value: 0
public const WordStyleConflictMode Overwrite #

Replace the target's definition with the imported one, keeping the target's identifier.

Value: 1
public const WordStyleConflictMode Rename #

Import the style alongside the target's under a new, unique identifier and name.

Value: 2