aspose_pdf_cloud 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +41 -0
- data/aspose_pdf_cloud.gemspec +26 -0
- data/lib/aspose_pdf_cloud.rb +91 -0
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +3318 -0
- data/lib/aspose_pdf_cloud/api_client.rb +335 -0
- data/lib/aspose_pdf_cloud/api_error.rb +24 -0
- data/lib/aspose_pdf_cloud/configuration.rb +166 -0
- data/lib/aspose_pdf_cloud/models/annotation.rb +87 -0
- data/lib/aspose_pdf_cloud/models/annotation_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/annotations.rb +49 -0
- data/lib/aspose_pdf_cloud/models/annotations_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/append_document.rb +53 -0
- data/lib/aspose_pdf_cloud/models/attachment.rb +95 -0
- data/lib/aspose_pdf_cloud/models/attachment_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/attachments.rb +49 -0
- data/lib/aspose_pdf_cloud/models/attachments_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/barcode_response_list.rb +45 -0
- data/lib/aspose_pdf_cloud/models/base_object.rb +86 -0
- data/lib/aspose_pdf_cloud/models/base_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/bookmarks.rb +49 -0
- data/lib/aspose_pdf_cloud/models/bookmarks_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/color.rb +61 -0
- data/lib/aspose_pdf_cloud/models/document.rb +55 -0
- data/lib/aspose_pdf_cloud/models/document_pages_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/document_properties.rb +49 -0
- data/lib/aspose_pdf_cloud/models/document_properties_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/document_property.rb +63 -0
- data/lib/aspose_pdf_cloud/models/document_property_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/document_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/document_text_replace_response.rb +69 -0
- data/lib/aspose_pdf_cloud/models/field.rb +83 -0
- data/lib/aspose_pdf_cloud/models/field_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/fields.rb +49 -0
- data/lib/aspose_pdf_cloud/models/fields_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/image.rb +55 -0
- data/lib/aspose_pdf_cloud/models/image_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/images.rb +49 -0
- data/lib/aspose_pdf_cloud/models/images_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/link.rb +61 -0
- data/lib/aspose_pdf_cloud/models/link_annotation.rb +71 -0
- data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/link_annotations.rb +49 -0
- data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/link_element.rb +39 -0
- data/lib/aspose_pdf_cloud/models/merge_documents.rb +39 -0
- data/lib/aspose_pdf_cloud/models/page.rb +63 -0
- data/lib/aspose_pdf_cloud/models/page_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/page_text_replace_response.rb +69 -0
- data/lib/aspose_pdf_cloud/models/page_word_count.rb +45 -0
- data/lib/aspose_pdf_cloud/models/pages.rb +49 -0
- data/lib/aspose_pdf_cloud/models/rectangle.rb +61 -0
- data/lib/aspose_pdf_cloud/models/signature.rb +109 -0
- data/lib/aspose_pdf_cloud/models/split_result.rb +39 -0
- data/lib/aspose_pdf_cloud/models/split_result_document.rb +69 -0
- data/lib/aspose_pdf_cloud/models/split_result_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/stamp.rb +205 -0
- data/lib/aspose_pdf_cloud/models/text_format.rb +63 -0
- data/lib/aspose_pdf_cloud/models/text_format_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/text_item.rb +55 -0
- data/lib/aspose_pdf_cloud/models/text_item_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/text_items.rb +49 -0
- data/lib/aspose_pdf_cloud/models/text_items_response.rb +61 -0
- data/lib/aspose_pdf_cloud/models/text_replace.rb +53 -0
- data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +39 -0
- data/lib/aspose_pdf_cloud/models/text_state.rb +69 -0
- data/lib/aspose_pdf_cloud/models/tiff_export_options.rb +157 -0
- data/lib/aspose_pdf_cloud/models/word_count.rb +39 -0
- data/lib/aspose_pdf_cloud/models/word_count_response.rb +61 -0
- data/lib/aspose_pdf_cloud/version.rb +3 -0
- data/test/data/Sample-Annotation-Property.pdf +0 -0
- data/test/data/Sample-Annotation.pdf +0 -0
- data/test/data/Sample-Bookmark.pdf +0 -0
- data/test/data/Sample.pdf +0 -0
- data/test/data/SampleAttachment.pdf +0 -0
- data/test/data/SampleBarCodeImage.pdf +0 -0
- data/test/data/SampleImage.pdf +0 -0
- data/test/data/aspose-cloud.png +0 -0
- data/test/data/pkc7-sample.pfx +0 -0
- data/test/data/sample-field.pdf +0 -0
- data/test/data/sample-home.jpg +0 -0
- data/test/data/sample-input-2.pdf +0 -0
- data/test/data/sample-input.pdf +0 -0
- data/test/data/sample-merged.pdf +0 -0
- data/test/data/sample.tiff +0 -0
- data/test/pdf_tests.rb +623 -0
- metadata +216 -0
@@ -0,0 +1,61 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextItemResponse < BaseObject
|
4
|
+
attr_accessor :text_item, :status, :code
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'text_item' => :'TextItem',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'status' => :'Status',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'code' => :'Code'
|
17
|
+
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
# attribute type
|
22
|
+
def self.swagger_types
|
23
|
+
{
|
24
|
+
:'text_item' => :'TextItem',
|
25
|
+
:'status' => :'String',
|
26
|
+
:'code' => :'String'
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def initialize(attributes = {})
|
32
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
33
|
+
|
34
|
+
# convert string to symbol for hash key
|
35
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
36
|
+
|
37
|
+
|
38
|
+
if attributes[:'TextItem']
|
39
|
+
self.text_item = attributes[:'TextItem']
|
40
|
+
end
|
41
|
+
|
42
|
+
if attributes[:'Status']
|
43
|
+
self.status = attributes[:'Status']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Code']
|
47
|
+
self.code = attributes[:'Code']
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
def status=(status)
|
53
|
+
allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
|
54
|
+
if status && !allowed_values.include?(status)
|
55
|
+
fail "invalid value for 'status', must be one of #{allowed_values}"
|
56
|
+
end
|
57
|
+
@status = status
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextItems < BaseObject
|
4
|
+
attr_accessor :list, :links
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'list' => :'List',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'links' => :'Links'
|
14
|
+
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
18
|
+
# attribute type
|
19
|
+
def self.swagger_types
|
20
|
+
{
|
21
|
+
:'list' => :'Array<TextItem>',
|
22
|
+
:'links' => :'Array<Link>'
|
23
|
+
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
def initialize(attributes = {})
|
28
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
29
|
+
|
30
|
+
# convert string to symbol for hash key
|
31
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
32
|
+
|
33
|
+
|
34
|
+
if attributes[:'List']
|
35
|
+
if (value = attributes[:'List']).is_a?(Array)
|
36
|
+
self.list = value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
if attributes[:'Links']
|
41
|
+
if (value = attributes[:'Links']).is_a?(Array)
|
42
|
+
self.links = value
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextItemsResponse < BaseObject
|
4
|
+
attr_accessor :text_items, :status, :code
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'text_items' => :'TextItems',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'status' => :'Status',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'code' => :'Code'
|
17
|
+
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
# attribute type
|
22
|
+
def self.swagger_types
|
23
|
+
{
|
24
|
+
:'text_items' => :'TextItems',
|
25
|
+
:'status' => :'String',
|
26
|
+
:'code' => :'String'
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def initialize(attributes = {})
|
32
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
33
|
+
|
34
|
+
# convert string to symbol for hash key
|
35
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
36
|
+
|
37
|
+
|
38
|
+
if attributes[:'TextItems']
|
39
|
+
self.text_items = attributes[:'TextItems']
|
40
|
+
end
|
41
|
+
|
42
|
+
if attributes[:'Status']
|
43
|
+
self.status = attributes[:'Status']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Code']
|
47
|
+
self.code = attributes[:'Code']
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
def status=(status)
|
53
|
+
allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
|
54
|
+
if status && !allowed_values.include?(status)
|
55
|
+
fail "invalid value for 'status', must be one of #{allowed_values}"
|
56
|
+
end
|
57
|
+
@status = status
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextReplace < BaseObject
|
4
|
+
attr_accessor :old_value, :new_value, :regex
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'old_value' => :'OldValue',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'new_value' => :'NewValue',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'regex' => :'Regex'
|
17
|
+
|
18
|
+
}
|
19
|
+
end
|
20
|
+
|
21
|
+
# attribute type
|
22
|
+
def self.swagger_types
|
23
|
+
{
|
24
|
+
:'old_value' => :'String',
|
25
|
+
:'new_value' => :'String',
|
26
|
+
:'regex' => :'BOOLEAN'
|
27
|
+
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
def initialize(attributes = {})
|
32
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
33
|
+
|
34
|
+
# convert string to symbol for hash key
|
35
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
36
|
+
|
37
|
+
|
38
|
+
if attributes[:'OldValue']
|
39
|
+
self.old_value = attributes[:'OldValue']
|
40
|
+
end
|
41
|
+
|
42
|
+
if attributes[:'NewValue']
|
43
|
+
self.new_value = attributes[:'NewValue']
|
44
|
+
end
|
45
|
+
|
46
|
+
if attributes[:'Regex']
|
47
|
+
self.regex = attributes[:'Regex']
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextReplaceListRequest < BaseObject
|
4
|
+
attr_accessor :text_replaces
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'text_replaces' => :'TextReplaces'
|
11
|
+
|
12
|
+
}
|
13
|
+
end
|
14
|
+
|
15
|
+
# attribute type
|
16
|
+
def self.swagger_types
|
17
|
+
{
|
18
|
+
:'text_replaces' => :'Array<TextReplace>'
|
19
|
+
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
def initialize(attributes = {})
|
24
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
25
|
+
|
26
|
+
# convert string to symbol for hash key
|
27
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
28
|
+
|
29
|
+
|
30
|
+
if attributes[:'TextReplaces']
|
31
|
+
if (value = attributes[:'TextReplaces']).is_a?(Array)
|
32
|
+
self.text_replaces = value
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TextState < BaseObject
|
4
|
+
attr_accessor :font_size, :font, :foreground_color, :background_color, :font_style
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'font_size' => :'FontSize',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'font' => :'Font',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'foreground_color' => :'ForegroundColor',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'background_color' => :'BackgroundColor',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'font_style' => :'FontStyle'
|
23
|
+
|
24
|
+
}
|
25
|
+
end
|
26
|
+
|
27
|
+
# attribute type
|
28
|
+
def self.swagger_types
|
29
|
+
{
|
30
|
+
:'font_size' => :'Float',
|
31
|
+
:'font' => :'String',
|
32
|
+
:'foreground_color' => :'Color',
|
33
|
+
:'background_color' => :'Color',
|
34
|
+
:'font_style' => :'String'
|
35
|
+
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
def initialize(attributes = {})
|
40
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
41
|
+
|
42
|
+
# convert string to symbol for hash key
|
43
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
44
|
+
|
45
|
+
|
46
|
+
if attributes[:'FontSize']
|
47
|
+
self.font_size = attributes[:'FontSize']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes[:'Font']
|
51
|
+
self.font = attributes[:'Font']
|
52
|
+
end
|
53
|
+
|
54
|
+
if attributes[:'ForegroundColor']
|
55
|
+
self.foreground_color = attributes[:'ForegroundColor']
|
56
|
+
end
|
57
|
+
|
58
|
+
if attributes[:'BackgroundColor']
|
59
|
+
self.background_color = attributes[:'BackgroundColor']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes[:'FontStyle']
|
63
|
+
self.font_style = attributes[:'FontStyle']
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,157 @@
|
|
1
|
+
module AsposePDFCloud
|
2
|
+
#
|
3
|
+
class TiffExportOptions < BaseObject
|
4
|
+
attr_accessor :brightness, :compression, :color_depth, :left_margin, :right_margin, :top_margin, :bottom_margin, :orientation, :skip_blank_pages, :width, :height, :x_resolution, :y_resolution, :page_index, :page_count, :result_file
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
#
|
10
|
+
:'brightness' => :'Brightness',
|
11
|
+
|
12
|
+
#
|
13
|
+
:'compression' => :'Compression',
|
14
|
+
|
15
|
+
#
|
16
|
+
:'color_depth' => :'ColorDepth',
|
17
|
+
|
18
|
+
#
|
19
|
+
:'left_margin' => :'LeftMargin',
|
20
|
+
|
21
|
+
#
|
22
|
+
:'right_margin' => :'RightMargin',
|
23
|
+
|
24
|
+
#
|
25
|
+
:'top_margin' => :'TopMargin',
|
26
|
+
|
27
|
+
#
|
28
|
+
:'bottom_margin' => :'BottomMargin',
|
29
|
+
|
30
|
+
#
|
31
|
+
:'orientation' => :'Orientation',
|
32
|
+
|
33
|
+
#
|
34
|
+
:'skip_blank_pages' => :'SkipBlankPages',
|
35
|
+
|
36
|
+
#
|
37
|
+
:'width' => :'Width',
|
38
|
+
|
39
|
+
#
|
40
|
+
:'height' => :'Height',
|
41
|
+
|
42
|
+
#
|
43
|
+
:'x_resolution' => :'XResolution',
|
44
|
+
|
45
|
+
#
|
46
|
+
:'y_resolution' => :'YResolution',
|
47
|
+
|
48
|
+
#
|
49
|
+
:'page_index' => :'PageIndex',
|
50
|
+
|
51
|
+
#
|
52
|
+
:'page_count' => :'PageCount',
|
53
|
+
|
54
|
+
#
|
55
|
+
:'result_file' => :'ResultFile'
|
56
|
+
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
60
|
+
# attribute type
|
61
|
+
def self.swagger_types
|
62
|
+
{
|
63
|
+
:'brightness' => :'Float',
|
64
|
+
:'compression' => :'String',
|
65
|
+
:'color_depth' => :'String',
|
66
|
+
:'left_margin' => :'Integer',
|
67
|
+
:'right_margin' => :'Integer',
|
68
|
+
:'top_margin' => :'Integer',
|
69
|
+
:'bottom_margin' => :'Integer',
|
70
|
+
:'orientation' => :'String',
|
71
|
+
:'skip_blank_pages' => :'BOOLEAN',
|
72
|
+
:'width' => :'Integer',
|
73
|
+
:'height' => :'Integer',
|
74
|
+
:'x_resolution' => :'Integer',
|
75
|
+
:'y_resolution' => :'Integer',
|
76
|
+
:'page_index' => :'Integer',
|
77
|
+
:'page_count' => :'Integer',
|
78
|
+
:'result_file' => :'String'
|
79
|
+
|
80
|
+
}
|
81
|
+
end
|
82
|
+
|
83
|
+
def initialize(attributes = {})
|
84
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
85
|
+
|
86
|
+
# convert string to symbol for hash key
|
87
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
88
|
+
|
89
|
+
|
90
|
+
if attributes[:'Brightness']
|
91
|
+
self.brightness = attributes[:'Brightness']
|
92
|
+
end
|
93
|
+
|
94
|
+
if attributes[:'Compression']
|
95
|
+
self.compression = attributes[:'Compression']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes[:'ColorDepth']
|
99
|
+
self.color_depth = attributes[:'ColorDepth']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes[:'LeftMargin']
|
103
|
+
self.left_margin = attributes[:'LeftMargin']
|
104
|
+
end
|
105
|
+
|
106
|
+
if attributes[:'RightMargin']
|
107
|
+
self.right_margin = attributes[:'RightMargin']
|
108
|
+
end
|
109
|
+
|
110
|
+
if attributes[:'TopMargin']
|
111
|
+
self.top_margin = attributes[:'TopMargin']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes[:'BottomMargin']
|
115
|
+
self.bottom_margin = attributes[:'BottomMargin']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'Orientation']
|
119
|
+
self.orientation = attributes[:'Orientation']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes[:'SkipBlankPages']
|
123
|
+
self.skip_blank_pages = attributes[:'SkipBlankPages']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes[:'Width']
|
127
|
+
self.width = attributes[:'Width']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes[:'Height']
|
131
|
+
self.height = attributes[:'Height']
|
132
|
+
end
|
133
|
+
|
134
|
+
if attributes[:'XResolution']
|
135
|
+
self.x_resolution = attributes[:'XResolution']
|
136
|
+
end
|
137
|
+
|
138
|
+
if attributes[:'YResolution']
|
139
|
+
self.y_resolution = attributes[:'YResolution']
|
140
|
+
end
|
141
|
+
|
142
|
+
if attributes[:'PageIndex']
|
143
|
+
self.page_index = attributes[:'PageIndex']
|
144
|
+
end
|
145
|
+
|
146
|
+
if attributes[:'PageCount']
|
147
|
+
self.page_count = attributes[:'PageCount']
|
148
|
+
end
|
149
|
+
|
150
|
+
if attributes[:'ResultFile']
|
151
|
+
self.result_file = attributes[:'ResultFile']
|
152
|
+
end
|
153
|
+
|
154
|
+
end
|
155
|
+
|
156
|
+
end
|
157
|
+
end
|