Word.ImportedStylesConflictBehavior enum

Specifies how to handle any conflicts, that is, when imported styles have the same name as existing styles in the current document.

Remarks

[ API set: WordApiDesktop 1.1 ]

Fields

createNew = "CreateNew"

Rename conflicting imported styles so that both versions are kept in the current document. For example, if MyStyle already exists in the document, then the imported version could be added as MyStyle1.

ignore = "Ignore"

Ignore conflicting imported styles and keep the existing version of those styles in the current document.

overwrite = "Overwrite"

Overwrite the existing styles in the current document.