Class Index | File Index

Classes


Class ops.OpAddAnnotation


Defined in: OpAddAnnotation.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<inner>  
Creates an office:annotation-end node with the given annotation name
<inner>  
createAnnotationNode(odtDocument, date)
Creates an office:annotation node with a dc:creator, dc:date, and a paragraph wrapped within a list, inside it; and with the given annotation name
 
execute(document)
 
init(data)
<inner>  
insertNodeAtPosition(odtDocument, node, insertPosition)
Inserts the element at a given position
 
spec()
Class Detail
ops.OpAddAnnotation()
Method Detail
<inner> {!Element} createAnnotationEnd()
Creates an office:annotation-end node with the given annotation name
Returns:
{!Element}

<inner> {!odf.AnnotationElement} createAnnotationNode(odtDocument, date)
Creates an office:annotation node with a dc:creator, dc:date, and a paragraph wrapped within a list, inside it; and with the given annotation name
Parameters:
{!ops.OdtDocument} odtDocument
{!Date} date
Returns:
{!odf.AnnotationElement}

execute(document)
Parameters:
{!ops.Document} document

init(data)
Parameters:
{!ops.OpAddAnnotation.InitSpec} data

<inner> {undefined} insertNodeAtPosition(odtDocument, node, insertPosition)
Inserts the element at a given position
Parameters:
{!ops.OdtDocument} odtDocument
{!Element} node
{!number} insertPosition
Returns:
{undefined}

{!ops.OpAddAnnotation.Spec} spec()
Returns:
{!ops.OpAddAnnotation.Spec}

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