Aspose.Cells Cloud Web API - Change word case
Specify changing the text case in a spreadsheet to switch between uppercase, lowercase, capitalizing the first letter of each word, or capitalizing the first letter of a sentence, and adjust the text according to specific needs.
Overview
Converts text values in the chosen range to upper, lower, proper or sentence case; formulas, formatting and data-validation remain untouched. String cells only – numbers, booleans, errors and blanks are ignored.
- UpperCase – every character capitalized.
- LowerCase – every character lowercased.
- ProperCase – first letter of each word uppercase, remainder lowercase.
- SentenceCase – first letter of each sentence uppercase, remainder lowercase.
ChangeWordCase API
PUT http://api.aspose.cloud/v4.0/cells/content/wordcase
The request parameters of updateWordCase API are
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
|---|---|---|---|
| Spreadsheet | File | FormData | Upload spreadsheet file. |
| wordCaseType | String | Query | Specify text case: Upper Case, Lower Case, Proper Case, Sentence Case. |
| worksheet | String | Query | Specify the worksheet of spreadsheet. |
| range | String | Query | Specify the worksheet range of spreadsheet. |
| outPath | String | Query | (Optional) The folder path where the workbook is stored. The default is null. |
| outStorageName | String | Query | Output file Storage Name. |
| region | String | Query | The spreadsheet region setting. |
| password | String | Query | The password for opening spreadsheet file. |
Response
{
File
}
Error Codes
- 400 Bad Request: Invalid Apose.Cells Cloud API URI.
- 401 Unauthorized: Invalid access token. Or invalid client id and secret.
- 404 Not Found: The spreadsheet file not accessible.
- 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.
Where should we use the Merge Local Spreadsheet API?
Why should you use the Merge Local Spreadsheet API?
OpenAPI Specification
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
Use Aspose.Cells Cloud SDKs
Using the SDK is the best way to accelerate development. The SDK handles the underlying details, allowing you to simply implement Update word case for cells with minimal code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples illustrate how to make calls to Aspose.Cells web services using various SDKs: