Skip to content

Commit 14190d5

Browse files
Merge branch 'master' into release
2 parents 89033df + b30e7b8 commit 14190d5

17 files changed

+243
-63
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate
1616
- [Convert a document to desired file format](https://docs.aspose.cloud/display/wordscloud/Convert+Document+to+Destination+Format+with+Detailed+Settings+and+Save+Result+to+Storage) along with detailed settings.
1717
- Convert an encrypted PDF document into Word document format.
1818

19+
## Enhancements in Version 23.4
20+
21+
- Added new type of RangeEndIdentifier for RangeApi: document:end
22+
23+
1924
## Enhancements in Version 23.3
2025

2126
- Fix compatibility between CreateDocument API and Dropbox storage.

asposewordscloud/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
from asposewordscloud.models.metafile_rendering_options_data import MetafileRenderingOptionsData
148148
from asposewordscloud.models.mhtml_save_options_data import MhtmlSaveOptionsData
149149
from asposewordscloud.models.modification_operation_result import ModificationOperationResult
150+
from asposewordscloud.models.new_document_position import NewDocumentPosition
150151
from asposewordscloud.models.node_link import NodeLink
151152
from asposewordscloud.models.odt_save_options_data import OdtSaveOptionsData
152153
from asposewordscloud.models.office_math_link import OfficeMathLink

asposewordscloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
8383

8484
self.pool = None
8585
self.rest_client = rest.RESTClientObject(configuration)
86-
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '23.3'}
86+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '23.4'}
8787
if header_name is not None:
8888
self.default_headers[header_name] = header_value
8989
self.cookie = cookie
9090
# Set default User-Agent.
91-
self.user_agent = 'python sdk 23.3'
91+
self.user_agent = 'python sdk 23.4'
9292

9393
def __del__(self):
9494
if not self.pool is None:

asposewordscloud/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,6 @@ def to_debug_report(self):
262262
return "Python SDK Debug Report:\n"\
263263
"OS: {env}\n"\
264264
"Python Version: {pyversion}\n"\
265-
"Version of the API: 23.3\n"\
266-
"SDK Package Version: 23.3".\
265+
"Version of the API: 23.4\n"\
266+
"SDK Package Version: 23.4".\
267267
format(env=sys.platform, pyversion=sys.version)

asposewordscloud/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
from asposewordscloud.models.metafile_rendering_options_data import MetafileRenderingOptionsData
143143
from asposewordscloud.models.mhtml_save_options_data import MhtmlSaveOptionsData
144144
from asposewordscloud.models.modification_operation_result import ModificationOperationResult
145+
from asposewordscloud.models.new_document_position import NewDocumentPosition
145146
from asposewordscloud.models.node_link import NodeLink
146147
from asposewordscloud.models.odt_save_options_data import OdtSaveOptionsData
147148
from asposewordscloud.models.office_math_link import OfficeMathLink

asposewordscloud/models/bookmark_insert.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class BookmarkInsert(object):
4444
swagger_types = {
4545
'name': 'str',
4646
'text': 'str',
47-
'end_range': 'DocumentPosition',
48-
'start_range': 'DocumentPosition'
47+
'end_range': 'NewDocumentPosition',
48+
'start_range': 'NewDocumentPosition'
4949
}
5050

5151
attribute_map = {
@@ -124,7 +124,7 @@ def end_range(self):
124124
Gets or sets the link to end bookmark node. # noqa: E501
125125
126126
:return: The end_range of this BookmarkInsert. # noqa: E501
127-
:rtype: DocumentPosition
127+
:rtype: NewDocumentPosition
128128
"""
129129
return self._end_range
130130

@@ -135,7 +135,7 @@ def end_range(self, end_range):
135135
Gets or sets the link to end bookmark node. # noqa: E501
136136
137137
:param end_range: The end_range of this BookmarkInsert. # noqa: E501
138-
:type: DocumentPosition
138+
:type: NewDocumentPosition
139139
"""
140140
self._end_range = end_range
141141

@@ -146,7 +146,7 @@ def start_range(self):
146146
Gets or sets the link to start bookmark node. # noqa: E501
147147
148148
:return: The start_range of this BookmarkInsert. # noqa: E501
149-
:rtype: DocumentPosition
149+
:rtype: NewDocumentPosition
150150
"""
151151
return self._start_range
152152

@@ -157,7 +157,7 @@ def start_range(self, start_range):
157157
Gets or sets the link to start bookmark node. # noqa: E501
158158
159159
:param start_range: The start_range of this BookmarkInsert. # noqa: E501
160-
:type: DocumentPosition
160+
:type: NewDocumentPosition
161161
"""
162162
self._start_range = start_range
163163

asposewordscloud/models/comment_insert.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class CommentInsert(object):
4545
'author': 'str',
4646
'date_time': 'datetime',
4747
'initial': 'str',
48-
'range_end': 'DocumentPosition',
49-
'range_start': 'DocumentPosition',
48+
'range_end': 'NewDocumentPosition',
49+
'range_start': 'NewDocumentPosition',
5050
'text': 'str'
5151
}
5252

@@ -156,7 +156,7 @@ def range_end(self):
156156
Gets or sets the link to comment range end node. # noqa: E501
157157
158158
:return: The range_end of this CommentInsert. # noqa: E501
159-
:rtype: DocumentPosition
159+
:rtype: NewDocumentPosition
160160
"""
161161
return self._range_end
162162

@@ -167,7 +167,7 @@ def range_end(self, range_end):
167167
Gets or sets the link to comment range end node. # noqa: E501
168168
169169
:param range_end: The range_end of this CommentInsert. # noqa: E501
170-
:type: DocumentPosition
170+
:type: NewDocumentPosition
171171
"""
172172
self._range_end = range_end
173173

@@ -178,7 +178,7 @@ def range_start(self):
178178
Gets or sets the link to comment range start node. # noqa: E501
179179
180180
:return: The range_start of this CommentInsert. # noqa: E501
181-
:rtype: DocumentPosition
181+
:rtype: NewDocumentPosition
182182
"""
183183
return self._range_start
184184

@@ -189,7 +189,7 @@ def range_start(self, range_start):
189189
Gets or sets the link to comment range start node. # noqa: E501
190190
191191
:param range_start: The range_start of this CommentInsert. # noqa: E501
192-
:type: DocumentPosition
192+
:type: NewDocumentPosition
193193
"""
194194
self._range_start = range_start
195195

asposewordscloud/models/comment_update.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class CommentUpdate(object):
4545
'author': 'str',
4646
'date_time': 'datetime',
4747
'initial': 'str',
48-
'range_end': 'DocumentPosition',
49-
'range_start': 'DocumentPosition',
48+
'range_end': 'NewDocumentPosition',
49+
'range_start': 'NewDocumentPosition',
5050
'text': 'str'
5151
}
5252

@@ -156,7 +156,7 @@ def range_end(self):
156156
Gets or sets the link to comment range end node. # noqa: E501
157157
158158
:return: The range_end of this CommentUpdate. # noqa: E501
159-
:rtype: DocumentPosition
159+
:rtype: NewDocumentPosition
160160
"""
161161
return self._range_end
162162

@@ -167,7 +167,7 @@ def range_end(self, range_end):
167167
Gets or sets the link to comment range end node. # noqa: E501
168168
169169
:param range_end: The range_end of this CommentUpdate. # noqa: E501
170-
:type: DocumentPosition
170+
:type: NewDocumentPosition
171171
"""
172172
self._range_end = range_end
173173

@@ -178,7 +178,7 @@ def range_start(self):
178178
Gets or sets the link to comment range start node. # noqa: E501
179179
180180
:return: The range_start of this CommentUpdate. # noqa: E501
181-
:rtype: DocumentPosition
181+
:rtype: NewDocumentPosition
182182
"""
183183
return self._range_start
184184

@@ -189,7 +189,7 @@ def range_start(self, range_start):
189189
Gets or sets the link to comment range start node. # noqa: E501
190190
191191
:param range_start: The range_start of this CommentUpdate. # noqa: E501
192-
:type: DocumentPosition
192+
:type: NewDocumentPosition
193193
"""
194194
self._range_start = range_start
195195

asposewordscloud/models/drawing_object_insert.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DrawingObjectInsert(object):
4444
swagger_types = {
4545
'height': 'float',
4646
'left': 'float',
47-
'position': 'DocumentPosition',
47+
'position': 'NewDocumentPosition',
4848
'relative_horizontal_position': 'str',
4949
'relative_vertical_position': 'str',
5050
'top': 'float',
@@ -144,7 +144,7 @@ def position(self):
144144
Gets or sets the position, before which the DrawingObject will be inserted. # noqa: E501
145145
146146
:return: The position of this DrawingObjectInsert. # noqa: E501
147-
:rtype: DocumentPosition
147+
:rtype: NewDocumentPosition
148148
"""
149149
return self._position
150150

@@ -155,7 +155,7 @@ def position(self, position):
155155
Gets or sets the position, before which the DrawingObject will be inserted. # noqa: E501
156156
157157
:param position: The position of this DrawingObjectInsert. # noqa: E501
158-
:type: DocumentPosition
158+
:type: NewDocumentPosition
159159
"""
160160
self._position = position
161161

asposewordscloud/models/footnote_insert.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class FootnoteInsert(object):
4343
"""
4444
swagger_types = {
4545
'footnote_type': 'str',
46-
'position': 'DocumentPosition',
46+
'position': 'NewDocumentPosition',
4747
'reference_mark': 'str',
4848
'text': 'str'
4949
}
@@ -110,7 +110,7 @@ def position(self):
110110
Gets or sets the link to comment range start node. # noqa: E501
111111
112112
:return: The position of this FootnoteInsert. # noqa: E501
113-
:rtype: DocumentPosition
113+
:rtype: NewDocumentPosition
114114
"""
115115
return self._position
116116

@@ -121,7 +121,7 @@ def position(self, position):
121121
Gets or sets the link to comment range start node. # noqa: E501
122122
123123
:param position: The position of this FootnoteInsert. # noqa: E501
124-
:type: DocumentPosition
124+
:type: NewDocumentPosition
125125
"""
126126
self._position = position
127127

0 commit comments

Comments
 (0)