groupdocs_viewer_cloud 24.8 → 25.3

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.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/groupdocs_viewer_cloud/api/file_api.rb +6 -6
  3. data/lib/groupdocs_viewer_cloud/api/folder_api.rb +6 -6
  4. data/lib/groupdocs_viewer_cloud/api/info_api.rb +2 -2
  5. data/lib/groupdocs_viewer_cloud/api/license_api.rb +1 -1
  6. data/lib/groupdocs_viewer_cloud/api/storage_api.rb +5 -5
  7. data/lib/groupdocs_viewer_cloud/api/view_api.rb +4 -4
  8. data/lib/groupdocs_viewer_cloud/api_client.rb +1 -1
  9. data/lib/groupdocs_viewer_cloud/api_client_error.rb +1 -1
  10. data/lib/groupdocs_viewer_cloud/configuration.rb +1 -1
  11. data/lib/groupdocs_viewer_cloud/models/api_error.rb +1 -1
  12. data/lib/groupdocs_viewer_cloud/models/api_error_response.rb +1 -1
  13. data/lib/groupdocs_viewer_cloud/models/archive_options.rb +5 -20
  14. data/lib/groupdocs_viewer_cloud/models/archive_view_info.rb +1 -1
  15. data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +1 -1
  16. data/lib/groupdocs_viewer_cloud/models/attachment_view.rb +1 -1
  17. data/lib/groupdocs_viewer_cloud/models/cad_options.rb +1 -1
  18. data/lib/groupdocs_viewer_cloud/models/cad_view_info.rb +1 -1
  19. data/lib/groupdocs_viewer_cloud/models/character.rb +1 -1
  20. data/lib/groupdocs_viewer_cloud/models/consumption_result.rb +1 -1
  21. data/lib/groupdocs_viewer_cloud/models/delete_view_options.rb +1 -1
  22. data/lib/groupdocs_viewer_cloud/models/disc_usage.rb +1 -1
  23. data/lib/groupdocs_viewer_cloud/models/email_options.rb +1 -1
  24. data/lib/groupdocs_viewer_cloud/models/error.rb +1 -1
  25. data/lib/groupdocs_viewer_cloud/models/error_details.rb +1 -1
  26. data/lib/groupdocs_viewer_cloud/models/field_label.rb +1 -1
  27. data/lib/groupdocs_viewer_cloud/models/file_info.rb +1 -1
  28. data/lib/groupdocs_viewer_cloud/models/file_version.rb +1 -1
  29. data/lib/groupdocs_viewer_cloud/models/file_versions.rb +1 -1
  30. data/lib/groupdocs_viewer_cloud/models/files_list.rb +1 -1
  31. data/lib/groupdocs_viewer_cloud/models/files_upload_result.rb +1 -1
  32. data/lib/groupdocs_viewer_cloud/models/format.rb +1 -1
  33. data/lib/groupdocs_viewer_cloud/models/formats_result.rb +1 -1
  34. data/lib/groupdocs_viewer_cloud/models/html_options.rb +20 -5
  35. data/lib/groupdocs_viewer_cloud/models/html_resource.rb +1 -1
  36. data/lib/groupdocs_viewer_cloud/models/image_options.rb +1 -1
  37. data/lib/groupdocs_viewer_cloud/models/info_result.rb +1 -1
  38. data/lib/groupdocs_viewer_cloud/models/layer.rb +1 -1
  39. data/lib/groupdocs_viewer_cloud/models/layout.rb +1 -1
  40. data/lib/groupdocs_viewer_cloud/models/line.rb +1 -1
  41. data/lib/groupdocs_viewer_cloud/models/mail_storage_options.rb +1 -1
  42. data/lib/groupdocs_viewer_cloud/models/object_exist.rb +1 -1
  43. data/lib/groupdocs_viewer_cloud/models/outlook_options.rb +1 -1
  44. data/lib/groupdocs_viewer_cloud/models/outlook_view_info.rb +1 -1
  45. data/lib/groupdocs_viewer_cloud/models/page_info.rb +1 -1
  46. data/lib/groupdocs_viewer_cloud/models/page_rotation.rb +1 -1
  47. data/lib/groupdocs_viewer_cloud/models/page_view.rb +1 -1
  48. data/lib/groupdocs_viewer_cloud/models/pdf_document_options.rb +1 -1
  49. data/lib/groupdocs_viewer_cloud/models/pdf_optimization_options.rb +1 -1
  50. data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +1 -1
  51. data/lib/groupdocs_viewer_cloud/models/pdf_view_info.rb +1 -1
  52. data/lib/groupdocs_viewer_cloud/models/project_management_options.rb +1 -1
  53. data/lib/groupdocs_viewer_cloud/models/project_management_view_info.rb +1 -1
  54. data/lib/groupdocs_viewer_cloud/models/render_options.rb +1 -1
  55. data/lib/groupdocs_viewer_cloud/models/resource.rb +1 -1
  56. data/lib/groupdocs_viewer_cloud/models/spreadsheet_options.rb +1 -1
  57. data/lib/groupdocs_viewer_cloud/models/storage_exist.rb +1 -1
  58. data/lib/groupdocs_viewer_cloud/models/storage_file.rb +1 -1
  59. data/lib/groupdocs_viewer_cloud/models/text_element.rb +1 -1
  60. data/lib/groupdocs_viewer_cloud/models/text_options.rb +1 -1
  61. data/lib/groupdocs_viewer_cloud/models/tile.rb +1 -1
  62. data/lib/groupdocs_viewer_cloud/models/view_options.rb +1 -1
  63. data/lib/groupdocs_viewer_cloud/models/view_result.rb +1 -1
  64. data/lib/groupdocs_viewer_cloud/models/visio_rendering_options.rb +1 -1
  65. data/lib/groupdocs_viewer_cloud/models/watermark.rb +1 -1
  66. data/lib/groupdocs_viewer_cloud/models/web_document_options.rb +1 -1
  67. data/lib/groupdocs_viewer_cloud/models/word.rb +1 -1
  68. data/lib/groupdocs_viewer_cloud/models/word_processing_options.rb +102 -5
  69. data/lib/groupdocs_viewer_cloud/version.rb +2 -2
  70. data/lib/groupdocs_viewer_cloud.rb +1 -1
  71. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66e64d42e28d02b842673c907537af6a0fb3a9c4f088a19c8db22370b27d5a0b
4
- data.tar.gz: c2e398e636acbf7146196ad88a80b4dd11b7be9b5d32851ebe7411601d4048d4
3
+ metadata.gz: 7e9ec3fb4f2945ad23cb83f16a645d44ee456259af19dcbdc6af18dbdeb54efd
4
+ data.tar.gz: 77c67d4f79ad01d54c3dced787dd0df922079e627b3e688f8c2372bf76bd1981
5
5
  SHA512:
6
- metadata.gz: 8de684b9d6bc6c5129b94f62680903e14c9476454ddd6a55d8f8953bea71571a1c7a258f07dbc05d948630c1896dde9db733d9a559fa5cf2d16a60d0403c3bee
7
- data.tar.gz: 5205dec2d64f7ae118eb4eaf906e52468860728fc885c66db3e95d552081470827b9992647c19ac5cc342c2d8c071efe93dfb8ab2d3fda2f95a0fd906b8d54cf
6
+ metadata.gz: 95367f305a6ef484b0f160458bd76789f3f9a63cc6868d5e230e1a561a0eae8a55b6ccdcc2f4d9375667663130f961de715fa65f73e213ca40a2e52e7dc3da68
7
+ data.tar.gz: cbc92ca65b07610f1cf646dbf731cea39de1df64dcd7831d543fc00c32d18d436b1f8aded20dc1238ed526a5766bc66de86d485c7350733876c671e7fef21544
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="file.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -449,7 +449,7 @@ end
449
449
  #
450
450
  # --------------------------------------------------------------------------------------------------------------------
451
451
  # <copyright company="Aspose Pty Ltd" file="copy_file_request.rb">
452
- # Copyright (c) 2003-2024 Aspose Pty Ltd
452
+ # Copyright (c) Aspose Pty Ltd
453
453
  # </copyright>
454
454
  # <summary>
455
455
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -510,7 +510,7 @@ end
510
510
  #
511
511
  # --------------------------------------------------------------------------------------------------------------------
512
512
  # <copyright company="Aspose Pty Ltd" file="delete_file_request.rb">
513
- # Copyright (c) 2003-2024 Aspose Pty Ltd
513
+ # Copyright (c) Aspose Pty Ltd
514
514
  # </copyright>
515
515
  # <summary>
516
516
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -563,7 +563,7 @@ end
563
563
  #
564
564
  # --------------------------------------------------------------------------------------------------------------------
565
565
  # <copyright company="Aspose Pty Ltd" file="download_file_request.rb">
566
- # Copyright (c) 2003-2024 Aspose Pty Ltd
566
+ # Copyright (c) Aspose Pty Ltd
567
567
  # </copyright>
568
568
  # <summary>
569
569
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -616,7 +616,7 @@ end
616
616
  #
617
617
  # --------------------------------------------------------------------------------------------------------------------
618
618
  # <copyright company="Aspose Pty Ltd" file="move_file_request.rb">
619
- # Copyright (c) 2003-2024 Aspose Pty Ltd
619
+ # Copyright (c) Aspose Pty Ltd
620
620
  # </copyright>
621
621
  # <summary>
622
622
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -677,7 +677,7 @@ end
677
677
  #
678
678
  # --------------------------------------------------------------------------------------------------------------------
679
679
  # <copyright company="Aspose Pty Ltd" file="upload_file_request.rb">
680
- # Copyright (c) 2003-2024 Aspose Pty Ltd
680
+ # Copyright (c) Aspose Pty Ltd
681
681
  # </copyright>
682
682
  # <summary>
683
683
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="folder.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -430,7 +430,7 @@ end
430
430
  #
431
431
  # --------------------------------------------------------------------------------------------------------------------
432
432
  # <copyright company="Aspose Pty Ltd" file="copy_folder_request.rb">
433
- # Copyright (c) 2003-2024 Aspose Pty Ltd
433
+ # Copyright (c) Aspose Pty Ltd
434
434
  # </copyright>
435
435
  # <summary>
436
436
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -487,7 +487,7 @@ end
487
487
  #
488
488
  # --------------------------------------------------------------------------------------------------------------------
489
489
  # <copyright company="Aspose Pty Ltd" file="create_folder_request.rb">
490
- # Copyright (c) 2003-2024 Aspose Pty Ltd
490
+ # Copyright (c) Aspose Pty Ltd
491
491
  # </copyright>
492
492
  # <summary>
493
493
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -536,7 +536,7 @@ end
536
536
  #
537
537
  # --------------------------------------------------------------------------------------------------------------------
538
538
  # <copyright company="Aspose Pty Ltd" file="delete_folder_request.rb">
539
- # Copyright (c) 2003-2024 Aspose Pty Ltd
539
+ # Copyright (c) Aspose Pty Ltd
540
540
  # </copyright>
541
541
  # <summary>
542
542
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -589,7 +589,7 @@ end
589
589
  #
590
590
  # --------------------------------------------------------------------------------------------------------------------
591
591
  # <copyright company="Aspose Pty Ltd" file="get_files_list_request.rb">
592
- # Copyright (c) 2003-2024 Aspose Pty Ltd
592
+ # Copyright (c) Aspose Pty Ltd
593
593
  # </copyright>
594
594
  # <summary>
595
595
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -638,7 +638,7 @@ end
638
638
  #
639
639
  # --------------------------------------------------------------------------------------------------------------------
640
640
  # <copyright company="Aspose Pty Ltd" file="move_folder_request.rb">
641
- # Copyright (c) 2003-2024 Aspose Pty Ltd
641
+ # Copyright (c) Aspose Pty Ltd
642
642
  # </copyright>
643
643
  # <summary>
644
644
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="info.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -222,7 +222,7 @@ end
222
222
  #
223
223
  # --------------------------------------------------------------------------------------------------------------------
224
224
  # <copyright company="Aspose Pty Ltd" file="get_info_request.rb">
225
- # Copyright (c) 2003-2024 Aspose Pty Ltd
225
+ # Copyright (c) Aspose Pty Ltd
226
226
  # </copyright>
227
227
  # <summary>
228
228
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="license.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="storage.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -350,7 +350,7 @@ end
350
350
  #
351
351
  # --------------------------------------------------------------------------------------------------------------------
352
352
  # <copyright company="Aspose Pty Ltd" file="get_disc_usage_request.rb">
353
- # Copyright (c) 2003-2024 Aspose Pty Ltd
353
+ # Copyright (c) Aspose Pty Ltd
354
354
  # </copyright>
355
355
  # <summary>
356
356
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -395,7 +395,7 @@ end
395
395
  #
396
396
  # --------------------------------------------------------------------------------------------------------------------
397
397
  # <copyright company="Aspose Pty Ltd" file="get_file_versions_request.rb">
398
- # Copyright (c) 2003-2024 Aspose Pty Ltd
398
+ # Copyright (c) Aspose Pty Ltd
399
399
  # </copyright>
400
400
  # <summary>
401
401
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -444,7 +444,7 @@ end
444
444
  #
445
445
  # --------------------------------------------------------------------------------------------------------------------
446
446
  # <copyright company="Aspose Pty Ltd" file="object_exists_request.rb">
447
- # Copyright (c) 2003-2024 Aspose Pty Ltd
447
+ # Copyright (c) Aspose Pty Ltd
448
448
  # </copyright>
449
449
  # <summary>
450
450
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -497,7 +497,7 @@ end
497
497
  #
498
498
  # --------------------------------------------------------------------------------------------------------------------
499
499
  # <copyright company="Aspose Pty Ltd" file="storage_exists_request.rb">
500
- # Copyright (c) 2003-2024 Aspose Pty Ltd
500
+ # Copyright (c) Aspose Pty Ltd
501
501
  # </copyright>
502
502
  # <summary>
503
503
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="view.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -291,7 +291,7 @@ end
291
291
  #
292
292
  # --------------------------------------------------------------------------------------------------------------------
293
293
  # <copyright company="Aspose Pty Ltd" file="convert_and_download_request.rb">
294
- # Copyright (c) 2003-2024 Aspose Pty Ltd
294
+ # Copyright (c) Aspose Pty Ltd
295
295
  # </copyright>
296
296
  # <summary>
297
297
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -348,7 +348,7 @@ end
348
348
  #
349
349
  # --------------------------------------------------------------------------------------------------------------------
350
350
  # <copyright company="Aspose Pty Ltd" file="create_view_request.rb">
351
- # Copyright (c) 2003-2024 Aspose Pty Ltd
351
+ # Copyright (c) Aspose Pty Ltd
352
352
  # </copyright>
353
353
  # <summary>
354
354
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -393,7 +393,7 @@ end
393
393
  #
394
394
  # --------------------------------------------------------------------------------------------------------------------
395
395
  # <copyright company="Aspose Pty Ltd" file="delete_view_request.rb">
396
- # Copyright (c) 2003-2024 Aspose Pty Ltd
396
+ # Copyright (c) Aspose Pty Ltd
397
397
  # </copyright>
398
398
  # <summary>
399
399
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_client.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # -----------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="api_error.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="configuration.rb">
3
- # Copyright (c) 2003-2024 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="api_error.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="api_error_response.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="archive_options.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -37,15 +37,11 @@ module GroupDocsViewerCloud
37
37
  # The filename to display in the header. By default the name of the source file is displayed.
38
38
  attr_accessor :file_name
39
39
 
40
- # Number of records per page (for rendering to HTML only)
41
- attr_accessor :items_per_page
42
-
43
40
  # Attribute mapping from ruby-style variable name to JSON key.
44
41
  def self.attribute_map
45
42
  {
46
43
  :'folder' => :'Folder',
47
- :'file_name' => :'FileName',
48
- :'items_per_page' => :'ItemsPerPage'
44
+ :'file_name' => :'FileName'
49
45
  }
50
46
  end
51
47
 
@@ -53,8 +49,7 @@ module GroupDocsViewerCloud
53
49
  def self.swagger_types
54
50
  {
55
51
  :'folder' => :'String',
56
- :'file_name' => :'String',
57
- :'items_per_page' => :'Integer'
52
+ :'file_name' => :'String'
58
53
  }
59
54
  end
60
55
 
@@ -74,27 +69,18 @@ module GroupDocsViewerCloud
74
69
  self.file_name = attributes[:'FileName']
75
70
  end
76
71
 
77
- if attributes.key?(:'ItemsPerPage')
78
- self.items_per_page = attributes[:'ItemsPerPage']
79
- end
80
-
81
72
  end
82
73
 
83
74
  # Show invalid properties with the reasons. Usually used together with valid?
84
75
  # @return Array for valid properies with the reasons
85
76
  def list_invalid_properties
86
77
  invalid_properties = []
87
- if @items_per_page.nil?
88
- invalid_properties.push("invalid value for 'items_per_page', items_per_page cannot be nil.")
89
- end
90
-
91
78
  return invalid_properties
92
79
  end
93
80
 
94
81
  # Check to see if the all the properties in the model are valid
95
82
  # @return true if the model is valid
96
83
  def valid?
97
- return false if @items_per_page.nil?
98
84
  return true
99
85
  end
100
86
 
@@ -104,8 +90,7 @@ module GroupDocsViewerCloud
104
90
  return true if self.equal?(other)
105
91
  self.class == other.class &&
106
92
  folder == other.folder &&
107
- file_name == other.file_name &&
108
- items_per_page == other.items_per_page
93
+ file_name == other.file_name
109
94
  end
110
95
 
111
96
  # @see the `==` method
@@ -117,7 +102,7 @@ module GroupDocsViewerCloud
117
102
  # Calculates hash code according to all attributes.
118
103
  # @return [Fixnum] Hash code
119
104
  def hash
120
- [folder, file_name, items_per_page].hash
105
+ [folder, file_name].hash
121
106
  end
122
107
 
123
108
  # Downcases first letter.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="archive_view_info.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="attachment_info.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="attachment_view.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="cad_options.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="cad_view_info.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="character.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="consumption_result.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="delete_view_options.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="disc_usage.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="email_options.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error_details.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="field_label.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_info.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_version.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_versions.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_list.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_upload_result.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="format.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="formats_result.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="html_options.rb">
4
- # Copyright (c) 2003-2024 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -133,6 +133,9 @@ module GroupDocsViewerCloud
133
133
  # Enables HTML content will be rendered to single page
134
134
  attr_accessor :render_to_single_page
135
135
 
136
+ # Allows to remove the JavaScript source code from the links in resultant HTML documents, when rendering input documents, which have the scripts. By default is enabled (true).
137
+ attr_accessor :remove_java_script
138
+
136
139
  # Attribute mapping from ruby-style variable name to JSON key.
137
140
  def self.attribute_map
138
141
  {
@@ -169,7 +172,8 @@ module GroupDocsViewerCloud
169
172
  :'image_width' => :'ImageWidth',
170
173
  :'image_max_height' => :'ImageMaxHeight',
171
174
  :'image_max_width' => :'ImageMaxWidth',
172
- :'render_to_single_page' => :'RenderToSinglePage'
175
+ :'render_to_single_page' => :'RenderToSinglePage',
176
+ :'remove_java_script' => :'RemoveJavaScript'
173
177
  }
174
178
  end
175
179
 
@@ -209,7 +213,8 @@ module GroupDocsViewerCloud
209
213
  :'image_width' => :'Integer',
210
214
  :'image_max_height' => :'Integer',
211
215
  :'image_max_width' => :'Integer',
212
- :'render_to_single_page' => :'BOOLEAN'
216
+ :'render_to_single_page' => :'BOOLEAN',
217
+ :'remove_java_script' => :'BOOLEAN'
213
218
  }
214
219
  end
215
220
 
@@ -363,6 +368,10 @@ module GroupDocsViewerCloud
363
368
  self.render_to_single_page = attributes[:'RenderToSinglePage']
364
369
  end
365
370
 
371
+ if attributes.key?(:'RemoveJavaScript')
372
+ self.remove_java_script = attributes[:'RemoveJavaScript']
373
+ end
374
+
366
375
  end
367
376
 
368
377
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -429,6 +438,10 @@ module GroupDocsViewerCloud
429
438
  invalid_properties.push("invalid value for 'render_to_single_page', render_to_single_page cannot be nil.")
430
439
  end
431
440
 
441
+ if @remove_java_script.nil?
442
+ invalid_properties.push("invalid value for 'remove_java_script', remove_java_script cannot be nil.")
443
+ end
444
+
432
445
  return invalid_properties
433
446
  end
434
447
 
@@ -450,6 +463,7 @@ module GroupDocsViewerCloud
450
463
  return false if @image_max_height.nil?
451
464
  return false if @image_max_width.nil?
452
465
  return false if @render_to_single_page.nil?
466
+ return false if @remove_java_script.nil?
453
467
  return true
454
468
  end
455
469
 
@@ -491,7 +505,8 @@ module GroupDocsViewerCloud
491
505
  image_width == other.image_width &&
492
506
  image_max_height == other.image_max_height &&
493
507
  image_max_width == other.image_max_width &&
494
- render_to_single_page == other.render_to_single_page
508
+ render_to_single_page == other.render_to_single_page &&
509
+ remove_java_script == other.remove_java_script
495
510
  end
496
511
 
497
512
  # @see the `==` method
@@ -503,7 +518,7 @@ module GroupDocsViewerCloud
503
518
  # Calculates hash code according to all attributes.
504
519
  # @return [Fixnum] Hash code
505
520
  def hash
506
- [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, detect_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, web_document_options, external_resources, resource_path, is_responsive, minify, exclude_fonts, fonts_to_exclude, for_printing, image_height, image_width, image_max_height, image_max_width, render_to_single_page].hash
521
+ [start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, detect_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, web_document_options, external_resources, resource_path, is_responsive, minify, exclude_fonts, fonts_to_exclude, for_printing, image_height, image_width, image_max_height, image_max_width, render_to_single_page, remove_java_script].hash
507
522
  end
508
523
 
509
524
  # Downcases first letter.