InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StyleClashResolutionTypes Class Reference

Public Types

enum  GlobalClashResolutionStrategy { kLoadAllWithOverwrite = 0, kDecline, kLoadAllWithRename, kLoadSelectively }
 
enum  StyleClashResolutionStrategy { kAutoRename = 0, kUseIncomingStyleDefinition, kAutoRenameOnly }
 
enum  StyleMatchingStrategyEnum { kMatchStyleName = 0, kMatchStyleFullPath }
 

Member Enumeration Documentation

The choices for global clash resolution strategies (for style clash cases)
Enumerator
kLoadAllWithOverwrite 

Overwrite the existing style with Incoming style

kDecline 

Do not load the Incoming style (existing style is not effected)

kLoadAllWithRename 

Import the Incoming style by renaming (existing style is not effected)

kLoadSelectively 

Each style has different choice. This choice is available with UI (currently not available through scripting)

This is used only when global clash resolution strategy is kLoadSelectively The choices for individual styles clash-resolution-strategy (whenever style clashes)
Enumerator
kAutoRename 

Import the Incoming style by renaming (existing style is not effected)

kUseIncomingStyleDefinition 

Overwrite the existing style with Incoming style

kAutoRenameOnly 

Only Auto rename is allowed, since style is conflicting with style sets

The choices for matching strategy used to find the clashing styles in target document. Used for book synchronization.

See Also
IStyleSyncService.h
Enumerator
kMatchStyleName 

Matches only leaf styles names at any location, this is the default value

kMatchStyleFullPath 

Matches Full path of styles