How to change RVF and XML format name

<< Click to display table of contents >>

How to change RVF and XML format name

By default, RVF (RichView Format) is the main file format of RichViewActions.

If you want to change file extension and the format name, you can do it in the following way.

Place RVAControlPanel1: TRVAControlPanel component on the form. Change the following properties (in the code or in the Object Inspector):

RVAControlPanel1.RVFLocalizable := False;

RVAControlPanel1.RVFFilter := 'SuperApp Files (*.saf)|*.saf';

RVAControlPanel1.DefaultExt := 'saf';

RVAControlPanel1.RVFormatTitle := 'SuperApp Format';

Additionally, you can change names of files used by TrvActionStyleTemplates to save and load style templates:

RVAControlPanel1.RVStylesFilter := 'SuperApp Styles (*.sas)|*.sas';

RVAControlPanel1.RVStylesExt := 'sas';

Now, if you want to localize these properties, you need to assign them yourself every time when the application language is changed.

 

For XML format, use XMLLocalizable and XMLFilter properties.