New in v4.0
|Top Previous Next|
•Two new parameters are added to TSRichViewEdit.OnPaintPage: Prepaint and Printing.
•A new parameter is added to TSRichViewEdit.OnPaint: PaintRect.
•The user can zoom the editor in/out using Ctrl + mouse wheel. So, if you assume that the editor has the fixed values of TSRichViewEdit.ViewProperty.ZoomPercent and ViewProperty.ZoomMode, assign ViewProperty.MouseWheelZoom = False.
Units of measurement
All properties and parameters measured in TSRichViewEdit.UnitsProgram have changed their types from Extended to TRVLength. At design time, you can see units of measurement for these properties in the Object Inspector.
To do: a precision of drawing and printing is still up to one screen pixel. A higher precision is planned in newer version.
These properties allow implementing an incremental printing: when the next portion of the document is ready, it can be printed below the previously printed fragment. This feature can be used for printing accounting journals, logs, etc.
New properties and methods
New methods of TSRichViewEdit:
•GetPageNo returns the page index for the specified position in the document.
•GetItemAt returns the item at the specified coordinates.
New properties of TSRVScrollBar:
•UseXPThemes allows/disallows using Windows themes (visual styles)
•Flat makes the scrollbar look flat.
Modified methods of TSRichViewEdit:
Advanced printing in TSRVPrint
New PrintMode: srvpGrid. It allows printing several pages on one paper sheet.
Footnotes and endnotes
TSRichViewEdit can display and edit footnotes and endnotes.
New properties related to footnotes and endnotes:
•UpdateNote (is obsolete in version 6.0).
Support of "keep with next" and "keep lines together" properties of paragraph style is restored (it was disabled in v3.0)
TsrvActionPreview switches editing and preview modes.
TsrvActionThumbnails shows/hides page thumbnails.
TsrvActionLayoutDraft switches the editor to a draft layout.
TsrvActionLayoutWeb switches the editor to a web layout.
TsrvActionLayoutPrint switches the editor to a print layout.
TsrvActionZoom applies the specified zooming percent to the editor.
TsrvActionZoomPageWidth zooms the editor to fit the page width in the editor width.
TsrvActionZoomFullPage zooms the editor to fit the full page in the editor.
TsrvActionOrientationPortrait changes page orientation to "portrait".
TsrvActionOrientationLandscape changes page orientation to "landscape".
TsrvActionPageFormat changes page size.
TsrvActionEditHeader starts editing a page header.
TsrvActionEditFooter starts editing a page footer.
TsrvActionEditMain starts editing the main document.
TsrvActionInsertFootnote inserts a footnote.
TsrvActionInsertEndnote inserts an endnote.
TsrvActionEditNote starts editing a footnote/endnote.
TsrvActionReturnToNote moves the caret to the parent footnote/endnote.
Changes in actions:
Localization procedures for the ScaleRichView actions.
TSRVEdit can show suggestions on editing.
New help topics about SRVControls.
ScaleRichView © trichview.com