groupdocs_signature_cloud 24.6 → 24.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4a2fd2af003dad352c93d25c0fa681342cc73a585b60338c55866560a4a03f0
|
4
|
+
data.tar.gz: ddba9aca00c5da8675e28e926a9da7f38d1f281ed389c844dc304c659d60cab8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df0d2667ae2beb91ca0b0bf5421f56357124926e996f457408465a33018e254cd35c4d4647cd5d78aaf038b4c54adde26ee4007ff0bedfc4b48aae22f4a6cc03
|
7
|
+
data.tar.gz: 9573573744365b42233c2f0e08bf4a1d2c16acbb04b3c9f979365dde24531c9cddc12dd2cd5578abe66f27f96e10fc607a2a4b3f0bfc01b1b580a0e5f19ae62b
|
@@ -34,9 +34,12 @@ module GroupDocsSignatureCloud
|
|
34
34
|
# Specifies the type of appearance
|
35
35
|
attr_accessor :appearance_type
|
36
36
|
|
37
|
-
# Get or set background color of signature appearance.
|
37
|
+
# Get or set background color of signature appearance.
|
38
38
|
attr_accessor :background
|
39
39
|
|
40
|
+
# Get or set foreground text color of signature appearance. By default the value is Color.FromArgb(76, 100, 255)
|
41
|
+
attr_accessor :foreground
|
42
|
+
|
40
43
|
# Gets or sets contact info label. Default value: \"Contact\". if this value is empty then no contact label will appear on digital signature area.
|
41
44
|
attr_accessor :contact_info_label
|
42
45
|
|
@@ -84,6 +87,7 @@ module GroupDocsSignatureCloud
|
|
84
87
|
{
|
85
88
|
:'appearance_type' => :'AppearanceType',
|
86
89
|
:'background' => :'Background',
|
90
|
+
:'foreground' => :'Foreground',
|
87
91
|
:'contact_info_label' => :'ContactInfoLabel',
|
88
92
|
:'date_signed_at_label' => :'DateSignedAtLabel',
|
89
93
|
:'digital_signed_label' => :'DigitalSignedLabel',
|
@@ -99,6 +103,7 @@ module GroupDocsSignatureCloud
|
|
99
103
|
{
|
100
104
|
:'appearance_type' => :'String',
|
101
105
|
:'background' => :'Color',
|
106
|
+
:'foreground' => :'Color',
|
102
107
|
:'contact_info_label' => :'String',
|
103
108
|
:'date_signed_at_label' => :'String',
|
104
109
|
:'digital_signed_label' => :'String',
|
@@ -125,6 +130,10 @@ module GroupDocsSignatureCloud
|
|
125
130
|
self.background = attributes[:'Background']
|
126
131
|
end
|
127
132
|
|
133
|
+
if attributes.key?(:'Foreground')
|
134
|
+
self.foreground = attributes[:'Foreground']
|
135
|
+
end
|
136
|
+
|
128
137
|
if attributes.key?(:'ContactInfoLabel')
|
129
138
|
self.contact_info_label = attributes[:'ContactInfoLabel']
|
130
139
|
end
|
@@ -196,6 +205,7 @@ module GroupDocsSignatureCloud
|
|
196
205
|
self.class == other.class &&
|
197
206
|
appearance_type == other.appearance_type &&
|
198
207
|
background == other.background &&
|
208
|
+
foreground == other.foreground &&
|
199
209
|
contact_info_label == other.contact_info_label &&
|
200
210
|
date_signed_at_label == other.date_signed_at_label &&
|
201
211
|
digital_signed_label == other.digital_signed_label &&
|
@@ -214,7 +224,7 @@ module GroupDocsSignatureCloud
|
|
214
224
|
# Calculates hash code according to all attributes.
|
215
225
|
# @return [Fixnum] Hash code
|
216
226
|
def hash
|
217
|
-
[appearance_type, background, contact_info_label, date_signed_at_label, digital_signed_label, font_family_name, font_size, location_label, reason_label].hash
|
227
|
+
[appearance_type, background, foreground, contact_info_label, date_signed_at_label, digital_signed_label, font_family_name, font_size, location_label, reason_label].hash
|
218
228
|
end
|
219
229
|
|
220
230
|
# Downcases first letter.
|
@@ -40,6 +40,9 @@ module GroupDocsSignatureCloud
|
|
40
40
|
# Preview images height
|
41
41
|
attr_accessor :height
|
42
42
|
|
43
|
+
# Gets or sets the resolution of the preview images in DPI (dots per inch).
|
44
|
+
attr_accessor :resolution
|
45
|
+
|
43
46
|
# Preview page numbers
|
44
47
|
attr_accessor :page_numbers
|
45
48
|
|
@@ -79,6 +82,7 @@ module GroupDocsSignatureCloud
|
|
79
82
|
:'file_info' => :'FileInfo',
|
80
83
|
:'width' => :'Width',
|
81
84
|
:'height' => :'Height',
|
85
|
+
:'resolution' => :'Resolution',
|
82
86
|
:'page_numbers' => :'PageNumbers',
|
83
87
|
:'preview_format' => :'PreviewFormat',
|
84
88
|
:'hide_signatures' => :'HideSignatures',
|
@@ -92,6 +96,7 @@ module GroupDocsSignatureCloud
|
|
92
96
|
:'file_info' => :'FileInfo',
|
93
97
|
:'width' => :'Integer',
|
94
98
|
:'height' => :'Integer',
|
99
|
+
:'resolution' => :'Integer',
|
95
100
|
:'page_numbers' => :'Array<Integer>',
|
96
101
|
:'preview_format' => :'String',
|
97
102
|
:'hide_signatures' => :'BOOLEAN',
|
@@ -119,6 +124,10 @@ module GroupDocsSignatureCloud
|
|
119
124
|
self.height = attributes[:'Height']
|
120
125
|
end
|
121
126
|
|
127
|
+
if attributes.key?(:'Resolution')
|
128
|
+
self.resolution = attributes[:'Resolution']
|
129
|
+
end
|
130
|
+
|
122
131
|
if attributes.key?(:'PageNumbers')
|
123
132
|
if (value = attributes[:'PageNumbers']).is_a?(Array)
|
124
133
|
self.page_numbers = value
|
@@ -151,6 +160,10 @@ module GroupDocsSignatureCloud
|
|
151
160
|
invalid_properties.push("invalid value for 'height', height cannot be nil.")
|
152
161
|
end
|
153
162
|
|
163
|
+
if @resolution.nil?
|
164
|
+
invalid_properties.push("invalid value for 'resolution', resolution cannot be nil.")
|
165
|
+
end
|
166
|
+
|
154
167
|
if @preview_format.nil?
|
155
168
|
invalid_properties.push("invalid value for 'preview_format', preview_format cannot be nil.")
|
156
169
|
end
|
@@ -167,6 +180,7 @@ module GroupDocsSignatureCloud
|
|
167
180
|
def valid?
|
168
181
|
return false if @width.nil?
|
169
182
|
return false if @height.nil?
|
183
|
+
return false if @resolution.nil?
|
170
184
|
return false if @preview_format.nil?
|
171
185
|
preview_format_validator = EnumAttributeValidator.new('String', ["PNG", "JPEG", "BMP"])
|
172
186
|
return false unless preview_format_validator.valid?(@preview_format)
|
@@ -196,6 +210,7 @@ module GroupDocsSignatureCloud
|
|
196
210
|
file_info == other.file_info &&
|
197
211
|
width == other.width &&
|
198
212
|
height == other.height &&
|
213
|
+
resolution == other.resolution &&
|
199
214
|
page_numbers == other.page_numbers &&
|
200
215
|
preview_format == other.preview_format &&
|
201
216
|
hide_signatures == other.hide_signatures &&
|
@@ -211,7 +226,7 @@ module GroupDocsSignatureCloud
|
|
211
226
|
# Calculates hash code according to all attributes.
|
212
227
|
# @return [Fixnum] Hash code
|
213
228
|
def hash
|
214
|
-
[file_info, width, height, page_numbers, preview_format, hide_signatures, output_path].hash
|
229
|
+
[file_info, width, height, resolution, page_numbers, preview_format, hide_signatures, output_path].hash
|
215
230
|
end
|
216
231
|
|
217
232
|
# Downcases first letter.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupdocs_signature_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '24.
|
4
|
+
version: '24.12'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GroupDocs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|