Skip to content

Commit

Permalink
3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Dec 11, 2023
1 parent 361c858 commit ad8fcb3
Show file tree
Hide file tree
Showing 59 changed files with 12,939 additions and 5,080 deletions.
28 changes: 25 additions & 3 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Get-ChildItem ./lib -Recurse -Filter *.php | ForEach-Object {
}
}

& php C:\Users\adm101\composer.phar install
& php C:\ProgramData\ComposerSetup\bin\composer.phar install
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmersive/cloudmersive_document_convert_api_client",
"version": "3.1.1",
"version": "3.2.0",
"description": "",
"keywords": [
"swagger",
Expand Down
6 changes: 4 additions & 2 deletions docs/Api/CompareDocumentApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Method | HTTP request | Description


# **compareDocumentDocx**
> string compareDocumentDocx($input_file1, $input_file2)
> string compareDocumentDocx($input_file1, $input_file2, $autorepair)
Compare Two Word DOCX

Expand All @@ -32,9 +32,10 @@ $apiInstance = new Swagger\Client\Api\CompareDocumentApi(
);
$input_file1 = "/path/to/file.txt"; // \SplFileObject | First input file to perform the operation on.
$input_file2 = "/path/to/file.txt"; // \SplFileObject | Second input file to perform the operation on (more than 2 can be supplied).
$autorepair = true; // bool | Optional; automatically repair input documents that have errors (default is true)

try {
$result = $apiInstance->compareDocumentDocx($input_file1, $input_file2);
$result = $apiInstance->compareDocumentDocx($input_file1, $input_file2, $autorepair);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling CompareDocumentApi->compareDocumentDocx: ', $e->getMessage(), PHP_EOL;
Expand All @@ -48,6 +49,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input_file1** | **\SplFileObject**| First input file to perform the operation on. |
**input_file2** | **\SplFileObject**| Second input file to perform the operation on (more than 2 can be supplied). |
**autorepair** | **bool**| Optional; automatically repair input documents that have errors (default is true) | [optional]

### Return type

Expand Down
200 changes: 190 additions & 10 deletions docs/Api/ConvertDocumentApi.md

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions docs/Api/ConvertImageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **convertImageMultipageImageFormatConvert**
> \Swagger\Client\Model\MultipageImageFormatConversionResult convertImageMultipageImageFormatConvert($format1, $format2, $input_file)
> \Swagger\Client\Model\MultipageImageFormatConversionResult convertImageMultipageImageFormatConvert($format1, $format2, $input_file, $dpi)
Multi-page image format conversion

Expand All @@ -207,9 +207,10 @@ $apiInstance = new Swagger\Client\Api\ConvertImageApi(
$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
$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
$input_file = "/path/to/file.txt"; // \SplFileObject | Input file to perform the operation on.
$dpi = 56; // int | 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 {
$result = $apiInstance->convertImageMultipageImageFormatConvert($format1, $format2, $input_file);
$result = $apiInstance->convertImageMultipageImageFormatConvert($format1, $format2, $input_file, $dpi);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ConvertImageApi->convertImageMultipageImageFormatConvert: ', $e->getMessage(), PHP_EOL;
Expand All @@ -224,6 +225,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 |
**input_file** | **\SplFileObject**| Input file to perform the operation on. |
**dpi** | **int**| 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/Api/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 @@ -130,7 +132,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **editDocumentDocxAcceptAllTrackChanges**
> string editDocumentDocxAcceptAllTrackChanges($input_file)
> string editDocumentDocxAcceptAllTrackChanges($input_file, $autorepair)
Accept all tracked changes, revisions in a Word DOCX document

Expand All @@ -153,9 +155,10 @@ $apiInstance = new Swagger\Client\Api\EditDocumentApi(
$config
);
$input_file = "/path/to/file.txt"; // \SplFileObject | Input file to perform the operation on.
$autorepair = true; // bool | Optional; automatically repair input documents that have errors (default is true)

try {
$result = $apiInstance->editDocumentDocxAcceptAllTrackChanges($input_file);
$result = $apiInstance->editDocumentDocxAcceptAllTrackChanges($input_file, $autorepair);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EditDocumentApi->editDocumentDocxAcceptAllTrackChanges: ', $e->getMessage(), PHP_EOL;
Expand All @@ -168,6 +171,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input_file** | **\SplFileObject**| Input file to perform the operation on. |
**autorepair** | **bool**| 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

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **editDocumentPptxEditSizeAndOrientation**
> string editDocumentPptxEditSizeAndOrientation($input_file, $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
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\EditDocumentApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input_file = "/path/to/file.txt"; // \SplFileObject | Input file to perform the operation on.
$orientation = "orientation_example"; // string | Optional: The desired slide orientation; can be landscape or portrait.
$width = 56; // int | Optional: The desired slide width in Emu, where 1 inch equals 914400 emu.
$height = 56; // int | Optional: The desired slide height in Emu, where 1 inch equals 914400 emu

try {
$result = $apiInstance->editDocumentPptxEditSizeAndOrientation($input_file, $orientation, $width, $height);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EditDocumentApi->editDocumentPptxEditSizeAndOrientation: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

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

### Return type

**string**

### Authorization

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

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **editDocumentPptxGetMacroInformation**
> \Swagger\Client\Model\GetMacrosResponse editDocumentPptxGetMacroInformation($input_file)
Expand Down Expand Up @@ -2604,6 +2669,61 @@ Name | Type | Description | Notes

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **editDocumentPptxGetSizeAndOrientation**
> \Swagger\Client\Model\PptxPageLayoutInformation editDocumentPptxGetSizeAndOrientation($input_file)
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
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer');

$apiInstance = new Swagger\Client\Api\EditDocumentApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$input_file = "/path/to/file.txt"; // \SplFileObject | Input file to perform the operation on.

try {
$result = $apiInstance->editDocumentPptxGetSizeAndOrientation($input_file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EditDocumentApi->editDocumentPptxGetSizeAndOrientation: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**input_file** | **\SplFileObject**| Input file to perform the operation on. |

### Return type

[**\Swagger\Client\Model\PptxPageLayoutInformation**](../Model/PptxPageLayoutInformation.md)

### Authorization

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

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **editDocumentPptxReplace**
> string editDocumentPptxReplace($req_config)
Expand Down
Loading

0 comments on commit ad8fcb3

Please sign in to comment.