aspose_pdf_cloud 18.6.0 → 18.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +4 -4
- data/aspose_pdf_cloud.gemspec +49 -49
- data/lib/aspose_pdf_cloud.rb +145 -145
- data/lib/aspose_pdf_cloud/api/pdf_api.rb +11705 -10569
- data/lib/aspose_pdf_cloud/api_client.rb +60 -6
- data/lib/aspose_pdf_cloud/api_error.rb +47 -47
- data/lib/aspose_pdf_cloud/configuration.rb +185 -185
- data/lib/aspose_pdf_cloud/models/annotation.rb +260 -260
- data/lib/aspose_pdf_cloud/models/annotation_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/annotations.rb +211 -211
- data/lib/aspose_pdf_cloud/models/annotations_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/antialiasing_processing_type.rb +43 -43
- data/lib/aspose_pdf_cloud/models/append_document.rb +228 -228
- data/lib/aspose_pdf_cloud/models/attachment.rb +270 -270
- data/lib/aspose_pdf_cloud/models/attachment_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/attachments.rb +211 -211
- data/lib/aspose_pdf_cloud/models/attachments_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/color.rb +244 -244
- data/lib/aspose_pdf_cloud/models/color_depth.rb +45 -45
- data/lib/aspose_pdf_cloud/models/compression_type.rb +46 -46
- data/lib/aspose_pdf_cloud/models/doc_format.rb +43 -43
- data/lib/aspose_pdf_cloud/models/doc_recognition_mode.rb +43 -43
- data/lib/aspose_pdf_cloud/models/document.rb +220 -220
- data/lib/aspose_pdf_cloud/models/document_pages_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/document_privilege.rb +298 -298
- data/lib/aspose_pdf_cloud/models/document_properties.rb +211 -211
- data/lib/aspose_pdf_cloud/models/document_properties_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/document_property.rb +227 -227
- data/lib/aspose_pdf_cloud/models/document_property_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/document_response.rb +233 -233
- data/lib/aspose_pdf_cloud/models/document_text_replace_response.rb +231 -231
- data/lib/aspose_pdf_cloud/models/epub_recognition_mode.rb +44 -44
- data/lib/aspose_pdf_cloud/models/field.rb +254 -254
- data/lib/aspose_pdf_cloud/models/field_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/field_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/fields.rb +211 -211
- data/lib/aspose_pdf_cloud/models/fields_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/font_encoding_rules.rb +43 -43
- data/lib/aspose_pdf_cloud/models/font_saving_modes.rb +45 -45
- data/lib/aspose_pdf_cloud/models/font_styles.rb +1 -1
- data/lib/aspose_pdf_cloud/models/horizontal_alignment.rb +1 -1
- data/lib/aspose_pdf_cloud/models/html_document_type.rb +43 -43
- data/lib/aspose_pdf_cloud/models/html_markup_generation_modes.rb +43 -43
- data/lib/aspose_pdf_cloud/models/http_status_code.rb +1 -1
- data/lib/aspose_pdf_cloud/models/image.rb +220 -220
- data/lib/aspose_pdf_cloud/models/image_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/image_src_type.rb +43 -43
- data/lib/aspose_pdf_cloud/models/image_template.rb +281 -281
- data/lib/aspose_pdf_cloud/models/image_templates_request.rb +230 -230
- data/lib/aspose_pdf_cloud/models/images.rb +211 -211
- data/lib/aspose_pdf_cloud/models/images_list_request.rb +205 -205
- data/lib/aspose_pdf_cloud/models/images_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/letters_positioning_methods.rb +43 -43
- data/lib/aspose_pdf_cloud/models/line_spacing.rb +43 -43
- data/lib/aspose_pdf_cloud/models/link.rb +228 -228
- data/lib/aspose_pdf_cloud/models/link_action_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/link_annotation.rb +236 -236
- data/lib/aspose_pdf_cloud/models/link_annotation_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/link_annotations.rb +211 -211
- data/lib/aspose_pdf_cloud/models/link_annotations_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/link_element.rb +200 -200
- data/lib/aspose_pdf_cloud/models/link_highlighting_mode.rb +1 -1
- data/lib/aspose_pdf_cloud/models/margin_info.rb +244 -244
- data/lib/aspose_pdf_cloud/models/merge_documents.rb +200 -200
- data/lib/aspose_pdf_cloud/models/optimize_options.rb +293 -293
- data/lib/aspose_pdf_cloud/models/page.rb +228 -228
- data/lib/aspose_pdf_cloud/models/page_text_replace_response.rb +231 -231
- data/lib/aspose_pdf_cloud/models/page_word_count.rb +218 -218
- data/lib/aspose_pdf_cloud/models/pages.rb +211 -211
- data/lib/aspose_pdf_cloud/models/paragraph.rb +303 -303
- data/lib/aspose_pdf_cloud/models/parts_embedding_modes.rb +44 -44
- data/lib/aspose_pdf_cloud/models/pdf_a_type.rb +43 -43
- data/lib/aspose_pdf_cloud/models/raster_images_saving_modes.rb +44 -44
- data/lib/aspose_pdf_cloud/models/rectangle.rb +244 -244
- data/lib/aspose_pdf_cloud/models/rotation.rb +1 -1
- data/lib/aspose_pdf_cloud/models/saa_spose_response.rb +213 -213
- data/lib/aspose_pdf_cloud/models/segment.rb +206 -206
- data/lib/aspose_pdf_cloud/models/shape_type.rb +44 -44
- data/lib/aspose_pdf_cloud/models/signature.rb +333 -333
- data/lib/aspose_pdf_cloud/models/signature_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/signature_verify_response.rb +223 -223
- data/lib/aspose_pdf_cloud/models/split_result.rb +200 -200
- data/lib/aspose_pdf_cloud/models/split_result_document.rb +238 -238
- data/lib/aspose_pdf_cloud/models/split_result_response.rb +223 -223
- data/lib/aspose_pdf_cloud/models/stamp.rb +413 -413
- data/lib/aspose_pdf_cloud/models/stamp_type.rb +1 -1
- data/lib/aspose_pdf_cloud/models/text_format.rb +227 -227
- data/lib/aspose_pdf_cloud/models/text_format_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/text_horizontal_alignment.rb +47 -47
- data/lib/aspose_pdf_cloud/models/text_item.rb +218 -218
- data/lib/aspose_pdf_cloud/models/text_item_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/text_items.rb +211 -211
- data/lib/aspose_pdf_cloud/models/text_items_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/text_line.rb +210 -210
- data/lib/aspose_pdf_cloud/models/text_rect.rb +220 -220
- data/lib/aspose_pdf_cloud/models/text_rects.rb +199 -199
- data/lib/aspose_pdf_cloud/models/text_rects_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/text_replace.rb +253 -253
- data/lib/aspose_pdf_cloud/models/text_replace_list_request.rb +232 -232
- data/lib/aspose_pdf_cloud/models/text_replace_request.rb +262 -262
- data/lib/aspose_pdf_cloud/models/text_replace_response.rb +222 -222
- data/lib/aspose_pdf_cloud/models/text_state.rb +248 -248
- data/lib/aspose_pdf_cloud/models/tiff_export_options.rb +348 -348
- data/lib/aspose_pdf_cloud/models/vertical_alignment.rb +45 -45
- data/lib/aspose_pdf_cloud/models/word_count.rb +199 -199
- data/lib/aspose_pdf_cloud/models/word_count_response.rb +223 -223
- data/lib/aspose_pdf_cloud/models/wrap_mode.rb +44 -44
- data/lib/aspose_pdf_cloud/version.rb +24 -24
- data/test/pdf_tests.rb +3 -3
- data/test_data/.gitattributes +1 -0
- data/test_data/TexExample.tex +304 -304
- metadata +13 -12
@@ -1,44 +1,44 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'date'
|
23
|
-
|
24
|
-
module AsposePdfCloud
|
25
|
-
class PartsEmbeddingModes
|
26
|
-
|
27
|
-
EMBED_ALL_INTO_HTML = "EmbedAllIntoHtml".freeze
|
28
|
-
EMBED_CSS_ONLY = "EmbedCssOnly".freeze
|
29
|
-
NO_EMBEDDING = "NoEmbedding".freeze
|
30
|
-
|
31
|
-
# Builds the enum from string
|
32
|
-
# @param [String] The enum value in the form of the string
|
33
|
-
# @return [String] The enum value
|
34
|
-
def build_from_hash(value)
|
35
|
-
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
36
|
-
# consantValues = PartsEmbeddingModes.constants.select{|c| c.to_s == value}
|
37
|
-
constantValues = PartsEmbeddingModes.constants.select{ |const_name| PartsEmbeddingModes.const_get(const_name) == value}
|
38
|
-
|
39
|
-
raise "Invalid ENUM value #{value} for class #PartsEmbeddingModes" if constantValues.empty?
|
40
|
-
value
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
end
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
Copyright (c) 2018 Aspose.PDF Cloud
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
SOFTWARE.
|
19
|
+
--------------------------------------------------------------------------------------------------------------------
|
20
|
+
=end
|
21
|
+
|
22
|
+
require 'date'
|
23
|
+
|
24
|
+
module AsposePdfCloud
|
25
|
+
class PartsEmbeddingModes
|
26
|
+
|
27
|
+
EMBED_ALL_INTO_HTML = "EmbedAllIntoHtml".freeze
|
28
|
+
EMBED_CSS_ONLY = "EmbedCssOnly".freeze
|
29
|
+
NO_EMBEDDING = "NoEmbedding".freeze
|
30
|
+
|
31
|
+
# Builds the enum from string
|
32
|
+
# @param [String] The enum value in the form of the string
|
33
|
+
# @return [String] The enum value
|
34
|
+
def build_from_hash(value)
|
35
|
+
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
36
|
+
# consantValues = PartsEmbeddingModes.constants.select{|c| c.to_s == value}
|
37
|
+
constantValues = PartsEmbeddingModes.constants.select{ |const_name| PartsEmbeddingModes.const_get(const_name) == value}
|
38
|
+
|
39
|
+
raise "Invalid ENUM value #{value} for class #PartsEmbeddingModes" if constantValues.empty?
|
40
|
+
value
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
@@ -1,43 +1,43 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'date'
|
23
|
-
|
24
|
-
module AsposePdfCloud
|
25
|
-
class PdfAType
|
26
|
-
|
27
|
-
PDFA1_A = "PDFA1A".freeze
|
28
|
-
PDFA1_B = "PDFA1B".freeze
|
29
|
-
|
30
|
-
# Builds the enum from string
|
31
|
-
# @param [String] The enum value in the form of the string
|
32
|
-
# @return [String] The enum value
|
33
|
-
def build_from_hash(value)
|
34
|
-
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
35
|
-
# consantValues = PdfAType.constants.select{|c| c.to_s == value}
|
36
|
-
constantValues = PdfAType.constants.select{ |const_name| PdfAType.const_get(const_name) == value}
|
37
|
-
|
38
|
-
raise "Invalid ENUM value #{value} for class #PdfAType" if constantValues.empty?
|
39
|
-
value
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
end
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
Copyright (c) 2018 Aspose.PDF Cloud
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
SOFTWARE.
|
19
|
+
--------------------------------------------------------------------------------------------------------------------
|
20
|
+
=end
|
21
|
+
|
22
|
+
require 'date'
|
23
|
+
|
24
|
+
module AsposePdfCloud
|
25
|
+
class PdfAType
|
26
|
+
|
27
|
+
PDFA1_A = "PDFA1A".freeze
|
28
|
+
PDFA1_B = "PDFA1B".freeze
|
29
|
+
|
30
|
+
# Builds the enum from string
|
31
|
+
# @param [String] The enum value in the form of the string
|
32
|
+
# @return [String] The enum value
|
33
|
+
def build_from_hash(value)
|
34
|
+
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
35
|
+
# consantValues = PdfAType.constants.select{|c| c.to_s == value}
|
36
|
+
constantValues = PdfAType.constants.select{ |const_name| PdfAType.const_get(const_name) == value}
|
37
|
+
|
38
|
+
raise "Invalid ENUM value #{value} for class #PdfAType" if constantValues.empty?
|
39
|
+
value
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
@@ -1,44 +1,44 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'date'
|
23
|
-
|
24
|
-
module AsposePdfCloud
|
25
|
-
class RasterImagesSavingModes
|
26
|
-
|
27
|
-
AS_PNG_IMAGES_EMBEDDED_INTO_SVG = "AsPngImagesEmbeddedIntoSvg".freeze
|
28
|
-
AS_EXTERNAL_PNG_FILES_REFERENCED_VIA_SVG = "AsExternalPngFilesReferencedViaSvg".freeze
|
29
|
-
AS_EMBEDDED_PARTS_OF_PNG_PAGE_BACKGROUND = "AsEmbeddedPartsOfPngPageBackground".freeze
|
30
|
-
|
31
|
-
# Builds the enum from string
|
32
|
-
# @param [String] The enum value in the form of the string
|
33
|
-
# @return [String] The enum value
|
34
|
-
def build_from_hash(value)
|
35
|
-
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
36
|
-
# consantValues = RasterImagesSavingModes.constants.select{|c| c.to_s == value}
|
37
|
-
constantValues = RasterImagesSavingModes.constants.select{ |const_name| RasterImagesSavingModes.const_get(const_name) == value}
|
38
|
-
|
39
|
-
raise "Invalid ENUM value #{value} for class #RasterImagesSavingModes" if constantValues.empty?
|
40
|
-
value
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
end
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
Copyright (c) 2018 Aspose.PDF Cloud
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
SOFTWARE.
|
19
|
+
--------------------------------------------------------------------------------------------------------------------
|
20
|
+
=end
|
21
|
+
|
22
|
+
require 'date'
|
23
|
+
|
24
|
+
module AsposePdfCloud
|
25
|
+
class RasterImagesSavingModes
|
26
|
+
|
27
|
+
AS_PNG_IMAGES_EMBEDDED_INTO_SVG = "AsPngImagesEmbeddedIntoSvg".freeze
|
28
|
+
AS_EXTERNAL_PNG_FILES_REFERENCED_VIA_SVG = "AsExternalPngFilesReferencedViaSvg".freeze
|
29
|
+
AS_EMBEDDED_PARTS_OF_PNG_PAGE_BACKGROUND = "AsEmbeddedPartsOfPngPageBackground".freeze
|
30
|
+
|
31
|
+
# Builds the enum from string
|
32
|
+
# @param [String] The enum value in the form of the string
|
33
|
+
# @return [String] The enum value
|
34
|
+
def build_from_hash(value)
|
35
|
+
# resolve issue with Concstant Name modification (ex: "FooName" to :FOO_NAME)
|
36
|
+
# consantValues = RasterImagesSavingModes.constants.select{|c| c.to_s == value}
|
37
|
+
constantValues = RasterImagesSavingModes.constants.select{ |const_name| RasterImagesSavingModes.const_get(const_name) == value}
|
38
|
+
|
39
|
+
raise "Invalid ENUM value #{value} for class #RasterImagesSavingModes" if constantValues.empty?
|
40
|
+
value
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
@@ -1,244 +1,244 @@
|
|
1
|
-
=begin
|
2
|
-
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
Copyright (c) 2018 Aspose.
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
6
|
-
in the Software without restriction, including without limitation the rights
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
9
|
-
furnished to do so, subject to the following conditions:
|
10
|
-
The above copyright notice and this permission notice shall be included in all
|
11
|
-
copies or substantial portions of the Software.
|
12
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
-
SOFTWARE.
|
19
|
-
--------------------------------------------------------------------------------------------------------------------
|
20
|
-
=end
|
21
|
-
|
22
|
-
require 'date'
|
23
|
-
|
24
|
-
module AsposePdfCloud
|
25
|
-
# Represents rectangle DTO.
|
26
|
-
class Rectangle
|
27
|
-
attr_accessor :x
|
28
|
-
|
29
|
-
attr_accessor :y
|
30
|
-
|
31
|
-
attr_accessor :width
|
32
|
-
|
33
|
-
attr_accessor :height
|
34
|
-
|
35
|
-
|
36
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
37
|
-
def self.attribute_map
|
38
|
-
{
|
39
|
-
:'x' => :'X',
|
40
|
-
:'y' => :'Y',
|
41
|
-
:'width' => :'Width',
|
42
|
-
:'height' => :'Height'
|
43
|
-
}
|
44
|
-
end
|
45
|
-
|
46
|
-
# Attribute type mapping.
|
47
|
-
def self.swagger_types
|
48
|
-
{
|
49
|
-
:'x' => :'Integer',
|
50
|
-
:'y' => :'Integer',
|
51
|
-
:'width' => :'Integer',
|
52
|
-
:'height' => :'Integer'
|
53
|
-
}
|
54
|
-
end
|
55
|
-
|
56
|
-
# Initializes the object
|
57
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
-
def initialize(attributes = {})
|
59
|
-
return unless attributes.is_a?(Hash)
|
60
|
-
|
61
|
-
# convert string to symbol for hash key
|
62
|
-
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
63
|
-
|
64
|
-
if attributes.has_key?(:'X')
|
65
|
-
self.x = attributes[:'X']
|
66
|
-
end
|
67
|
-
|
68
|
-
if attributes.has_key?(:'Y')
|
69
|
-
self.y = attributes[:'Y']
|
70
|
-
end
|
71
|
-
|
72
|
-
if attributes.has_key?(:'Width')
|
73
|
-
self.width = attributes[:'Width']
|
74
|
-
end
|
75
|
-
|
76
|
-
if attributes.has_key?(:'Height')
|
77
|
-
self.height = attributes[:'Height']
|
78
|
-
end
|
79
|
-
|
80
|
-
end
|
81
|
-
|
82
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
83
|
-
# @return Array for valid properies with the reasons
|
84
|
-
def list_invalid_properties
|
85
|
-
invalid_properties = Array.new
|
86
|
-
if @x.nil?
|
87
|
-
invalid_properties.push("invalid value for 'x', x cannot be nil.")
|
88
|
-
end
|
89
|
-
|
90
|
-
if @y.nil?
|
91
|
-
invalid_properties.push("invalid value for 'y', y cannot be nil.")
|
92
|
-
end
|
93
|
-
|
94
|
-
if @width.nil?
|
95
|
-
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
96
|
-
end
|
97
|
-
|
98
|
-
if @height.nil?
|
99
|
-
invalid_properties.push("invalid value for 'height', height cannot be nil.")
|
100
|
-
end
|
101
|
-
|
102
|
-
return invalid_properties
|
103
|
-
end
|
104
|
-
|
105
|
-
# Check to see if the all the properties in the model are valid
|
106
|
-
# @return true if the model is valid
|
107
|
-
def valid?
|
108
|
-
return false if @x.nil?
|
109
|
-
return false if @y.nil?
|
110
|
-
return false if @width.nil?
|
111
|
-
return false if @height.nil?
|
112
|
-
return true
|
113
|
-
end
|
114
|
-
|
115
|
-
# Checks equality by comparing each attribute.
|
116
|
-
# @param [Object] Object to be compared
|
117
|
-
def ==(o)
|
118
|
-
return true if self.equal?(o)
|
119
|
-
self.class == o.class &&
|
120
|
-
x == o.x &&
|
121
|
-
y == o.y &&
|
122
|
-
width == o.width &&
|
123
|
-
height == o.height
|
124
|
-
end
|
125
|
-
|
126
|
-
# @see the `==` method
|
127
|
-
# @param [Object] Object to be compared
|
128
|
-
def eql?(o)
|
129
|
-
self == o
|
130
|
-
end
|
131
|
-
|
132
|
-
# Calculates hash code according to all attributes.
|
133
|
-
# @return [Fixnum] Hash code
|
134
|
-
def hash
|
135
|
-
[x, y, width, height].hash
|
136
|
-
end
|
137
|
-
|
138
|
-
# Builds the object from hash
|
139
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
-
# @return [Object] Returns the model itself
|
141
|
-
def build_from_hash(attributes)
|
142
|
-
return nil unless attributes.is_a?(Hash)
|
143
|
-
self.class.swagger_types.each_pair do |key, type|
|
144
|
-
if type =~ /\AArray<(.*)>/i
|
145
|
-
# check to ensure the input is an array given that the the attribute
|
146
|
-
# is documented as an array but the input is not
|
147
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
148
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
149
|
-
end
|
150
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
151
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
152
|
-
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
153
|
-
end
|
154
|
-
|
155
|
-
self
|
156
|
-
end
|
157
|
-
|
158
|
-
# Deserializes the data based on type
|
159
|
-
# @param string type Data type
|
160
|
-
# @param string value Value to be deserialized
|
161
|
-
# @return [Object] Deserialized data
|
162
|
-
def _deserialize(type, value)
|
163
|
-
case type.to_sym
|
164
|
-
when :DateTime
|
165
|
-
DateTime.parse(value)
|
166
|
-
when :Date
|
167
|
-
Date.parse(value)
|
168
|
-
when :String
|
169
|
-
value.to_s
|
170
|
-
when :Integer
|
171
|
-
value.to_i
|
172
|
-
when :Float
|
173
|
-
value.to_f
|
174
|
-
when :BOOLEAN
|
175
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
176
|
-
true
|
177
|
-
else
|
178
|
-
false
|
179
|
-
end
|
180
|
-
when :Object
|
181
|
-
# generic object (usually a Hash), return directly
|
182
|
-
value
|
183
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
184
|
-
inner_type = Regexp.last_match[:inner_type]
|
185
|
-
value.map { |v| _deserialize(inner_type, v) }
|
186
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
187
|
-
k_type = Regexp.last_match[:k_type]
|
188
|
-
v_type = Regexp.last_match[:v_type]
|
189
|
-
{}.tap do |hash|
|
190
|
-
value.each do |k, v|
|
191
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
192
|
-
end
|
193
|
-
end
|
194
|
-
else # model
|
195
|
-
temp_model = AsposePdfCloud.const_get(type).new
|
196
|
-
temp_model.build_from_hash(value)
|
197
|
-
end
|
198
|
-
end
|
199
|
-
|
200
|
-
# Returns the string representation of the object
|
201
|
-
# @return [String] String presentation of the object
|
202
|
-
def to_s
|
203
|
-
to_hash.to_s
|
204
|
-
end
|
205
|
-
|
206
|
-
# to_body is an alias to to_hash (backward compatibility)
|
207
|
-
# @return [Hash] Returns the object in the form of hash
|
208
|
-
def to_body
|
209
|
-
to_hash
|
210
|
-
end
|
211
|
-
|
212
|
-
# Returns the object in the form of hash
|
213
|
-
# @return [Hash] Returns the object in the form of hash
|
214
|
-
def to_hash
|
215
|
-
hash = {}
|
216
|
-
self.class.attribute_map.each_pair do |attr, param|
|
217
|
-
value = self.send(attr)
|
218
|
-
next if value.nil?
|
219
|
-
hash[param] = _to_hash(value)
|
220
|
-
end
|
221
|
-
hash
|
222
|
-
end
|
223
|
-
|
224
|
-
# Outputs non-array value in the form of hash
|
225
|
-
# For object, use to_hash. Otherwise, just return the value
|
226
|
-
# @param [Object] value Any valid value
|
227
|
-
# @return [Hash] Returns the value in the form of hash
|
228
|
-
def _to_hash(value)
|
229
|
-
if value.is_a?(Array)
|
230
|
-
value.compact.map{ |v| _to_hash(v) }
|
231
|
-
elsif value.is_a?(Hash)
|
232
|
-
{}.tap do |hash|
|
233
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
234
|
-
end
|
235
|
-
elsif value.respond_to? :to_hash
|
236
|
-
value.to_hash
|
237
|
-
else
|
238
|
-
value
|
239
|
-
end
|
240
|
-
end
|
241
|
-
|
242
|
-
end
|
243
|
-
|
244
|
-
end
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
Copyright (c) 2018 Aspose.PDF Cloud
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
of this software and associated documentation files (the "Software"), to deal
|
6
|
+
in the Software without restriction, including without limitation the rights
|
7
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8
|
+
copies of the Software, and to permit persons to whom the Software is
|
9
|
+
furnished to do so, subject to the following conditions:
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
13
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
14
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
15
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
16
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
17
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
18
|
+
SOFTWARE.
|
19
|
+
--------------------------------------------------------------------------------------------------------------------
|
20
|
+
=end
|
21
|
+
|
22
|
+
require 'date'
|
23
|
+
|
24
|
+
module AsposePdfCloud
|
25
|
+
# Represents rectangle DTO.
|
26
|
+
class Rectangle
|
27
|
+
attr_accessor :x
|
28
|
+
|
29
|
+
attr_accessor :y
|
30
|
+
|
31
|
+
attr_accessor :width
|
32
|
+
|
33
|
+
attr_accessor :height
|
34
|
+
|
35
|
+
|
36
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
37
|
+
def self.attribute_map
|
38
|
+
{
|
39
|
+
:'x' => :'X',
|
40
|
+
:'y' => :'Y',
|
41
|
+
:'width' => :'Width',
|
42
|
+
:'height' => :'Height'
|
43
|
+
}
|
44
|
+
end
|
45
|
+
|
46
|
+
# Attribute type mapping.
|
47
|
+
def self.swagger_types
|
48
|
+
{
|
49
|
+
:'x' => :'Integer',
|
50
|
+
:'y' => :'Integer',
|
51
|
+
:'width' => :'Integer',
|
52
|
+
:'height' => :'Integer'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Initializes the object
|
57
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
+
def initialize(attributes = {})
|
59
|
+
return unless attributes.is_a?(Hash)
|
60
|
+
|
61
|
+
# convert string to symbol for hash key
|
62
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
63
|
+
|
64
|
+
if attributes.has_key?(:'X')
|
65
|
+
self.x = attributes[:'X']
|
66
|
+
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'Y')
|
69
|
+
self.y = attributes[:'Y']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.has_key?(:'Width')
|
73
|
+
self.width = attributes[:'Width']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.has_key?(:'Height')
|
77
|
+
self.height = attributes[:'Height']
|
78
|
+
end
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
83
|
+
# @return Array for valid properies with the reasons
|
84
|
+
def list_invalid_properties
|
85
|
+
invalid_properties = Array.new
|
86
|
+
if @x.nil?
|
87
|
+
invalid_properties.push("invalid value for 'x', x cannot be nil.")
|
88
|
+
end
|
89
|
+
|
90
|
+
if @y.nil?
|
91
|
+
invalid_properties.push("invalid value for 'y', y cannot be nil.")
|
92
|
+
end
|
93
|
+
|
94
|
+
if @width.nil?
|
95
|
+
invalid_properties.push("invalid value for 'width', width cannot be nil.")
|
96
|
+
end
|
97
|
+
|
98
|
+
if @height.nil?
|
99
|
+
invalid_properties.push("invalid value for 'height', height cannot be nil.")
|
100
|
+
end
|
101
|
+
|
102
|
+
return invalid_properties
|
103
|
+
end
|
104
|
+
|
105
|
+
# Check to see if the all the properties in the model are valid
|
106
|
+
# @return true if the model is valid
|
107
|
+
def valid?
|
108
|
+
return false if @x.nil?
|
109
|
+
return false if @y.nil?
|
110
|
+
return false if @width.nil?
|
111
|
+
return false if @height.nil?
|
112
|
+
return true
|
113
|
+
end
|
114
|
+
|
115
|
+
# Checks equality by comparing each attribute.
|
116
|
+
# @param [Object] Object to be compared
|
117
|
+
def ==(o)
|
118
|
+
return true if self.equal?(o)
|
119
|
+
self.class == o.class &&
|
120
|
+
x == o.x &&
|
121
|
+
y == o.y &&
|
122
|
+
width == o.width &&
|
123
|
+
height == o.height
|
124
|
+
end
|
125
|
+
|
126
|
+
# @see the `==` method
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def eql?(o)
|
129
|
+
self == o
|
130
|
+
end
|
131
|
+
|
132
|
+
# Calculates hash code according to all attributes.
|
133
|
+
# @return [Fixnum] Hash code
|
134
|
+
def hash
|
135
|
+
[x, y, width, height].hash
|
136
|
+
end
|
137
|
+
|
138
|
+
# Builds the object from hash
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @return [Object] Returns the model itself
|
141
|
+
def build_from_hash(attributes)
|
142
|
+
return nil unless attributes.is_a?(Hash)
|
143
|
+
self.class.swagger_types.each_pair do |key, type|
|
144
|
+
if type =~ /\AArray<(.*)>/i
|
145
|
+
# check to ensure the input is an array given that the the attribute
|
146
|
+
# is documented as an array but the input is not
|
147
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
148
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
149
|
+
end
|
150
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
151
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
152
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
153
|
+
end
|
154
|
+
|
155
|
+
self
|
156
|
+
end
|
157
|
+
|
158
|
+
# Deserializes the data based on type
|
159
|
+
# @param string type Data type
|
160
|
+
# @param string value Value to be deserialized
|
161
|
+
# @return [Object] Deserialized data
|
162
|
+
def _deserialize(type, value)
|
163
|
+
case type.to_sym
|
164
|
+
when :DateTime
|
165
|
+
DateTime.parse(value)
|
166
|
+
when :Date
|
167
|
+
Date.parse(value)
|
168
|
+
when :String
|
169
|
+
value.to_s
|
170
|
+
when :Integer
|
171
|
+
value.to_i
|
172
|
+
when :Float
|
173
|
+
value.to_f
|
174
|
+
when :BOOLEAN
|
175
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
176
|
+
true
|
177
|
+
else
|
178
|
+
false
|
179
|
+
end
|
180
|
+
when :Object
|
181
|
+
# generic object (usually a Hash), return directly
|
182
|
+
value
|
183
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
184
|
+
inner_type = Regexp.last_match[:inner_type]
|
185
|
+
value.map { |v| _deserialize(inner_type, v) }
|
186
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
187
|
+
k_type = Regexp.last_match[:k_type]
|
188
|
+
v_type = Regexp.last_match[:v_type]
|
189
|
+
{}.tap do |hash|
|
190
|
+
value.each do |k, v|
|
191
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
else # model
|
195
|
+
temp_model = AsposePdfCloud.const_get(type).new
|
196
|
+
temp_model.build_from_hash(value)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Returns the string representation of the object
|
201
|
+
# @return [String] String presentation of the object
|
202
|
+
def to_s
|
203
|
+
to_hash.to_s
|
204
|
+
end
|
205
|
+
|
206
|
+
# to_body is an alias to to_hash (backward compatibility)
|
207
|
+
# @return [Hash] Returns the object in the form of hash
|
208
|
+
def to_body
|
209
|
+
to_hash
|
210
|
+
end
|
211
|
+
|
212
|
+
# Returns the object in the form of hash
|
213
|
+
# @return [Hash] Returns the object in the form of hash
|
214
|
+
def to_hash
|
215
|
+
hash = {}
|
216
|
+
self.class.attribute_map.each_pair do |attr, param|
|
217
|
+
value = self.send(attr)
|
218
|
+
next if value.nil?
|
219
|
+
hash[param] = _to_hash(value)
|
220
|
+
end
|
221
|
+
hash
|
222
|
+
end
|
223
|
+
|
224
|
+
# Outputs non-array value in the form of hash
|
225
|
+
# For object, use to_hash. Otherwise, just return the value
|
226
|
+
# @param [Object] value Any valid value
|
227
|
+
# @return [Hash] Returns the value in the form of hash
|
228
|
+
def _to_hash(value)
|
229
|
+
if value.is_a?(Array)
|
230
|
+
value.compact.map{ |v| _to_hash(v) }
|
231
|
+
elsif value.is_a?(Hash)
|
232
|
+
{}.tap do |hash|
|
233
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
234
|
+
end
|
235
|
+
elsif value.respond_to? :to_hash
|
236
|
+
value.to_hash
|
237
|
+
else
|
238
|
+
value
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
end
|
243
|
+
|
244
|
+
end
|