Function TParagraph.InplaceEditor : TWPToolsInplaceEditorAbstractBase

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Returns

The type of the result value is TWPToolsInplaceEditorAbstractBase.

Description

This function returns the inplace editor of this paragraph, if any was attached. An inplace editor is a paragraph object with the type = WPPAROBJ_INPLACEDITOR. This function also checks the class of the paragraph object.
A paragraph needs to use SetAdd(WPAT_ParFlags, WPFLG_HAS_INPLACEEDITOR) if it has an inplace editor. This flag is set and cleared by RecreateInplaceEditor. If the flag was not set, the inplace editor is not used by the paint routine!