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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins