Skip to content

Commit b457d03

Browse files
Merge branch 'master' into release
2 parents 4509dea + 38eaa87 commit b457d03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6198
-3267
lines changed

Jenkinsfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,19 @@ def runtests(dockerImageVersion)
6969
}
7070

7171
node('words-linux') {
72-
stage('newpy'){
72+
stage('oldpy'){
7373
try {
7474
runtests("3.7")
7575
} finally {
7676
cleanWs()
7777
}
7878
}
79+
80+
stage('newpy'){
81+
try {
82+
runtests("3.10")
83+
} finally {
84+
cleanWs()
85+
}
86+
}
7987
}

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ 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 22.2
20+
21+
- Made 'SaveOprionsData.SaveFormat' property readonly with default value.
22+
- Added subclasses for all formats of SaveOprionsData with specified SaveFormat.
23+
- 'SaveOptionsData', 'FixedPageSaveOptionsData', 'ImageSaveOptionsData', 'OoxmlSaveOptionsData', 'TxtSaveOptionsBaseData' classes now is abstract.
24+
25+
1926
## Enhancements in Version 22.1
2027

2128
- Added 'FieldOptions.FieldUpdateCultureName' to set Culture for fields

asposewordscloud/__init__.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from asposewordscloud.models.classification_response import ClassificationResponse
2727
from asposewordscloud.models.classification_result import ClassificationResult
2828
from asposewordscloud.models.comment import Comment
29-
from asposewordscloud.models.comment_base import CommentBase
3029
from asposewordscloud.models.comment_insert import CommentInsert
3130
from asposewordscloud.models.comment_link import CommentLink
3231
from asposewordscloud.models.comment_response import CommentResponse
@@ -43,6 +42,7 @@
4342
from asposewordscloud.models.custom_xml_parts_collection import CustomXmlPartsCollection
4443
from asposewordscloud.models.custom_xml_parts_response import CustomXmlPartsResponse
4544
from asposewordscloud.models.custom_xml_part_update import CustomXmlPartUpdate
45+
from asposewordscloud.models.docm_save_options_data import DocmSaveOptionsData
4646
from asposewordscloud.models.doc_save_options_data import DocSaveOptionsData
4747
from asposewordscloud.models.document import Document
4848
from asposewordscloud.models.document_entry import DocumentEntry
@@ -51,11 +51,14 @@
5151
from asposewordscloud.models.document_properties import DocumentProperties
5252
from asposewordscloud.models.document_properties_response import DocumentPropertiesResponse
5353
from asposewordscloud.models.document_property import DocumentProperty
54-
from asposewordscloud.models.document_property_base import DocumentPropertyBase
5554
from asposewordscloud.models.document_property_create_or_update import DocumentPropertyCreateOrUpdate
5655
from asposewordscloud.models.document_property_response import DocumentPropertyResponse
5756
from asposewordscloud.models.document_response import DocumentResponse
5857
from asposewordscloud.models.document_stat_data import DocumentStatData
58+
from asposewordscloud.models.docx_save_options_data import DocxSaveOptionsData
59+
from asposewordscloud.models.dotm_save_options_data import DotmSaveOptionsData
60+
from asposewordscloud.models.dot_save_options_data import DotSaveOptionsData
61+
from asposewordscloud.models.dotx_save_options_data import DotxSaveOptionsData
5962
from asposewordscloud.models.downsample_options_data import DownsampleOptionsData
6063
from asposewordscloud.models.drawing_object import DrawingObject
6164
from asposewordscloud.models.drawing_object_collection import DrawingObjectCollection
@@ -69,7 +72,6 @@
6972
from asposewordscloud.models.error import Error
7073
from asposewordscloud.models.error_details import ErrorDetails
7174
from asposewordscloud.models.field import Field
72-
from asposewordscloud.models.field_base import FieldBase
7375
from asposewordscloud.models.field_collection import FieldCollection
7476
from asposewordscloud.models.field_insert import FieldInsert
7577
from asposewordscloud.models.field_link import FieldLink
@@ -82,13 +84,15 @@
8284
from asposewordscloud.models.file_link import FileLink
8385
from asposewordscloud.models.files_list import FilesList
8486
from asposewordscloud.models.files_upload_result import FilesUploadResult
85-
from asposewordscloud.models.fixed_page_save_options_data import FixedPageSaveOptionsData
87+
from asposewordscloud.models.flat_opc_macro_save_options_data import FlatOpcMacroSaveOptionsData
88+
from asposewordscloud.models.flat_opc_save_options_data import FlatOpcSaveOptionsData
89+
from asposewordscloud.models.flat_opc_template_macro_save_options_data import FlatOpcTemplateMacroSaveOptionsData
90+
from asposewordscloud.models.flat_opc_template_save_options_data import FlatOpcTemplateSaveOptionsData
8691
from asposewordscloud.models.font import Font
8792
from asposewordscloud.models.font_dto import FontDto
8893
from asposewordscloud.models.font_info import FontInfo
8994
from asposewordscloud.models.font_response import FontResponse
9095
from asposewordscloud.models.footnote import Footnote
91-
from asposewordscloud.models.footnote_base import FootnoteBase
9296
from asposewordscloud.models.footnote_collection import FootnoteCollection
9397
from asposewordscloud.models.footnote_insert import FootnoteInsert
9498
from asposewordscloud.models.footnote_link import FootnoteLink
@@ -115,7 +119,6 @@
115119
from asposewordscloud.models.hyperlink_response import HyperlinkResponse
116120
from asposewordscloud.models.hyperlinks import Hyperlinks
117121
from asposewordscloud.models.hyperlinks_response import HyperlinksResponse
118-
from asposewordscloud.models.image_save_options_data import ImageSaveOptionsData
119122
from asposewordscloud.models.info_additional_item import InfoAdditionalItem
120123
from asposewordscloud.models.info_response import InfoResponse
121124
from asposewordscloud.models.jpeg_save_options_data import JpegSaveOptionsData
@@ -145,8 +148,9 @@
145148
from asposewordscloud.models.office_math_object_response import OfficeMathObjectResponse
146149
from asposewordscloud.models.office_math_objects_collection import OfficeMathObjectsCollection
147150
from asposewordscloud.models.office_math_objects_response import OfficeMathObjectsResponse
148-
from asposewordscloud.models.ooxml_save_options_data import OoxmlSaveOptionsData
151+
from asposewordscloud.models.open_xps_save_options_data import OpenXpsSaveOptionsData
149152
from asposewordscloud.models.optimization_options import OptimizationOptions
153+
from asposewordscloud.models.ott_save_options_data import OttSaveOptionsData
150154
from asposewordscloud.models.outline_options_data import OutlineOptionsData
151155
from asposewordscloud.models.page_number import PageNumber
152156
from asposewordscloud.models.page_setup import PageSetup
@@ -185,14 +189,12 @@
185189
from asposewordscloud.models.revisions_modification_response import RevisionsModificationResponse
186190
from asposewordscloud.models.rtf_save_options_data import RtfSaveOptionsData
187191
from asposewordscloud.models.run import Run
188-
from asposewordscloud.models.run_base import RunBase
189192
from asposewordscloud.models.run_insert import RunInsert
190193
from asposewordscloud.models.run_link import RunLink
191194
from asposewordscloud.models.run_response import RunResponse
192195
from asposewordscloud.models.runs import Runs
193196
from asposewordscloud.models.runs_response import RunsResponse
194197
from asposewordscloud.models.run_update import RunUpdate
195-
from asposewordscloud.models.save_options_data import SaveOptionsData
196198
from asposewordscloud.models.save_response import SaveResponse
197199
from asposewordscloud.models.save_result import SaveResult
198200
from asposewordscloud.models.search_response import SearchResponse
@@ -249,14 +251,14 @@
249251
from asposewordscloud.models.text_save_options_data import TextSaveOptionsData
250252
from asposewordscloud.models.tiff_save_options_data import TiffSaveOptionsData
251253
from asposewordscloud.models.time_zone_info_data import TimeZoneInfoData
252-
from asposewordscloud.models.txt_save_options_base_data import TxtSaveOptionsBaseData
253254
from asposewordscloud.models.user_information import UserInformation
254255
from asposewordscloud.models.watermark_text import WatermarkText
255256
from asposewordscloud.models.word_ml_save_options_data import WordMLSaveOptionsData
256257
from asposewordscloud.models.words_api_error_response import WordsApiErrorResponse
257258
from asposewordscloud.models.words_api_link import WordsApiLink
258259
from asposewordscloud.models.words_response import WordsResponse
259260
from asposewordscloud.models.xaml_fixed_save_options_data import XamlFixedSaveOptionsData
261+
from asposewordscloud.models.xaml_flow_pack_save_options_data import XamlFlowPackSaveOptionsData
260262
from asposewordscloud.models.xaml_flow_save_options_data import XamlFlowSaveOptionsData
261263
from asposewordscloud.models.xml_color import XmlColor
262264
from asposewordscloud.models.xml_data_load_options import XmlDataLoadOptions

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': '22.1'}
86+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '22.2'}
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 22.1'
91+
self.user_agent = 'python sdk 22.2'
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
@@ -258,6 +258,6 @@ def to_debug_report(self):
258258
return "Python SDK Debug Report:\n"\
259259
"OS: {env}\n"\
260260
"Python Version: {pyversion}\n"\
261-
"Version of the API: 22.1\n"\
262-
"SDK Package Version: 22.1".\
261+
"Version of the API: 22.2\n"\
262+
"SDK Package Version: 22.2".\
263263
format(env=sys.platform, pyversion=sys.version)

asposewordscloud/models/__init__.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from asposewordscloud.models.classification_response import ClassificationResponse
2222
from asposewordscloud.models.classification_result import ClassificationResult
2323
from asposewordscloud.models.comment import Comment
24-
from asposewordscloud.models.comment_base import CommentBase
2524
from asposewordscloud.models.comment_insert import CommentInsert
2625
from asposewordscloud.models.comment_link import CommentLink
2726
from asposewordscloud.models.comment_response import CommentResponse
@@ -38,6 +37,7 @@
3837
from asposewordscloud.models.custom_xml_parts_collection import CustomXmlPartsCollection
3938
from asposewordscloud.models.custom_xml_parts_response import CustomXmlPartsResponse
4039
from asposewordscloud.models.custom_xml_part_update import CustomXmlPartUpdate
40+
from asposewordscloud.models.docm_save_options_data import DocmSaveOptionsData
4141
from asposewordscloud.models.doc_save_options_data import DocSaveOptionsData
4242
from asposewordscloud.models.document import Document
4343
from asposewordscloud.models.document_entry import DocumentEntry
@@ -46,11 +46,14 @@
4646
from asposewordscloud.models.document_properties import DocumentProperties
4747
from asposewordscloud.models.document_properties_response import DocumentPropertiesResponse
4848
from asposewordscloud.models.document_property import DocumentProperty
49-
from asposewordscloud.models.document_property_base import DocumentPropertyBase
5049
from asposewordscloud.models.document_property_create_or_update import DocumentPropertyCreateOrUpdate
5150
from asposewordscloud.models.document_property_response import DocumentPropertyResponse
5251
from asposewordscloud.models.document_response import DocumentResponse
5352
from asposewordscloud.models.document_stat_data import DocumentStatData
53+
from asposewordscloud.models.docx_save_options_data import DocxSaveOptionsData
54+
from asposewordscloud.models.dotm_save_options_data import DotmSaveOptionsData
55+
from asposewordscloud.models.dot_save_options_data import DotSaveOptionsData
56+
from asposewordscloud.models.dotx_save_options_data import DotxSaveOptionsData
5457
from asposewordscloud.models.downsample_options_data import DownsampleOptionsData
5558
from asposewordscloud.models.drawing_object import DrawingObject
5659
from asposewordscloud.models.drawing_object_collection import DrawingObjectCollection
@@ -64,7 +67,6 @@
6467
from asposewordscloud.models.error import Error
6568
from asposewordscloud.models.error_details import ErrorDetails
6669
from asposewordscloud.models.field import Field
67-
from asposewordscloud.models.field_base import FieldBase
6870
from asposewordscloud.models.field_collection import FieldCollection
6971
from asposewordscloud.models.field_insert import FieldInsert
7072
from asposewordscloud.models.field_link import FieldLink
@@ -77,13 +79,15 @@
7779
from asposewordscloud.models.file_link import FileLink
7880
from asposewordscloud.models.files_list import FilesList
7981
from asposewordscloud.models.files_upload_result import FilesUploadResult
80-
from asposewordscloud.models.fixed_page_save_options_data import FixedPageSaveOptionsData
82+
from asposewordscloud.models.flat_opc_macro_save_options_data import FlatOpcMacroSaveOptionsData
83+
from asposewordscloud.models.flat_opc_save_options_data import FlatOpcSaveOptionsData
84+
from asposewordscloud.models.flat_opc_template_macro_save_options_data import FlatOpcTemplateMacroSaveOptionsData
85+
from asposewordscloud.models.flat_opc_template_save_options_data import FlatOpcTemplateSaveOptionsData
8186
from asposewordscloud.models.font import Font
8287
from asposewordscloud.models.font_dto import FontDto
8388
from asposewordscloud.models.font_info import FontInfo
8489
from asposewordscloud.models.font_response import FontResponse
8590
from asposewordscloud.models.footnote import Footnote
86-
from asposewordscloud.models.footnote_base import FootnoteBase
8791
from asposewordscloud.models.footnote_collection import FootnoteCollection
8892
from asposewordscloud.models.footnote_insert import FootnoteInsert
8993
from asposewordscloud.models.footnote_link import FootnoteLink
@@ -110,7 +114,6 @@
110114
from asposewordscloud.models.hyperlink_response import HyperlinkResponse
111115
from asposewordscloud.models.hyperlinks import Hyperlinks
112116
from asposewordscloud.models.hyperlinks_response import HyperlinksResponse
113-
from asposewordscloud.models.image_save_options_data import ImageSaveOptionsData
114117
from asposewordscloud.models.info_additional_item import InfoAdditionalItem
115118
from asposewordscloud.models.info_response import InfoResponse
116119
from asposewordscloud.models.jpeg_save_options_data import JpegSaveOptionsData
@@ -140,8 +143,9 @@
140143
from asposewordscloud.models.office_math_object_response import OfficeMathObjectResponse
141144
from asposewordscloud.models.office_math_objects_collection import OfficeMathObjectsCollection
142145
from asposewordscloud.models.office_math_objects_response import OfficeMathObjectsResponse
143-
from asposewordscloud.models.ooxml_save_options_data import OoxmlSaveOptionsData
146+
from asposewordscloud.models.open_xps_save_options_data import OpenXpsSaveOptionsData
144147
from asposewordscloud.models.optimization_options import OptimizationOptions
148+
from asposewordscloud.models.ott_save_options_data import OttSaveOptionsData
145149
from asposewordscloud.models.outline_options_data import OutlineOptionsData
146150
from asposewordscloud.models.page_number import PageNumber
147151
from asposewordscloud.models.page_setup import PageSetup
@@ -180,14 +184,12 @@
180184
from asposewordscloud.models.revisions_modification_response import RevisionsModificationResponse
181185
from asposewordscloud.models.rtf_save_options_data import RtfSaveOptionsData
182186
from asposewordscloud.models.run import Run
183-
from asposewordscloud.models.run_base import RunBase
184187
from asposewordscloud.models.run_insert import RunInsert
185188
from asposewordscloud.models.run_link import RunLink
186189
from asposewordscloud.models.run_response import RunResponse
187190
from asposewordscloud.models.runs import Runs
188191
from asposewordscloud.models.runs_response import RunsResponse
189192
from asposewordscloud.models.run_update import RunUpdate
190-
from asposewordscloud.models.save_options_data import SaveOptionsData
191193
from asposewordscloud.models.save_response import SaveResponse
192194
from asposewordscloud.models.save_result import SaveResult
193195
from asposewordscloud.models.search_response import SearchResponse
@@ -244,14 +246,14 @@
244246
from asposewordscloud.models.text_save_options_data import TextSaveOptionsData
245247
from asposewordscloud.models.tiff_save_options_data import TiffSaveOptionsData
246248
from asposewordscloud.models.time_zone_info_data import TimeZoneInfoData
247-
from asposewordscloud.models.txt_save_options_base_data import TxtSaveOptionsBaseData
248249
from asposewordscloud.models.user_information import UserInformation
249250
from asposewordscloud.models.watermark_text import WatermarkText
250251
from asposewordscloud.models.word_ml_save_options_data import WordMLSaveOptionsData
251252
from asposewordscloud.models.words_api_error_response import WordsApiErrorResponse
252253
from asposewordscloud.models.words_api_link import WordsApiLink
253254
from asposewordscloud.models.words_response import WordsResponse
254255
from asposewordscloud.models.xaml_fixed_save_options_data import XamlFixedSaveOptionsData
256+
from asposewordscloud.models.xaml_flow_pack_save_options_data import XamlFlowPackSaveOptionsData
255257
from asposewordscloud.models.xaml_flow_save_options_data import XamlFlowSaveOptionsData
256258
from asposewordscloud.models.xml_color import XmlColor
257259
from asposewordscloud.models.xml_data_load_options import XmlDataLoadOptions

0 commit comments

Comments
 (0)