ScaleRichView

<< Click to display table of contents >>

ScaleRichView

Version 11+ (What's new?)

Introduction

ScaleRichView is a package of Delphi/C++Builder/Lazarus components.

It uses:

TRichView Package (www.trichview.com)

RichViewActions (www.trichview.com/resources/actions/).

TRichView and RichViewActions must be installed in order to use ScaleRichView.

Components

srichviewedit TSRichViewEdit allows editing rich text documents in WYSIWYG mode. It supports scaling and different view modes, including a page-view mode.

dbsrichviewedit TDBSRichViewEdit is a data-aware version of WYSIWYG editing component.

scrlrvruler TSclRVRuler is a horizontal or vertical ruler designed to work with TSRichViewEdit. It is inherited from TRVRuler component included in RichViewActions.

srvtoolbar TSRVToolBar is a simplified analog of TToolBar. Instances of TSRVToolbar are used in TSRichViewEdit: they allow adding buttons in scrollbar area.

srvtoolwindow TSRVToolWindow  uses the TSRVToolBar and displays it in a popup window.

srvpagescroll TSRVPageScroll displays thumbnails of pages for documents prepared in TSRichViewEdit component.

srvprint TSRVPrint and srvpreview TSRVPreview are components for advanced printing of documents prepared in TSRichViewEdit. For example, they allow printing posters (e.g. A3 page on A4 printer).

srvskinmanager TSRVSkinManager allows applying skins to scrollbars of TSRichViewEdit/TDBSRichViewEdit, to TSRVScrollBar, to TSRVTabSet.

srvtabset TSRVTabSet – advanced skinnable tabs, can be used to implement a tabbed multiple document interface.

srvscrollbar TSRVScrollBar – skinnable scrollbar. This component is used for scrollbars in TSRichViewEdit, but may be useful as a separate component as well.

Example

 

Main ScaleRichView Components

Main ScaleRichView Components

In the screenshot above, you can see:

TSRichViewEdit component;

TSRVPageScroll, component;

two TSclRVRuler components;

a window displayed by TSRVToolWindow.

You can also see three instances of TSRVToolBar: two toolbars embedded in a scrollbar area of TSRichViewEdit component, and a toolbar inside a TSRVToolWindow's window. These three toolbars are not separate components, they are owned by TSRichViewEdit and TSRVToolWindow, and their properties are defined by their owners.