groupdocs-conversion-cloud 25.6__py3-none-any.whl → 25.9__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.
- groupdocs_conversion_cloud/__init__.py +0 -79
- groupdocs_conversion_cloud/api_client.py +2 -2
- groupdocs_conversion_cloud/configuration.py +2 -2
- groupdocs_conversion_cloud/models/__init__.py +0 -79
- groupdocs_conversion_cloud/models/cad_load_options.py +63 -34
- groupdocs_conversion_cloud/models/email_load_options.py +294 -145
- groupdocs_conversion_cloud/models/pdf_load_options.py +238 -56
- groupdocs_conversion_cloud/models/spreadsheet_load_options.py +492 -126
- groupdocs_conversion_cloud/models/web_load_options.py +158 -3
- groupdocs_conversion_cloud-25.9.dist-info/METADATA +132 -0
- {groupdocs_conversion_cloud-25.6.dist-info → groupdocs_conversion_cloud-25.9.dist-info}/RECORD +15 -94
- test/apis/test_convert_api.py +1 -1
- groupdocs_conversion_cloud/models/bmp_load_options.py +0 -103
- groupdocs_conversion_cloud/models/cf2_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dcm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dgn_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dng_load_options.py +0 -103
- groupdocs_conversion_cloud/models/doc_load_options.py +0 -103
- groupdocs_conversion_cloud/models/docm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/docx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dot_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dotm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dotx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dwf_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dwfx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dwg_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dwt_load_options.py +0 -103
- groupdocs_conversion_cloud/models/dxf_load_options.py +0 -103
- groupdocs_conversion_cloud/models/emf_load_options.py +0 -103
- groupdocs_conversion_cloud/models/eml_load_options.py +0 -103
- groupdocs_conversion_cloud/models/emlx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/gif_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ico_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ifc_load_options.py +0 -103
- groupdocs_conversion_cloud/models/igs_load_options.py +0 -103
- groupdocs_conversion_cloud/models/j2c_load_options.py +0 -103
- groupdocs_conversion_cloud/models/j2k_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jp2_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jpeg_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jpf_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jpg_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jpm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/jpx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/mht_load_options.py +0 -103
- groupdocs_conversion_cloud/models/mobi_load_options.py +0 -103
- groupdocs_conversion_cloud/models/msg_load_options.py +0 -103
- groupdocs_conversion_cloud/models/odg_load_options.py +0 -103
- groupdocs_conversion_cloud/models/odp_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ods_load_options.py +0 -103
- groupdocs_conversion_cloud/models/odt_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ost_load_options.py +0 -103
- groupdocs_conversion_cloud/models/otp_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ots_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ott_load_options.py +0 -103
- groupdocs_conversion_cloud/models/plt_load_options.py +0 -103
- groupdocs_conversion_cloud/models/png_load_options.py +0 -103
- groupdocs_conversion_cloud/models/potm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/potx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/pps_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ppsm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ppsx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/ppt_load_options.py +0 -103
- groupdocs_conversion_cloud/models/pptm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/pptx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/psd_load_options.py +0 -103
- groupdocs_conversion_cloud/models/pst_load_options.py +0 -103
- groupdocs_conversion_cloud/models/stl_load_options.py +0 -103
- groupdocs_conversion_cloud/models/tif_load_options.py +0 -103
- groupdocs_conversion_cloud/models/tiff_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vdw_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vdx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vsd_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vsdm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vsdx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vss_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vssm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vssx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vst_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vstm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vstx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vsx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/vtx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/webp_load_options.py +0 -103
- groupdocs_conversion_cloud/models/wmf_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xls2003_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xls_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xlsb_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xlsm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xlsx_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xltm_load_options.py +0 -103
- groupdocs_conversion_cloud/models/xltx_load_options.py +0 -103
- groupdocs_conversion_cloud-25.6.dist-info/METADATA +0 -94
- {groupdocs_conversion_cloud-25.6.dist-info → groupdocs_conversion_cloud-25.9.dist-info}/WHEEL +0 -0
- {groupdocs_conversion_cloud-25.6.dist-info → groupdocs_conversion_cloud-25.9.dist-info}/licenses/LICENSE +0 -0
- {groupdocs_conversion_cloud-25.6.dist-info → groupdocs_conversion_cloud-25.9.dist-info}/top_level.txt +0 -0
@@ -45,35 +45,65 @@ class PdfLoadOptions(LoadOptions):
|
|
45
45
|
and the value is json key in definition.
|
46
46
|
"""
|
47
47
|
swagger_types = {
|
48
|
-
'
|
49
|
-
'
|
48
|
+
'clear_built_in_document_properties': 'bool',
|
49
|
+
'clear_custom_document_properties': 'bool',
|
50
|
+
'page_numbering': 'bool',
|
51
|
+
'flatten_all_fields': 'bool',
|
50
52
|
'hide_pdf_annotations': 'bool',
|
51
|
-
'
|
53
|
+
'default_font': 'str',
|
54
|
+
'password': 'str',
|
55
|
+
'remove_javascript': 'bool',
|
56
|
+
'remove_embedded_files': 'bool',
|
57
|
+
'font_substitutes': 'dict(str, str)'
|
52
58
|
}
|
53
59
|
|
54
60
|
attribute_map = {
|
55
|
-
'
|
56
|
-
'
|
61
|
+
'clear_built_in_document_properties': 'ClearBuiltInDocumentProperties',
|
62
|
+
'clear_custom_document_properties': 'ClearCustomDocumentProperties',
|
63
|
+
'page_numbering': 'PageNumbering',
|
64
|
+
'flatten_all_fields': 'FlattenAllFields',
|
57
65
|
'hide_pdf_annotations': 'HidePdfAnnotations',
|
58
|
-
'
|
66
|
+
'default_font': 'DefaultFont',
|
67
|
+
'password': 'Password',
|
68
|
+
'remove_javascript': 'RemoveJavascript',
|
69
|
+
'remove_embedded_files': 'RemoveEmbeddedFiles',
|
70
|
+
'font_substitutes': 'FontSubstitutes'
|
59
71
|
}
|
60
72
|
|
61
|
-
def __init__(self,
|
73
|
+
def __init__(self, clear_built_in_document_properties=None, clear_custom_document_properties=None, page_numbering=None, flatten_all_fields=None, hide_pdf_annotations=None, default_font=None, password=None, remove_javascript=None, remove_embedded_files=None, font_substitutes=None, **kwargs): # noqa: E501
|
62
74
|
"""Initializes new instance of PdfLoadOptions""" # noqa: E501
|
63
75
|
|
64
|
-
self.
|
65
|
-
self.
|
66
|
-
self.
|
76
|
+
self._clear_built_in_document_properties = None
|
77
|
+
self._clear_custom_document_properties = None
|
78
|
+
self._page_numbering = None
|
67
79
|
self._flatten_all_fields = None
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
80
|
+
self._hide_pdf_annotations = None
|
81
|
+
self._default_font = None
|
82
|
+
self._password = None
|
83
|
+
self._remove_javascript = None
|
84
|
+
self._remove_embedded_files = None
|
85
|
+
self._font_substitutes = None
|
86
|
+
|
87
|
+
if clear_built_in_document_properties is not None:
|
88
|
+
self.clear_built_in_document_properties = clear_built_in_document_properties
|
89
|
+
if clear_custom_document_properties is not None:
|
90
|
+
self.clear_custom_document_properties = clear_custom_document_properties
|
91
|
+
if page_numbering is not None:
|
92
|
+
self.page_numbering = page_numbering
|
75
93
|
if flatten_all_fields is not None:
|
76
94
|
self.flatten_all_fields = flatten_all_fields
|
95
|
+
if hide_pdf_annotations is not None:
|
96
|
+
self.hide_pdf_annotations = hide_pdf_annotations
|
97
|
+
if default_font is not None:
|
98
|
+
self.default_font = default_font
|
99
|
+
if password is not None:
|
100
|
+
self.password = password
|
101
|
+
if remove_javascript is not None:
|
102
|
+
self.remove_javascript = remove_javascript
|
103
|
+
if remove_embedded_files is not None:
|
104
|
+
self.remove_embedded_files = remove_embedded_files
|
105
|
+
if font_substitutes is not None:
|
106
|
+
self.font_substitutes = font_substitutes
|
77
107
|
|
78
108
|
base = super(PdfLoadOptions, self)
|
79
109
|
base.__init__(**kwargs)
|
@@ -82,80 +112,82 @@ class PdfLoadOptions(LoadOptions):
|
|
82
112
|
self.attribute_map.update(base.attribute_map)
|
83
113
|
|
84
114
|
@property
|
85
|
-
def
|
115
|
+
def clear_built_in_document_properties(self):
|
86
116
|
"""
|
87
|
-
Gets the
|
117
|
+
Gets the clear_built_in_document_properties. # noqa: E501
|
88
118
|
|
89
|
-
|
119
|
+
Clear built-in document properties # noqa: E501
|
90
120
|
|
91
|
-
:return: The
|
121
|
+
:return: The clear_built_in_document_properties. # noqa: E501
|
92
122
|
:rtype: bool
|
93
123
|
"""
|
94
|
-
return self.
|
124
|
+
return self._clear_built_in_document_properties
|
95
125
|
|
96
|
-
@
|
97
|
-
def
|
126
|
+
@clear_built_in_document_properties.setter
|
127
|
+
def clear_built_in_document_properties(self, clear_built_in_document_properties):
|
98
128
|
"""
|
99
|
-
Sets the
|
129
|
+
Sets the clear_built_in_document_properties.
|
100
130
|
|
101
|
-
|
131
|
+
Clear built-in document properties # noqa: E501
|
102
132
|
|
103
|
-
:param
|
133
|
+
:param clear_built_in_document_properties: The clear_built_in_document_properties. # noqa: E501
|
104
134
|
:type: bool
|
105
135
|
"""
|
106
|
-
if
|
107
|
-
raise ValueError("Invalid value for `
|
108
|
-
self.
|
136
|
+
if clear_built_in_document_properties is None:
|
137
|
+
raise ValueError("Invalid value for `clear_built_in_document_properties`, must not be `None`") # noqa: E501
|
138
|
+
self._clear_built_in_document_properties = clear_built_in_document_properties
|
109
139
|
|
110
140
|
@property
|
111
|
-
def
|
141
|
+
def clear_custom_document_properties(self):
|
112
142
|
"""
|
113
|
-
Gets the
|
143
|
+
Gets the clear_custom_document_properties. # noqa: E501
|
114
144
|
|
115
|
-
|
145
|
+
Clear custom document properties # noqa: E501
|
116
146
|
|
117
|
-
:return: The
|
118
|
-
:rtype:
|
147
|
+
:return: The clear_custom_document_properties. # noqa: E501
|
148
|
+
:rtype: bool
|
119
149
|
"""
|
120
|
-
return self.
|
150
|
+
return self._clear_custom_document_properties
|
121
151
|
|
122
|
-
@
|
123
|
-
def
|
152
|
+
@clear_custom_document_properties.setter
|
153
|
+
def clear_custom_document_properties(self, clear_custom_document_properties):
|
124
154
|
"""
|
125
|
-
Sets the
|
155
|
+
Sets the clear_custom_document_properties.
|
126
156
|
|
127
|
-
|
157
|
+
Clear custom document properties # noqa: E501
|
128
158
|
|
129
|
-
:param
|
130
|
-
:type:
|
159
|
+
:param clear_custom_document_properties: The clear_custom_document_properties. # noqa: E501
|
160
|
+
:type: bool
|
131
161
|
"""
|
132
|
-
|
162
|
+
if clear_custom_document_properties is None:
|
163
|
+
raise ValueError("Invalid value for `clear_custom_document_properties`, must not be `None`") # noqa: E501
|
164
|
+
self._clear_custom_document_properties = clear_custom_document_properties
|
133
165
|
|
134
166
|
@property
|
135
|
-
def
|
167
|
+
def page_numbering(self):
|
136
168
|
"""
|
137
|
-
Gets the
|
169
|
+
Gets the page_numbering. # noqa: E501
|
138
170
|
|
139
|
-
|
171
|
+
Enable or disable generation of page numbering in converted document. Default: false # noqa: E501
|
140
172
|
|
141
|
-
:return: The
|
173
|
+
:return: The page_numbering. # noqa: E501
|
142
174
|
:rtype: bool
|
143
175
|
"""
|
144
|
-
return self.
|
176
|
+
return self._page_numbering
|
145
177
|
|
146
|
-
@
|
147
|
-
def
|
178
|
+
@page_numbering.setter
|
179
|
+
def page_numbering(self, page_numbering):
|
148
180
|
"""
|
149
|
-
Sets the
|
181
|
+
Sets the page_numbering.
|
150
182
|
|
151
|
-
|
183
|
+
Enable or disable generation of page numbering in converted document. Default: false # noqa: E501
|
152
184
|
|
153
|
-
:param
|
185
|
+
:param page_numbering: The page_numbering. # noqa: E501
|
154
186
|
:type: bool
|
155
187
|
"""
|
156
|
-
if
|
157
|
-
raise ValueError("Invalid value for `
|
158
|
-
self.
|
188
|
+
if page_numbering is None:
|
189
|
+
raise ValueError("Invalid value for `page_numbering`, must not be `None`") # noqa: E501
|
190
|
+
self._page_numbering = page_numbering
|
159
191
|
|
160
192
|
@property
|
161
193
|
def flatten_all_fields(self):
|
@@ -182,6 +214,156 @@ class PdfLoadOptions(LoadOptions):
|
|
182
214
|
if flatten_all_fields is None:
|
183
215
|
raise ValueError("Invalid value for `flatten_all_fields`, must not be `None`") # noqa: E501
|
184
216
|
self._flatten_all_fields = flatten_all_fields
|
217
|
+
|
218
|
+
@property
|
219
|
+
def hide_pdf_annotations(self):
|
220
|
+
"""
|
221
|
+
Gets the hide_pdf_annotations. # noqa: E501
|
222
|
+
|
223
|
+
Hide annotations in Pdf documents # noqa: E501
|
224
|
+
|
225
|
+
:return: The hide_pdf_annotations. # noqa: E501
|
226
|
+
:rtype: bool
|
227
|
+
"""
|
228
|
+
return self._hide_pdf_annotations
|
229
|
+
|
230
|
+
@hide_pdf_annotations.setter
|
231
|
+
def hide_pdf_annotations(self, hide_pdf_annotations):
|
232
|
+
"""
|
233
|
+
Sets the hide_pdf_annotations.
|
234
|
+
|
235
|
+
Hide annotations in Pdf documents # noqa: E501
|
236
|
+
|
237
|
+
:param hide_pdf_annotations: The hide_pdf_annotations. # noqa: E501
|
238
|
+
:type: bool
|
239
|
+
"""
|
240
|
+
if hide_pdf_annotations is None:
|
241
|
+
raise ValueError("Invalid value for `hide_pdf_annotations`, must not be `None`") # noqa: E501
|
242
|
+
self._hide_pdf_annotations = hide_pdf_annotations
|
243
|
+
|
244
|
+
@property
|
245
|
+
def default_font(self):
|
246
|
+
"""
|
247
|
+
Gets the default_font. # noqa: E501
|
248
|
+
|
249
|
+
Default font for Pdf document. The following font will be used if a font is missing. # noqa: E501
|
250
|
+
|
251
|
+
:return: The default_font. # noqa: E501
|
252
|
+
:rtype: str
|
253
|
+
"""
|
254
|
+
return self._default_font
|
255
|
+
|
256
|
+
@default_font.setter
|
257
|
+
def default_font(self, default_font):
|
258
|
+
"""
|
259
|
+
Sets the default_font.
|
260
|
+
|
261
|
+
Default font for Pdf document. The following font will be used if a font is missing. # noqa: E501
|
262
|
+
|
263
|
+
:param default_font: The default_font. # noqa: E501
|
264
|
+
:type: str
|
265
|
+
"""
|
266
|
+
self._default_font = default_font
|
267
|
+
|
268
|
+
@property
|
269
|
+
def password(self):
|
270
|
+
"""
|
271
|
+
Gets the password. # noqa: E501
|
272
|
+
|
273
|
+
Set password to unprotect protected document # noqa: E501
|
274
|
+
|
275
|
+
:return: The password. # noqa: E501
|
276
|
+
:rtype: str
|
277
|
+
"""
|
278
|
+
return self._password
|
279
|
+
|
280
|
+
@password.setter
|
281
|
+
def password(self, password):
|
282
|
+
"""
|
283
|
+
Sets the password.
|
284
|
+
|
285
|
+
Set password to unprotect protected document # noqa: E501
|
286
|
+
|
287
|
+
:param password: The password. # noqa: E501
|
288
|
+
:type: str
|
289
|
+
"""
|
290
|
+
self._password = password
|
291
|
+
|
292
|
+
@property
|
293
|
+
def remove_javascript(self):
|
294
|
+
"""
|
295
|
+
Gets the remove_javascript. # noqa: E501
|
296
|
+
|
297
|
+
Remove javascript # noqa: E501
|
298
|
+
|
299
|
+
:return: The remove_javascript. # noqa: E501
|
300
|
+
:rtype: bool
|
301
|
+
"""
|
302
|
+
return self._remove_javascript
|
303
|
+
|
304
|
+
@remove_javascript.setter
|
305
|
+
def remove_javascript(self, remove_javascript):
|
306
|
+
"""
|
307
|
+
Sets the remove_javascript.
|
308
|
+
|
309
|
+
Remove javascript # noqa: E501
|
310
|
+
|
311
|
+
:param remove_javascript: The remove_javascript. # noqa: E501
|
312
|
+
:type: bool
|
313
|
+
"""
|
314
|
+
if remove_javascript is None:
|
315
|
+
raise ValueError("Invalid value for `remove_javascript`, must not be `None`") # noqa: E501
|
316
|
+
self._remove_javascript = remove_javascript
|
317
|
+
|
318
|
+
@property
|
319
|
+
def remove_embedded_files(self):
|
320
|
+
"""
|
321
|
+
Gets the remove_embedded_files. # noqa: E501
|
322
|
+
|
323
|
+
Remove embedded files # noqa: E501
|
324
|
+
|
325
|
+
:return: The remove_embedded_files. # noqa: E501
|
326
|
+
:rtype: bool
|
327
|
+
"""
|
328
|
+
return self._remove_embedded_files
|
329
|
+
|
330
|
+
@remove_embedded_files.setter
|
331
|
+
def remove_embedded_files(self, remove_embedded_files):
|
332
|
+
"""
|
333
|
+
Sets the remove_embedded_files.
|
334
|
+
|
335
|
+
Remove embedded files # noqa: E501
|
336
|
+
|
337
|
+
:param remove_embedded_files: The remove_embedded_files. # noqa: E501
|
338
|
+
:type: bool
|
339
|
+
"""
|
340
|
+
if remove_embedded_files is None:
|
341
|
+
raise ValueError("Invalid value for `remove_embedded_files`, must not be `None`") # noqa: E501
|
342
|
+
self._remove_embedded_files = remove_embedded_files
|
343
|
+
|
344
|
+
@property
|
345
|
+
def font_substitutes(self):
|
346
|
+
"""
|
347
|
+
Gets the font_substitutes. # noqa: E501
|
348
|
+
|
349
|
+
Substitute specific fonts when converting Words document. # noqa: E501
|
350
|
+
|
351
|
+
:return: The font_substitutes. # noqa: E501
|
352
|
+
:rtype: dict(str, str)
|
353
|
+
"""
|
354
|
+
return self._font_substitutes
|
355
|
+
|
356
|
+
@font_substitutes.setter
|
357
|
+
def font_substitutes(self, font_substitutes):
|
358
|
+
"""
|
359
|
+
Sets the font_substitutes.
|
360
|
+
|
361
|
+
Substitute specific fonts when converting Words document. # noqa: E501
|
362
|
+
|
363
|
+
:param font_substitutes: The font_substitutes. # noqa: E501
|
364
|
+
:type: dict(str, str)
|
365
|
+
"""
|
366
|
+
self._font_substitutes = font_substitutes
|
185
367
|
|
186
368
|
def to_dict(self):
|
187
369
|
"""Returns the model properties as a dict"""
|