trichview.com

trichview.support




A few questions


Return to index


Author

Message

Alexander Adam

Posted: 01/21/2005 5:25:27


Hi Sergey,


I'm saving and loading the content of a RichViewEdit with save/load

rvffromstream.

I save it to a TStringStream and after that, convert the data of this

stringstream with Base64.

Works like a charm but.. first the images are not saved, how to save 'em

into the stream as well?

The background color isn't saved either so how to do that as well?


And last but not least, I have a global RVStyle class in my mainform that'

I'm reusing a lot.

Now this global RVStyle has a few standard text / para styles that can be

used in every subform.

The problem is that the load / save stream funcs are saving all the styles

into the stream, which is fine for user defined formatting styles, but not

for the global, _standard_ text / parastyles, so what to do to *always* use

the standard text / para styles even after reloading but saving the user

defined custom styles and loading them?


thanks,

Alex





Powered by ABC Amber Outlook Express Converter