|
Almost all RichViewActions designed for TRichViewEdit can be used with TSRichViewEdit.
The only additional code you need is the following assignments to global variables (defined in RichViewActions.pas):
RVA_GetRichViewEditFromPopupComponent :=
SRVGetRichViewEditFromPopupComponent;
RVA_GetRichViewEdit := SRVGetRichViewEdit;
However, printing actions (TrvActionPrint, TrvActionQuickPrint, TrvActionPrintPreview, TrvActionPageSetup) cannot be used.
These printing actions have their replacements:
TsrvActionQuickPrint
TsrvActionPrint
TsrvActionPageSetup
TsrvActionPreview
Other actions for TSRichViewEdit:
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 closes a header/footer editor and returns 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.
See also:
translating actions
|