You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|skipEmptyRowsAndColumns|Skips empty rows and columns when converting
38
41
|password|Password to unprotect protected document
39
42
|printComments|Represents the way comments are printed with the sheet. Default is PrintNoComments. Values: PrintInPlace, PrintNoComments, PrintSheetEnd, PrintWithThreadedComments.
43
+
|clearCustomDocumentProperties|Clear custom document properties. Default is false.
44
+
|clearBuiltInDocumentProperties|Clear built-in document properties. Default is false.
45
+
|rowsPerPage|Split a worksheet into pages by rows (pagination)
46
+
|columnsPerPage|Split a worksheet into pages by columns (pagination)
47
+
|autoFitRows|Autofits all rows when converting
48
+
|allColumnsInOnePagePerSheet|If true, all columns in a sheet output to a single page
49
+
|cultureInfo|System culture info at the time file is loaded (e.g. "en-US")
50
+
|checkExcelRestriction|Whether to enforce Excel format restrictions when loading (e.g. 32K limit)
51
+
|optimizePdfSize|If true and converting to PDF, conversion optimized for smaller file size
52
+
|sheetIndexes|List of sheet indexes to convert (zero-based)
53
+
|sheets|List of sheet names to convert
54
+
|resetFontFolders|Reset font folders before loading document
40
55
41
56
```json
42
57
{
43
58
"defaultFont": "Arial",
44
-
"fontSubstitutes": [],
59
+
"fontSubstitutes": {},
45
60
"showGridLines": true,
46
61
"showHiddenSheets": false,
47
62
"onePagePerSheet": false,
48
63
"convertRange": "",
49
64
"skipEmptyRowsAndColumns": true,
50
65
"password": "Pass123",
51
-
"printComments": "PrintNoComments"
66
+
"printComments": "PrintNoComments",
67
+
"rowsPerPage": 0,
68
+
"columnsPerPage": 0,
69
+
"autoFitRows": false,
70
+
"allColumnsInOnePagePerSheet": false,
71
+
"cultureInfo": "en-US",
72
+
"checkExcelRestriction": false,
73
+
"optimizePdfSize": false,
74
+
"sheetIndexes": [0],
75
+
"sheets": ["Sheet1"],
76
+
"resetFontFolders": false
52
77
}
53
78
```
54
79
@@ -57,19 +82,21 @@ keywords: ""
57
82
| Properties | Description
58
83
|---|---
59
84
|format| The format of input file, ("docx", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions.
60
-
|separator|Delimiter of a Csv file
85
+
|separator|Delimiter of a Csv file (single character)
61
86
|isMultiEncoded|True means the file contains several encodings
62
-
|hasFormula|Indicates whether text is formula if it starts with "#"
87
+
|hasFormula|Indicates whether text is formula if it starts with "=" (true/false)
63
88
|convertNumericData|Indicates whether the string in the file is converted to numeric
64
89
|convertDateTimeData|Indicates whether the string in the file is converted to DateTime
90
+
|encoding|File encoding (e.g. "utf-8")
65
91
66
92
```json
67
93
{
68
94
"separator": ",",
69
-
"isMultiencoded": false,
95
+
"isMultiEncoded": false,
70
96
"hasFormula": true,
71
97
"convertNumericData": true,
72
-
"convertDateTimeData": true
98
+
"convertDateTimeData": true,
99
+
"encoding": "utf-8"
73
100
}
74
101
```
75
102
@@ -82,7 +109,7 @@ keywords: ""
82
109
83
110
```json
84
111
{
85
-
defaultFont: "Arial"
112
+
"defaultFont": "Arial"
86
113
}
87
114
```
88
115
@@ -93,22 +120,30 @@ keywords: ""
93
120
|format|The format of input file, ("docx", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions.
94
121
|displayHeader|Display or hide the email header
95
122
|displayFromEmailAddress|Display or hide "from" email address
96
-
|displayEmailAddress|Display or hide email address
123
+
|displayEmailAddresses|Display or hide email addresses (shows addresses alongside names)
97
124
|displayToEmailAddress|Display or hide "to" email address
98
125
|displayCcEmailAddress|Display or hide "Cc" email address
99
126
|displayBccEmailAddress|Display or hide "Bcc" email address
100
-
|FieldLabels|The mapping between email message field and field text representation
101
-
|PreserveOriginalDate|Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
127
+
|displaySent|Display or hide sent date/time in header
128
+
|displaySubject|Display or hide subject in header
129
+
|displayAttachments|Display or hide attachments in header
130
+
|fieldLabels|The mapping between email message field and field text representation
131
+
|preserveOriginalDate|Defines whether need to keep original date header string in mail message when saving or not (Default value is true)
132
+
|timeZoneOffset|UTC offset for message dates (e.g. "+00:00")
133
+
|defaultFont|Default font for Email document
134
+
|fontSubstitutes|Substitute specific fonts when converting Email document
102
135
103
136
```json
104
137
{
105
138
"displayHeader": true,
106
139
"displayFromEmailAddress": true,
107
-
"displayEmailAddress": true,
140
+
"displayEmailAddresses": true,
108
141
"displayToEmailAddress": true,
109
142
"displayCcEmailAddress": true,
110
143
"displayBccEmailAddress": true,
111
-
"FieldLabels": [{
144
+
"preserveOriginalDate": true,
145
+
"timeZoneOffset": "+00:00",
146
+
"fieldLabels": [{
112
147
"Field": "From",
113
148
"Label": "Sender"
114
149
}]
@@ -128,7 +163,7 @@ keywords: ""
128
163
}
129
164
```
130
165
131
-
## OneLoadOptions - one
166
+
## NoteLoadOptions - one
132
167
133
168
| Properties | Description
134
169
|---|---
@@ -151,16 +186,28 @@ keywords: ""
151
186
|---|---
152
187
|format|The format of input file, ("docx", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions.
153
188
|removeEmbeddedFiles|Remove embedded files
189
+
|removeJavascript|Remove javascript from PDF
154
190
|password|Password to unprotect protected document
155
191
|hidePdfAnnotations|Hide annotations in Pdf documents
156
192
|flattenAllFields|Flatten all the fields of the PDF form
193
+
|defaultFont|Default font for Pdf document. The following font will be used if a font is missing.
|pageNumbering|Enable or disable generation of page numbering in converted document. Default: false
197
+
|fontSubstitutes|Substitute specific fonts when converting PDF document
157
198
158
199
```json
159
200
{
160
201
"removeEmbeddedFiles": false,
202
+
"removeJavascript": false,
161
203
"password": "Pass123",
162
204
"hidePdfAnnotations": true,
163
-
"flattenAllFields": true
205
+
"flattenAllFields": true,
206
+
"defaultFont": "Arial",
207
+
"clearCustomDocumentProperties": false,
208
+
"clearBuiltInDocumentProperties": false,
209
+
"pageNumbering": false,
210
+
"fontSubstitutes": {}
164
211
}
165
212
```
166
213
@@ -205,14 +252,16 @@ keywords: ""
205
252
|---|---
206
253
|format|The format of input file, ("docx", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions.
207
254
|detectNumberingWithWhitespaces|Allows to specify how numbered list items are recognized when plain text document is converted
208
-
|trailingSpacesOptions|Controls trailing space handling
209
-
|leadingSpacesOptions|Controls leading space handling
255
+
|trailingSpacesOptions|Controls trailing space handling (Preserve / Trim)
256
+
|leadingSpacesOptions|Controls leading space handling (ConvertToIndent / Preserve / Trim)
257
+
|encoding|File encoding used when loading txt (e.g. "utf-8")
210
258
211
259
```json
212
260
{
213
-
"detectNumberingWIthWhiteSpaces": true,
214
-
"trailingSpacesOptions": "trim",
215
-
"leadingSpacesOptions": "preserve"
261
+
"detectNumberingWithWhitespaces": true,
262
+
"trailingSpacesOptions": "Trim",
263
+
"leadingSpacesOptions": "ConvertToIndent",
264
+
"encoding": "utf-8"
216
265
}
217
266
```
218
267
@@ -225,11 +274,16 @@ keywords: ""
225
274
|fontSubstitutes|Substitute specific fonts when converting Words document.
226
275
|password|Password to unprotect protected document.
227
276
|hideWordTrackedChanges|Hide markup and track changes for Word documents.
277
+
|bookmarksOutlineLevel|Specifies the default level in the document outline at which to display Word bookmarks. Default is 0.
278
+
|headingsOutlineLevels|Specifies how many levels of headings to include in the document outline.
279
+
|expandedOutlineLevels|Specifies how many levels in the document outline to show expanded when the file is viewed.
228
280
|clearCustomDocumentProperties|Clear custom document properties. Default is false.
229
281
|clearBuiltInDocumentProperties|Clear built-in document properties. Default is false.
230
282
|depth|Option to control how many levels in depth to perform conversion. Default: 1.
231
283
|convertOwned|Option to control whether the owned documents in the documents container must be converted.
232
284
|convertOwner|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.
285
+
|autoHyphenation|Determines whether automatic hyphenation is turned on for the document.
286
+
|hyphenateCaps|Determines whether words written in all capitals are hyphenated.
233
287
|pageNumbering|Enable or disable generation of page numbering in converted document. Default: false.
234
288
|skipExternalResources|If true, all external resources will not be loaded. Default is true.
235
289
|useTextShaper|Specifies whether to use a text shaper for better kerning display. Default is false.
@@ -238,7 +292,7 @@ keywords: ""
238
292
|keepDateFieldOriginalValue|Keep original value of date field. Default: false.
239
293
|updateFields|Update fields after loading. Default: false.
240
294
|updatePageLayout|Update page layout after loading. Default: false.
241
-
|embedTrueTypeFonts|If true, GroupDocs.Conversion Cloud embeds true type fonts in the output document. Default: true.
|fontInfoSubstitutionEnabled|Automatically substitutes missing fonts based on FontInfo in the document. Default: false.
243
297
|fontConfigSubstitutionEnabled|Automatically substitutes missing fonts based on FontConfig in the system. Default: false.
244
298
|fontNameSubstitutionEnabled|Automatically substitutes missing fonts based on the font name. Default: false.
@@ -247,14 +301,19 @@ keywords: ""
247
301
```json
248
302
{
249
303
"defaultFont": "Arial",
250
-
"fontSubstitutes": [],
304
+
"fontSubstitutes": {},
251
305
"password": "Pass123",
252
306
"hideWordTrackedChanges": true,
307
+
"bookmarksOutlineLevel": 0,
308
+
"headingsOutlineLevels": 0,
309
+
"expandedOutlineLevels": 0,
253
310
"clearCustomDocumentProperties": false,
254
311
"clearBuiltInDocumentProperties": false,
255
312
"depth": 1,
256
313
"convertOwned": false,
257
314
"convertOwner": true,
315
+
"autoHyphenation": false,
316
+
"hyphenateCaps": true,
258
317
"pageNumbering": false,
259
318
"skipExternalResources": true,
260
319
"useTextShaper": false,
@@ -276,10 +335,52 @@ keywords: ""
276
335
| Properties | Description
277
336
|---|---
278
337
|format|The format of input file, ("docx", for example). This field must be filled with correct input file format when using ConvertDirect method, which accept input file as binary stream, and, because of that, API can correctly handle LoadOptions.
279
-
|PageNumbering|Enable or disable generation of page numbering in converted document. Default: false
338
+
|pageNumbering|Enable or disable generation of page numbering in converted document. Default: false
339
+
|basePath|The base path / base URL for resolving relative resources
340
+
|encoding|The encoding to use when loading the HTML (null = determined from document)
341
+
|skipExternalResources|If true all external resources will not be loaded
342
+
|usePdf|Use PDF engine for conversion. Default: false
343
+
|renderingMode|Controls how HTML content is rendered. Values: Flow, AbsolutePositioning (default)
344
+
|zoom|Specifies the zoom level as a percentage (default: 100)
345
+
|pageLayout|Specifies page layout options when loading web documents. Values: None, ScaleToPageWidth, ScaleToPageHeight
346
+
|customCssStyle|Sets custom CSS to be injected into the document's head prior to conversion
347
+
348
+
```json
349
+
{
350
+
"pageNumbering": true,
351
+
"basePath": "https://example.com/",
352
+
"encoding": "utf-8",
353
+
"skipExternalResources": true,
354
+
"usePdf": false,
355
+
"renderingMode": "AbsolutePositioning",
356
+
"zoom": 100,
357
+
"pageLayout": "None",
358
+
"customCssStyle": "body { font-family: Arial; }"
359
+
}
360
+
```
361
+
362
+
## XmlLoadOptions - xml
363
+
364
+
| Properties | Description
365
+
|---|---
366
+
|format|The format of input file. Required for ConvertDirect scenario.
367
+
|xslFo|XSL document content to convert XML-FO using XSL (binary, supply as base64 in JSON payload)
0 commit comments