Page 1 of 1
RTF text and shadow?
Posted: Sun Apr 09, 2006 2:26 pm
by Invis
We try to create ms word document that have text with shadow (in font menu checked "with shadow" checkbox). When we open it in richview it have no shadow. If in current version dont't support this, may be this feature will be programing in next version?
We have a registered version of TRichview (Popov VN,invistv).
Posted: Mon Apr 10, 2006 9:38 am
by Sergey Tkachenko
Yes, text shadow is not supported.
In the current version, you can implement text shadow using custom drawing event (OnDrawStyleText). There is a way to save and load shadow in RVF file, and save it in RTF.
But it's not possible to read it from RTF.
Posted: Tue Apr 11, 2006 4:54 am
by Invis
Sergey Tkachenko wrote:Yes, text shadow is not supported.
In the current version, you can implement text shadow using custom drawing event (OnDrawStyleText). There is a way to save and load shadow in RVF file, and save it in RTF.
But it's not possible to read it from RTF.
OK, thanks, i try this. onDrawStyleText - is this event in sampes? In next version read shadow directly from RTF will be also impossible?
Posted: Tue Apr 11, 2006 8:38 pm
by Sergey Tkachenko
http://www.trichview.com/support/files/neweffects.zip shows how to implement additional text effects by creating component inherited from TRVStyle. New properties of text styles can be saved and loaded in RVF format.
For RTF saving, processing OnSaveRTFExtra event is required.
Reading from RTF will be implemented only if shadow will be included in standard TRichView effects.