Actions

Top  Previous  Next

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:

a_printquick TsrvActionQuickPrint

print TsrvActionPrint

pagesetup TsrvActionPageSetup

a_printpreview TsrvActionPreview

Other actions for TSRichViewEdit:

TsrvActionThumbnails shows/hides page thumbnails.

A_layoutdraft TsrvActionLayoutDraft switches the editor to a draft layout.

A_layoutweb TsrvActionLayoutWeb switches the editor to a web layout.

a_layoutprint TsrvActionLayoutPrint switches the editor to a print layout.

a_zoom TsrvActionZoom applies the specified zooming percent to the editor.

a_zoomw TsrvActionZoomPageWidth zooms the editor to fit the page width in the editor width.

a_zoomwp TsrvActionZoomFullPage zooms the editor to fit the full page in the editor.

a_portrait TsrvActionOrientationPortrait changes page orientation to "portrait".

a_landscape TsrvActionOrientationLandscape changes page orientation to "landscape".

a_pagesize TsrvActionPageFormat changes page size.

a_header TsrvActionEditHeader starts editing a page header.

a_footer TsrvActionEditFooter starts editing a page footer.

a_cross TsrvActionEditMain closes a header/footer editor and returns the main document.

a_footnote TsrvActionInsertFootnote inserts a footnote.

a_endnote TsrvActionInsertEndnote inserts an endnote.

a_noteedit TsrvActionEditNote starts editing a footnote/endnote.

a_notereturn TsrvActionReturnToNote moves the caret to the parent footnote/endnote.

See also:

translating actions


ScaleRichView © Ilya Zelensky & Sergey Tkachenko