aspose_words_cloud 24.8.0 → 24.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +260 -0
- data/lib/aspose_words_cloud/models/azw3_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/digital_signature_details.rb +218 -0
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +14 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +13 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_signatures_online_request.rb +179 -0
- data/lib/aspose_words_cloud/models/requests/get_signatures_request.rb +178 -0
- data/lib/aspose_words_cloud/models/requests/remove_all_signatures_online_request.rb +186 -0
- data/lib/aspose_words_cloud/models/requests/remove_all_signatures_request.rb +185 -0
- data/lib/aspose_words_cloud/models/requests/sign_document_online_request.rb +208 -0
- data/lib/aspose_words_cloud/models/requests/sign_document_request.rb +207 -0
- data/lib/aspose_words_cloud/models/responses/remove_all_signatures_online_response.rb +47 -0
- data/lib/aspose_words_cloud/models/responses/sign_document_online_response.rb +47 -0
- data/lib/aspose_words_cloud/models/sign_options.rb +254 -0
- data/lib/aspose_words_cloud/models/signature.rb +267 -0
- data/lib/aspose_words_cloud/models/signature_collection_response.rb +236 -0
- data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +14 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +10 -0
- metadata +14 -2
@@ -0,0 +1,236 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="signature_collection_response.rb">
|
3
|
+
# Copyright (c) 2024 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
module AsposeWordsCloud
|
29
|
+
|
30
|
+
# The REST response with a document signature collection.
|
31
|
+
# This response is returned by the Service when handling any "https://api.aspose.cloud/v4.0/words/Test.doc/signatures" REST API requests.
|
32
|
+
class SignatureCollectionResponse
|
33
|
+
# Gets or sets the request Id.
|
34
|
+
attr_accessor :request_id
|
35
|
+
|
36
|
+
# Gets or sets a value indicating whether all signatures are valid. Returns true if there is no signatures.
|
37
|
+
attr_accessor :is_valid
|
38
|
+
|
39
|
+
# Gets or sets signatures.
|
40
|
+
attr_accessor :signatures
|
41
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
42
|
+
def self.attribute_map
|
43
|
+
{
|
44
|
+
:'request_id' => :'RequestId',
|
45
|
+
:'is_valid' => :'IsValid',
|
46
|
+
:'signatures' => :'Signatures'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Attribute type mapping.
|
51
|
+
def self.swagger_types
|
52
|
+
{
|
53
|
+
:'request_id' => :'String',
|
54
|
+
:'is_valid' => :'BOOLEAN',
|
55
|
+
:'signatures' => :'Array<Signature>'
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
def initialize(attributes = {})
|
62
|
+
return unless attributes.is_a?(Hash)
|
63
|
+
|
64
|
+
# convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
66
|
+
|
67
|
+
if attributes.key?(:'RequestId')
|
68
|
+
self.request_id = attributes[:'RequestId']
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.key?(:'IsValid')
|
72
|
+
self.is_valid = attributes[:'IsValid']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.key?(:'Signatures')
|
76
|
+
if (value = attributes[:'Signatures']).is_a?(Array)
|
77
|
+
self.signatures = value
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# Check to see if the all the properties in the model are valid
|
83
|
+
# @return true if the model is valid
|
84
|
+
def valid?
|
85
|
+
return true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(other)
|
91
|
+
return true if self.equal?(other)
|
92
|
+
self.class == other.class &&
|
93
|
+
request_id == other.request_id &&
|
94
|
+
is_valid == other.is_valid &&
|
95
|
+
signatures == other.signatures
|
96
|
+
end
|
97
|
+
|
98
|
+
# @see the `==` method
|
99
|
+
# @param [Object] Object to be compared
|
100
|
+
def eql?(other)
|
101
|
+
self == other
|
102
|
+
end
|
103
|
+
|
104
|
+
# Calculates hash code according to all attributes.
|
105
|
+
# @return [Fixnum] Hash code
|
106
|
+
def hash
|
107
|
+
[request_id, is_valid, signatures].hash
|
108
|
+
end
|
109
|
+
|
110
|
+
# Builds the object from hash
|
111
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
112
|
+
# @return [Object] Returns the model itself
|
113
|
+
def build_from_hash(attributes)
|
114
|
+
return nil unless attributes.is_a?(Hash)
|
115
|
+
self.class.swagger_types.each_pair do |key, type|
|
116
|
+
if type =~ /\AArray<(.*)>/i
|
117
|
+
# check to ensure the input is an array given that the the attribute
|
118
|
+
# is documented as an array but the input is not
|
119
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
120
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
121
|
+
end
|
122
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
123
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
124
|
+
end
|
125
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
126
|
+
end
|
127
|
+
|
128
|
+
self
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def _deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :DateTime
|
138
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
139
|
+
when :Date
|
140
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :BOOLEAN
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else
|
168
|
+
# model
|
169
|
+
if value[:'$type']
|
170
|
+
type = value[:'$type'][0..-4]
|
171
|
+
end
|
172
|
+
|
173
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
174
|
+
temp_model.build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
def collectFilesContent(resultFilesContent)
|
221
|
+
end
|
222
|
+
|
223
|
+
def validate()
|
224
|
+
raise ArgumentError, 'Property is_valid in SignatureCollectionResponse is required.' if self.is_valid.nil?
|
225
|
+
unless self.signatures.nil?
|
226
|
+
for elementSignatures in self.signatures
|
227
|
+
unless elementSignatures.nil?
|
228
|
+
elementSignatures.validate
|
229
|
+
end
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
end
|
234
|
+
|
235
|
+
end
|
236
|
+
end
|
@@ -85,6 +85,13 @@ module AsposeWordsCloud
|
|
85
85
|
# Gets or sets the name of the folder used to construct image URIs.
|
86
86
|
attr_accessor :images_folder_alias
|
87
87
|
|
88
|
+
# Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
|
89
|
+
# Default value is false.
|
90
|
+
# By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
|
91
|
+
# generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
|
92
|
+
# scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
|
93
|
+
attr_accessor :replace_backslash_with_yen_sign
|
94
|
+
|
88
95
|
# Gets the format of save.
|
89
96
|
attr_accessor :save_format
|
90
97
|
|
@@ -127,6 +134,7 @@ module AsposeWordsCloud
|
|
127
134
|
:'zip_output' => :'ZipOutput',
|
128
135
|
:'images_folder' => :'ImagesFolder',
|
129
136
|
:'images_folder_alias' => :'ImagesFolderAlias',
|
137
|
+
:'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
|
130
138
|
:'save_format' => :'SaveFormat'
|
131
139
|
}
|
132
140
|
end
|
@@ -148,6 +156,7 @@ module AsposeWordsCloud
|
|
148
156
|
:'zip_output' => :'BOOLEAN',
|
149
157
|
:'images_folder' => :'String',
|
150
158
|
:'images_folder_alias' => :'String',
|
159
|
+
:'replace_backslash_with_yen_sign' => :'BOOLEAN',
|
151
160
|
:'save_format' => :'String'
|
152
161
|
}
|
153
162
|
end
|
@@ -217,6 +226,10 @@ module AsposeWordsCloud
|
|
217
226
|
if attributes.key?(:'ImagesFolderAlias')
|
218
227
|
self.images_folder_alias = attributes[:'ImagesFolderAlias']
|
219
228
|
end
|
229
|
+
|
230
|
+
if attributes.key?(:'ReplaceBackslashWithYenSign')
|
231
|
+
self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
|
232
|
+
end
|
220
233
|
end
|
221
234
|
|
222
235
|
# Check to see if the all the properties in the model are valid
|
@@ -310,6 +323,7 @@ module AsposeWordsCloud
|
|
310
323
|
zip_output == other.zip_output &&
|
311
324
|
images_folder == other.images_folder &&
|
312
325
|
images_folder_alias == other.images_folder_alias &&
|
326
|
+
replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
|
313
327
|
save_format == other.save_format
|
314
328
|
end
|
315
329
|
|
@@ -322,7 +336,7 @@ module AsposeWordsCloud
|
|
322
336
|
# Calculates hash code according to all attributes.
|
323
337
|
# @return [Fixnum] Hash code
|
324
338
|
def hash
|
325
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, images_folder, images_folder_alias, save_format].hash
|
339
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, images_folder, images_folder_alias, replace_backslash_with_yen_sign, save_format].hash
|
326
340
|
end
|
327
341
|
|
328
342
|
# Builds the object from hash
|
@@ -85,6 +85,13 @@ module AsposeWordsCloud
|
|
85
85
|
# Gets or sets the name of the folder used to construct image URIs.
|
86
86
|
attr_accessor :images_folder_alias
|
87
87
|
|
88
|
+
# Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
|
89
|
+
# Default value is false.
|
90
|
+
# By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
|
91
|
+
# generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
|
92
|
+
# scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
|
93
|
+
attr_accessor :replace_backslash_with_yen_sign
|
94
|
+
|
88
95
|
# Gets the format of save.
|
89
96
|
attr_accessor :save_format
|
90
97
|
|
@@ -127,6 +134,7 @@ module AsposeWordsCloud
|
|
127
134
|
:'zip_output' => :'ZipOutput',
|
128
135
|
:'images_folder' => :'ImagesFolder',
|
129
136
|
:'images_folder_alias' => :'ImagesFolderAlias',
|
137
|
+
:'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
|
130
138
|
:'save_format' => :'SaveFormat'
|
131
139
|
}
|
132
140
|
end
|
@@ -148,6 +156,7 @@ module AsposeWordsCloud
|
|
148
156
|
:'zip_output' => :'BOOLEAN',
|
149
157
|
:'images_folder' => :'String',
|
150
158
|
:'images_folder_alias' => :'String',
|
159
|
+
:'replace_backslash_with_yen_sign' => :'BOOLEAN',
|
151
160
|
:'save_format' => :'String'
|
152
161
|
}
|
153
162
|
end
|
@@ -217,6 +226,10 @@ module AsposeWordsCloud
|
|
217
226
|
if attributes.key?(:'ImagesFolderAlias')
|
218
227
|
self.images_folder_alias = attributes[:'ImagesFolderAlias']
|
219
228
|
end
|
229
|
+
|
230
|
+
if attributes.key?(:'ReplaceBackslashWithYenSign')
|
231
|
+
self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
|
232
|
+
end
|
220
233
|
end
|
221
234
|
|
222
235
|
# Check to see if the all the properties in the model are valid
|
@@ -310,6 +323,7 @@ module AsposeWordsCloud
|
|
310
323
|
zip_output == other.zip_output &&
|
311
324
|
images_folder == other.images_folder &&
|
312
325
|
images_folder_alias == other.images_folder_alias &&
|
326
|
+
replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
|
313
327
|
save_format == other.save_format
|
314
328
|
end
|
315
329
|
|
@@ -322,7 +336,7 @@ module AsposeWordsCloud
|
|
322
336
|
# Calculates hash code according to all attributes.
|
323
337
|
# @return [Fixnum] Hash code
|
324
338
|
def hash
|
325
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, images_folder, images_folder_alias, save_format].hash
|
339
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, images_folder, images_folder_alias, replace_backslash_with_yen_sign, save_format].hash
|
326
340
|
end
|
327
341
|
|
328
342
|
# Builds the object from hash
|
@@ -108,6 +108,9 @@ module AsposeWordsCloud
|
|
108
108
|
# Gets or sets the level in the XPS document outline at which to display Word bookmarks.
|
109
109
|
attr_accessor :bookmarks_outline_level
|
110
110
|
|
111
|
+
# Gets or sets the details for signing the output document.
|
112
|
+
attr_accessor :digital_signature_details
|
113
|
+
|
111
114
|
# Gets or sets the number of heading levels (paragraphs formatted with the Heading styles) to include in the XPS document outline.
|
112
115
|
attr_accessor :headings_outline_levels
|
113
116
|
|
@@ -165,6 +168,7 @@ module AsposeWordsCloud
|
|
165
168
|
:'page_count' => :'PageCount',
|
166
169
|
:'page_index' => :'PageIndex',
|
167
170
|
:'bookmarks_outline_level' => :'BookmarksOutlineLevel',
|
171
|
+
:'digital_signature_details' => :'DigitalSignatureDetails',
|
168
172
|
:'headings_outline_levels' => :'HeadingsOutlineLevels',
|
169
173
|
:'outline_options' => :'OutlineOptions',
|
170
174
|
:'use_book_fold_printing_settings' => :'UseBookFoldPrintingSettings',
|
@@ -195,6 +199,7 @@ module AsposeWordsCloud
|
|
195
199
|
:'page_count' => :'Integer',
|
196
200
|
:'page_index' => :'Integer',
|
197
201
|
:'bookmarks_outline_level' => :'Integer',
|
202
|
+
:'digital_signature_details' => :'DigitalSignatureDetails',
|
198
203
|
:'headings_outline_levels' => :'Integer',
|
199
204
|
:'outline_options' => :'OutlineOptionsData',
|
200
205
|
:'use_book_fold_printing_settings' => :'BOOLEAN',
|
@@ -292,6 +297,10 @@ module AsposeWordsCloud
|
|
292
297
|
self.bookmarks_outline_level = attributes[:'BookmarksOutlineLevel']
|
293
298
|
end
|
294
299
|
|
300
|
+
if attributes.key?(:'DigitalSignatureDetails')
|
301
|
+
self.digital_signature_details = attributes[:'DigitalSignatureDetails']
|
302
|
+
end
|
303
|
+
|
295
304
|
if attributes.key?(:'HeadingsOutlineLevels')
|
296
305
|
self.headings_outline_levels = attributes[:'HeadingsOutlineLevels']
|
297
306
|
end
|
@@ -434,6 +443,7 @@ module AsposeWordsCloud
|
|
434
443
|
page_count == other.page_count &&
|
435
444
|
page_index == other.page_index &&
|
436
445
|
bookmarks_outline_level == other.bookmarks_outline_level &&
|
446
|
+
digital_signature_details == other.digital_signature_details &&
|
437
447
|
headings_outline_levels == other.headings_outline_levels &&
|
438
448
|
outline_options == other.outline_options &&
|
439
449
|
use_book_fold_printing_settings == other.use_book_fold_printing_settings &&
|
@@ -449,7 +459,7 @@ module AsposeWordsCloud
|
|
449
459
|
# Calculates hash code according to all attributes.
|
450
460
|
# @return [Fixnum] Hash code
|
451
461
|
def hash
|
452
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
462
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, bookmarks_outline_level, digital_signature_details, headings_outline_levels, outline_options, use_book_fold_printing_settings, save_format].hash
|
453
463
|
end
|
454
464
|
|
455
465
|
# Builds the object from hash
|
@@ -573,6 +583,9 @@ module AsposeWordsCloud
|
|
573
583
|
unless self.metafile_rendering_options.nil?
|
574
584
|
self.metafile_rendering_options.validate
|
575
585
|
end
|
586
|
+
unless self.digital_signature_details.nil?
|
587
|
+
self.digital_signature_details.validate
|
588
|
+
end
|
576
589
|
unless self.outline_options.nil?
|
577
590
|
self.outline_options.validate
|
578
591
|
end
|
data/lib/aspose_words_cloud.rb
CHANGED
@@ -67,6 +67,7 @@ require_relative 'aspose_words_cloud/models/custom_xml_part_response'
|
|
67
67
|
require_relative 'aspose_words_cloud/models/custom_xml_parts_collection'
|
68
68
|
require_relative 'aspose_words_cloud/models/custom_xml_parts_response'
|
69
69
|
require_relative 'aspose_words_cloud/models/custom_xml_part_update'
|
70
|
+
require_relative 'aspose_words_cloud/models/digital_signature_details'
|
70
71
|
require_relative 'aspose_words_cloud/models/docm_save_options_data'
|
71
72
|
require_relative 'aspose_words_cloud/models/doc_save_options_data'
|
72
73
|
require_relative 'aspose_words_cloud/models/document'
|
@@ -235,6 +236,9 @@ require_relative 'aspose_words_cloud/models/section_link_collection_response'
|
|
235
236
|
require_relative 'aspose_words_cloud/models/section_page_setup_response'
|
236
237
|
require_relative 'aspose_words_cloud/models/section_response'
|
237
238
|
require_relative 'aspose_words_cloud/models/shading'
|
239
|
+
require_relative 'aspose_words_cloud/models/signature'
|
240
|
+
require_relative 'aspose_words_cloud/models/signature_collection_response'
|
241
|
+
require_relative 'aspose_words_cloud/models/sign_options'
|
238
242
|
require_relative 'aspose_words_cloud/models/split_document_response'
|
239
243
|
require_relative 'aspose_words_cloud/models/split_document_result'
|
240
244
|
require_relative 'aspose_words_cloud/models/stat_data_response'
|
@@ -480,6 +484,8 @@ require_relative 'aspose_words_cloud/models/requests/get_section_page_setup_requ
|
|
480
484
|
require_relative 'aspose_words_cloud/models/requests/get_section_page_setup_online_request'
|
481
485
|
require_relative 'aspose_words_cloud/models/requests/get_sections_request'
|
482
486
|
require_relative 'aspose_words_cloud/models/requests/get_sections_online_request'
|
487
|
+
require_relative 'aspose_words_cloud/models/requests/get_signatures_request'
|
488
|
+
require_relative 'aspose_words_cloud/models/requests/get_signatures_online_request'
|
483
489
|
require_relative 'aspose_words_cloud/models/requests/get_structured_document_tag_request'
|
484
490
|
require_relative 'aspose_words_cloud/models/requests/get_structured_document_tag_online_request'
|
485
491
|
require_relative 'aspose_words_cloud/models/requests/get_structured_document_tags_request'
|
@@ -560,6 +566,8 @@ require_relative 'aspose_words_cloud/models/requests/protect_document_request'
|
|
560
566
|
require_relative 'aspose_words_cloud/models/requests/protect_document_online_request'
|
561
567
|
require_relative 'aspose_words_cloud/models/requests/reject_all_revisions_request'
|
562
568
|
require_relative 'aspose_words_cloud/models/requests/reject_all_revisions_online_request'
|
569
|
+
require_relative 'aspose_words_cloud/models/requests/remove_all_signatures_request'
|
570
|
+
require_relative 'aspose_words_cloud/models/requests/remove_all_signatures_online_request'
|
563
571
|
require_relative 'aspose_words_cloud/models/requests/remove_range_request'
|
564
572
|
require_relative 'aspose_words_cloud/models/requests/remove_range_online_request'
|
565
573
|
require_relative 'aspose_words_cloud/models/requests/render_drawing_object_request'
|
@@ -585,6 +593,8 @@ require_relative 'aspose_words_cloud/models/requests/save_as_tiff_request'
|
|
585
593
|
require_relative 'aspose_words_cloud/models/requests/save_as_tiff_online_request'
|
586
594
|
require_relative 'aspose_words_cloud/models/requests/search_request'
|
587
595
|
require_relative 'aspose_words_cloud/models/requests/search_online_request'
|
596
|
+
require_relative 'aspose_words_cloud/models/requests/sign_document_request'
|
597
|
+
require_relative 'aspose_words_cloud/models/requests/sign_document_online_request'
|
588
598
|
require_relative 'aspose_words_cloud/models/requests/split_document_request'
|
589
599
|
require_relative 'aspose_words_cloud/models/requests/split_document_online_request'
|
590
600
|
require_relative 'aspose_words_cloud/models/requests/translate_node_id_request'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aspose_words_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 24.
|
4
|
+
version: 24.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- YaroslawEkimov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- lib/aspose_words_cloud/models/custom_xml_part_update.rb
|
126
126
|
- lib/aspose_words_cloud/models/custom_xml_parts_collection.rb
|
127
127
|
- lib/aspose_words_cloud/models/custom_xml_parts_response.rb
|
128
|
+
- lib/aspose_words_cloud/models/digital_signature_details.rb
|
128
129
|
- lib/aspose_words_cloud/models/doc_save_options_data.rb
|
129
130
|
- lib/aspose_words_cloud/models/docm_save_options_data.rb
|
130
131
|
- lib/aspose_words_cloud/models/document.rb
|
@@ -458,6 +459,8 @@ files:
|
|
458
459
|
- lib/aspose_words_cloud/models/requests/get_section_request.rb
|
459
460
|
- lib/aspose_words_cloud/models/requests/get_sections_online_request.rb
|
460
461
|
- lib/aspose_words_cloud/models/requests/get_sections_request.rb
|
462
|
+
- lib/aspose_words_cloud/models/requests/get_signatures_online_request.rb
|
463
|
+
- lib/aspose_words_cloud/models/requests/get_signatures_request.rb
|
461
464
|
- lib/aspose_words_cloud/models/requests/get_structured_document_tag_online_request.rb
|
462
465
|
- lib/aspose_words_cloud/models/requests/get_structured_document_tag_request.rb
|
463
466
|
- lib/aspose_words_cloud/models/requests/get_structured_document_tags_online_request.rb
|
@@ -538,6 +541,8 @@ files:
|
|
538
541
|
- lib/aspose_words_cloud/models/requests/protect_document_request.rb
|
539
542
|
- lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb
|
540
543
|
- lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb
|
544
|
+
- lib/aspose_words_cloud/models/requests/remove_all_signatures_online_request.rb
|
545
|
+
- lib/aspose_words_cloud/models/requests/remove_all_signatures_request.rb
|
541
546
|
- lib/aspose_words_cloud/models/requests/remove_range_online_request.rb
|
542
547
|
- lib/aspose_words_cloud/models/requests/remove_range_request.rb
|
543
548
|
- lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb
|
@@ -563,6 +568,8 @@ files:
|
|
563
568
|
- lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb
|
564
569
|
- lib/aspose_words_cloud/models/requests/search_online_request.rb
|
565
570
|
- lib/aspose_words_cloud/models/requests/search_request.rb
|
571
|
+
- lib/aspose_words_cloud/models/requests/sign_document_online_request.rb
|
572
|
+
- lib/aspose_words_cloud/models/requests/sign_document_request.rb
|
566
573
|
- lib/aspose_words_cloud/models/requests/split_document_online_request.rb
|
567
574
|
- lib/aspose_words_cloud/models/requests/split_document_request.rb
|
568
575
|
- lib/aspose_words_cloud/models/requests/translate_node_id_online_request.rb
|
@@ -649,12 +656,14 @@ files:
|
|
649
656
|
- lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb
|
650
657
|
- lib/aspose_words_cloud/models/responses/protect_document_online_response.rb
|
651
658
|
- lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb
|
659
|
+
- lib/aspose_words_cloud/models/responses/remove_all_signatures_online_response.rb
|
652
660
|
- lib/aspose_words_cloud/models/responses/remove_range_online_response.rb
|
653
661
|
- lib/aspose_words_cloud/models/responses/replace_text_online_response.rb
|
654
662
|
- lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb
|
655
663
|
- lib/aspose_words_cloud/models/responses/save_as_online_response.rb
|
656
664
|
- lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb
|
657
665
|
- lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb
|
666
|
+
- lib/aspose_words_cloud/models/responses/sign_document_online_response.rb
|
658
667
|
- lib/aspose_words_cloud/models/responses/split_document_online_response.rb
|
659
668
|
- lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb
|
660
669
|
- lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb
|
@@ -699,6 +708,9 @@ files:
|
|
699
708
|
- lib/aspose_words_cloud/models/section_page_setup_response.rb
|
700
709
|
- lib/aspose_words_cloud/models/section_response.rb
|
701
710
|
- lib/aspose_words_cloud/models/shading.rb
|
711
|
+
- lib/aspose_words_cloud/models/sign_options.rb
|
712
|
+
- lib/aspose_words_cloud/models/signature.rb
|
713
|
+
- lib/aspose_words_cloud/models/signature_collection_response.rb
|
702
714
|
- lib/aspose_words_cloud/models/split_document_response.rb
|
703
715
|
- lib/aspose_words_cloud/models/split_document_result.rb
|
704
716
|
- lib/aspose_words_cloud/models/stat_data_response.rb
|