<< Click to display table of contents >> History |
New TRVSpellInterface component allows using TRVSpellChecker (included in TRichView) |
Delphi and C++Builder 12 Athens are supported. TrvActionInsertPicture allows inserting multiple images. Support of decimal tab alignment (in TrvActionParagraph, TRVRuler and TRVRulerItemSelector). Option to turn on/off smooth image resizing in TrvActionItemProperties. New properties of TRVAControlPanel: •TRVAControlPanel.DialogPosition – position of dialog windows •TRVAControlPanel.DialogZoomPercent allows scaling all dialog windows New action: TrvActionUserDefinedColor. New events: TrvActionFontEx.OnShowingDialog, TrvActionParagraph.OnShowingDialog, TrvActionParaBorder.OnShowingDialog. They allow initializing dialogs with predefined values, instead of using attributes of the selected fragment. New event: TrvActionSave.OnSave, it occurs on successful saving. |
Compatibility issuesImagePrefix, FileTitle, SaveOptions properties of TrvActionSave and TrvActionExport are removed. Use HTMLSaveProperties and DocParameters.Title properties of the target editor. TRVAControlPanel.HTMLComponent is not removed but deprecated. It's highly recommended to remove rvHtmlImporter and rvHtmlViewImporter components from your application, because HTML loading methods of TRichView provide better results. TRVAControlPanel.InitImportPictures, DoneImportPictures, DoImportPicture are removed. They are replaced by InitImportPicturesAndFiles and DoneImportPicturesAndFiles. HTMLSince this version RichViewActions use TRichView methods for loading HTML, and new methods for saving HTML. TRVAControlPanel.HTMLComponent property still can be used, but it is deprecated, because TRichView methods provide much better results than imported components. We plan to remove this property in future updates of RichViewActions. Some properties for HTML export are removed from actions (see the compatibility issues above). A component assigned to TRVAControlPanel.DownloadInterface can be used to download not only external pictures, but also external CSS files. Other changesNew properties controlling a state of the "Default" checkbox in property dialogs: •TrvActionItemProperties.DefaultChecked, DefaultPersistent •TrvActionTableProperties.DefaultChecked, DefaultPersistent You can implement your own way for choosing pictures using the new TRVAControlPanel.OnChoosePicture event. Table properties dialog allows choosing cell height mode: "exactly" or "at least". |
RAD Studio 11 AlexandriaRichViewActions can be used in Delphi and C++Builder 11 Alexandria. Help filesRVA_SetHelpFile allows defining the help file that will be used in RichViewActions dialogs for the specified UI language. TRVAControlPanel.UseDefaultHelpFile allows using Application.HelpFile. TRVAControlPanel.HelpType allows choosing between using HelpContext and HelpKeyword properties. RVSetHelpKeyword allows changing HelpKeyword for the given HelpContext. MarkdownMarkdown is supported not only as export format, but also as import format (TrvActionInsertFile) and document format (TrvActionOpen and TrvActionSaveAs) |
RAD Studio 10.4 SydneyRichViewActions can be used in Delphi and C++Builder 10.4 Sydney. Per-control VCL styling is supported; in dialogs, previews use the style of the target editor. LocalizationNew UI translation: Slovenian Files: DocX and MarkdownTrvActionOpen and TrvActionInsertFile support DocX files. TrvActionExport support Markdown files. Find and replaceNew properties: •TrvActionReplace.FindText, ReplaceText The actions do not display "not found" dialog after the user answered "No" to "continue search from the beginning/end?" anymore. OtherSmooth scrolling to checkpoint (in TrvActionBookmarks and TrvActionInsertHyperlink.GoToLink). |
Compatibility issues:•RVA_ConvertToPixels and RVA_ConvertToTwips procedures have a new ARVStyle parameter. •The following properties of TrvActionInsertSymbol are removed: AlwaysInsertUnicode, DisplayUnicodeBlocks, SymbolType •String parameters are changed to TRVUnicodeString in the events: oTRVAControlPanel.OnCustomFileOperation, OnDownload, OnGetHeaderFooterCode. oTRVAPopupMenu.OnLiveSpellAdd, OnLiveSpellGetSuggestions, OnLiveSpellIgnoreAll, OnLiveSpellWordReplace oTrvActionOpen.OnOpenFile oTrvActionSave.OnSaving, OnDocumentFileChange oTrvActionReplace.OnReplacing oTrvActionInsertHyperlink.OnApplyHyperlinkToItem, OnGetHyperlinkTargetFromItem, OnHyperlinkForm oTrvActionInsertPicture.OnInserting oTrvActionInsertText.OnInsertText •Support for KSDev ThemeEngine is discontinued •RVAFormat function is moved from RichViewActions to RVAFuncs unit (you can simply use Format instead). RAD Studio 10.3 RioRichViewActions can be used in Delphi and C++Builder 10.3 Rio. LazarusRichViewActions can be used in Lazarus (for Windows 32-bit and 64-bit). High-DPI display modesAll controls and dialogs in RichViewActions support high-dpi display modes. "Per monitor" and "per monitor v2" modes are supported, if they are supported by the application (Delphi 10.1+ is required for "per monitor", Delphi 10.3+ for "per monitor v2"). Virtual image listsNew data modules are added for RAD Studio 10.3. They contain 16x16, 32x32, and selected 64x64 toolbar images in TImageCollection and TVirtualImageList components. Pascal and C++ versions of these data modules are available. Details are explained in the topic about TRichView icons. New demo projects are included: •DelphiUnicode\ActionTest_MultiRes\ •CBuilderUnicode\ActionTest_MultiRes\ These projects use virtual image lists and support "per monitor v2". Changes in "Insert Symbol" dialogSince this version "Insert Symbol" allows inserting only Unicode characters. Now it supports all UTF-32 characters. •TrvActionInsertSymbol has new properties: CharCode, FontName, Protection. Other changes•new TrvActionEditNote.OnStartEditNote event •new TrvActionInsertHyperlink.ScrollToCenter property •new TRVFontComboBox.AutoCharset property •ruler is updated to support high DPI screen modes |
Compatibility issues:•Ruler.pas is renamed to RVRulerBase.pas •Color property is removed from Rules.Tabs[] •new parameters in functions from MarkSearch unit •No more compiler $defines for using Addict, you cannot add RVAddictSpell3 and RVAddictThesaurus3 properties to TRVAControlPanel. Use SpellInterface property instead. TrvActionAddictSpell3, TrvActionAddictThesaurus3 are removed, they are superseded by TrvActionSpellingCheck and TrvActionThesaurus. RVA_Addict3AutoCorrect function is removed, use TRVAAddictSpellInterface's auto-correct methods •No more compiler $defines for using TIdHttp (Indy) and TClHttp (CleverComponents), you cannot add IdHttp and ClHttp properties to TRVAControlPanel. Use DownloadInterface property instead. •No more compiler $defines for using RichViewXML, RvHtmlImporter and RvHtmlViewImporter, you cannot add RVXML, RVHTMLImporter, RVHTMLViewImporter properties to TRVAControlPanel. Use XMLComponent and HTMLComponent properties instead. •The compiler $define for using TNT Controls is moved from RichViewActions.inc to RV_Defs.inc. •TrvActionShowSpecialCharacters shows/hides checkpoints by default. •The following properties are removed: TrvActionPasteSpecial.StoreFileName, TrvActionInsertPicture.StoreFileName, TrvActionTableProperties.StoreImageFileName, TrvActionItemProperties.StoreImageFileName. Instead of these properties, the actions check rvoAssignImageFileNames in the Options property of the target editor. New "interface" componentsInterface components provide an intermediate layer between RichViewActions and third-party components, so RichViewActions can use third-party components without compiler $defines. New properties are added to TRVAControlPanel: ColorDialogInterface, DownloadInterface, SpellInterface. Interface components for using TdxColorDialog, Indy, CleverComponents, Addict, ASpell, ExpessSpellChecker, HunSpell, Polar SpellChecker are added. File loading and saving componentsPreviously, programmers needed to add $defines in RichViewActions.inc to allow using RichViewXML, RvHtmlImporter and RvHtmlViewImporter in RichViewActions. Now, you can use XMLComponent and HTMLComponent properties of TRVAControlPanel. Checkpoints (Bookmarks)New action TrvActionBookmarks allows adding and managing checkpoints. In TrvActionInsertHyperlink, the editor of the link target is now a combo-box containing a list of checkpoint names. TrvActionShowSpecialCharacters can show/hide checkpoints. Mathematical formulas (equations)New action: TrvActionInsertEquation. TrvActionItemProperties can edit properties of equation items. Font previewTRVFontComboBox can display preview of fonts. It has new properties: Preview, DropDownWidth, SymbolPreviewString. The dialog of TrvActionFontEx can display a preview of font names in the list as well. It has a new property: PreviewInList. Changes related to tables•TrvActionInsertTable has new properties to assign to table (HeadingRowColor and other colors, ColBandSize, RowBandSize) and to table rows (RowsVAlign, RowsKeepTogether). •The table properties dialog (displayed by TrvActionItemProperties and TrvActionTableProperties) allows defining colors of rows and columns. •new properties TrvActionItemProperties.UpdateAllInsertTableActions and TrvActionTableProperties.UpdateAllInsertTableActions allows applying default properties to all "insert table" actions on the same form/datamodule. •The "Default" check box in the table properties affects not only the page "Table", but also pages "Rows" and "Columns". Changes related to printing•TrvActionInsertPageBreak and TrvActionRemovePageBreak, when called from a table cell, add and remove page breaks before the current table row. •PageNumberType property is added to TrvActionInsertPageCount. For inserted "page count" fields, a number type can be changed by TrvActionItemProperties. •New TRVAControlPanel.OnGetHeaderFooterCode event. Other changes•OnInserting event is added to TrvActionInsertPicture. •new property TRuler.TickColor for drawing ticks and tab stops. •New untranslated features can be hidden using ShowUntranslatedControls variable. •MarkSearch functions are improved •Packages were separated into runtime and designtime packages. RVARibbonUtils.pas (unit providing TRibbon support) is moved to a separate runtime package. |
Compatibility issues:TrvActionItemProperties and TrvActionTableProperties update linked TrvActionInsertTable and TrvActionInsertHLine actions when the user checks "Default" checkbox. Previously, they were always updated when assigned explicitly. Installation and directory structureStarting from this update, RichViewActions are installed automatically in Delphi and C++Builder IDE together with TRichView. The new installer installs the components in Delphi and C++Builder, both for 32-bit and 64-bit platforms (if available). The installer adds all necessary paths to RAD Studio library. Source code is moved to "Source" folder, inc-files are moved to "Source\Include" folder, demo projects are moved to "Demos" folder. This help file is integrated in RAD Studio IDE (for XE8+) New actionsTrvActionAlignDistribute aligns the selected paragraph to the both left and right sides by adding space between all characters. TrvActionInsertPageCount inserts a page count field. Changes related to paragraph alignmentsTrvActionAlignJustify (as well as TrvActionAlignDistribute) has new properties: LastLineAlignment and UseLastLineAlignment. TrvActionParagraph has a new property: LastLineAlignment. New properties:•TRVAControlPanel.MetafileCompatibility affects printing of TSRichViewEdit components; •TrvActionSave.DisableWhenUnmodified allows to disable the action for unmodified documents. TrvActionRemovePageBreak removes a page break from the current paragraph (not the current item as before). TrvActionItemProperties and TrvActionTableProperties update linked TrvActionInsertTable and TrvActionInsertHLine actions when the user checks "Default" checkbox. |
Compatibility issues:•TrvActionFontEx.Font.Size is no longer used. Existing code must be changed to use TrvActionFontEx.FontSizeDouble instead. •'Francais' cannot be used as a lanuage name; use 'French' or 'Français'. New actionsTrvActionInsertTextBox inserts a floating box TrvActionInsertFootnote inserts a footnote TrvActionInsertEndnote inserts an endnote TrvActionInsertSidenote inserts a note in a floating box TrvActionEditNote displays a window for editing a note or a floating box TrvActionInsertNumber inserts a "numbered sequence" item TrvActionInsertCaption inserts a caption for an image or a table TrvActionInsertPageNumber inserts a "page number" field ChangesTrvActionExport can export DocX files (without office converters). Make sure that ffeDocX is included in Filter. Changes made by TrvActionColor, TrvActionBackground can be undone. New property: TrvActionFontEx.FontSizeDouble. TRVFontSizeComboBox supports fractional font sizes. Changes in TrvActionItemProperties: •properties for sidenotes and text boxes •properties for "numbered sequence" items •properties for "page number" item •redesigned picture properties pages •redesigned table properties pages •changes can be applied to ActionInsertTable and ActionInsertHLine (in addition to the current item) Changes in TrvActionNew: •Reset is made public. •new item is included in StyleTemplates: 'caption'. New TrvActionInsertPicture properties to assign to inserted pictures: BackgroundColor, BorderWidth, BorderColor, OuterHSpacing, OuterVSpacing. New TrvActionInsertTable properties to assign to inserted tables: CellHPadding and CellVPadding (they replace CellPadding), VisibleBorders, BackgroundStyle, BackgroundPicture. TRVAControlPanel.DialogFontName's default value is changed to 'Tahoma'. New RemoveEllipsisFromRibbon procedure replaces RemoveEllipsis. Languages have two names specified: a name in English and a native name. |
Compatibility issues:TRVAControlPanel.TableGridStyle property is removed. Redesigned control panelTRVAControlPanel is redesigned. It does not assign global variables any more. You can have more than one control panel in a single application. New properties of TRVAControlPanel: Header, Footer. New actionsCell rotation: TrvActionTableCellRotationNone Table operations: New and improved componentsNew components for applying style templates: Improved components (can be linked to an editor, do not require additional code any more): ScaleRichView supportYou can assign not only TRichViewEdit, but also TSRichViewEdit to TRVAControlPanel.DefaultControl, or Control properties of actions. Simplification: since this version, when using ScaleRichView, you do not need to assign RVA_GetRichViewEditFromPopupComponent and RVA_GetRichViewEdit variables, you do not need to call SRichViewEdit.SetRVMargins in TRVAControlPanel.OnMarginsChanged. Visual changesDelphi XE2+'s visual styles are supported in components and dialogs. The function RVA_ChooseStyle allows choosing and applying one of available styles. Inverted (a light text on a dark background) color schemes are supported. Text filesThe file actions allow choosing a code page for text files (including UTF-8). This feature can be disabled by assigning TRVAControlPanel.UseTextCodePageDialog=False. New features, properties and eventsA new event TRVAControlPanel.OnGetActionControlCoords allows to specify coordinates for color-picker windows when actions are linked to non-visual components (for example, when using ExpressBars by Developer Express). TrvActionNew resets styles according to StyleTemplates, if style templates are used. TrvActionOpen can use a linked TrvActionNew to reset document before loading. •allows pasting URLs; •respects RichViewEdit.AcceptPasteFormats property; •if style templates are used, displays style modes for pasting RTF and RVF. TrvActionFontEx can change a text background color (new BackColor property). TrvActionInsertHyperlink can apply HoverUnderlineColor and HoverEffects properties (if style templates are not used). If style templates are used, it applies the chosen StyleTemplateName. TrvActionTableGrid shows/hides grid only in the target editor. In the print preview form (TrvActionPrintPreview), a mouse wheel changes pages, Ctrl +mouse wheel zooms in/out New optional parameters in NormalizeRichView. LocalizationNew localization functions: RVA_GetProgressMessage, RVA_GetPrintingMessage. New languages: •Portuguese (European) •Catalan •Hindi (in Delphi 4-2007, it is available only if TNT Controls are used); •Thai |
New units of measurementAll dialogs display values measured according to new TRVAControlPanel.UnitsDisplay and TRVAControlPanel.PixelBorders properties. Properties of several actions are measured in TRVAControlPanel.UnitsProgram. New imagesA new set of toolbar images is available, created specially for RichViewActions. This set of images is used in this manual. New component images are used in the Delphi/C++Builder's Component Palette for the components included in RichViewActions. New properties of TRVAControlPanelTRVAControlPanel.DefaultDocParameters define a page layout for new documents (especially useful for ScaleRichView) New TRVAControlPanel.DialogFontSize property. Changes in menusNew TRVAPopupActionBar component (for Delphi 2006 or newer). The type of ActionList property for menus was changed from TActionList to TCustomActionList, to allow using TActionManager. Changes in actionsNew action: TrvActionHide. TrvActionShowSpecialCharacters shows/hides a hidden text as well as special characters. New properties: •TrvActionFontEx.AutoApplySymbolCharset •TrvActionInsertHLine.Style defines the style for inserted horizontal lines •TrvActionBackground.CanChangeMargins allows/disallows changing margins •TrvActionParaBullets's and TrvActionParaNumbering's IndentStep defines default indents for list levels. TrvActionParaList.IndentStep now affects indents of list style templates in non-HTML dialog too. Other changesNew RVARibbonUtils unit. Ability to use CleverComponents for downloading images. |
New actions: New methods, properties and events •TrvActionInsertFile.InsertFile method •TrvActionInsertPicture.Spacing property •TrvActionParagraph.OutlineLevel property (paragraph dialog has a new combobox for specifying a paragraph outline level) •TrvActionItemProperties.OnCanApply event New features: •New types of vertical alignment for pictures in TrvActionItemProperties. •Properties dialog for breaks (TrvActionItemProperties) has a new combobox for specifying a break style (line/rectangle/3d/dotted/dashed). •Pasting HTML from the Clipboard using rvHtmlViewImporter. •New datamodules with alternative toolbar images (GlyFX and Fugue Icons) |