Is there any existing way to 'clean' an RTF document, stripping out unnecessary tags? For example, WPTools creates a fairly clean RTF file, that clocks in at 7KB. If I open and then save that file in Word, it bloats up to 36KB. Word just adds a lot of extra RTF junk code.
Our system can bounce RTF files around through several external systems, and users can paste in text from outside sources, like Word. We'd like a way to strip out RTF control words that have no meaningful effect on the documents.
Thanks in advance.