groupdocs-conversion-cloud 25.4__py3-none-any.whl → 25.6__py3-none-any.whl

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.
@@ -46,59 +46,154 @@ class WordProcessingLoadOptions(LoadOptions):
46
46
  """
47
47
  swagger_types = {
48
48
  'default_font': 'str',
49
- 'auto_font_substitution': 'bool',
50
49
  'font_substitutes': 'dict(str, str)',
51
50
  'password': 'str',
52
51
  'hide_word_tracked_changes': 'bool',
53
- 'hide_comments': 'bool',
54
52
  'bookmarks_outline_level': 'int',
55
53
  'headings_outline_levels': 'int',
56
- 'expanded_outline_levels': 'int'
54
+ 'expanded_outline_levels': 'int',
55
+ 'clear_custom_document_properties': 'bool',
56
+ 'clear_built_in_document_properties': 'bool',
57
+ 'depth': 'int',
58
+ 'convert_owned': 'bool',
59
+ 'convert_owner': 'bool',
60
+ 'auto_hyphenation': 'bool',
61
+ 'hyphenate_caps': 'bool',
62
+ 'page_numbering': 'bool',
63
+ 'preserve_document_structure': 'bool',
64
+ 'skip_external_resources': 'bool',
65
+ 'use_text_shaper': 'bool',
66
+ 'preserve_form_fields': 'bool',
67
+ 'comment_display_mode': 'str',
68
+ 'keep_date_field_original_value': 'bool',
69
+ 'update_fields': 'bool',
70
+ 'update_page_layout': 'bool',
71
+ 'embed_true_type_fonts': 'bool',
72
+ 'font_info_substitution_enabled': 'bool',
73
+ 'font_config_substitution_enabled': 'bool',
74
+ 'font_name_substitution_enabled': 'bool',
75
+ 'show_full_commenter_name': 'bool'
57
76
  }
58
77
 
59
78
  attribute_map = {
60
79
  'default_font': 'DefaultFont',
61
- 'auto_font_substitution': 'AutoFontSubstitution',
62
80
  'font_substitutes': 'FontSubstitutes',
63
81
  'password': 'Password',
64
82
  'hide_word_tracked_changes': 'HideWordTrackedChanges',
65
- 'hide_comments': 'HideComments',
66
83
  'bookmarks_outline_level': 'BookmarksOutlineLevel',
67
84
  'headings_outline_levels': 'HeadingsOutlineLevels',
68
- 'expanded_outline_levels': 'ExpandedOutlineLevels'
85
+ 'expanded_outline_levels': 'ExpandedOutlineLevels',
86
+ 'clear_custom_document_properties': 'ClearCustomDocumentProperties',
87
+ 'clear_built_in_document_properties': 'ClearBuiltInDocumentProperties',
88
+ 'depth': 'Depth',
89
+ 'convert_owned': 'ConvertOwned',
90
+ 'convert_owner': 'ConvertOwner',
91
+ 'auto_hyphenation': 'AutoHyphenation',
92
+ 'hyphenate_caps': 'HyphenateCaps',
93
+ 'page_numbering': 'PageNumbering',
94
+ 'preserve_document_structure': 'PreserveDocumentStructure',
95
+ 'skip_external_resources': 'SkipExternalResources',
96
+ 'use_text_shaper': 'UseTextShaper',
97
+ 'preserve_form_fields': 'PreserveFormFields',
98
+ 'comment_display_mode': 'CommentDisplayMode',
99
+ 'keep_date_field_original_value': 'KeepDateFieldOriginalValue',
100
+ 'update_fields': 'UpdateFields',
101
+ 'update_page_layout': 'UpdatePageLayout',
102
+ 'embed_true_type_fonts': 'EmbedTrueTypeFonts',
103
+ 'font_info_substitution_enabled': 'FontInfoSubstitutionEnabled',
104
+ 'font_config_substitution_enabled': 'FontConfigSubstitutionEnabled',
105
+ 'font_name_substitution_enabled': 'FontNameSubstitutionEnabled',
106
+ 'show_full_commenter_name': 'ShowFullCommenterName'
69
107
  }
70
108
 
71
- def __init__(self, default_font=None, auto_font_substitution=None, font_substitutes=None, password=None, hide_word_tracked_changes=None, hide_comments=None, bookmarks_outline_level=None, headings_outline_levels=None, expanded_outline_levels=None, **kwargs): # noqa: E501
109
+ def __init__(self, default_font=None, font_substitutes=None, password=None, hide_word_tracked_changes=None, bookmarks_outline_level=None, headings_outline_levels=None, expanded_outline_levels=None, clear_custom_document_properties=None, clear_built_in_document_properties=None, depth=None, convert_owned=None, convert_owner=None, auto_hyphenation=None, hyphenate_caps=None, page_numbering=None, preserve_document_structure=None, skip_external_resources=None, use_text_shaper=None, preserve_form_fields=None, comment_display_mode=None, keep_date_field_original_value=None, update_fields=None, update_page_layout=None, embed_true_type_fonts=None, font_info_substitution_enabled=None, font_config_substitution_enabled=None, font_name_substitution_enabled=None, show_full_commenter_name=None, **kwargs): # noqa: E501
72
110
  """Initializes new instance of WordProcessingLoadOptions""" # noqa: E501
73
111
 
74
112
  self._default_font = None
75
- self._auto_font_substitution = None
76
113
  self._font_substitutes = None
77
114
  self._password = None
78
115
  self._hide_word_tracked_changes = None
79
- self._hide_comments = None
80
116
  self._bookmarks_outline_level = None
81
117
  self._headings_outline_levels = None
82
118
  self._expanded_outline_levels = None
119
+ self._clear_custom_document_properties = None
120
+ self._clear_built_in_document_properties = None
121
+ self._depth = None
122
+ self._convert_owned = None
123
+ self._convert_owner = None
124
+ self._auto_hyphenation = None
125
+ self._hyphenate_caps = None
126
+ self._page_numbering = None
127
+ self._preserve_document_structure = None
128
+ self._skip_external_resources = None
129
+ self._use_text_shaper = None
130
+ self._preserve_form_fields = None
131
+ self._comment_display_mode = None
132
+ self._keep_date_field_original_value = None
133
+ self._update_fields = None
134
+ self._update_page_layout = None
135
+ self._embed_true_type_fonts = None
136
+ self._font_info_substitution_enabled = None
137
+ self._font_config_substitution_enabled = None
138
+ self._font_name_substitution_enabled = None
139
+ self._show_full_commenter_name = None
83
140
 
84
141
  if default_font is not None:
85
142
  self.default_font = default_font
86
- if auto_font_substitution is not None:
87
- self.auto_font_substitution = auto_font_substitution
88
143
  if font_substitutes is not None:
89
144
  self.font_substitutes = font_substitutes
90
145
  if password is not None:
91
146
  self.password = password
92
147
  if hide_word_tracked_changes is not None:
93
148
  self.hide_word_tracked_changes = hide_word_tracked_changes
94
- if hide_comments is not None:
95
- self.hide_comments = hide_comments
96
149
  if bookmarks_outline_level is not None:
97
150
  self.bookmarks_outline_level = bookmarks_outline_level
98
151
  if headings_outline_levels is not None:
99
152
  self.headings_outline_levels = headings_outline_levels
100
153
  if expanded_outline_levels is not None:
101
154
  self.expanded_outline_levels = expanded_outline_levels
155
+ if clear_custom_document_properties is not None:
156
+ self.clear_custom_document_properties = clear_custom_document_properties
157
+ if clear_built_in_document_properties is not None:
158
+ self.clear_built_in_document_properties = clear_built_in_document_properties
159
+ if depth is not None:
160
+ self.depth = depth
161
+ if convert_owned is not None:
162
+ self.convert_owned = convert_owned
163
+ if convert_owner is not None:
164
+ self.convert_owner = convert_owner
165
+ if auto_hyphenation is not None:
166
+ self.auto_hyphenation = auto_hyphenation
167
+ if hyphenate_caps is not None:
168
+ self.hyphenate_caps = hyphenate_caps
169
+ if page_numbering is not None:
170
+ self.page_numbering = page_numbering
171
+ if preserve_document_structure is not None:
172
+ self.preserve_document_structure = preserve_document_structure
173
+ if skip_external_resources is not None:
174
+ self.skip_external_resources = skip_external_resources
175
+ if use_text_shaper is not None:
176
+ self.use_text_shaper = use_text_shaper
177
+ if preserve_form_fields is not None:
178
+ self.preserve_form_fields = preserve_form_fields
179
+ if comment_display_mode is not None:
180
+ self.comment_display_mode = comment_display_mode
181
+ if keep_date_field_original_value is not None:
182
+ self.keep_date_field_original_value = keep_date_field_original_value
183
+ if update_fields is not None:
184
+ self.update_fields = update_fields
185
+ if update_page_layout is not None:
186
+ self.update_page_layout = update_page_layout
187
+ if embed_true_type_fonts is not None:
188
+ self.embed_true_type_fonts = embed_true_type_fonts
189
+ if font_info_substitution_enabled is not None:
190
+ self.font_info_substitution_enabled = font_info_substitution_enabled
191
+ if font_config_substitution_enabled is not None:
192
+ self.font_config_substitution_enabled = font_config_substitution_enabled
193
+ if font_name_substitution_enabled is not None:
194
+ self.font_name_substitution_enabled = font_name_substitution_enabled
195
+ if show_full_commenter_name is not None:
196
+ self.show_full_commenter_name = show_full_commenter_name
102
197
 
103
198
  base = super(WordProcessingLoadOptions, self)
104
199
  base.__init__(**kwargs)
@@ -130,32 +225,6 @@ class WordProcessingLoadOptions(LoadOptions):
130
225
  """
131
226
  self._default_font = default_font
132
227
 
133
- @property
134
- def auto_font_substitution(self):
135
- """
136
- Gets the auto_font_substitution. # noqa: E501
137
-
138
- If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. # noqa: E501
139
-
140
- :return: The auto_font_substitution. # noqa: E501
141
- :rtype: bool
142
- """
143
- return self._auto_font_substitution
144
-
145
- @auto_font_substitution.setter
146
- def auto_font_substitution(self, auto_font_substitution):
147
- """
148
- Sets the auto_font_substitution.
149
-
150
- If AutoFontSubstitution is disabled, GroupDocs.Conversion uses the DefaultFont for the substitution of missing fonts. If AutoFontSubstitution is enabled, GroupDocs.Conversion evaluates all the related fields in FontInfo (Panose, Sig etc) for the missing font and finds the closest match among the available font sources. Note that font substitution mechanism will override the DefaultFont in cases when FontInfo for the missing font is available in the document. The default value is True. # noqa: E501
151
-
152
- :param auto_font_substitution: The auto_font_substitution. # noqa: E501
153
- :type: bool
154
- """
155
- if auto_font_substitution is None:
156
- raise ValueError("Invalid value for `auto_font_substitution`, must not be `None`") # noqa: E501
157
- self._auto_font_substitution = auto_font_substitution
158
-
159
228
  @property
160
229
  def font_substitutes(self):
161
230
  """
@@ -230,32 +299,6 @@ class WordProcessingLoadOptions(LoadOptions):
230
299
  raise ValueError("Invalid value for `hide_word_tracked_changes`, must not be `None`") # noqa: E501
231
300
  self._hide_word_tracked_changes = hide_word_tracked_changes
232
301
 
233
- @property
234
- def hide_comments(self):
235
- """
236
- Gets the hide_comments. # noqa: E501
237
-
238
- Hide comments # noqa: E501
239
-
240
- :return: The hide_comments. # noqa: E501
241
- :rtype: bool
242
- """
243
- return self._hide_comments
244
-
245
- @hide_comments.setter
246
- def hide_comments(self, hide_comments):
247
- """
248
- Sets the hide_comments.
249
-
250
- Hide comments # noqa: E501
251
-
252
- :param hide_comments: The hide_comments. # noqa: E501
253
- :type: bool
254
- """
255
- if hide_comments is None:
256
- raise ValueError("Invalid value for `hide_comments`, must not be `None`") # noqa: E501
257
- self._hide_comments = hide_comments
258
-
259
302
  @property
260
303
  def bookmarks_outline_level(self):
261
304
  """
@@ -333,6 +376,560 @@ class WordProcessingLoadOptions(LoadOptions):
333
376
  if expanded_outline_levels is None:
334
377
  raise ValueError("Invalid value for `expanded_outline_levels`, must not be `None`") # noqa: E501
335
378
  self._expanded_outline_levels = expanded_outline_levels
379
+
380
+ @property
381
+ def clear_custom_document_properties(self):
382
+ """
383
+ Gets the clear_custom_document_properties. # noqa: E501
384
+
385
+ Clear custom document properties. Default is false. # noqa: E501
386
+
387
+ :return: The clear_custom_document_properties. # noqa: E501
388
+ :rtype: bool
389
+ """
390
+ return self._clear_custom_document_properties
391
+
392
+ @clear_custom_document_properties.setter
393
+ def clear_custom_document_properties(self, clear_custom_document_properties):
394
+ """
395
+ Sets the clear_custom_document_properties.
396
+
397
+ Clear custom document properties. Default is false. # noqa: E501
398
+
399
+ :param clear_custom_document_properties: The clear_custom_document_properties. # noqa: E501
400
+ :type: bool
401
+ """
402
+ if clear_custom_document_properties is None:
403
+ raise ValueError("Invalid value for `clear_custom_document_properties`, must not be `None`") # noqa: E501
404
+ self._clear_custom_document_properties = clear_custom_document_properties
405
+
406
+ @property
407
+ def clear_built_in_document_properties(self):
408
+ """
409
+ Gets the clear_built_in_document_properties. # noqa: E501
410
+
411
+ Clear built-in document properties. Default is false. # noqa: E501
412
+
413
+ :return: The clear_built_in_document_properties. # noqa: E501
414
+ :rtype: bool
415
+ """
416
+ return self._clear_built_in_document_properties
417
+
418
+ @clear_built_in_document_properties.setter
419
+ def clear_built_in_document_properties(self, clear_built_in_document_properties):
420
+ """
421
+ Sets the clear_built_in_document_properties.
422
+
423
+ Clear built-in document properties. Default is false. # noqa: E501
424
+
425
+ :param clear_built_in_document_properties: The clear_built_in_document_properties. # noqa: E501
426
+ :type: bool
427
+ """
428
+ if clear_built_in_document_properties is None:
429
+ raise ValueError("Invalid value for `clear_built_in_document_properties`, must not be `None`") # noqa: E501
430
+ self._clear_built_in_document_properties = clear_built_in_document_properties
431
+
432
+ @property
433
+ def depth(self):
434
+ """
435
+ Gets the depth. # noqa: E501
436
+
437
+ Option to control how many levels in depth to perform conversion. Default: 1. # noqa: E501
438
+
439
+ :return: The depth. # noqa: E501
440
+ :rtype: int
441
+ """
442
+ return self._depth
443
+
444
+ @depth.setter
445
+ def depth(self, depth):
446
+ """
447
+ Sets the depth.
448
+
449
+ Option to control how many levels in depth to perform conversion. Default: 1. # noqa: E501
450
+
451
+ :param depth: The depth. # noqa: E501
452
+ :type: int
453
+ """
454
+ if depth is None:
455
+ raise ValueError("Invalid value for `depth`, must not be `None`") # noqa: E501
456
+ self._depth = depth
457
+
458
+ @property
459
+ def convert_owned(self):
460
+ """
461
+ Gets the convert_owned. # noqa: E501
462
+
463
+ Option to control whether the owned documents in the documents container must be converted # noqa: E501
464
+
465
+ :return: The convert_owned. # noqa: E501
466
+ :rtype: bool
467
+ """
468
+ return self._convert_owned
469
+
470
+ @convert_owned.setter
471
+ def convert_owned(self, convert_owned):
472
+ """
473
+ Sets the convert_owned.
474
+
475
+ Option to control whether the owned documents in the documents container must be converted # noqa: E501
476
+
477
+ :param convert_owned: The convert_owned. # noqa: E501
478
+ :type: bool
479
+ """
480
+ if convert_owned is None:
481
+ raise ValueError("Invalid value for `convert_owned`, must not be `None`") # noqa: E501
482
+ self._convert_owned = convert_owned
483
+
484
+ @property
485
+ def convert_owner(self):
486
+ """
487
+ Gets the convert_owner. # noqa: E501
488
+
489
+ Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document. Default is true. # noqa: E501
490
+
491
+ :return: The convert_owner. # noqa: E501
492
+ :rtype: bool
493
+ """
494
+ return self._convert_owner
495
+
496
+ @convert_owner.setter
497
+ def convert_owner(self, convert_owner):
498
+ """
499
+ Sets the convert_owner.
500
+
501
+ Option to control whether the documents container itself must be converted If this property is true the documents container will be the first converted document. Default is true. # noqa: E501
502
+
503
+ :param convert_owner: The convert_owner. # noqa: E501
504
+ :type: bool
505
+ """
506
+ if convert_owner is None:
507
+ raise ValueError("Invalid value for `convert_owner`, must not be `None`") # noqa: E501
508
+ self._convert_owner = convert_owner
509
+
510
+ @property
511
+ def auto_hyphenation(self):
512
+ """
513
+ Gets the auto_hyphenation. # noqa: E501
514
+
515
+ Gets or sets value determining whether automatic hyphenation is turned on for the document. Default value for this property is false. # noqa: E501
516
+
517
+ :return: The auto_hyphenation. # noqa: E501
518
+ :rtype: bool
519
+ """
520
+ return self._auto_hyphenation
521
+
522
+ @auto_hyphenation.setter
523
+ def auto_hyphenation(self, auto_hyphenation):
524
+ """
525
+ Sets the auto_hyphenation.
526
+
527
+ Gets or sets value determining whether automatic hyphenation is turned on for the document. Default value for this property is false. # noqa: E501
528
+
529
+ :param auto_hyphenation: The auto_hyphenation. # noqa: E501
530
+ :type: bool
531
+ """
532
+ if auto_hyphenation is None:
533
+ raise ValueError("Invalid value for `auto_hyphenation`, must not be `None`") # noqa: E501
534
+ self._auto_hyphenation = auto_hyphenation
535
+
536
+ @property
537
+ def hyphenate_caps(self):
538
+ """
539
+ Gets the hyphenate_caps. # noqa: E501
540
+
541
+ Gets or sets value determining whether words written in all capital letters are hyphenated. Default value for this property is true. # noqa: E501
542
+
543
+ :return: The hyphenate_caps. # noqa: E501
544
+ :rtype: bool
545
+ """
546
+ return self._hyphenate_caps
547
+
548
+ @hyphenate_caps.setter
549
+ def hyphenate_caps(self, hyphenate_caps):
550
+ """
551
+ Sets the hyphenate_caps.
552
+
553
+ Gets or sets value determining whether words written in all capital letters are hyphenated. Default value for this property is true. # noqa: E501
554
+
555
+ :param hyphenate_caps: The hyphenate_caps. # noqa: E501
556
+ :type: bool
557
+ """
558
+ if hyphenate_caps is None:
559
+ raise ValueError("Invalid value for `hyphenate_caps`, must not be `None`") # noqa: E501
560
+ self._hyphenate_caps = hyphenate_caps
561
+
562
+ @property
563
+ def page_numbering(self):
564
+ """
565
+ Gets the page_numbering. # noqa: E501
566
+
567
+ Enable or disable generation of page numbering in converted document. Default: false # noqa: E501
568
+
569
+ :return: The page_numbering. # noqa: E501
570
+ :rtype: bool
571
+ """
572
+ return self._page_numbering
573
+
574
+ @page_numbering.setter
575
+ def page_numbering(self, page_numbering):
576
+ """
577
+ Sets the page_numbering.
578
+
579
+ Enable or disable generation of page numbering in converted document. Default: false # noqa: E501
580
+
581
+ :param page_numbering: The page_numbering. # noqa: E501
582
+ :type: bool
583
+ """
584
+ if page_numbering is None:
585
+ raise ValueError("Invalid value for `page_numbering`, must not be `None`") # noqa: E501
586
+ self._page_numbering = page_numbering
587
+
588
+ @property
589
+ def preserve_document_structure(self):
590
+ """
591
+ Gets the preserve_document_structure. # noqa: E501
592
+
593
+ Determines whether the document structure should be preserved when converting to PDF (default is false). # noqa: E501
594
+
595
+ :return: The preserve_document_structure. # noqa: E501
596
+ :rtype: bool
597
+ """
598
+ return self._preserve_document_structure
599
+
600
+ @preserve_document_structure.setter
601
+ def preserve_document_structure(self, preserve_document_structure):
602
+ """
603
+ Sets the preserve_document_structure.
604
+
605
+ Determines whether the document structure should be preserved when converting to PDF (default is false). # noqa: E501
606
+
607
+ :param preserve_document_structure: The preserve_document_structure. # noqa: E501
608
+ :type: bool
609
+ """
610
+ if preserve_document_structure is None:
611
+ raise ValueError("Invalid value for `preserve_document_structure`, must not be `None`") # noqa: E501
612
+ self._preserve_document_structure = preserve_document_structure
613
+
614
+ @property
615
+ def skip_external_resources(self):
616
+ """
617
+ Gets the skip_external_resources. # noqa: E501
618
+
619
+ If true all external resource will not be loading. Default is true. # noqa: E501
620
+
621
+ :return: The skip_external_resources. # noqa: E501
622
+ :rtype: bool
623
+ """
624
+ return self._skip_external_resources
625
+
626
+ @skip_external_resources.setter
627
+ def skip_external_resources(self, skip_external_resources):
628
+ """
629
+ Sets the skip_external_resources.
630
+
631
+ If true all external resource will not be loading. Default is true. # noqa: E501
632
+
633
+ :param skip_external_resources: The skip_external_resources. # noqa: E501
634
+ :type: bool
635
+ """
636
+ if skip_external_resources is None:
637
+ raise ValueError("Invalid value for `skip_external_resources`, must not be `None`") # noqa: E501
638
+ self._skip_external_resources = skip_external_resources
639
+
640
+ @property
641
+ def use_text_shaper(self):
642
+ """
643
+ Gets the use_text_shaper. # noqa: E501
644
+
645
+ Specifies whether to use a text shaper for better kerning display. Default is false. # noqa: E501
646
+
647
+ :return: The use_text_shaper. # noqa: E501
648
+ :rtype: bool
649
+ """
650
+ return self._use_text_shaper
651
+
652
+ @use_text_shaper.setter
653
+ def use_text_shaper(self, use_text_shaper):
654
+ """
655
+ Sets the use_text_shaper.
656
+
657
+ Specifies whether to use a text shaper for better kerning display. Default is false. # noqa: E501
658
+
659
+ :param use_text_shaper: The use_text_shaper. # noqa: E501
660
+ :type: bool
661
+ """
662
+ if use_text_shaper is None:
663
+ raise ValueError("Invalid value for `use_text_shaper`, must not be `None`") # noqa: E501
664
+ self._use_text_shaper = use_text_shaper
665
+
666
+ @property
667
+ def preserve_form_fields(self):
668
+ """
669
+ Gets the preserve_form_fields. # noqa: E501
670
+
671
+ Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. # noqa: E501
672
+
673
+ :return: The preserve_form_fields. # noqa: E501
674
+ :rtype: bool
675
+ """
676
+ return self._preserve_form_fields
677
+
678
+ @preserve_form_fields.setter
679
+ def preserve_form_fields(self, preserve_form_fields):
680
+ """
681
+ Sets the preserve_form_fields.
682
+
683
+ Specifies whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text. Default is false. # noqa: E501
684
+
685
+ :param preserve_form_fields: The preserve_form_fields. # noqa: E501
686
+ :type: bool
687
+ """
688
+ if preserve_form_fields is None:
689
+ raise ValueError("Invalid value for `preserve_form_fields`, must not be `None`") # noqa: E501
690
+ self._preserve_form_fields = preserve_form_fields
691
+
692
+ @property
693
+ def comment_display_mode(self):
694
+ """
695
+ Gets the comment_display_mode. # noqa: E501
696
+
697
+ Specifies how comments should be displayed in the output document. Default is Balloon. # noqa: E501
698
+
699
+ :return: The comment_display_mode. # noqa: E501
700
+ :rtype: str
701
+ """
702
+ return self._comment_display_mode
703
+
704
+ @comment_display_mode.setter
705
+ def comment_display_mode(self, comment_display_mode):
706
+ """
707
+ Sets the comment_display_mode.
708
+
709
+ Specifies how comments should be displayed in the output document. Default is Balloon. # noqa: E501
710
+
711
+ :param comment_display_mode: The comment_display_mode. # noqa: E501
712
+ :type: str
713
+ """
714
+ if comment_display_mode is None:
715
+ raise ValueError("Invalid value for `comment_display_mode`, must not be `None`") # noqa: E501
716
+ allowed_values = ["Hidden", "Balloon", "Annotation"] # noqa: E501
717
+ if not comment_display_mode.isdigit():
718
+ if comment_display_mode not in allowed_values:
719
+ raise ValueError(
720
+ "Invalid value for `comment_display_mode` ({0}), must be one of {1}" # noqa: E501
721
+ .format(comment_display_mode, allowed_values))
722
+ self._comment_display_mode = comment_display_mode
723
+ else:
724
+ self._comment_display_mode = allowed_values[int(comment_display_mode) if six.PY3 else long(comment_display_mode)]
725
+
726
+ @property
727
+ def keep_date_field_original_value(self):
728
+ """
729
+ Gets the keep_date_field_original_value. # noqa: E501
730
+
731
+ Keep original value of date field. Default: false # noqa: E501
732
+
733
+ :return: The keep_date_field_original_value. # noqa: E501
734
+ :rtype: bool
735
+ """
736
+ return self._keep_date_field_original_value
737
+
738
+ @keep_date_field_original_value.setter
739
+ def keep_date_field_original_value(self, keep_date_field_original_value):
740
+ """
741
+ Sets the keep_date_field_original_value.
742
+
743
+ Keep original value of date field. Default: false # noqa: E501
744
+
745
+ :param keep_date_field_original_value: The keep_date_field_original_value. # noqa: E501
746
+ :type: bool
747
+ """
748
+ if keep_date_field_original_value is None:
749
+ raise ValueError("Invalid value for `keep_date_field_original_value`, must not be `None`") # noqa: E501
750
+ self._keep_date_field_original_value = keep_date_field_original_value
751
+
752
+ @property
753
+ def update_fields(self):
754
+ """
755
+ Gets the update_fields. # noqa: E501
756
+
757
+ Update fields after loading. Default: false # noqa: E501
758
+
759
+ :return: The update_fields. # noqa: E501
760
+ :rtype: bool
761
+ """
762
+ return self._update_fields
763
+
764
+ @update_fields.setter
765
+ def update_fields(self, update_fields):
766
+ """
767
+ Sets the update_fields.
768
+
769
+ Update fields after loading. Default: false # noqa: E501
770
+
771
+ :param update_fields: The update_fields. # noqa: E501
772
+ :type: bool
773
+ """
774
+ if update_fields is None:
775
+ raise ValueError("Invalid value for `update_fields`, must not be `None`") # noqa: E501
776
+ self._update_fields = update_fields
777
+
778
+ @property
779
+ def update_page_layout(self):
780
+ """
781
+ Gets the update_page_layout. # noqa: E501
782
+
783
+ Update page layout after loading. Default: false # noqa: E501
784
+
785
+ :return: The update_page_layout. # noqa: E501
786
+ :rtype: bool
787
+ """
788
+ return self._update_page_layout
789
+
790
+ @update_page_layout.setter
791
+ def update_page_layout(self, update_page_layout):
792
+ """
793
+ Sets the update_page_layout.
794
+
795
+ Update page layout after loading. Default: false # noqa: E501
796
+
797
+ :param update_page_layout: The update_page_layout. # noqa: E501
798
+ :type: bool
799
+ """
800
+ if update_page_layout is None:
801
+ raise ValueError("Invalid value for `update_page_layout`, must not be `None`") # noqa: E501
802
+ self._update_page_layout = update_page_layout
803
+
804
+ @property
805
+ def embed_true_type_fonts(self):
806
+ """
807
+ Gets the embed_true_type_fonts. # noqa: E501
808
+
809
+ If EmbedTrueTypeFonts is true, GroupDocs.Conversion Cloud embed true type fonts in the output document. Default: true # noqa: E501
810
+
811
+ :return: The embed_true_type_fonts. # noqa: E501
812
+ :rtype: bool
813
+ """
814
+ return self._embed_true_type_fonts
815
+
816
+ @embed_true_type_fonts.setter
817
+ def embed_true_type_fonts(self, embed_true_type_fonts):
818
+ """
819
+ Sets the embed_true_type_fonts.
820
+
821
+ If EmbedTrueTypeFonts is true, GroupDocs.Conversion Cloud embed true type fonts in the output document. Default: true # noqa: E501
822
+
823
+ :param embed_true_type_fonts: The embed_true_type_fonts. # noqa: E501
824
+ :type: bool
825
+ """
826
+ if embed_true_type_fonts is None:
827
+ raise ValueError("Invalid value for `embed_true_type_fonts`, must not be `None`") # noqa: E501
828
+ self._embed_true_type_fonts = embed_true_type_fonts
829
+
830
+ @property
831
+ def font_info_substitution_enabled(self):
832
+ """
833
+ Gets the font_info_substitution_enabled. # noqa: E501
834
+
835
+ Automatically substitutes missing fonts based on FontInfo in the document. Default: false. # noqa: E501
836
+
837
+ :return: The font_info_substitution_enabled. # noqa: E501
838
+ :rtype: bool
839
+ """
840
+ return self._font_info_substitution_enabled
841
+
842
+ @font_info_substitution_enabled.setter
843
+ def font_info_substitution_enabled(self, font_info_substitution_enabled):
844
+ """
845
+ Sets the font_info_substitution_enabled.
846
+
847
+ Automatically substitutes missing fonts based on FontInfo in the document. Default: false. # noqa: E501
848
+
849
+ :param font_info_substitution_enabled: The font_info_substitution_enabled. # noqa: E501
850
+ :type: bool
851
+ """
852
+ if font_info_substitution_enabled is None:
853
+ raise ValueError("Invalid value for `font_info_substitution_enabled`, must not be `None`") # noqa: E501
854
+ self._font_info_substitution_enabled = font_info_substitution_enabled
855
+
856
+ @property
857
+ def font_config_substitution_enabled(self):
858
+ """
859
+ Gets the font_config_substitution_enabled. # noqa: E501
860
+
861
+ Automatically substitutes missing fonts based on FontConfig in the system. Default: false. # noqa: E501
862
+
863
+ :return: The font_config_substitution_enabled. # noqa: E501
864
+ :rtype: bool
865
+ """
866
+ return self._font_config_substitution_enabled
867
+
868
+ @font_config_substitution_enabled.setter
869
+ def font_config_substitution_enabled(self, font_config_substitution_enabled):
870
+ """
871
+ Sets the font_config_substitution_enabled.
872
+
873
+ Automatically substitutes missing fonts based on FontConfig in the system. Default: false. # noqa: E501
874
+
875
+ :param font_config_substitution_enabled: The font_config_substitution_enabled. # noqa: E501
876
+ :type: bool
877
+ """
878
+ if font_config_substitution_enabled is None:
879
+ raise ValueError("Invalid value for `font_config_substitution_enabled`, must not be `None`") # noqa: E501
880
+ self._font_config_substitution_enabled = font_config_substitution_enabled
881
+
882
+ @property
883
+ def font_name_substitution_enabled(self):
884
+ """
885
+ Gets the font_name_substitution_enabled. # noqa: E501
886
+
887
+ Automatically substitutes missing fonts based on the font name. Default: false. # noqa: E501
888
+
889
+ :return: The font_name_substitution_enabled. # noqa: E501
890
+ :rtype: bool
891
+ """
892
+ return self._font_name_substitution_enabled
893
+
894
+ @font_name_substitution_enabled.setter
895
+ def font_name_substitution_enabled(self, font_name_substitution_enabled):
896
+ """
897
+ Sets the font_name_substitution_enabled.
898
+
899
+ Automatically substitutes missing fonts based on the font name. Default: false. # noqa: E501
900
+
901
+ :param font_name_substitution_enabled: The font_name_substitution_enabled. # noqa: E501
902
+ :type: bool
903
+ """
904
+ if font_name_substitution_enabled is None:
905
+ raise ValueError("Invalid value for `font_name_substitution_enabled`, must not be `None`") # noqa: E501
906
+ self._font_name_substitution_enabled = font_name_substitution_enabled
907
+
908
+ @property
909
+ def show_full_commenter_name(self):
910
+ """
911
+ Gets the show_full_commenter_name. # noqa: E501
912
+
913
+ Show full commenter name in comments. Default is false. # noqa: E501
914
+
915
+ :return: The show_full_commenter_name. # noqa: E501
916
+ :rtype: bool
917
+ """
918
+ return self._show_full_commenter_name
919
+
920
+ @show_full_commenter_name.setter
921
+ def show_full_commenter_name(self, show_full_commenter_name):
922
+ """
923
+ Sets the show_full_commenter_name.
924
+
925
+ Show full commenter name in comments. Default is false. # noqa: E501
926
+
927
+ :param show_full_commenter_name: The show_full_commenter_name. # noqa: E501
928
+ :type: bool
929
+ """
930
+ if show_full_commenter_name is None:
931
+ raise ValueError("Invalid value for `show_full_commenter_name`, must not be `None`") # noqa: E501
932
+ self._show_full_commenter_name = show_full_commenter_name
336
933
 
337
934
  def to_dict(self):
338
935
  """Returns the model properties as a dict"""