Class ops.OperationTransformMatrix
Defined in: OperationTransformMatrix.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
cloneOpspec(opspec)
Creates a deep copy of the opspec
|
<inner> |
dropOverruledAndUnneededAttributes(minorSetProperties, minorRemovedProperties, majorSetProperties, majorRemovedProperties)
|
<inner> |
dropOverruledAndUnneededProperties(minorSet, minorRem, majorSet, majorRem, propertiesName)
|
<inner> |
dropStyleReferencingAttributes(setProperties, deletedStyleName)
|
extendTransformations(moreTransformations)
|
|
<inner> |
getStyleReferencingAttributes(setProperties, styleName)
Returns a list with all attributes in setProperties that refer to styleName
|
<inner> |
hasProperties(properties)
Estimates if there are any properties set in the given properties object.
|
<inner> |
hasRemovedProperties(properties)
Estimates if there are any properties set in the given properties object.
|
<inner> |
invertMoveCursorSpecRange(moveCursorSpec)
Inverts the range spanned up by the spec's parameter position and length,
so that position is at the other end of the range and length relative to that.
|
<inner> |
invertMoveCursorSpecRangeOnNegativeLength(moveCursorSpec)
Inverts the range spanned up by position and length if the length is negative.
|
<inner> |
passUnchanged(opSpecA, opSpecB)
Does an OT on the two passed opspecs, where they are not modified at all,
and so simply returns them in the result arrays.
|
<inner> |
transformAddAnnotationAddAnnotation(addAnnotationSpecA, addAnnotationSpecB, hasAPriority)
|
<inner> |
transformAddAnnotationApplyDirectStyling(addAnnotationSpec, applyDirectStylingSpec)
|
<inner> |
transformAddAnnotationInsertText(addAnnotationSpec, insertTextSpec)
|
<inner> |
transformAddAnnotationMergeParagraph(addAnnotationSpec, mergeParagraphSpec)
|
<inner> |
transformAddAnnotationMoveCursor(addAnnotationSpec, moveCursorSpec)
|
<inner> |
transformAddAnnotationRemoveAnnotation(addAnnotationSpec, removeAnnotationSpec)
|
<inner> |
transformAddAnnotationRemoveText(addAnnotationSpec, removeTextSpec)
|
<inner> |
transformAddAnnotationSetParagraphStyle(addAnnotationSpec, setParagraphStyleSpec)
|
<inner> |
transformAddAnnotationSplitParagraph(addAnnotationSpec, splitParagraphSpec)
|
<inner> |
transformAddStyleRemoveStyle(addStyleSpec, removeStyleSpec)
|
<inner> |
transformApplyDirectStylingApplyDirectStyling(applyDirectStylingSpecA, applyDirectStylingSpecB, hasAPriority)
|
<inner> |
transformApplyDirectStylingInsertText(applyDirectStylingSpec, insertTextSpec)
|
<inner> |
transformApplyDirectStylingMergeParagraph(applyDirectStylingSpec, mergeParagraphSpec)
|
<inner> |
transformApplyDirectStylingRemoveAnnotation(applyDirectStylingSpec, removeAnnotationSpec)
|
<inner> |
transformApplyDirectStylingRemoveText(applyDirectStylingSpec, removeTextSpec)
|
<inner> |
transformApplyDirectStylingSplitParagraph(applyDirectStylingSpec, splitParagraphSpec)
|
<inner> |
transformInsertTextInsertText(insertTextSpecA, insertTextSpecB, hasAPriority)
|
<inner> |
transformInsertTextMergeParagraph(insertTextSpec, mergeParagraphSpec)
|
<inner> |
transformInsertTextMoveCursor(insertTextSpec, moveCursorSpec)
|
<inner> |
transformInsertTextRemoveAnnotation(insertTextSpec, removeAnnotationSpec)
|
<inner> |
transformInsertTextRemoveText(insertTextSpec, removeTextSpec)
|
<inner> |
transformInsertTextSetParagraphStyle(insertTextSpec, setParagraphStyleSpec)
|
<inner> |
transformInsertTextSplitParagraph(insertTextSpec, splitParagraphSpec)
|
<inner> |
transformMergeParagraphMergeParagraph(mergeParagraphSpecA, mergeParagraphSpecB, hasAPriority)
|
<inner> |
transformMergeParagraphMoveCursor(mergeParagraphSpec, moveCursorSpec)
|
<inner> |
transformMergeParagraphRemoveAnnotation(mergeParagraphSpec, removeAnnotationSpec)
|
<inner> |
transformMergeParagraphRemoveText(mergeParagraphSpec, removeTextSpec)
|
<inner> |
transformMergeParagraphSetParagraphStyle(mergeParagraphSpec, setParagraphStyleSpec)
|
<inner> |
transformMergeParagraphSplitParagraph(mergeParagraphSpec, splitParagraphSpec)
|
<inner> |
transformMoveCursorRemoveAnnotation(moveCursorSpec, removeAnnotationSpec)
|
<inner> |
transformMoveCursorRemoveCursor(moveCursorSpec, removeCursorSpec)
|
<inner> |
transformMoveCursorRemoveText(moveCursorSpec, removeTextSpec)
|
<inner> |
transformMoveCursorSplitParagraph(moveCursorSpec, splitParagraphSpec)
|
transformOpspecVsOpspec(opSpecA, opSpecB)
|
|
<inner> |
transformRemoveAnnotationRemoveAnnotation(removeAnnotationSpecA, removeAnnotationSpecB)
|
<inner> |
transformRemoveAnnotationRemoveText(removeAnnotationSpec, removeTextSpec)
|
<inner> |
transformRemoveAnnotationSetParagraphStyle(removeAnnotationSpec, setParagraphStyleSpec)
|
<inner> |
transformRemoveAnnotationSplitParagraph(removeAnnotationSpec, splitParagraphSpec)
|
<inner> |
transformRemoveCursorRemoveCursor(removeCursorSpecA, removeCursorSpecB)
|
<inner> |
transformRemoveStyleRemoveStyle(removeStyleSpecA, removeStyleSpecB)
|
<inner> |
transformRemoveStyleSetParagraphStyle(removeStyleSpec, setParagraphStyleSpec)
|
<inner> |
transformRemoveStyleUpdateParagraphStyle(removeStyleSpec, updateParagraphStyleSpec)
|
<inner> |
transformRemoveTextRemoveText(removeTextSpecA, removeTextSpecB)
|
<inner> |
transformRemoveTextSetParagraphStyle(removeTextSpec, setParagraphStyleSpec)
|
<inner> |
transformRemoveTextSplitParagraph(removeTextSpec, splitParagraphSpec)
|
<inner> |
transformSetParagraphStyleSetParagraphStyle(setParagraphStyleSpecA, setParagraphStyleSpecB, hasAPriority)
|
<inner> |
transformSetParagraphStyleSplitParagraph(setParagraphStyleSpec, splitParagraphSpec)
|
<inner> |
transformSplitParagraphSplitParagraph(splitParagraphSpecA, splitParagraphSpecB, hasAPriority)
|
<inner> |
transformUpdateMetadataUpdateMetadata(updateMetadataSpecA, updateMetadataSpecB, hasAPriority)
|
<inner> |
transformUpdateParagraphStyleUpdateParagraphStyle(updateParagraphStyleSpecA, updateParagraphStyleSpecB, hasAPriority)
|
Method Detail
<inner>
{!Object}
cloneOpspec(opspec)
Creates a deep copy of the opspec
- Parameters:
- {!Object} opspec
- Returns:
- {!Object}
<inner>
{!{majorChanged:boolean|minorChanged:boolean}}
dropOverruledAndUnneededAttributes(minorSetProperties, minorRemovedProperties, majorSetProperties, majorRemovedProperties)
- Parameters:
-
{?Object.
} minorSetProperties - {?{attributes:string}} minorRemovedProperties
-
{?Object.
} majorSetProperties - {?{attributes:string}} majorRemovedProperties
- Returns:
- {!{majorChanged:boolean|minorChanged:boolean}}
<inner>
{?{majorChanged:boolean|minorChanged:boolean}}
dropOverruledAndUnneededProperties(minorSet, minorRem, majorSet, majorRem, propertiesName)
- Parameters:
- {?odf.Formatting.StyleData} minorSet
-
{?Object.
} minorRem - {?odf.Formatting.StyleData} majorSet
-
{?Object.
} majorRem - {!string} propertiesName
- Returns:
- {?{majorChanged:boolean|minorChanged:boolean}}
<inner>
{undefined}
dropStyleReferencingAttributes(setProperties, deletedStyleName)
- Parameters:
- {?odf.Formatting.StyleData} setProperties
- {!string} deletedStyleName
- Returns:
- {undefined}
{undefined}
extendTransformations(moreTransformations)
- Parameters:
- {!Object.>} moreTransformations
- Returns:
- {undefined}
<inner>
{!Array.}
getStyleReferencingAttributes(setProperties, styleName)
Returns a list with all attributes in setProperties that refer to styleName
- Parameters:
- {?odf.Formatting.StyleData} setProperties
- {!string} styleName
- Returns:
- {!Array.}
<inner>
{!boolean}
hasProperties(properties)
Estimates if there are any properties set in the given properties object.
- Parameters:
- {!odf.Formatting.StyleData} properties
- Returns:
- {!boolean}
<inner>
{!boolean}
hasRemovedProperties(properties)
Estimates if there are any properties set in the given properties object.
- Parameters:
- {!{attributes:string}} properties
- Returns:
- {!boolean}
<inner>
{undefined}
invertMoveCursorSpecRange(moveCursorSpec)
Inverts the range spanned up by the spec's parameter position and length,
so that position is at the other end of the range and length relative to that.
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- Returns:
- {undefined}
<inner>
{!boolean}
invertMoveCursorSpecRangeOnNegativeLength(moveCursorSpec)
Inverts the range spanned up by position and length if the length is negative.
Returns true if an inversion was done, false otherwise.
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- Returns:
- {!boolean}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
passUnchanged(opSpecA, opSpecB)
Does an OT on the two passed opspecs, where they are not modified at all,
and so simply returns them in the result arrays.
- Parameters:
- {!Object} opSpecA
- {!Object} opSpecB
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationAddAnnotation(addAnnotationSpecA, addAnnotationSpecB, hasAPriority)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpecA
- {!ops.OpAddAnnotation.Spec} addAnnotationSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationApplyDirectStyling(addAnnotationSpec, applyDirectStylingSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationInsertText(addAnnotationSpec, insertTextSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpInsertText.Spec} insertTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationMergeParagraph(addAnnotationSpec, mergeParagraphSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationMoveCursor(addAnnotationSpec, moveCursorSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationRemoveAnnotation(addAnnotationSpec, removeAnnotationSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationRemoveText(addAnnotationSpec, removeTextSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationSetParagraphStyle(addAnnotationSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddAnnotationSplitParagraph(addAnnotationSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpAddAnnotation.Spec} addAnnotationSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformAddStyleRemoveStyle(addStyleSpec, removeStyleSpec)
- Parameters:
- {!ops.OpAddStyle.Spec} addStyleSpec
- {!ops.OpRemoveStyle.Spec} removeStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingApplyDirectStyling(applyDirectStylingSpecA, applyDirectStylingSpecB, hasAPriority)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpecA
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingInsertText(applyDirectStylingSpec, insertTextSpec)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- {!ops.OpInsertText.Spec} insertTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingMergeParagraph(applyDirectStylingSpec, mergeParagraphSpec)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingRemoveAnnotation(applyDirectStylingSpec, removeAnnotationSpec)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingRemoveText(applyDirectStylingSpec, removeTextSpec)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformApplyDirectStylingSplitParagraph(applyDirectStylingSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpApplyDirectStyling.Spec} applyDirectStylingSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextInsertText(insertTextSpecA, insertTextSpecB, hasAPriority)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpecA
- {!ops.OpInsertText.Spec} insertTextSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextMergeParagraph(insertTextSpec, mergeParagraphSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextMoveCursor(insertTextSpec, moveCursorSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextRemoveAnnotation(insertTextSpec, removeAnnotationSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextRemoveText(insertTextSpec, removeTextSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextSetParagraphStyle(insertTextSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformInsertTextSplitParagraph(insertTextSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpInsertText.Spec} insertTextSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphMergeParagraph(mergeParagraphSpecA, mergeParagraphSpecB, hasAPriority)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpecA
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphMoveCursor(mergeParagraphSpec, moveCursorSpec)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphRemoveAnnotation(mergeParagraphSpec, removeAnnotationSpec)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphRemoveText(mergeParagraphSpec, removeTextSpec)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphSetParagraphStyle(mergeParagraphSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMergeParagraphSplitParagraph(mergeParagraphSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpMergeParagraph.Spec} mergeParagraphSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMoveCursorRemoveAnnotation(moveCursorSpec, removeAnnotationSpec)
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMoveCursorRemoveCursor(moveCursorSpec, removeCursorSpec)
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- {!ops.OpRemoveCursor.Spec} removeCursorSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMoveCursorRemoveText(moveCursorSpec, removeTextSpec)
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformMoveCursorSplitParagraph(moveCursorSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpMoveCursor.Spec} moveCursorSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformOpspecVsOpspec(opSpecA, opSpecB)
- Parameters:
- {!{optype:string}} opSpecA
- op with lower priority in case of tie breaking
- {!{optype:string}} opSpecB
- op with higher priority in case of tie breaking
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveAnnotationRemoveAnnotation(removeAnnotationSpecA, removeAnnotationSpecB)
- Parameters:
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpecA
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpecB
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveAnnotationRemoveText(removeAnnotationSpec, removeTextSpec)
- Parameters:
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- {!ops.OpRemoveText.Spec} removeTextSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveAnnotationSetParagraphStyle(removeAnnotationSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveAnnotationSplitParagraph(removeAnnotationSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpRemoveAnnotation.Spec} removeAnnotationSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveCursorRemoveCursor(removeCursorSpecA, removeCursorSpecB)
- Parameters:
- {!ops.OpRemoveCursor.Spec} removeCursorSpecA
- {!ops.OpRemoveCursor.Spec} removeCursorSpecB
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveStyleRemoveStyle(removeStyleSpecA, removeStyleSpecB)
- Parameters:
- {!ops.OpRemoveStyle.Spec} removeStyleSpecA
- {!ops.OpRemoveStyle.Spec} removeStyleSpecB
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveStyleSetParagraphStyle(removeStyleSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpRemoveStyle.Spec} removeStyleSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveStyleUpdateParagraphStyle(removeStyleSpec, updateParagraphStyleSpec)
- Parameters:
- {!ops.OpRemoveStyle.Spec} removeStyleSpec
- {!ops.OpUpdateParagraphStyle.Spec} updateParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveTextRemoveText(removeTextSpecA, removeTextSpecB)
- Parameters:
- {!ops.OpRemoveText.Spec} removeTextSpecA
- {!ops.OpRemoveText.Spec} removeTextSpecB
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveTextSetParagraphStyle(removeTextSpec, setParagraphStyleSpec)
- Parameters:
- {!ops.OpRemoveText.Spec} removeTextSpec
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformRemoveTextSplitParagraph(removeTextSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpRemoveText.Spec} removeTextSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformSetParagraphStyleSetParagraphStyle(setParagraphStyleSpecA, setParagraphStyleSpecB, hasAPriority)
- Parameters:
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpecA
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformSetParagraphStyleSplitParagraph(setParagraphStyleSpec, splitParagraphSpec)
- Parameters:
- {!ops.OpSetParagraphStyle.Spec} setParagraphStyleSpec
- {!ops.OpSplitParagraph.Spec} splitParagraphSpec
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformSplitParagraphSplitParagraph(splitParagraphSpecA, splitParagraphSpecB, hasAPriority)
- Parameters:
- {!ops.OpSplitParagraph.Spec} splitParagraphSpecA
- {!ops.OpSplitParagraph.Spec} splitParagraphSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformUpdateMetadataUpdateMetadata(updateMetadataSpecA, updateMetadataSpecB, hasAPriority)
- Parameters:
- {!ops.OpUpdateMetadata.Spec} updateMetadataSpecA
- {!ops.OpUpdateMetadata.Spec} updateMetadataSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}
<inner>
{?{opSpecsA:!Array.|opSpecsB:!Array.}}
transformUpdateParagraphStyleUpdateParagraphStyle(updateParagraphStyleSpecA, updateParagraphStyleSpecB, hasAPriority)
- Parameters:
- {!ops.OpUpdateParagraphStyle.Spec} updateParagraphStyleSpecA
- {!ops.OpUpdateParagraphStyle.Spec} updateParagraphStyleSpecB
- {!boolean} hasAPriority
- Returns:
- {?{opSpecsA:!Array.|opSpecsB:!Array.}}