GlobalClashResolutionStrategy (Enum)

Resolution options for imported styles or presets that have the same name as existing items.

Name Description Value
LOAD_ALL_WITH_OVERWRITE Overwrites existing styles whose names clash with imported items. 1279350607 =
‘LAWO’
LOAD_ALL_WITH_RENAME Renames imported styles or presets whose names clash with existing items to preserve existing items. 1279350610 =
‘LAWR’
DO_NOT_LOAD_THE_STYLE Does not import styles or presets whose names clash with existing items. 1147495276 =
‘Decl’

Usage:

  • In function:
    • void Application.importStyles (
      format:
      ImportFormat, from:
      File[, globalStrategy:
      GlobalClashResolutionStrategy =LOAD_ALL_WITH_OVERWRITE ]
      )
    • void Document.importStyles (
      format:
      ImportFormat, from:
      File[, globalStrategy:
      GlobalClashResolutionStrategy =LOAD_ALL_WITH_OVERWRITE ]
      )

Leave a Comment

Previous post:

Next post: