aspose_words_cloud 22.8.0 → 22.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce69aa66eb83ee2c16b64694ff719c9cff19739cad83ed163db908a38f42abac
4
- data.tar.gz: d15f105a941334eb4daacca61bcc233b451f2a5127d5cce793e19f8cc67768c0
3
+ metadata.gz: 7b195743f10a4c58f5cd4bcdc4f301961f643a1f962c1f65430d338bc4387d66
4
+ data.tar.gz: 2e79ab9f4f8530df8fda9500785eba98962db797f80c283d29e052473b7b2940
5
5
  SHA512:
6
- metadata.gz: 83aa740c1e2a32963d1520e460362d4e066501d6f42b9b286d14a0fa524676b081a00a140f5d561dfe1a607789cca2b4cb3992e72927f79b0206729c7102eb6d
7
- data.tar.gz: 1fc8770b93cbdda35a334a65d0307efc591bcb3a7d80250705096e2435c6b66c9db7e1293a0578f3dde40494120475a1feca159c155ca85a59150e63f1c42591
6
+ metadata.gz: b53d6425e97275492a4402a3c5ad27f987b30df187bbdc7ee8b2e6f4b229bd2fcb31742be7fa88f70181f8ae9cd9a7be1e15011f03274abaf090c03a9aae9919
7
+ data.tar.gz: 76b14a83d8bb2dd0b47f26c5ea5b8e948ddebbeaac48ebb53843c92263dad73c7dc1fd0509b3580f9f1feadcbdc7ca22913948116078d0a32476920392b9968d
@@ -1219,6 +1219,9 @@ module AsposeWordsCloud
1219
1219
  query_params[downcase_first_letter('OutPath')] = request.out_path unless request.out_path.nil?
1220
1220
  query_params[downcase_first_letter('FileNameFieldValue')] = request.file_name_field_value unless request.file_name_field_value.nil?
1221
1221
  query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
1222
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
1223
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
1224
+ query_params[downcase_first_letter('EncryptedPassword')] = request.encrypted_password unless request.encrypted_password.nil?
1222
1225
  query_params[downcase_first_letter('FontsLocation')] = request.fonts_location unless request.fonts_location.nil?
1223
1226
 
1224
1227
  # header parameters
@@ -44,6 +44,15 @@ module AsposeWordsCloud
44
44
  # Original document storage.
45
45
  attr_accessor :storage
46
46
 
47
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
48
+ attr_accessor :load_encoding
49
+
50
+ # Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
51
+ attr_accessor :password
52
+
53
+ # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
54
+ attr_accessor :encrypted_password
55
+
47
56
  # Folder in filestorage with custom fonts.
48
57
  attr_accessor :fonts_location
49
58
 
@@ -54,14 +63,20 @@ module AsposeWordsCloud
54
63
  # @param out_path The path to the output document on a local storage.
55
64
  # @param file_name_field_value The filename of the output document, that will be used when the resulting document has a dynamic field {filename}. If it is not set, the "sourceFilename" will be used instead.
56
65
  # @param storage Original document storage.
66
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
67
+ # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
68
+ # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
57
69
  # @param fonts_location Folder in filestorage with custom fonts.
58
70
 
59
- def initialize(document:, format:, out_path: nil, file_name_field_value: nil, storage: nil, fonts_location: nil)
71
+ def initialize(document:, format:, out_path: nil, file_name_field_value: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, fonts_location: nil)
60
72
  self.document = document
61
73
  self.format = format
62
74
  self.out_path = out_path
63
75
  self.file_name_field_value = file_name_field_value
64
76
  self.storage = storage
77
+ self.load_encoding = load_encoding
78
+ self.password = password
79
+ self.encrypted_password = encrypted_password
65
80
  self.fonts_location = fonts_location
66
81
  end
67
82
 
@@ -82,6 +97,9 @@ module AsposeWordsCloud
82
97
  query_params[downcase_first_letter('OutPath')] = self.out_path unless self.out_path.nil?
83
98
  query_params[downcase_first_letter('FileNameFieldValue')] = self.file_name_field_value unless self.file_name_field_value.nil?
84
99
  query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
100
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
101
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
102
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
85
103
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
86
104
 
87
105
  if query_params
@@ -141,6 +159,9 @@ module AsposeWordsCloud
141
159
  query_params[downcase_first_letter('OutPath')] = self.out_path unless self.out_path.nil?
142
160
  query_params[downcase_first_letter('FileNameFieldValue')] = self.file_name_field_value unless self.file_name_field_value.nil?
143
161
  query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
162
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
163
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
164
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
144
165
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
145
166
 
146
167
  # header parameters
@@ -24,5 +24,5 @@
24
24
  # ------------------------------------------------------------------------------------
25
25
 
26
26
  module AsposeWordsCloud
27
- VERSION = "22.8.0".freeze
27
+ VERSION = "22.9.0".freeze
28
28
  end
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: 22.8.0
4
+ version: 22.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - YaroslawEkimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-11 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday