Given: a .doc(x) file with custom formatting styles applied to some text (example).
Get: a .doc(x) file which is formatted as the given file but does not define any custom styles (example).
I tried converting to .rtf, but unfortunately it saves information about styles.
"Clear formatting" command clears formatting (resets to default), but I need to save it. Removing the style does the same thing (example). This is not what I want.
I just need to remove custom styles, but preserve formatting.
Answer
If you have access to Microsoft Excel:
- Select all in the Word doc
- Paste into Excel (which supports the formatting but not the styles)
- While the contents are still selected in Excel (after pasting), immediately copy
- Paste back into a new Word doc
I tested this with both your docs using Word and Excel 2010; it preserves the formatting but gets rid of the custom styles.
EDIT: for the more complex examples posted, do the same as above, but use WordPad instead of Excel. I.e. copy all in Word, paste into WordPad, then select-all in WordPad and paste back into a new document. This succeeds (in my test) for everything except the footer, which of course you could do separately (copy, paste out, then copy / paste back into the new document's footer).
No comments:
Post a Comment