Class ops.EditInfo
Defined in: EditInfo.js.
Constructor Attributes | Constructor Name and Description |
---|---|
ops.EditInfo(container, odtDocument)
|
Method Attributes | Method Name and Description |
---|---|
addEdit(memberid, timestamp)
|
|
destroy(callback,)
|
|
getEdits()
|
|
getNode()
|
|
Returns the sorted list of memberid/time pairs, with oldest first.
|
|
<inner> |
Class Detail
ops.EditInfo(container, odtDocument)
- Parameters:
- {!Element} container
- {!ops.OdtDocument} odtDocument
Method Detail
{undefined}
addEdit(memberid, timestamp)
- Parameters:
- {!string} memberid
- {!Date} timestamp
- Returns:
- {undefined}
{undefined}
clearEdits()
- Returns:
- {undefined}
{undefined}
destroy(callback,)
- Parameters:
- {!function(!Error=)} callback,
- passing an error object in case of error
- Returns:
- {undefined}
{!Object.}
getEdits()
- Returns:
- {!Object.}
{!Element}
getNode()
- Returns:
- {!Element}
{!ops.OdtDocument}
getOdtDocument()
- Returns:
- {!ops.OdtDocument}
{!Array.<{memberid:!string|time:!Date}>}
getSortedEdits()
Returns the sorted list of memberid/time pairs, with oldest first.
- Returns:
- {!Array.<{memberid:!string|time:!Date}>}
<inner>
{!Array.<{memberid:!string|time:!Date}>}
sortEdits()
- Returns:
- {!Array.<{memberid:!string|time:!Date}>}