groupdocs_viewer_cloud 24.12 → 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.
- checksums.yaml +4 -4
- data/lib/groupdocs_viewer_cloud/api/file_api.rb +6 -6
- data/lib/groupdocs_viewer_cloud/api/folder_api.rb +6 -6
- data/lib/groupdocs_viewer_cloud/api/info_api.rb +2 -2
- data/lib/groupdocs_viewer_cloud/api/license_api.rb +1 -1
- data/lib/groupdocs_viewer_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_viewer_cloud/api/view_api.rb +4 -4
- data/lib/groupdocs_viewer_cloud/api_client.rb +1 -1
- data/lib/groupdocs_viewer_cloud/api_client_error.rb +1 -1
- data/lib/groupdocs_viewer_cloud/configuration.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/api_error.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/api_error_response.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/archive_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/archive_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/attachment_view.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/cad_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/cad_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/character.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/consumption_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/delete_view_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/email_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/error.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/field_label.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/format.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/formats_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/html_options.rb +20 -5
- data/lib/groupdocs_viewer_cloud/models/html_resource.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/image_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/info_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/layer.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/layout.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/line.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/mail_storage_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/outlook_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/outlook_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_rotation.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_view.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_document_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_optimization_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/project_management_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/project_management_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/render_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/resource.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/spreadsheet_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/text_element.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/text_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/tile.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/view_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/view_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/visio_rendering_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/watermark.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/web_document_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/word.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/word_processing_options.rb +102 -5
- data/lib/groupdocs_viewer_cloud/version.rb +2 -2
- data/lib/groupdocs_viewer_cloud.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e9ec3fb4f2945ad23cb83f16a645d44ee456259af19dcbdc6af18dbdeb54efd
|
4
|
+
data.tar.gz: 77c67d4f79ad01d54c3dced787dd0df922079e627b3e688f8c2372bf76bd1981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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_view_info.rb">
|
4
|
-
# Copyright (c)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="html_resource.rb">
|
4
|
-
# Copyright (c)
|
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="image_options.rb">
|
4
|
-
# Copyright (c)
|
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="info_result.rb">
|
4
|
-
# Copyright (c)
|
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="layer.rb">
|
4
|
-
# Copyright (c)
|
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="layout.rb">
|
4
|
-
# Copyright (c)
|
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="line.rb">
|
4
|
-
# Copyright (c)
|
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="mail_storage_options.rb">
|
4
|
-
# Copyright (c)
|
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="object_exist.rb">
|
4
|
-
# Copyright (c)
|
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="outlook_options.rb">
|
4
|
-
# Copyright (c)
|
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="outlook_view_info.rb">
|
4
|
-
# Copyright (c)
|
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="page_info.rb">
|
4
|
-
# Copyright (c)
|
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="page_rotation.rb">
|
4
|
-
# Copyright (c)
|
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="page_view.rb">
|
4
|
-
# Copyright (c)
|
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="pdf_document_options.rb">
|
4
|
-
# Copyright (c)
|
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="pdf_optimization_options.rb">
|
4
|
-
# Copyright (c)
|
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="pdf_options.rb">
|
4
|
-
# Copyright (c)
|
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="pdf_view_info.rb">
|
4
|
-
# Copyright (c)
|
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="project_management_options.rb">
|
4
|
-
# Copyright (c)
|
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="project_management_view_info.rb">
|
4
|
-
# Copyright (c)
|
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="render_options.rb">
|
4
|
-
# Copyright (c)
|
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="resource.rb">
|
4
|
-
# Copyright (c)
|
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="spreadsheet_options.rb">
|
4
|
-
# Copyright (c)
|
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="storage_exist.rb">
|
4
|
-
# Copyright (c)
|
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="storage_file.rb">
|
4
|
-
# Copyright (c)
|
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="text_element.rb">
|
4
|
-
# Copyright (c)
|
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="text_options.rb">
|
4
|
-
# Copyright (c)
|
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="tile.rb">
|
4
|
-
# Copyright (c)
|
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="view_options.rb">
|
4
|
-
# Copyright (c)
|
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="view_result.rb">
|
4
|
-
# Copyright (c)
|
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="visio_rendering_options.rb">
|
4
|
-
# Copyright (c)
|
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="watermark.rb">
|
4
|
-
# Copyright (c)
|
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="web_document_options.rb">
|
4
|
-
# Copyright (c)
|
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="word.rb">
|
4
|
-
# Copyright (c)
|
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="word_processing_options.rb">
|
4
|
-
# Copyright (c)
|
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
|
@@ -46,6 +46,39 @@ module GroupDocsViewerCloud
|
|
46
46
|
# Bottom page margin (for HTML rendering only)
|
47
47
|
attr_accessor :bottom_margin
|
48
48
|
|
49
|
+
# The size of the page.
|
50
|
+
attr_accessor :page_size
|
51
|
+
|
52
|
+
# This option enables kerning and other OpenType Features when rendering Arabic, Hebrew, Indian Latin-based, or Cyrillic-based scripts.
|
53
|
+
attr_accessor :enable_open_type_features
|
54
|
+
|
55
|
+
# When rendering to HTML or PDF, you can set this option to `true` to disable navigation from the table of contents. For HTML rendering, `a` tags with relative links will be replaced with `span` tags, removing functionality but preserving visual appearance. For PDF rendering, the table of contents will be rendered as plain text without links to document sections.
|
56
|
+
attr_accessor :unlink_table_of_contents
|
57
|
+
|
58
|
+
# Determines if fields of certain types should be updated before saving the input WordProcessing document to the HTML, PDF, PNG, or JPEG output formats. Default value for this property is true — fields will be updated before saving.
|
59
|
+
attr_accessor :update_fields
|
60
|
+
class EnumAttributeValidator
|
61
|
+
attr_reader :datatype
|
62
|
+
attr_reader :allowable_values
|
63
|
+
|
64
|
+
def initialize(datatype, allowable_values)
|
65
|
+
@allowable_values = allowable_values.map do |value|
|
66
|
+
case datatype.to_s
|
67
|
+
when /Integer/i
|
68
|
+
value.to_i
|
69
|
+
when /Float/i
|
70
|
+
value.to_f
|
71
|
+
else
|
72
|
+
value
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
def valid?(value)
|
78
|
+
!value || allowable_values.include?(value)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
49
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
50
83
|
def self.attribute_map
|
51
84
|
{
|
@@ -53,7 +86,11 @@ module GroupDocsViewerCloud
|
|
53
86
|
:'left_margin' => :'LeftMargin',
|
54
87
|
:'right_margin' => :'RightMargin',
|
55
88
|
:'top_margin' => :'TopMargin',
|
56
|
-
:'bottom_margin' => :'BottomMargin'
|
89
|
+
:'bottom_margin' => :'BottomMargin',
|
90
|
+
:'page_size' => :'PageSize',
|
91
|
+
:'enable_open_type_features' => :'EnableOpenTypeFeatures',
|
92
|
+
:'unlink_table_of_contents' => :'UnlinkTableOfContents',
|
93
|
+
:'update_fields' => :'UpdateFields'
|
57
94
|
}
|
58
95
|
end
|
59
96
|
|
@@ -64,7 +101,11 @@ module GroupDocsViewerCloud
|
|
64
101
|
:'left_margin' => :'Float',
|
65
102
|
:'right_margin' => :'Float',
|
66
103
|
:'top_margin' => :'Float',
|
67
|
-
:'bottom_margin' => :'Float'
|
104
|
+
:'bottom_margin' => :'Float',
|
105
|
+
:'page_size' => :'String',
|
106
|
+
:'enable_open_type_features' => :'BOOLEAN',
|
107
|
+
:'unlink_table_of_contents' => :'BOOLEAN',
|
108
|
+
:'update_fields' => :'BOOLEAN'
|
68
109
|
}
|
69
110
|
end
|
70
111
|
|
@@ -96,6 +137,22 @@ module GroupDocsViewerCloud
|
|
96
137
|
self.bottom_margin = attributes[:'BottomMargin']
|
97
138
|
end
|
98
139
|
|
140
|
+
if attributes.key?(:'PageSize')
|
141
|
+
self.page_size = attributes[:'PageSize']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'EnableOpenTypeFeatures')
|
145
|
+
self.enable_open_type_features = attributes[:'EnableOpenTypeFeatures']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'UnlinkTableOfContents')
|
149
|
+
self.unlink_table_of_contents = attributes[:'UnlinkTableOfContents']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'UpdateFields')
|
153
|
+
self.update_fields = attributes[:'UpdateFields']
|
154
|
+
end
|
155
|
+
|
99
156
|
end
|
100
157
|
|
101
158
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -122,6 +179,22 @@ module GroupDocsViewerCloud
|
|
122
179
|
invalid_properties.push("invalid value for 'bottom_margin', bottom_margin cannot be nil.")
|
123
180
|
end
|
124
181
|
|
182
|
+
if @page_size.nil?
|
183
|
+
invalid_properties.push("invalid value for 'page_size', page_size cannot be nil.")
|
184
|
+
end
|
185
|
+
|
186
|
+
if @enable_open_type_features.nil?
|
187
|
+
invalid_properties.push("invalid value for 'enable_open_type_features', enable_open_type_features cannot be nil.")
|
188
|
+
end
|
189
|
+
|
190
|
+
if @unlink_table_of_contents.nil?
|
191
|
+
invalid_properties.push("invalid value for 'unlink_table_of_contents', unlink_table_of_contents cannot be nil.")
|
192
|
+
end
|
193
|
+
|
194
|
+
if @update_fields.nil?
|
195
|
+
invalid_properties.push("invalid value for 'update_fields', update_fields cannot be nil.")
|
196
|
+
end
|
197
|
+
|
125
198
|
return invalid_properties
|
126
199
|
end
|
127
200
|
|
@@ -133,9 +206,29 @@ module GroupDocsViewerCloud
|
|
133
206
|
return false if @right_margin.nil?
|
134
207
|
return false if @top_margin.nil?
|
135
208
|
return false if @bottom_margin.nil?
|
209
|
+
return false if @page_size.nil?
|
210
|
+
page_size_validator = EnumAttributeValidator.new('String', ["Unspecified", "Letter", "Ledger", "A0", "A1", "A2", "A3", "A4"])
|
211
|
+
return false unless page_size_validator.valid?(@page_size)
|
212
|
+
return false if @enable_open_type_features.nil?
|
213
|
+
return false if @unlink_table_of_contents.nil?
|
214
|
+
return false if @update_fields.nil?
|
136
215
|
return true
|
137
216
|
end
|
138
217
|
|
218
|
+
# Custom attribute writer method checking allowed values (enum).
|
219
|
+
# @param [Object] page_size Object to be assigned
|
220
|
+
def page_size=(page_size)
|
221
|
+
validator = EnumAttributeValidator.new('String', ["Unspecified", "Letter", "Ledger", "A0", "A1", "A2", "A3", "A4"])
|
222
|
+
if page_size.to_i == 0
|
223
|
+
unless validator.valid?(page_size)
|
224
|
+
raise ArgumentError, "invalid value for 'page_size', must be one of #{validator.allowable_values}."
|
225
|
+
end
|
226
|
+
@page_size = page_size
|
227
|
+
else
|
228
|
+
@page_size = validator.allowable_values[page_size.to_i]
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
139
232
|
# Checks equality by comparing each attribute.
|
140
233
|
# @param [Object] Object to be compared
|
141
234
|
def ==(other)
|
@@ -145,7 +238,11 @@ module GroupDocsViewerCloud
|
|
145
238
|
left_margin == other.left_margin &&
|
146
239
|
right_margin == other.right_margin &&
|
147
240
|
top_margin == other.top_margin &&
|
148
|
-
bottom_margin == other.bottom_margin
|
241
|
+
bottom_margin == other.bottom_margin &&
|
242
|
+
page_size == other.page_size &&
|
243
|
+
enable_open_type_features == other.enable_open_type_features &&
|
244
|
+
unlink_table_of_contents == other.unlink_table_of_contents &&
|
245
|
+
update_fields == other.update_fields
|
149
246
|
end
|
150
247
|
|
151
248
|
# @see the `==` method
|
@@ -157,7 +254,7 @@ module GroupDocsViewerCloud
|
|
157
254
|
# Calculates hash code according to all attributes.
|
158
255
|
# @return [Fixnum] Hash code
|
159
256
|
def hash
|
160
|
-
[render_tracked_changes, left_margin, right_margin, top_margin, bottom_margin].hash
|
257
|
+
[render_tracked_changes, left_margin, right_margin, top_margin, bottom_margin, page_size, enable_open_type_features, unlink_table_of_contents, update_fields].hash
|
161
258
|
end
|
162
259
|
|
163
260
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="version.rb">
|
4
|
-
# Copyright (c)
|
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
|
@@ -25,5 +25,5 @@
|
|
25
25
|
# --------------------------------------------------------------------------------------------------------------------
|
26
26
|
#
|
27
27
|
module GroupDocsViewerCloud
|
28
|
-
VERSION = "
|
28
|
+
VERSION = "25.3".freeze
|
29
29
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# ------------------------------------------------------------------------------------
|
2
2
|
# <copyright company="Aspose Pty Ltd" file="groupdocs_viewer_cloud.rb">
|
3
|
-
# Copyright (c)
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groupdocs_viewer_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '
|
4
|
+
version: '25.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GroupDocs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|