trichview.support
Delete color style information from text |
Author |
Message |
Christian Kirchhoff |
Posted: 04/16/2003 19:13:42 Hello, in my project I have certain "template files" which are opened with a TRichViewEdit. In this file there are my own "Tags" (e.g. "{description}"), which are searched and replaced which actual texts. I do this with RichViewEditor.InsertRVFFromStreamEd, because the text that is inserted can contain certain text or paragraph styles as well. These styles are bold, italic, some list styles, but never the font name, size or color. Those values should always be "default". I have a template editor, which alloes me to edit the texts, set certain text ar paragraph attributes. Now I could for example set the font color of "{description}" to clWhite. But when I insert the RVF stream, the font color always changes to black, because this seems to be stored inside the RVF stream. I tried setting the color of the RVF text that will be inserted to clNone, but that doesn't work. How can I insert a text with certain attributes, but without font name, color or size? Regards, Christian Kirchhoff |
Powered by ABC Amber Outlook Express Converter