3 Replies Latest reply on Feb 15, 2008 9:09 AM by (Gerald_Singelmann)

    problem with importStyles(stroke_styles)

    Level 1
      A cursory search did not reveal any discussion on this, excuse me if I wasn't thorough enough:

      the line

      app.importStyles (ImportFormat.STROKE_STYLES_FORMAT, myFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);

      does not seem to do anything.

      The lines

      app.importStyles (ImportFormat.TEXT_STYLES_FORMAT, myFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
      app.importStyles (ImportFormat.OBJECT_STYLES_FORMAT, myFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
      app.importStyles (ImportFormat.TABLE_AND_CELL_STYLES_FORMAT, myFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);
      app.importStyles (ImportFormat.TOC_STYLES_FORMAT, myFile, GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE);

      on the other hand work as expected i.e. they load the settings from a indd to be application defaults.
      Is this a fault with STROKE_STYLES_FORMAT or am I doing something wrong?

      Thank you
      Gerald