I think it is a lot of work. I get often such documents (and often I get documents converted from Quark which have Character Styes applied everywhere).
1. Delete all Character styles.
2. Create Paragraph Styles based on the real praragraphs. Take care not to base any style on the preinstalled [Basic Paragraph] style. Take care to build up a usefull dependency.
3. With find and replace you can apply all paragraph styles in the document.
I am sure that this can be scripted too, but I am not an expert in scripting.
Replacing the fonts can be done more easily using the Find Font dialog: You can replace all instances of a missing font in the document with one that you have on your system.
As far as replacing the character styles with paragraph styles, that can done by highlighting a paragraph with formatting you want to save, and then choosing New Paragraph Style. If you check the Apply Style to Selection box, that paragraph will now have your formatting as a paragraph style. If you first select all your text and under the Character Style pallet, choose Break Link to Style, you will avoid having any unwanted Character styling.
Once you have all your new paragraph styles created, use find and replace to find formatting "characeter style a" and replace with formatting "Paragraph style a" and Character style "none".
Don't dismiss Character styles altogether, though. They can be powerful tools for local formatting, especially when combined with Nested Styles.
Message was edited by: SRiegel *Having read Willi Adelberger's reply, I've revised mine