Skip to content

Commit

Permalink
5.1.0
Browse files Browse the repository at this point in the history
5.1.0
  • Loading branch information
Cloudmersive committed Dec 10, 2023
1 parent 3e8a270 commit d13fb1c
Show file tree
Hide file tree
Showing 575 changed files with 6,381 additions and 654 deletions.
6 changes: 4 additions & 2 deletions docs/CompareDocumentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Method | HTTP request | Description

<a name="compareDocumentDocx"></a>
# **compareDocumentDocx**
> byte[] compareDocumentDocx(inputFile1, inputFile2)
> byte[] compareDocumentDocx(inputFile1, inputFile2, autorepair)
Compare Two Word DOCX

Expand All @@ -35,8 +35,9 @@ Apikey.setApiKey("YOUR API KEY");
CompareDocumentApi apiInstance = new CompareDocumentApi();
File inputFile1 = new File("/path/to/file.txt"); // File | First input file to perform the operation on.
File inputFile2 = new File("/path/to/file.txt"); // File | Second input file to perform the operation on (more than 2 can be supplied).
Boolean autorepair = true; // Boolean | Optional; automatically repair input documents that have errors (default is true)
try {
byte[] result = apiInstance.compareDocumentDocx(inputFile1, inputFile2);
byte[] result = apiInstance.compareDocumentDocx(inputFile1, inputFile2, autorepair);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CompareDocumentApi#compareDocumentDocx");
Expand All @@ -50,6 +51,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inputFile1** | **File**| First input file to perform the operation on. |
**inputFile2** | **File**| Second input file to perform the operation on (more than 2 can be supplied). |
**autorepair** | **Boolean**| Optional; automatically repair input documents that have errors (default is true) | [optional]

### Return type

Expand Down
252 changes: 242 additions & 10 deletions docs/ConvertDocumentApi.md

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions docs/ConvertDocumentBatchJobCreateResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# ConvertDocumentBatchJobCreateResult

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**successful** | **Boolean** | True if successful, false otherwise | [optional]
**asyncJobID** | **String** | When creating a job, an Async Job ID is returned. Use the GetAsyncJobStatus API to check on the status of this job using the AsyncJobID and get the result when it finishes | [optional]



14 changes: 14 additions & 0 deletions docs/ConvertDocumentJobStatusResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# ConvertDocumentJobStatusResult

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**successful** | **Boolean** | Tru eif the operation to check the status of the job was successful, false otherwise | [optional]
**asyncJobStatus** | **String** | Returns the job status of the Async Job, if applicable. Possible states are STARTED and COMPLETED | [optional]
**asyncJobID** | **String** | When the job exceeds 25 pages, an Async Job ID is returned. Use the CheckPdfOcrJobStatus API to check on the status of this job using the AsyncJobID and get the result when it finishes | [optional]
**outputFileResult** | **byte[]** | Output file result (if applicable) | [optional]
**errorMessage** | **String** | Error message (if any) | [optional]



6 changes: 4 additions & 2 deletions docs/ConvertImageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Name | Type | Description | Notes

<a name="convertImageMultipageImageFormatConvert"></a>
# **convertImageMultipageImageFormatConvert**
> MultipageImageFormatConversionResult convertImageMultipageImageFormatConvert(format1, format2, inputFile)
> MultipageImageFormatConversionResult convertImageMultipageImageFormatConvert(format1, format2, inputFile, dpi)
Multi-page image format conversion

Expand All @@ -210,8 +210,9 @@ ConvertImageApi apiInstance = new ConvertImageApi();
String format1 = "format1_example"; // String | Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
String format2 = "format2_example"; // String | Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
File inputFile = new File("/path/to/file.txt"); // File | Input file to perform the operation on.
Integer dpi = 56; // Integer | Optional; configures the pixel density in Dots per Inch (DPI) (default is 300). This parameter can only be used with Cloudmersive Managed Instance and Private Cloud.
try {
MultipageImageFormatConversionResult result = apiInstance.convertImageMultipageImageFormatConvert(format1, format2, inputFile);
MultipageImageFormatConversionResult result = apiInstance.convertImageMultipageImageFormatConvert(format1, format2, inputFile, dpi);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConvertImageApi#convertImageMultipageImageFormatConvert");
Expand All @@ -226,6 +227,7 @@ Name | Type | Description | Notes
**format1** | **String**| Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
**format2** | **String**| Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV |
**inputFile** | **File**| Input file to perform the operation on. |
**dpi** | **Integer**| Optional; configures the pixel density in Dots per Inch (DPI) (default is 300). This parameter can only be used with Cloudmersive Managed Instance and Private Cloud. | [optional]

### Return type

Expand Down
124 changes: 122 additions & 2 deletions docs/EditDocumentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ Method | HTTP request | Description
[**editDocumentDocxUpdateTableRow**](EditDocumentApi.md#editDocumentDocxUpdateTableRow) | **POST** /convert/edit/docx/update-table-row | Update, set contents of a table row in an existing table in a Word DOCX document
[**editDocumentFinishEditing**](EditDocumentApi.md#editDocumentFinishEditing) | **POST** /convert/edit/finish-editing | Finish editing document, and download result from document editing
[**editDocumentPptxDeleteSlides**](EditDocumentApi.md#editDocumentPptxDeleteSlides) | **POST** /convert/edit/pptx/delete-slides | Delete, remove slides from a PowerPoint PPTX presentation document
[**editDocumentPptxEditSizeAndOrientation**](EditDocumentApi.md#editDocumentPptxEditSizeAndOrientation) | **POST** /convert/edit/pptx/set-size-and-orientation | Set the size and/or orientation of a PowerPoint PPTX presentation document
[**editDocumentPptxGetMacroInformation**](EditDocumentApi.md#editDocumentPptxGetMacroInformation) | **POST** /convert/edit/pptx/get-macros | Get macro information from a PowerPoint PPTX/PPTM presentation document
[**editDocumentPptxGetSizeAndOrientation**](EditDocumentApi.md#editDocumentPptxGetSizeAndOrientation) | **POST** /convert/edit/pptx/get-size-and-orientation | Get the page layout information, including size and orientation of a PowerPoint PPTX presentation document
[**editDocumentPptxReplace**](EditDocumentApi.md#editDocumentPptxReplace) | **POST** /convert/edit/pptx/replace-all | Replace string in PowerPoint PPTX presentation
[**editDocumentXlsxAppendRow**](EditDocumentApi.md#editDocumentXlsxAppendRow) | **POST** /convert/edit/xlsx/append-row | Append row to a Excel XLSX spreadsheet, worksheet
[**editDocumentXlsxClearCellByIndex**](EditDocumentApi.md#editDocumentXlsxClearCellByIndex) | **POST** /convert/edit/xlsx/clear-cell/by-index | Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
Expand Down Expand Up @@ -131,7 +133,7 @@ Name | Type | Description | Notes

<a name="editDocumentDocxAcceptAllTrackChanges"></a>
# **editDocumentDocxAcceptAllTrackChanges**
> byte[] editDocumentDocxAcceptAllTrackChanges(inputFile)
> byte[] editDocumentDocxAcceptAllTrackChanges(inputFile, autorepair)
Accept all tracked changes, revisions in a Word DOCX document

Expand All @@ -156,8 +158,9 @@ Apikey.setApiKey("YOUR API KEY");

EditDocumentApi apiInstance = new EditDocumentApi();
File inputFile = new File("/path/to/file.txt"); // File | Input file to perform the operation on.
Boolean autorepair = true; // Boolean | Optional; automatically repair input documents that have errors (default is true)
try {
byte[] result = apiInstance.editDocumentDocxAcceptAllTrackChanges(inputFile);
byte[] result = apiInstance.editDocumentDocxAcceptAllTrackChanges(inputFile, autorepair);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EditDocumentApi#editDocumentDocxAcceptAllTrackChanges");
Expand All @@ -170,6 +173,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inputFile** | **File**| Input file to perform the operation on. |
**autorepair** | **Boolean**| Optional; automatically repair input documents that have errors (default is true) | [optional]

### Return type

Expand Down Expand Up @@ -2549,6 +2553,67 @@ Name | Type | Description | Notes
- **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- **Accept**: application/octet-stream

<a name="editDocumentPptxEditSizeAndOrientation"></a>
# **editDocumentPptxEditSizeAndOrientation**
> byte[] editDocumentPptxEditSizeAndOrientation(inputFile, orientation, width, height)
Set the size and/or orientation of a PowerPoint PPTX presentation document

Edits the input PowerPoint PPTX presentation document to be a different orientation and/or size

### Example
```java
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.EditDocumentApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");

EditDocumentApi apiInstance = new EditDocumentApi();
File inputFile = new File("/path/to/file.txt"); // File | Input file to perform the operation on.
String orientation = "orientation_example"; // String | Optional: The desired slide orientation; can be landscape or portrait.
Integer width = 56; // Integer | Optional: The desired slide width in Emu, where 1 inch equals 914400 emu.
Integer height = 56; // Integer | Optional: The desired slide height in Emu, where 1 inch equals 914400 emu
try {
byte[] result = apiInstance.editDocumentPptxEditSizeAndOrientation(inputFile, orientation, width, height);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EditDocumentApi#editDocumentPptxEditSizeAndOrientation");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inputFile** | **File**| Input file to perform the operation on. |
**orientation** | **String**| Optional: The desired slide orientation; can be landscape or portrait. | [optional]
**width** | **Integer**| Optional: The desired slide width in Emu, where 1 inch equals 914400 emu. | [optional]
**height** | **Integer**| Optional: The desired slide height in Emu, where 1 inch equals 914400 emu | [optional]

### Return type

**byte[]**

### Authorization

[Apikey](../README.md#Apikey)

### HTTP request headers

- **Content-Type**: multipart/form-data
- **Accept**: application/json, text/json, application/xml, text/xml

<a name="editDocumentPptxGetMacroInformation"></a>
# **editDocumentPptxGetMacroInformation**
> GetMacrosResponse editDocumentPptxGetMacroInformation(inputFile)
Expand Down Expand Up @@ -2599,6 +2664,61 @@ Name | Type | Description | Notes

[Apikey](../README.md#Apikey)

### HTTP request headers

- **Content-Type**: multipart/form-data
- **Accept**: application/json, text/json, application/xml, text/xml

<a name="editDocumentPptxGetSizeAndOrientation"></a>
# **editDocumentPptxGetSizeAndOrientation**
> PptxPageLayoutInformation editDocumentPptxGetSizeAndOrientation(inputFile)
Get the page layout information, including size and orientation of a PowerPoint PPTX presentation document

Gets size and orientation of an input PowerPoint PPTX presentation

### Example
```java
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.EditDocumentApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");

EditDocumentApi apiInstance = new EditDocumentApi();
File inputFile = new File("/path/to/file.txt"); // File | Input file to perform the operation on.
try {
PptxPageLayoutInformation result = apiInstance.editDocumentPptxGetSizeAndOrientation(inputFile);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EditDocumentApi#editDocumentPptxGetSizeAndOrientation");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inputFile** | **File**| Input file to perform the operation on. |

### Return type

[**PptxPageLayoutInformation**](PptxPageLayoutInformation.md)

### Authorization

[Apikey](../README.md#Apikey)

### HTTP request headers

- **Content-Type**: multipart/form-data
Expand Down
Loading

0 comments on commit d13fb1c

Please sign in to comment.