RAD Studio 10.4 Sydney
RichViewActions 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.
New UI translation: Slovenian
Files: DocX and Markdown
Find and replace
The actions do not display "not found" dialog after the user answered "No" to "continue search from the beginning/end?" anymore.
•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:
•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 Rio
RichViewActions can be used in Delphi and C++Builder 10.3 Rio.
RichViewActions can be used in Lazarus (for Windows 32-bit and 64-bit).
High-DPI display modes
All 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 lists
New 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:
These projects use virtual image lists and support "per monitor v2".
Changes in "Insert Symbol" dialog
Since this version "Insert Symbol" allows inserting only Unicode characters. Now it supports all UTF-32 characters.
•ruler is updated to support high DPI screen modes
•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 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" components
Interface components provide an intermediate layer between RichViewActions and third-party components, so RichViewActions can use third-party components without compiler $defines.
File loading and saving components
Previously, 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.
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)
Changes related to tables
•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
•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.
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 structure
Starting 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+)
TrvActionAlignDistribute 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 alignments
TrvActionRemovePageBreak removes a page break from the current paragraph (not the current item as before).
•'Francais' cannot be used as a lanuage name; use 'French' or 'Français'.
TrvActionInsertTextBox 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
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 in TrvActionNew:
•Reset is made public.
•new item is included in StyleTemplates: 'caption'.
New RemoveEllipsisFromRibbon procedure replaces RemoveEllipsis.
Languages have two names specified: a name in English and a native name.
TRVAControlPanel.TableGridStyle property is removed.
Redesigned control panel
New and improved components
New components for applying style templates:
Improved components (can be linked to an editor, do not require additional code any more):
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.
Delphi 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.
The 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 events
A 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).
•allows pasting URLs;
•respects RichViewEdit.AcceptPasteFormats property;
•if style templates are used, displays style modes for pasting RTF and RVF.
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.
New localization functions: RVA_GetProgressMessage, RVA_GetPrintingMessage.
•Hindi (in Delphi 4-2007, it is available only if TNT Controls are used);
New units of measurement
A 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 TRVAControlPanel
TRVAControlPanel.DefaultDocParameters define a page layout for new documents (especially useful for ScaleRichView)
Changes in menus
New TRVAPopupActionBar component (for Delphi 2006 or newer).
Changes in actions
New RVARibbonUtils unit.
Ability to use CleverComponents for downloading images.
New methods, properties and events
•TrvActionParagraph.OutlineLevel property (paragraph dialog has a new combobox for specifying a paragraph outline level)
•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.