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).
RTF text and shadow?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
OK, thanks, i try this. onDrawStyleText - is this event in sampes? In next version read shadow directly from RTF will be also impossible?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.
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
For RTF saving, processing OnSaveRTFExtra event is required.
Reading from RTF will be implemented only if shadow will be included in standard TRichView effects.