Commit 819cd484 authored by Constantin Jucovschi's avatar Constantin Jucovschi

adds replace and restructuring messages

parent 8334f6fd
......@@ -7,23 +7,27 @@ var _info_kwarc_sally_comm_mathhubdocument_factory = function () {
localName: 'SelectText',
propertyInfos: [{
type: 'element',
name: 'startrow',
elementName: 'startrow',
typeInfo: 'Int'
name: 'startPos',
elementName: 'startPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}, {
type: 'element',
name: 'endrow',
elementName: 'endrow',
typeInfo: 'Int'
}, {
name: 'endPos',
elementName: 'endPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}]
}, {
type: 'classInfo',
localName: 'TextPosition',
propertyInfos: [{
type: 'element',
name: 'startcolumn',
elementName: 'startcolumn',
name: 'row',
elementName: 'row',
typeInfo: 'Int'
}, {
type: 'element',
name: 'endcolumn',
elementName: 'endcolumn',
name: 'col',
elementName: 'col',
typeInfo: 'Int'
}]
}, {
......@@ -96,38 +100,42 @@ var _info_kwarc_sally_comm_mathhubdocument_factory = function () {
typeInfo: 'String'
}, {
type: 'element',
name: 'col',
elementName: 'col',
typeInfo: 'Int'
}, {
type: 'element',
name: 'line',
elementName: 'line',
typeInfo: 'Int'
name: 'pos',
elementName: 'pos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}]
}, {
type: 'classInfo',
localName: 'GetCurrentSelectionResponse',
localName: 'ReplaceText',
propertyInfos: [{
type: 'element',
name: 'startrow',
elementName: 'startrow',
typeInfo: 'Int'
name: 'startPos',
elementName: 'startPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}, {
type: 'element',
name: 'endrow',
elementName: 'endrow',
typeInfo: 'Int'
name: 'endPos',
elementName: 'endPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}, {
type: 'element',
name: 'startcolumn',
elementName: 'startcolumn',
typeInfo: 'Int'
name: 'text',
elementName: 'text',
typeInfo: 'String'
}]
}, {
type: 'classInfo',
localName: 'GetCurrentSelectionResponse',
propertyInfos: [{
type: 'element',
name: 'startPos',
elementName: 'startPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}, {
type: 'element',
name: 'endcolumn',
elementName: 'endcolumn',
typeInfo: 'Int'
name: 'endPos',
elementName: 'endPos',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.TextPosition'
}]
}, {
type: 'classInfo',
......@@ -160,6 +168,9 @@ var _info_kwarc_sally_comm_mathhubdocument_factory = function () {
}, {
elementName: 'AutocompleteRequest',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.AutocompleteRequest'
}, {
elementName: 'ReplaceText',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.ReplaceText'
}, {
elementName: 'GetCurrentSelectionResponse',
typeInfo: 'info_kwarc_sally_comm_mathhubdocument.GetCurrentSelectionResponse'
......
......@@ -5,9 +5,10 @@
<parent>
<groupId>info.kwarc.sally4.comm</groupId>
<artifactId>comm-parent</artifactId>
<version>0.0.7</version>
<version>0.0.8</version>
<relativePath>../comm-parent</relativePath>
</parent>
<version>1.0.1-SNAPSHOT</version>
<groupId>info.kwarc.sally4.mhw.comm</groupId>
<artifactId>comm-mathhubdocument</artifactId>
......@@ -17,5 +18,4 @@
<bundle.export-package>info.kwarc.sally*;</bundle.export-package>
<bundle.comm-package>mathhubdocument</bundle.comm-package>
</properties>
<version>1.0.0-SNAPSHOT</version>
</project>
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mhdoc="http://kwarc.info/sally/comm/mathhubdocument"
targetNamespace="http://kwarc.info/sally/comm/mathhubdocument"
elementFormDefault="qualified">
......@@ -32,6 +33,13 @@
</xs:complexType>
</xs:element>
<xs:complexType name="TextPosition">
<xs:sequence>
<xs:element name="row" type="xs:int"></xs:element>
<xs:element name="col" type="xs:int"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="GetCurrentSelection">
<xs:complexType>
</xs:complexType>
......@@ -40,10 +48,8 @@
<xs:element name="GetCurrentSelectionResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="startrow" type="xs:int"></xs:element>
<xs:element name="endrow" type="xs:int"></xs:element>
<xs:element name="startcolumn" type="xs:int"></xs:element>
<xs:element name="endcolumn" type="xs:int"></xs:element>
<xs:element name="startPos" type="mhdoc:TextPosition"></xs:element>
<xs:element name="endPos" type="mhdoc:TextPosition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
......@@ -51,10 +57,18 @@
<xs:element name="SelectText">
<xs:complexType>
<xs:sequence>
<xs:element name="startrow" type="xs:int"></xs:element>
<xs:element name="endrow" type="xs:int"></xs:element>
<xs:element name="startcolumn" type="xs:int"></xs:element>
<xs:element name="endcolumn" type="xs:int"></xs:element>
<xs:element name="startPos" type="mhdoc:TextPosition"></xs:element>
<xs:element name="endPos" type="mhdoc:TextPosition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ReplaceText">
<xs:complexType>
<xs:sequence>
<xs:element name="startPos" type="mhdoc:TextPosition"></xs:element>
<xs:element name="endPos" type="mhdoc:TextPosition"></xs:element>
<xs:element name="text" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
......@@ -65,8 +79,7 @@
<xs:element type="xs:string" name="path"></xs:element>
<xs:element type="xs:string" name="text"></xs:element>
<xs:element type="xs:string" name="prefix"></xs:element>
<xs:element type="xs:int" name="col"></xs:element>
<xs:element type="xs:int" name="line"></xs:element>
<xs:element name="pos" type="mhdoc:TextPosition"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment