Class gui.PasteController
Defined in: PasteController.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gui.PasteController(session, sessionConstraints, sessionContext, inputMemberId)
Provides a method to paste text at the current cursor
position, and processes the input string to understand
special structuring such as paragraph splits.
|
Method Attributes | Method Name and Description |
---|---|
destroy(callback,)
|
|
<inner> |
onCursorEvent(cursor)
|
paste(data)
|
|
<inner> |
Class Detail
gui.PasteController(session, sessionConstraints, sessionContext, inputMemberId)
Provides a method to paste text at the current cursor
position, and processes the input string to understand
special structuring such as paragraph splits.
- Parameters:
- {!ops.Session} session
- {!gui.SessionConstraints} sessionConstraints
- {!gui.SessionContext} sessionContext
- {!string} inputMemberId
Method Detail
{undefined}
destroy(callback,)
- Parameters:
- {!function(!Error=)} callback,
- passing an error object in case of error
- Returns:
- {undefined}
{!boolean}
isEnabled()
- Returns:
- {!boolean}
<inner>
{undefined}
onCursorEvent(cursor)
- Parameters:
- {!ops.OdtCursor} cursor
- Returns:
- {undefined}
{undefined}
paste(data)
- Parameters:
- {!string} data
- Returns:
- {undefined}
<inner>
{undefined}
updateEnabledState()
- Returns:
- {undefined}