trichview.com

trichview.support




Re: Saving / Loading RTF Tables format changes **** HELP ~***


Return to index


Author

Message

Mike

Posted: 11/13/2002 22:08:13


Hi here are the settings I am using....


TFReadProperties.TextStyleMode := rvrsAddifNeeded;

RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;


RVFParaStylesReadMode := rvf_sInsertMerge;

RVFTextStylesReadMode := rvf_sInsertMerge;



RVFOptions     :=  [rvfoSavePicturesBody,

                     rvfoSaveControlsBody,

                     rvfoSaveBinary,

                     //rvfoUseStyleNames, //STOPS Correct formatting

                     rvfoSaveBack,

                     rvfoLoadBack,

                     rvfoSaveTextStyles,

                     rvfoSaveParaStyles,

                     rvfoSaveLayout,

                     rvfoLoadLayout

                     ];


  Options        := [rvoAllowSelection,

                     rvoClientTextWidth,

                     rvoShowPageBreaks,

                     rvoAutoCopyText,

//                     rvoAutoCopyUnicodeText,

                     rvoAutoCopyRVF,

                     rvoAutoCopyImage,

                     rvoAutoCopyRTF,

                     rvoFormatInvalidate,

                     rvoDblClickSelectsWord,

                     rvoRClickDeselects];


  EditorOptions := EditorOptions + [rvoHideReadOnlyCaret];


--



WorkSmart Ltd


Tel:    01908 394 361

Fax:   01908 394 360


============================================================

This email message and any accompanying attachments may contain

information that is confidential. If you are not the intended recipient, do

not read, disseminate, distribute or copy this message or attachments.

If you have received this message in error,  please notify the sender

immediately and delete this message.


Before opening any attachments, please check them for viruses and defects.

============================================================

"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3dd2b5e5@support.torry.net...

> Do you create RichView from your code (not at the design time?).

>

> If yes, you need to modify some properties yourself. All changes required

to

> save/load text and paragraph styles in RVF are shown in the component

editor

> ("Settings" in the context menu), in the yellow listview.

>

> > As I create the RichView dymanically I would like to know the options to

> set

> > just to check

> >

> > Thanks Mike

> >

> >

> > "Mike" <mail@wotksmart.co.uk> wrote in message

> > news:3dd2a79b$1@support.torry.net...

> > > I have already done that and some formatted information is saved but

> > > if i store a back ground color in a paragraph that is not save....

> > >

> > > Mike

> > >

> > > --

> > >

> > >

> > > WorkSmart Ltd

> > >

> > > Tel:    01908 394 361

> > > Fax:   01908 394 360

> > >

> > > ============================================================

> > > This email message and any accompanying attachments may contain

> > > information that is confidential. If you are not the intended

recipient,

> > do

> > > not read, disseminate, distribute or copy this message or attachments.

> > > If you have received this message in error,  please notify the sender

> > > immediately and delete this message.

> > >

> > > Before opening any attachments, please check them for viruses and

> defects.

> > > ============================================================

> > > "Sergey Tkachenko" <svt@trichview.com> wrote in message

> > > news:3dd2a223@support.torry.net...

> > > > RVF was designed to store all information that can be displayed in

> > > RichView.

> > > > There should be no loss of information when saving/loading RVF

files.

> > > >

> > > > Right-click the editor in Delphi, choose "Settings" in the context

> menu,

> > > > then select "Allow adding styles dynamically". Click OK.

> > > > With these settings, all font and paragraph information will be

saved

> > and

> > > > loaded in RVF files.

> > > >

> > > > If you still have problems, please send me a source code of small

> > project

> > > > reproducing this problem.

> > > >

> > > >

> > > > > Please help I can get the RVF format to save, but now the paragrah

> > > format

> > > > > seems to go.

> > > > >

> > > > > Mike

> > > >

> > > >

> > > >

> > >

> > >

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter