|
<< Click to display table of contents >> New in version 2.0 |
In several methods, the first letter is capitalized.
The properties related to margins are renamed. The pattern is "PageLeft
LeftMargin". This renaming includes both properties of TSRichViewEdit (rarely used outside the component code) and properties of TSRichViewEdit.PageProperty:TSRVPageProperty:
•PageLeft
LeftMargin
•PageTop
TopMargin
•PageRight
RightMargin
•PageBottom
BottomMargin
The properties related to page size are renamed. The pattern is "FormatWidth
PageWidth". This renaming includes both properties of TSRichViewEdit (rarely used outside the component code) and properties of TSRichViewEdit.PageProperty:
•FormatWidth
PageWidth
•FormatHeight
PageHeight
Other TSRichViewEdit.PageProperty properties and methods are renamed:
•BreakPage
PageViewMode
•FormatMode
PageFormat
•ConvertPageSizeToFormatMode
ConvertPageSizeToPageFormat
•getPaperSize
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
TableIcon":
properties of TSRichViewEdit:
•getHintTableItem
GetTableIconItem
•getHintTableRVData
GetTableIconRVData
•OnHintTableClick
OnTableIconClick
properties of TSRVViewProperty:
•HintTableTimeDelay
TableIconDelay
•HintTablePopupMenu
TableIconPopupMenu
•HintTableVisible
UseTableIcons
In addition, the following properties of TSRVViewProperty are renamed:
•HintPage
ShowScrollHint
The following methods and events of TSRichViewEdit are renamed:
•calculatePosPages
CalculateAllPagePositions
•calculatePosPagesFor
CalculatePagePosition
•RectPage
GetPageClientRect
•getPageMousePos
GetPageAt
•OnCurParaStyleChange
OnCurParaStyleChanged
The following properties of TSRVBackgroundProperty are renamed:
•PictureType
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
PageFormat
•PaperCodeToFormatPaper
PaperCodeToPageFormat
•UpdatePage
Update
The following methods of TSclRVRuler are renamed:
getPageProperty
GetPageProperties
setPageProperty
SetPageProperties
The following properties of TSRVPreview are changed:
•PageBorderColor
FrameBorderColor
•PageBorderWidth
FrameBorderWidth
•PageShadowColor, PageShadowWidth are removed (as well as "shadows" between frames)
•PageBoundsColor
PageBorderColor
•PageBoundsWidth
PageBorderWidth
•PageBoundsStyle
PageBorderStyle
•BorderColor, BorderWidth, ShadowColor, ShadowWidth are added.
The following properties, methods and events of TSRVPageScroll are changed:
•WidthBreakPage
PageBreakWidth
•HeightBreakPage
PageBreakHeight
•ShadowOff
ShadowWidth
•CountPagesCache
CachedPagesCount
•LimitCacheUpdate
CacheScrollLimit
•GetPageNoToXY
GetPageAt
•OnDrawSelect
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 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.