New in version 2.0

<< Click to display table of contents >>

New in version 2.0

Compatibility issues

In several methods, the first letter is capitalized.

The properties related to margins are renamed. The pattern is "PageLeft rarr LeftMargin". This renaming includes both properties of TSRichViewEdit (rarely used outside the component code) and properties of TSRichViewEdit.PageProperty:TSRVPageProperty:

PageLeft rarr LeftMargin

PageTop rarr TopMargin

PageRight rarr RightMargin

PageBottom rarr BottomMargin

The properties related to page size are renamed. The pattern is "FormatWidth rarr PageWidth". This renaming includes both properties of TSRichViewEdit (rarely used outside the component code) and properties of TSRichViewEdit.PageProperty:

FormatWidth rarr PageWidth

FormatHeight rarrPageHeight

Other TSRichViewEdit.PageProperty properties and methods are renamed:

BreakPage rarr PageViewMode

FormatMode rarr PageFormat

ConvertPageSizeToFormatMode rarr ConvertPageSizeToPageFormat

getPaperSize rarr ConvertPageFormatToPageSize

All properties, methods and events related to table icons (rectangles displayed at the top left corners of tables) are renamed. The pattern is "HintTable rarr TableIcon":

properties of TSRichViewEdit:

getHintTableItem rarr GetTableIconItem

getHintTableRVData rarr GetTableIconRVData

OnHintTableClick rarr OnTableIconClick

properties of TSRVViewProperty:

HintTableTimeDelay rarr TableIconDelay

HintTablePopupMenu rarr TableIconPopupMenu

HintTableVisible rarr UseTableIcons

In addition, the following properties of TSRVViewProperty are renamed:

HintPage rarr ShowScrollHint

The following methods and events of TSRichViewEdit are renamed:

calculatePosPages rarr CalculateAllPagePositions

calculatePosPagesFor rarr CalculatePagePosition

RectPage rarr GetPageClientRect

getPageMousePos rarr GetPageAt

OnCurParaStyleChange rarr OnCurParaStyleChanged

The following properties of TSRVBackgroundProperty are renamed:

PictureType rarr PicturePosition

The following changes were made in TSRVToolButton:

AlwaysUp property is removed

AllowAllUp property is added (now the behavior of these buttons is identical to TSpeedButtons)

The following properties and methods of TSRVPrint are renamed:

FormatMode rarr PageFormat

PaperCodeToFormatPaper rarr PaperCodeToPageFormat

UpdatePage rarr Update

The following methods of TSclRVRuler are renamed:

getPageProperty rarr GetPageProperties

setPageProperty rarr SetPageProperties

The following properties of TSRVPreview are changed:

PageBorderColor rarr FrameBorderColor        

PageBorderWidth rarr FrameBorderWidth

PageShadowColor, PageShadowWidth are removed (as well as "shadows" between frames)

PageBoundsColor rarr PageBorderColor

PageBoundsWidth rarr PageBorderWidth

PageBoundsStyle rarr PageBorderStyle

BorderColor, BorderWidth, ShadowColor, ShadowWidth are added.

The following properties, methods and events of TSRVPageScroll are changed:

WidthBreakPage rarr PageBreakWidth

HeightBreakPage rarr PageBreakHeight

ShadowOff rarr ShadowWidth

CountPagesCache rarr CachedPagesCount

LimitCacheUpdate rarr CacheScrollLimit

GetPageNoToXY rarr GetPageAt

OnDrawSelect rarr OnDrawSelectedPage

OnDrawPageBorder's parameters are changed

UpdateCache is made public

the component highlights the page containing the caret, instead of the first page visible in TSRichViewEdit.

 

Other changes

Unnecessary and non working methods and events were removed (or made private).

TSRVFormatMode type is renamed to TSRVPageFormat. TSRVPicture type is renamed to TSRVPicturePosition.

Parameters of TSRichViewEdit.OnGetPagePos event are changed.

The way how TSRVPrint.UsePhysicalOffsets is processed is changed.

New

New printing modes in TSRVPrint, see PrintMode property.

New method TSRichViewEdit.GetItemPages returns pages containing the specified item.

New method TSRichViewEdit.DeletePage deletes a page as an editing operation.

New version is TSRVToolWindow.Execute simplifies calling window which is invoked with a button.

Many small tweaks and fixes.