Class Index | File Index

Classes


Class gui.PasteController


Defined in: PasteController.js.

Class Summary
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 Summary
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}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)