TrvActionSaveAs is the action for "File | Save As..." command.
TrvActionSaveAs = class(TrvActionCustomFileIO)
This action displays a file saving dialog and saves the content of TRichViewEdit component in the chosen file. The editor remains associated with this file name and file format, so subsequent executions of TrvActionSave action save its content in this file in this format.
The following formats are supported:
•RichView Format (RVF)
•Rich Text Format (RTF)
•Microsoft Word Document (DocX)
•Text files (TXT, Unicode and ANSI)
•HTML (only if RvHtmlViewImporter is used)
•RichViewXML Format (XML, only if RichViewXML is used)
If you use this action, you must also use TrvActionSave action.
This action must be linked to TrvActionSave action, because TrvActionSave contains a list of all documents opened in TCustomRichViewEdit controls. Besides, this action uses TrvActionSave to save the file when file name and format are chosen. This link may be defined explicitly (via ActionSave property) or implicitly (this action finds and uses TrvActionSave action placed on the same form/datamodule).
This action performs the following tasks:
1.Shows a file saving dialog allowing the user to choose the file name and format for saving.
3.Saves the file, associates TCustomRichViewEdit control with this file name and file format.