
Adds the ability to load and save Microsoft Word documents (DocX).
Features
- Embarcadero RAD Studio 10.4 Sydney
- TRichView supports Delphi and C++Builder 10.4, including per-control VCL styling.
- DocX (Microsoft Word Document) import
- Since this version, the components can not only save but also load DocX files and streams. This feature requires Delphi 2009 or newer, or Lazarus.
- New methods of TRichView: LoadDocX, LoadDocXFromStream.
- New methods of TRichViewEdit: InsertDocXFromStreamEd, InsertDocXFromFileEd.
- TRichView.LoadFromStream can detect and load DocX.
- TDBRichViewEdit can store documents as DocX.
- Markdown
- New methods for exporting TRichView documents to Markdown files or streams: SaveMarkdown, SaveMarkdownToStream.
- New property MarkdownProperties contains sub-properties that specify Markdown saving options.
- New components:
- rvdatasourcelink TRVDataSourceLink helps to use TRichView or ScaleRichView components as containers for data-aware controls.
- New event of TRichView component:
- OnWriteObjectProperties allows saving additional object properties in RTF, DocX, and HTML.
- OnTextFound allows a special processing of found text (instead of / in addition to selecting).
- New optional parameter in TRVReportHelper.DrawPageAt.
- New property TRVReportHelper.TargetPixelsPerInch allows overriding the target canvas's pixel depth.
- New optional parameter (SmoothScroll) in TRVScroller.ScrollTo.
- New option for text protection: rvoFastDeleteProtectedText option for TRichViewEdit.EditorOptions.
- High-quality image scaling is supported for transparent images too (for Delphi 2009+ and Lazarus).
- TRVReportHelper uses high-quality image scaling, if AllowTransparentDrawing and Preview parameter are True.
- Changes
- In TRichViewEdit.OnItemResize event, values of Val1 and Val2 parameters are changed.
- TRichViewEdit.SetCheckpointInfoEd and InsertCheckpoint were changed from procedures to functions.
- New event of TRichView component:
- rvdatasourcelink TRVDataSourceLink helps to use TRichView or ScaleRichView components as containers for data-aware controls.