I... just sorta learned that Word manages character styles a bit better than I knew. 'Nuf sed.
When character styles are imported, they have a little 'imported' glyph in the list. The only way I can find to make this tag go away is to edit the style, at a minimum, to tweak its name. Is there an easier way to clear this marker — when, for example, the style is fine as-is, including name?
You just have to tweak the style - like hitting the underline option or something and then reverting it. Any alteration makes it go away.
I don't know if there's a way to script this - to make the tag disappear, that would be cool.
But I typically have a folder of the styles - say, a folder called Text, and in that I have bold, underline, italic, bold italic.
Imported word styles, I delete them and/or map them to the Text folder.
Works for me and keeps my styles clean and not introducing something inherited from Word.
There is a script in this thread.
That said, like Eugene, I use style mapping on import, which helps me differentiate between the styles I want and the styles I can get rid of quickly.
Yes, mapping styles on import is defintely the correct approach. I was mostly wondering if I had missed some sort of 'clear' or 'reset' option on a quick drag-and-drop placement. Sometimes those things hide deep in context menus and the like.
But that's a hack, more or less, and mapping styles is the right approach. Thanks, both of you.
thankfully Barb discovered Harbs' scripting solution!
I'll give you something to play based on Harb's idea:
You can undo the result of this script in one go.
Focus is on character styles.
If you want do a variation where paragraph styles are the target simply exchange this line:
var allStyles = app.documents.allCharacterStyles;
var allStyles = app.documents.allParagraphStyles;
( Adobe Community Professional )