aspose_cells_cloud 26.7 → 26.8
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13d19b5e0c547c565fac11b876bdb6c768324632725b8d30b51be773f042810b
|
|
4
|
+
data.tar.gz: f7c965908b88b104d173424fe0673f19e4d87b167cdd8e0f8928725cd0ac6150
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f9e37646a2351e3abfc3dd3b4ab2709ebd53e875da90827060488db6c64dd1f8b440191f0231e1acc8b07de94fad679ae330f9b218e401114071722f6908e4f4
|
|
7
|
+
data.tar.gz: dc141c8f264e2f79d9e27ef08ac9f017f6fda33538f3cec16f30d75af0f727326ba1a56dd70a76309ed1a6047a141cd54a51a7745bd958fafcfbb914164e9262
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
 [](https://products.aspose.cloud/cells/ruby/) [](https://docs.aspose.cloud/cells/) [](https://reference.aspose.cloud/cells/) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/tree/master/Examples) [](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [](https://forum.aspose.cloud/c/cells/7) [](https://rubygems.org/gems/aspose_cells_cloud) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/archive/refs/heads/master.zip) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) 
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Aspose.Cells Cloud SDK for Ruby
|
|
4
|
+
|
|
5
|
+
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) is a cloud-native REST API that enables Ruby developers to **create**, **read**, **edit**, **convert**, and **repair** spreadsheet files—including **Excel** (**XLS**, **XLSX**, **XLSB**, **XLSM**), **OpenDocument Spreadsheet** (**ODS**), **CSV**, **TSV**, **JSON**, **HTML**, **PDF**, and **more**—without requiring Microsoft Excel or Office to be installed.
|
|
4
6
|
|
|
5
7
|
Built on the **Aspose.Cells Cloud Web API**, this MIT-licensed SDK supports advanced spreadsheet operations such as:
|
|
6
8
|
|
|
@@ -14,104 +16,105 @@ It seamlessly integrates with **AWS**, **Microsoft Azure**, and **Google Cloud**
|
|
|
14
16
|
|
|
15
17
|
## Quick Start Guide
|
|
16
18
|
|
|
17
|
-
To
|
|
19
|
+
To get started with Aspose.Cells Cloud, here's what you need to do:
|
|
18
20
|
|
|
19
21
|
1. Sign up for an account at [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) to obtain your application details.
|
|
20
22
|
2. Install the Aspose.Cells Cloud Ruby Package from [RubyGems](https://rubygems.org/).
|
|
21
23
|
|
|
22
|
-
-
|
|
24
|
+
- Execute the following command to get the latest Gem package.
|
|
23
25
|
|
|
24
26
|
```console
|
|
25
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
27
|
+
gem 'aspose_cells_cloud', '~> 26.8.0'
|
|
26
28
|
```
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
Or install directly:
|
|
29
31
|
|
|
30
32
|
```console
|
|
31
33
|
gem install aspose_cells_cloud
|
|
32
34
|
```
|
|
33
35
|
|
|
34
|
-
|
|
36
|
+
3. Use the conversion code provided below as a reference to add or modify your application.
|
|
35
37
|
|
|
36
38
|
```ruby
|
|
37
39
|
require 'openssl'
|
|
38
40
|
require 'bundler'
|
|
39
41
|
require 'aspose_cells_cloud'
|
|
40
42
|
|
|
41
|
-
CellsCloudClientId = "
|
|
42
|
-
CellsCloudClientSecret = "
|
|
43
|
+
CellsCloudClientId = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientId']
|
|
44
|
+
CellsCloudClientSecret = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientSecret']
|
|
43
45
|
|
|
44
46
|
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
45
|
-
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet=>'EmployeeSalesSummary.xlsx'
|
|
46
|
-
response = @instance.convert_spreadsheet(request)
|
|
47
|
+
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
|
|
48
|
+
response = @instance.convert_spreadsheet(request)
|
|
47
49
|
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
48
50
|
```
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
4. How to upload a file to cloud storage.
|
|
51
53
|
|
|
52
54
|
```ruby
|
|
53
55
|
require 'openssl'
|
|
54
56
|
require 'bundler'
|
|
55
57
|
require 'aspose_cells_cloud'
|
|
56
58
|
|
|
57
|
-
CellsCloudClientId = "
|
|
58
|
-
CellsCloudClientSecret = "
|
|
59
|
+
CellsCloudClientId = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientId']
|
|
60
|
+
CellsCloudClientSecret = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientSecret']
|
|
59
61
|
|
|
60
62
|
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
61
|
-
request =
|
|
62
|
-
@instance.upload_file(request)
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
##
|
|
66
|
-
|
|
67
|
-
| **Format** | **Description**
|
|
68
|
-
| :---------------------------------------------------------------- |
|
|
69
|
-
| [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel 95/5.0 - 2003 Workbook.
|
|
70
|
-
| [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML SpreadsheetML Workbook or template file, with or without macros.
|
|
71
|
-
| [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel Binary Workbook.
|
|
72
|
-
| [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Excel Macro-Enabled Workbook.
|
|
73
|
-
| [XLT](https://docs.fileformat.com/spreadsheet/xlt/) | Excel 97 - Excel 2003 Template.
|
|
74
|
-
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel Template.
|
|
75
|
-
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel Macro-Enabled Template.
|
|
76
|
-
| [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | An Excel Macro-Enabled Add-In file
|
|
77
|
-
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (Comma
|
|
78
|
-
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (Tab-
|
|
79
|
-
| [TXT](https://docs.fileformat.com/word-processing/txt/) | Delimited plain text file.
|
|
80
|
-
| [HTML](https://docs.fileformat.com/web/html/) | HTML format.
|
|
81
|
-
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML file.
|
|
82
|
-
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS (OpenDocument Spreadsheet).
|
|
83
|
-
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) |
|
|
84
|
-
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation
|
|
85
|
-
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format.
|
|
86
|
-
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format.
|
|
87
|
-
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format.
|
|
88
|
-
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | Scalable Vector Graphics Format.
|
|
89
|
-
| [TIFF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format
|
|
90
|
-
| [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format
|
|
91
|
-
| [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format
|
|
92
|
-
| [EMF](https://docs.fileformat.com/image/emf/) | Enhanced
|
|
93
|
-
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG is a type of image format
|
|
94
|
-
| [GIF](https://docs.fileformat.com/image/gif/) |
|
|
95
|
-
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Represents a
|
|
96
|
-
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | An XML
|
|
97
|
-
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) |
|
|
98
|
-
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | A well-known format for Microsoft Word documents that
|
|
99
|
-
| [PPTX](https://docs.fileformat.com/presentation/pptx/) |
|
|
100
|
-
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS (OpenDocument Spreadsheet).
|
|
101
|
-
| [XML](https://docs.fileformat.com/web/xml/) | XML file.
|
|
102
|
-
| [HTM](https://docs.fileformat.com/web/htm/) | HTM file.
|
|
103
|
-
| [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format
|
|
104
|
-
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format
|
|
105
|
-
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format
|
|
106
|
-
| [AZW3](https://docs.fileformat.com/ebook/azw3/) |
|
|
107
|
-
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format
|
|
108
|
-
| [DBF](https://docs.fileformat.com/
|
|
109
|
-
| [
|
|
110
|
-
| [XHTML](https://docs.fileformat.com/web/xhtml/) | XHTML File Format | | √ |
|
|
63
|
+
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
|
|
64
|
+
@instance.upload_file(request)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Supported File Formats
|
|
68
|
+
|
|
69
|
+
| **Format** | **Description** | **Load** | **Save** |
|
|
70
|
+
| :---------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------- | :------- |
|
|
71
|
+
| [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel 95/5.0 - 2003 Workbook. | √ | √ |
|
|
72
|
+
| [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML SpreadsheetML Workbook or template file, with or without macros. | √ | √ |
|
|
73
|
+
| [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel Binary Workbook. | √ | √ |
|
|
74
|
+
| [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Excel Macro-Enabled Workbook. | √ | √ |
|
|
75
|
+
| [XLT](https://docs.fileformat.com/spreadsheet/xlt/) | Excel 97 - Excel 2003 Template. | √ | √ |
|
|
76
|
+
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel Template. | √ | √ |
|
|
77
|
+
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel Macro-Enabled Template. | √ | √ |
|
|
78
|
+
| [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | An Excel Macro-Enabled Add-In file used to add new functions to Excel. | | √ |
|
|
79
|
+
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (Comma-Separated Values) file. | √ | √ |
|
|
80
|
+
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (Tab-Separated Values) file. | √ | √ |
|
|
81
|
+
| [TXT](https://docs.fileformat.com/word-processing/txt/) | Delimited plain text file. | √ | √ |
|
|
82
|
+
| [HTML](https://docs.fileformat.com/web/html/) | HTML format. | √ | √ |
|
|
83
|
+
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML file. | √ | √ |
|
|
84
|
+
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS (OpenDocument Spreadsheet). | √ | √ |
|
|
85
|
+
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Document created by Apple's "Numbers" application, part of Apple's iWork office suite running on macOS and iOS. | √ | |
|
|
86
|
+
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
|
|
87
|
+
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format. | | √ |
|
|
88
|
+
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
|
|
89
|
+
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format. | | √ |
|
|
90
|
+
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | Scalable Vector Graphics Format. | | √ |
|
|
91
|
+
| [TIFF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
92
|
+
| [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format | | √ |
|
|
93
|
+
| [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format | | √ |
|
|
94
|
+
| [EMF](https://docs.fileformat.com/image/emf/) | Enhanced Metafile Format | | √ |
|
|
95
|
+
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG is a type of image format saved using lossy compression. | | √ |
|
|
96
|
+
| [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
|
|
97
|
+
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Represents a Markdown document. | | √ |
|
|
98
|
+
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | An XML-based format used by OpenOffice and StarOffice | √ | √ |
|
|
99
|
+
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | An Open Document format stored as flat XML. | √ | √ |
|
|
100
|
+
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | A well-known format for Microsoft Word documents that combines XML and binary files. | | √ |
|
|
101
|
+
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML presentation file format. | | √ |
|
|
102
|
+
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS (OpenDocument Spreadsheet Template). | √ | √ |
|
|
103
|
+
| [XML](https://docs.fileformat.com/web/xml/) | XML file. | √ | √ |
|
|
104
|
+
| [HTM](https://docs.fileformat.com/web/htm/) | HTM file. | √ | √ |
|
|
105
|
+
| [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
106
|
+
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format | | √ |
|
|
107
|
+
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
|
|
108
|
+
| [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 File Format | | √ |
|
|
109
|
+
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format | | √ |
|
|
110
|
+
| [DBF](https://docs.fileformat.com/database/dbf/) | DBF File Format | | √ |
|
|
111
|
+
| [XHTML](https://docs.fileformat.com/web/xhtml/) | XHTML File Format | | √ |
|
|
111
112
|
|
|
112
113
|
## Architecture
|
|
113
114
|
|
|
114
115
|

|
|
116
|
+
|
|
117
|
+
```mermaid
|
|
115
118
|
graph TB
|
|
116
119
|
|
|
117
120
|
subgraph "Client Layer"
|
|
@@ -126,7 +129,7 @@ graph TB
|
|
|
126
129
|
G3[Load Balancing]
|
|
127
130
|
end
|
|
128
131
|
|
|
129
|
-
subgraph "Cloud Microservices
|
|
132
|
+
subgraph "Cloud Microservices Layer"
|
|
130
133
|
S1[User Application]
|
|
131
134
|
S2[Product Services]
|
|
132
135
|
end
|
|
@@ -137,34 +140,31 @@ graph TB
|
|
|
137
140
|
style C1 fill:#e1f5fe
|
|
138
141
|
style G1 fill:#f3e5f5
|
|
139
142
|
style S1 fill:#e8f5e8
|
|
140
|
-
|
|
141
143
|
```
|
|
142
144
|
|
|
143
145
|
## [Developer Reference](docs/DeveloperGuide.md#overview)
|
|
144
146
|
|
|
145
|
-
###
|
|
147
|
+
### Manipulating Excel and Other Spreadsheet Files in the Cloud
|
|
146
148
|
|
|
147
149
|
- File Manipulation: Users can upload, download, delete, and manage Excel files stored in the cloud.
|
|
148
|
-
- Formatting: Supports formatting of cells, fonts, colors, and alignment modes in Excel files to
|
|
150
|
+
- Formatting: Supports formatting of cells, fonts, colors, and alignment modes in Excel files to meet users' specific requirements.
|
|
149
151
|
- Data Processing: Powerful functions for data processing including reading, writing, modifying cell data, performing formula calculations, and formatting data.
|
|
150
152
|
- Formula Calculation: Built-in formula engine handles complex formula calculations in Excel and returns accurate results.
|
|
151
153
|
- Chart Manipulation: Users can create, edit, and delete charts from Excel files for data analysis and visualization needs.
|
|
152
154
|
- Table Processing: Offers robust processing capabilities for various form operations such as creation, editing, formatting, and conversion, meeting diverse form processing needs.
|
|
153
|
-
- Data
|
|
154
|
-
- Batch Processing: Supports batch processing of multiple Excel documents, such as batch format conversion, data extraction, and style application
|
|
155
|
+
- Data Validation: Includes data validation functions to set cell data type, range, and uniqueness, ensuring data accuracy and integrity.
|
|
156
|
+
- Batch Processing: Supports batch processing of multiple Excel documents, such as batch format conversion, data extraction, and style application.
|
|
155
157
|
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
|
|
156
158
|
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
|
|
157
159
|
|
|
158
|
-
##
|
|
160
|
+
## Features & Enhancements in Version 26.8
|
|
159
161
|
|
|
160
162
|
Full list of issues covering all changes in this release:
|
|
161
163
|
|
|
162
|
-
| **Summary**
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
|
|
|
166
|
-
| Support for the smart template in Aspose.Cells Cloud 4.0 Web APIs. | New Feature |
|
|
167
|
-
| Fix calc error about MathCalculate Web API. | Bug |
|
|
164
|
+
| **Summary** | **Category** |
|
|
165
|
+
| :---------------------------------------- | :----------- |
|
|
166
|
+
| Enchent smart template feature. | Improvement |
|
|
167
|
+
| A new AI data analysis API has been added.| New Feature |
|
|
168
168
|
|
|
169
169
|
## Available SDKs
|
|
170
170
|
|
|
@@ -186,4 +186,574 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
|
|
|
186
186
|
|
|
187
187
|
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
188
188
|
|
|
189
|
-
## [Release
|
|
189
|
+
## [Release History](CHANGELOG.md)
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
# Aspose.Cells Cloud SDK for Ruby (中文)
|
|
194
|
+
|
|
195
|
+
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) 是一个云原生 REST API,使 Ruby 开发者能够**创建**、**读取**、**编辑**、**转换**和**修复**电子表格文件——包括 **Excel**(**XLS**、**XLSX**、**XLSB**、**XLSM**)、**OpenDocument Spreadsheet**(**ODS**)、**CSV**、**TSV**、**JSON**、**HTML**、**PDF** 等——无需安装 Microsoft Excel 或 Office。
|
|
196
|
+
|
|
197
|
+
基于 **Aspose.Cells Cloud Web API** 构建,此 MIT 许可的 SDK 支持高级电子表格操作,例如:
|
|
198
|
+
|
|
199
|
+
- 单元格格式化、公式和数据验证
|
|
200
|
+
- 数据透视表、图表、超链接和注释
|
|
201
|
+
- 条件格式和智能标记
|
|
202
|
+
- 工作表合并、拆分和保护
|
|
203
|
+
- 批量处理和背景移除
|
|
204
|
+
|
|
205
|
+
它无缝集成 **AWS**、**Microsoft Azure** 和 **Google Cloud**,确保**高可用性**、**可扩展性**和**数据完整性**。非常适合无服务器应用、微服务和云自动化工作流。
|
|
206
|
+
|
|
207
|
+
## 快速入门指南
|
|
208
|
+
|
|
209
|
+
要开始使用 Aspose.Cells Cloud,您需要执行以下操作:
|
|
210
|
+
|
|
211
|
+
1. 在 [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) 注册账户以获取您的应用程序凭证。
|
|
212
|
+
2. 从 [RubyGems](https://rubygems.org/) 安装 Aspose.Cells Cloud Ruby 包。
|
|
213
|
+
|
|
214
|
+
- 执行以下命令获取最新的 Gem 包。
|
|
215
|
+
|
|
216
|
+
```console
|
|
217
|
+
gem 'aspose_cells_cloud', '~> 26.8.0'
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
或直接安装:
|
|
221
|
+
|
|
222
|
+
```console
|
|
223
|
+
gem install aspose_cells_cloud
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
3. 使用以下转换代码作为参考来添加或修改您的应用程序。
|
|
227
|
+
|
|
228
|
+
```ruby
|
|
229
|
+
require 'openssl'
|
|
230
|
+
require 'bundler'
|
|
231
|
+
require 'aspose_cells_cloud'
|
|
232
|
+
|
|
233
|
+
CellsCloudClientId = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientId']
|
|
234
|
+
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientSecret']
|
|
235
|
+
|
|
236
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
237
|
+
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
|
|
238
|
+
response = @instance.convert_spreadsheet(request)
|
|
239
|
+
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
4. 如何将文件上传到云存储。
|
|
243
|
+
|
|
244
|
+
```ruby
|
|
245
|
+
require 'openssl'
|
|
246
|
+
require 'bundler'
|
|
247
|
+
require 'aspose_cells_cloud'
|
|
248
|
+
|
|
249
|
+
CellsCloudClientId = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientId']
|
|
250
|
+
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientSecret']
|
|
251
|
+
|
|
252
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
253
|
+
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
|
|
254
|
+
@instance.upload_file(request)
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## 支持的文件格式
|
|
258
|
+
|
|
259
|
+
| **格式** | **描述** | **加载** | **保存** |
|
|
260
|
+
| :---------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | :------- | :------- |
|
|
261
|
+
| [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel 95/5.0 - 2003 工作簿。 | √ | √ |
|
|
262
|
+
| [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML SpreadsheetML 工作簿或模板文件,带或不带宏。 | √ | √ |
|
|
263
|
+
| [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel 二进制工作簿。 | √ | √ |
|
|
264
|
+
| [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Excel 启用宏的工作簿。 | √ | √ |
|
|
265
|
+
| [XLT](https://docs.fileformat.com/spreadsheet/xlt/) | Excel 97 - Excel 2003 模板。 | √ | √ |
|
|
266
|
+
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel 模板。 | √ | √ |
|
|
267
|
+
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel 启用宏的模板。 | √ | √ |
|
|
268
|
+
| [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | Excel 启用宏的加载项文件,用于向 Excel 添加新功能。 | | √ |
|
|
269
|
+
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV(逗号分隔值)文件。 | √ | √ |
|
|
270
|
+
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV(制表符分隔值)文件。 | √ | √ |
|
|
271
|
+
| [TXT](https://docs.fileformat.com/word-processing/txt/) | 分隔纯文本文件。 | √ | √ |
|
|
272
|
+
| [HTML](https://docs.fileformat.com/web/html/) | HTML 格式。 | √ | √ |
|
|
273
|
+
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML 文件。 | √ | √ |
|
|
274
|
+
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS(OpenDocument 电子表格)。 | √ | √ |
|
|
275
|
+
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | 由 Apple "Numbers" 应用程序创建的文档,属于 Apple iWork 办公套件,运行于 macOS 和 iOS。 | √ | |
|
|
276
|
+
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript 对象表示法 | √ | √ |
|
|
277
|
+
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | 数据交换格式。 | | √ |
|
|
278
|
+
| [PDF](https://docs.fileformat.com/pdf/) | Adobe 便携式文档格式。 | | √ |
|
|
279
|
+
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML 纸张规范格式。 | | √ |
|
|
280
|
+
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | 可缩放矢量图形格式。 | | √ |
|
|
281
|
+
| [TIFF](https://docs.fileformat.com/image/tiff/) | 标记图像文件格式 | | √ |
|
|
282
|
+
| [PNG](https://docs.fileformat.com/image/png/) | 便携式网络图形格式 | | √ |
|
|
283
|
+
| [BMP](https://docs.fileformat.com/image/bmp/) | 位图图像格式 | | √ |
|
|
284
|
+
| [EMF](https://docs.fileformat.com/image/emf/) | 增强型图元文件格式 | | √ |
|
|
285
|
+
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG 是一种使用有损压缩保存的图像格式。 | | √ |
|
|
286
|
+
| [GIF](https://docs.fileformat.com/image/gif/) | 图形交换格式 | | √ |
|
|
287
|
+
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | 表示 Markdown 文档。 | | √ |
|
|
288
|
+
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | OpenOffice 和 StarOffice 使用的基于 XML 的格式 | √ | √ |
|
|
289
|
+
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | 以平面 XML 存储的 Open Document 格式 | √ | √ |
|
|
290
|
+
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | Microsoft Word 文档的知名格式,结合了 XML 和二进制文件。 | | √ |
|
|
291
|
+
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML 演示文稿文件格式。 | | √ |
|
|
292
|
+
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS(OpenDocument 电子表格模板)。 | √ | √ |
|
|
293
|
+
| [XML](https://docs.fileformat.com/web/xml/) | XML 文件。 | √ | √ |
|
|
294
|
+
| [HTM](https://docs.fileformat.com/web/htm/) | HTM 文件。 | √ | √ |
|
|
295
|
+
| [TIF](https://docs.fileformat.com/image/tiff/) | 标记图像文件格式 | | √ |
|
|
296
|
+
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF 图像格式 | | √ |
|
|
297
|
+
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | 打印机命令语言格式 | | √ |
|
|
298
|
+
| [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 文件格式 | | √ |
|
|
299
|
+
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB 文件格式 | | √ |
|
|
300
|
+
| [DBF](https://docs.fileformat.com/database/dbf/) | DBF 文件格式 | | √ |
|
|
301
|
+
| [XHTML](https://docs.fileformat.com/web/xhtml/) | XHTML 文件格式 | | √ |
|
|
302
|
+
|
|
303
|
+
## 架构
|
|
304
|
+
|
|
305
|
+

|
|
306
|
+
|
|
307
|
+
```mermaid
|
|
308
|
+
graph TB
|
|
309
|
+
|
|
310
|
+
subgraph "客户端层"
|
|
311
|
+
C1[Web 应用]
|
|
312
|
+
C2[移动应用]
|
|
313
|
+
C3[桌面应用]
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
subgraph "API 网关层"
|
|
317
|
+
G1[网关服务]
|
|
318
|
+
G2[认证服务]
|
|
319
|
+
G3[负载均衡]
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
subgraph "云微服务层"
|
|
323
|
+
S1[用户应用]
|
|
324
|
+
S2[产品服务]
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
C1 & C2 & C3 --> G1
|
|
328
|
+
G1 --> S1 & S2
|
|
329
|
+
|
|
330
|
+
style C1 fill:#e1f5fe
|
|
331
|
+
style G1 fill:#f3e5f5
|
|
332
|
+
style S1 fill:#e8f5e8
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
## [开发者参考](docs/DeveloperGuide.md#overview)
|
|
336
|
+
|
|
337
|
+
### 在云端操作 Excel 及其他电子表格文件
|
|
338
|
+
|
|
339
|
+
- 文件操作:用户可以上传、下载、删除和管理存储在云端的 Excel 文件。
|
|
340
|
+
- 格式化:支持对 Excel 文件中的单元格、字体、颜色和对齐模式进行格式化,以满足用户的特定需求。
|
|
341
|
+
- 数据处理:强大的数据处理功能,包括读取、写入、修改单元格数据,执行公式计算以及格式化数据。
|
|
342
|
+
- 公式计算:内置公式引擎处理 Excel 中的复杂公式计算并返回准确结果。
|
|
343
|
+
- 图表操作:用户可以创建、编辑和删除 Excel 文件中的图表,以满足数据分析和可视化需求。
|
|
344
|
+
- 表格处理:为各种表单操作(如创建、编辑、格式化、转换)提供强大的处理能力,满足多样化的表单处理需求。
|
|
345
|
+
- 数据验证:包含数据验证功能,可设置单元格数据类型、范围和唯一性,确保数据的准确性和完整性。
|
|
346
|
+
- 批量处理:支持批量处理多个 Excel 文档,如批量格式转换、数据提取和样式应用。
|
|
347
|
+
- 导入/导出:支持从各种数据源导入数据到电子表格,以及将电子表格数据导出到其他格式。
|
|
348
|
+
- 安全管理:提供数据加密、访问控制、权限管理等一系列安全功能,保障电子表格数据的安全性和完整性。
|
|
349
|
+
|
|
350
|
+
## 版本 26.8 的功能与增强
|
|
351
|
+
|
|
352
|
+
涵盖此版本所有更改的完整问题列表:
|
|
353
|
+
|
|
354
|
+
| **摘要** | **类别** |
|
|
355
|
+
| :------------------------------------- | :------- |
|
|
356
|
+
| Enchent smart template feature. | Improvement |
|
|
357
|
+
| A new AI data analysis API has been added.| New Feature |
|
|
358
|
+
|
|
359
|
+
## 可用的 SDK
|
|
360
|
+
|
|
361
|
+
Aspose.Cells Cloud SDK 提供多种主流编程语言版本,使开发人员能够在各种开发环境中集成电子表格处理功能。
|
|
362
|
+
|
|
363
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go) [](https://pkg.go.dev/github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25)
|
|
364
|
+
|
|
365
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/Aspose.Cells.Cloud.pom.xml)
|
|
366
|
+
|
|
367
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet) [](https://www.nuget.org/packages/Aspose.cells-Cloud/#readme-body-tab)
|
|
368
|
+
|
|
369
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node) [](https://www.npmjs.com/package/asposecellscloud)
|
|
370
|
+
|
|
371
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl) [](https://metacpan.org/dist/AsposeCellsCloud-CellsApi)
|
|
372
|
+
|
|
373
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php) [](https://packagist.org/packages/aspose/cells-sdk-php)
|
|
374
|
+
|
|
375
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python) [](https://pypi.org/project/asposecellscloud/)
|
|
376
|
+
|
|
377
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
378
|
+
|
|
379
|
+
## [发布历史](CHANGELOG.md)
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
|
|
383
|
+
# Aspose.Cells Cloud SDK for Ruby (日本語)
|
|
384
|
+
|
|
385
|
+
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) は、Ruby 開発者が **Excel**(**XLS**、**XLSX**、**XLSB**、**XLSM**)、**OpenDocument Spreadsheet**(**ODS**)、**CSV**、**TSV**、**JSON**、**HTML**、**PDF** などのスプレッドシートファイルを Microsoft Excel や Office をインストールせずに**作成**、**読み取り**、**編集**、**変換**、**修復**できるクラウドネイティブ REST API です。
|
|
386
|
+
|
|
387
|
+
**Aspose.Cells Cloud Web API** 上に構築されたこの MIT ライセンスの SDK は、以下のような高度なスプレッドシート操作をサポートします:
|
|
388
|
+
|
|
389
|
+
- セルの書式設定、数式、データ検証
|
|
390
|
+
- ピボットテーブル、グラフ、ハイパーリンク、コメント
|
|
391
|
+
- 条件付き書式とスマートマーカー
|
|
392
|
+
- ワークシートの結合、分割、保護
|
|
393
|
+
- バッチ処理と背景除去
|
|
394
|
+
|
|
395
|
+
**AWS**、**Microsoft Azure**、**Google Cloud** とシームレスに統合し、**高可用性**、**スケーラビリティ**、**データ整合性**を確保します。サーバーレスアプリ、マイクロサービス、クラウド自動化ワークフローに最適です。
|
|
396
|
+
|
|
397
|
+
## クイックスタートガイド
|
|
398
|
+
|
|
399
|
+
Aspose.Cells Cloud を始めるには、以下の手順に従ってください:
|
|
400
|
+
|
|
401
|
+
1. [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps) でアカウントを作成し、アプリケーションの詳細を取得します。
|
|
402
|
+
2. [RubyGems](https://rubygems.org/) から Aspose.Cells Cloud Ruby パッケージをインストールします。
|
|
403
|
+
|
|
404
|
+
- 以下のコマンドを実行して最新の Gem パッケージを取得します。
|
|
405
|
+
|
|
406
|
+
```console
|
|
407
|
+
gem 'aspose_cells_cloud', '~> 26.8.0'
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
または直接インストール:
|
|
411
|
+
|
|
412
|
+
```console
|
|
413
|
+
gem install aspose_cells_cloud
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
3. 以下の変換コードを参考に、アプリケーションを追加または変更します。
|
|
417
|
+
|
|
418
|
+
```ruby
|
|
419
|
+
require 'openssl'
|
|
420
|
+
require 'bundler'
|
|
421
|
+
require 'aspose_cells_cloud'
|
|
422
|
+
|
|
423
|
+
CellsCloudClientId = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientId'] を設定
|
|
424
|
+
CellsCloudClientSecret = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientSecret'] を設定
|
|
425
|
+
|
|
426
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
427
|
+
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
|
|
428
|
+
response = @instance.convert_spreadsheet(request)
|
|
429
|
+
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
4. クラウドストレージにファイルをアップロードする方法。
|
|
433
|
+
|
|
434
|
+
```ruby
|
|
435
|
+
require 'openssl'
|
|
436
|
+
require 'bundler'
|
|
437
|
+
require 'aspose_cells_cloud'
|
|
438
|
+
|
|
439
|
+
CellsCloudClientId = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientId'] を設定
|
|
440
|
+
CellsCloudClientSecret = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientSecret'] を設定
|
|
441
|
+
|
|
442
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
443
|
+
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
|
|
444
|
+
@instance.upload_file(request)
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
## サポートされているファイル形式
|
|
448
|
+
|
|
449
|
+
| **形式** | **説明** | **読み込み** | **保存** |
|
|
450
|
+
| :---------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------- | :----------- | :------- |
|
|
451
|
+
| [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel 95/5.0 - 2003 ワークブック。 | √ | √ |
|
|
452
|
+
| [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML SpreadsheetML ワークブックまたはテンプレートファイル(マクロあり/なし)。 | √ | √ |
|
|
453
|
+
| [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel バイナリワークブック。 | √ | √ |
|
|
454
|
+
| [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Excel マクロ有効ワークブック。 | √ | √ |
|
|
455
|
+
| [XLT](https://docs.fileformat.com/spreadsheet/xlt/) | Excel 97 - Excel 2003 テンプレート。 | √ | √ |
|
|
456
|
+
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel テンプレート。 | √ | √ |
|
|
457
|
+
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel マクロ有効テンプレート。 | √ | √ |
|
|
458
|
+
| [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | Excel に新しい関数を追加するために使用される Excel マクロ有効アドインファイル。 | | √ |
|
|
459
|
+
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV(カンマ区切り値)ファイル。 | √ | √ |
|
|
460
|
+
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV(タブ区切り値)ファイル。 | √ | √ |
|
|
461
|
+
| [TXT](https://docs.fileformat.com/word-processing/txt/) | 区切り付きプレーンテキストファイル。 | √ | √ |
|
|
462
|
+
| [HTML](https://docs.fileformat.com/web/html/) | HTML 形式。 | √ | √ |
|
|
463
|
+
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML ファイル。 | √ | √ |
|
|
464
|
+
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS(OpenDocument スプレッドシート)。 | √ | √ |
|
|
465
|
+
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Apple の iWork オフィススイートの一部である「Numbers」アプリケーションで作成されたドキュメント(macOS および iOS で動作)。 | √ | |
|
|
466
|
+
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
|
|
467
|
+
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format。 | | √ |
|
|
468
|
+
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
|
|
469
|
+
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format. | | √ |
|
|
470
|
+
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | Scalable Vector Graphics Format. | | √ |
|
|
471
|
+
| [TIFF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
472
|
+
| [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format | | √ |
|
|
473
|
+
| [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format | | √ |
|
|
474
|
+
| [EMF](https://docs.fileformat.com/image/emf/) | Enhanced Metafile Format | | √ |
|
|
475
|
+
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG は非可逆圧縮方式で保存される画像形式です。 | | √ |
|
|
476
|
+
| [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
|
|
477
|
+
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Markdown ドキュメントを表します。 | | √ |
|
|
478
|
+
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | OpenOffice および StarOffice で使用される XML ベースの形式 | √ | √ |
|
|
479
|
+
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | フラット XML として保存された Open Document 形式。 | √ | √ |
|
|
480
|
+
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | Microsoft Word ドキュメントの有名な形式,XML とバイナリファイルを組み合わせています。 | | √ |
|
|
481
|
+
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML プレゼンテーションファイル形式。 | | √ |
|
|
482
|
+
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS(OpenDocument スプレッドシートテンプレート)。 | √ | √ |
|
|
483
|
+
| [XML](https://docs.fileformat.com/web/xml/) | XML ファイル。 | √ | √ |
|
|
484
|
+
| [HTM](https://docs.fileformat.com/web/htm/) | HTM ファイル。 | √ | √ |
|
|
485
|
+
| [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
486
|
+
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format | | √ |
|
|
487
|
+
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
|
|
488
|
+
| [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 File Format | | √ |
|
|
489
|
+
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format | | √ |
|
|
490
|
+
| [DBF](https://docs.fileformat.com/database/dbf/) | DBF File Format | | √ |
|
|
491
|
+
| [XHTML](https://docs.fileformat.com/web/xhtml/) | XHTML File Format | | √ |
|
|
492
|
+
|
|
493
|
+
## アーキテクチャ
|
|
494
|
+
|
|
495
|
+

|
|
496
|
+
|
|
497
|
+
```mermaid
|
|
498
|
+
graph TB
|
|
499
|
+
|
|
500
|
+
subgraph "クライアント層"
|
|
501
|
+
C1[Web アプリケーション]
|
|
502
|
+
C2[モバイルアプリケーション]
|
|
503
|
+
C3[デスクトップアプリケーション]
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
subgraph "API ゲートウェイ層"
|
|
507
|
+
G1[ゲートウェイサービス]
|
|
508
|
+
G2[認証サービス]
|
|
509
|
+
G3[負荷分散]
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
subgraph "クラウドマイクロサービス層"
|
|
513
|
+
S1[ユーザーアプリケーション]
|
|
514
|
+
S2[製品サービス]
|
|
515
|
+
end
|
|
516
|
+
|
|
517
|
+
C1 & C2 & C3 --> G1
|
|
518
|
+
G1 --> S1 & S2
|
|
519
|
+
|
|
520
|
+
style C1 fill:#e1f5fe
|
|
521
|
+
style G1 fill:#f3e5f5
|
|
522
|
+
style S1 fill:#e8f5e8
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
## [開発者リファレンス](docs/DeveloperGuide.md#overview)
|
|
526
|
+
|
|
527
|
+
### クラウドでの Excel およびその他のスプレッドシートファイルの操作
|
|
528
|
+
|
|
529
|
+
- ファイル操作:クラウドに保存されている Excel ファイルのアップロード、ダウンロード、削除、管理が可能です。
|
|
530
|
+
- 書式設定:ユーザーの特定の要件に合わせて、Excel ファイル内のセル、フォント、色、配置モードの書式設定をサポートします。
|
|
531
|
+
- データ処理:セルデータの読み取り、書き込み、変更、数式計算の実行、データの書式設定など、強力なデータ処理機能を提供します。
|
|
532
|
+
- 数式計算:組み込みの数式エンジンが Excel の複雑な数式計算を処理し、正確な結果を返します。
|
|
533
|
+
- グラフ操作:データ分析と可視化のニーズに応じて、Excel ファイルからグラフを作成、編集、削除できます。
|
|
534
|
+
- テーブル処理:作成、編集、書式設定、変換など、さまざまなフォーム操作に対して堅牢な処理機能を提供し、多様なフォーム処理のニーズに対応します。
|
|
535
|
+
- データ検証:セルのデータ型、範囲、一意性を設定するデータ検証機能を含み、データの正確性と整合性を確保します。
|
|
536
|
+
- バッチ処理:バッチ形式変換、データ抽出、スタイル適用など、複数の Excel ドキュメントのバッチ処理をサポートします。
|
|
537
|
+
- インポート/エクスポート:さまざまなソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
|
|
538
|
+
- セキュリティ管理:データ暗号化、アクセス制御、権限管理などのさまざまなセキュリティ機能を提供し、スプレッドシートデータのセキュリティと整合性を保護します。
|
|
539
|
+
|
|
540
|
+
## バージョン 26.8 の機能と拡張
|
|
541
|
+
|
|
542
|
+
このリリースのすべての変更を含む問題の完全なリスト:
|
|
543
|
+
|
|
544
|
+
| **概要** | **カテゴリ** |
|
|
545
|
+
| :------------------------------------- | :----------- |
|
|
546
|
+
| Enchent smart template feature. | Improvement |
|
|
547
|
+
| A new AI data analysis API has been added.| New Feature |
|
|
548
|
+
|
|
549
|
+
## 利用可能な SDK
|
|
550
|
+
|
|
551
|
+
Aspose.Cells Cloud SDK は複数の主要なプログラミング言語で利用可能で、開発者はさまざまな開発環境でスプレッドシート処理機能を統合できます。
|
|
552
|
+
|
|
553
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go) [](https://pkg.go.dev/github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25)
|
|
554
|
+
|
|
555
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/Aspose.Cells.Cloud.pom.xml)
|
|
556
|
+
|
|
557
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet) [](https://www.nuget.org/packages/Aspose.cells-Cloud/#readme-body-tab)
|
|
558
|
+
|
|
559
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node) [](https://www.npmjs.com/package/asposecellscloud)
|
|
560
|
+
|
|
561
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl) [](https://metacpan.org/dist/AsposeCellsCloud-CellsApi)
|
|
562
|
+
|
|
563
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php) [](https://packagist.org/packages/aspose/cells-sdk-php)
|
|
564
|
+
|
|
565
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python) [](https://pypi.org/project/asposecellscloud/)
|
|
566
|
+
|
|
567
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
568
|
+
|
|
569
|
+
## [リリース履歴](CHANGELOG.md)
|
|
570
|
+
|
|
571
|
+
---
|
|
572
|
+
|
|
573
|
+
# Aspose.Cells Cloud SDK for Ruby (Deutsch)
|
|
574
|
+
|
|
575
|
+
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) ist eine cloud-native REST-API, die Ruby-Entwicklern das **Erstellen**, **Lesen**, **Bearbeiten**, **Konvertieren** und **Reparieren** von Tabellenkalkulationsdateien ermöglicht – einschließlich **Excel** (**XLS**, **XLSX**, **XLSB**, **XLSM**), **OpenDocument Spreadsheet** (**ODS**), **CSV**, **TSV**, **JSON**, **HTML**, **PDF** und **mehr** – ohne dass Microsoft Excel oder Office installiert sein muss.
|
|
576
|
+
|
|
577
|
+
Aufbauend auf der **Aspose.Cells Cloud Web API** unterstützt dieses MIT-lizenzierte SDK erweiterte Tabellenkalkulationsoperationen wie:
|
|
578
|
+
|
|
579
|
+
- Zellformatierung, Formeln und Datenvalidierung
|
|
580
|
+
- Pivot-Tabellen, Diagramme, Hyperlinks und Kommentare
|
|
581
|
+
- Bedingte Formatierung und Smart Marker
|
|
582
|
+
- Arbeitsblatt-Zusammenführung, -Aufteilung und -Schutz
|
|
583
|
+
- Stapelverarbeitung und Hintergrundentfernung
|
|
584
|
+
|
|
585
|
+
Es integriert sich nahtlos mit **AWS**, **Microsoft Azure** und **Google Cloud** und gewährleistet **hohe Verfügbarkeit**, **Skalierbarkeit** und **Datenintegrität**. Ideal für serverlose Apps, Microservices und Cloud-Automatisierungsworkflows.
|
|
586
|
+
|
|
587
|
+
## Schnellstart-Anleitung
|
|
588
|
+
|
|
589
|
+
Um mit Aspose.Cells Cloud zu beginnen, müssen Sie Folgendes tun:
|
|
590
|
+
|
|
591
|
+
1. Erstellen Sie ein Konto bei [Aspose for Cloud](https://dashboard.aspose.cloud/#/apps), um Ihre Anwendungsdaten zu erhalten.
|
|
592
|
+
2. Installieren Sie das Aspose.Cells Cloud Ruby-Paket von [RubyGems](https://rubygems.org/).
|
|
593
|
+
|
|
594
|
+
- Führen Sie den folgenden Befehl aus, um das neueste Gem-Paket zu erhalten.
|
|
595
|
+
|
|
596
|
+
```console
|
|
597
|
+
gem 'aspose_cells_cloud', '~> 26.8.0'
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
Oder direkt installieren:
|
|
601
|
+
|
|
602
|
+
```console
|
|
603
|
+
gem install aspose_cells_cloud
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
3. Verwenden Sie den folgenden Konvertierungscode als Referenz, um Ihre Anwendung hinzuzufügen oder zu ändern.
|
|
607
|
+
|
|
608
|
+
```ruby
|
|
609
|
+
require 'openssl'
|
|
610
|
+
require 'bundler'
|
|
611
|
+
require 'aspose_cells_cloud'
|
|
612
|
+
|
|
613
|
+
CellsCloudClientId = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientId'] setzen
|
|
614
|
+
CellsCloudClientSecret = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientSecret'] setzen
|
|
615
|
+
|
|
616
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
617
|
+
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
|
|
618
|
+
response = @instance.convert_spreadsheet(request)
|
|
619
|
+
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
620
|
+
```
|
|
621
|
+
|
|
622
|
+
4. So laden Sie eine Datei in den Cloud-Speicher hoch.
|
|
623
|
+
|
|
624
|
+
```ruby
|
|
625
|
+
require 'openssl'
|
|
626
|
+
require 'bundler'
|
|
627
|
+
require 'aspose_cells_cloud'
|
|
628
|
+
|
|
629
|
+
CellsCloudClientId = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientId'] setzen
|
|
630
|
+
CellsCloudClientSecret = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientSecret'] setzen
|
|
631
|
+
|
|
632
|
+
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
|
|
633
|
+
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
|
|
634
|
+
@instance.upload_file(request)
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
## Unterstützte Dateiformate
|
|
638
|
+
|
|
639
|
+
| **Format** | **Beschreibung** | **Laden** | **Speichern** |
|
|
640
|
+
| :---------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------- | :------------ |
|
|
641
|
+
| [XLS](https://docs.fileformat.com/spreadsheet/xls/) | Excel 95/5.0 - 2003 Arbeitsmappe. | √ | √ |
|
|
642
|
+
| [XLSX](https://docs.fileformat.com/spreadsheet/xlsx/) | Office Open XML SpreadsheetML Arbeitsmappe oder Vorlagendatei, mit oder ohne Makros. | √ | √ |
|
|
643
|
+
| [XLSB](https://docs.fileformat.com/spreadsheet/xlsb/) | Excel-Binärarbeitsmappe. | √ | √ |
|
|
644
|
+
| [XLSM](https://docs.fileformat.com/spreadsheet/xlsm/) | Excel-Arbeitsmappe mit Makros. | √ | √ |
|
|
645
|
+
| [XLT](https://docs.fileformat.com/spreadsheet/xlt/) | Excel 97 - Excel 2003 Vorlage. | √ | √ |
|
|
646
|
+
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel-Vorlage. | √ | √ |
|
|
647
|
+
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel-Vorlage mit Makros. | √ | √ |
|
|
648
|
+
| [XLAM](https://docs.fileformat.com/spreadsheet/xlam/) | Eine Excel-Add-In-Datei mit Makros, die zum Hinzufügen neuer Funktionen zu Excel verwendet wird. | | √ |
|
|
649
|
+
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (durch Kommas getrennte Werte) Datei. | √ | √ |
|
|
650
|
+
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (durch Tabulatoren getrennte Werte) Datei. | √ | √ |
|
|
651
|
+
| [TXT](https://docs.fileformat.com/word-processing/txt/) | Begrenzte reine Textdatei. | √ | √ |
|
|
652
|
+
| [HTML](https://docs.fileformat.com/web/html/) | HTML-Format. | √ | √ |
|
|
653
|
+
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML-Datei. | √ | √ |
|
|
654
|
+
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS (OpenDocument Spreadsheet). | √ | √ |
|
|
655
|
+
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Dokument, das mit Apples „Numbers“-Anwendung erstellt wurde, Teil von Apples iWork-Bürosoftware, die unter macOS und iOS läuft. | √ | |
|
|
656
|
+
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
|
|
657
|
+
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format. | | √ |
|
|
658
|
+
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
|
|
659
|
+
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format. | | √ |
|
|
660
|
+
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | Scalable Vector Graphics Format. | | √ |
|
|
661
|
+
| [TIFF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
662
|
+
| [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format | | √ |
|
|
663
|
+
| [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format | | √ |
|
|
664
|
+
| [EMF](https://docs.fileformat.com/image/emf/) | Enhanced Metafile Format | | √ |
|
|
665
|
+
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG ist ein Bildformat, das mit verlustbehafteter Komprimierung gespeichert wird. | | √ |
|
|
666
|
+
| [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
|
|
667
|
+
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Stellt ein Markdown-Dokument dar. | | √ |
|
|
668
|
+
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | Ein XML-basiertes Format, das von OpenOffice und StarOffice verwendet wird | √ | √ |
|
|
669
|
+
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | Ein Open Document-Format, das als flaches XML gespeichert wird. | √ | √ |
|
|
670
|
+
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | Ein bekanntes Format für Microsoft Word-Dokumente, das XML und Binärdateien kombiniert. | | √ |
|
|
671
|
+
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML Präsentationsdateiformat. | | √ |
|
|
672
|
+
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS (OpenDocument Spreadsheet-Vorlage). | √ | √ |
|
|
673
|
+
| [XML](https://docs.fileformat.com/web/xml/) | XML-Datei. | √ | √ |
|
|
674
|
+
| [HTM](https://docs.fileformat.com/web/htm/) | HTM-Datei. | √ | √ |
|
|
675
|
+
| [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
676
|
+
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format | | √ |
|
|
677
|
+
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
|
|
678
|
+
| [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 File Format | | √ |
|
|
679
|
+
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format | | √ |
|
|
680
|
+
| [DBF](https://docs.fileformat.com/database/dbf/) | DBF File Format | | √ |
|
|
681
|
+
| [XHTML](https://docs.fileformat.com/web/xhtml/) | XHTML File Format | | √ |
|
|
682
|
+
|
|
683
|
+
## Architektur
|
|
684
|
+
|
|
685
|
+

|
|
686
|
+
|
|
687
|
+
```mermaid
|
|
688
|
+
graph TB
|
|
689
|
+
|
|
690
|
+
subgraph "Client-Schicht"
|
|
691
|
+
C1[Webanwendung]
|
|
692
|
+
C2[Mobile Anwendung]
|
|
693
|
+
C3[Desktop-Anwendung]
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
subgraph "API-Gateway-Schicht"
|
|
697
|
+
G1[Gateway-Dienst]
|
|
698
|
+
G2[Authentifizierungsdienste]
|
|
699
|
+
G3[Lastausgleich]
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
subgraph "Cloud-Microservices-Schicht"
|
|
703
|
+
S1[Benutzeranwendung]
|
|
704
|
+
S2[Produktdienste]
|
|
705
|
+
end
|
|
706
|
+
|
|
707
|
+
C1 & C2 & C3 --> G1
|
|
708
|
+
G1 --> S1 & S2
|
|
709
|
+
|
|
710
|
+
style C1 fill:#e1f5fe
|
|
711
|
+
style G1 fill:#f3e5f5
|
|
712
|
+
style S1 fill:#e8f5e8
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
## [Entwicklerreferenz](docs/DeveloperGuide.md#overview)
|
|
716
|
+
|
|
717
|
+
### Bearbeiten von Excel und anderen Tabellenkalkulationsdateien in der Cloud
|
|
718
|
+
|
|
719
|
+
- Dateibearbeitung: Benutzer können in der Cloud gespeicherte Excel-Dateien hochladen, herunterladen, löschen und verwalten.
|
|
720
|
+
- Formatierung: Unterstützt die Formatierung von Zellen, Schriftarten, Farben und Ausrichtungsmodi in Excel-Dateien, um den spezifischen Anforderungen der Benutzer gerecht zu werden.
|
|
721
|
+
- Datenverarbeitung: Leistungsstarke Funktionen zur Datenverarbeitung, einschließlich Lesen, Schreiben, Ändern von Zellendaten, Durchführen von Formelberechnungen und Formatieren von Daten.
|
|
722
|
+
- Formelberechnung: Die integrierte Formel-Engine verarbeitet komplexe Formelberechnungen in Excel und liefert genaue Ergebnisse.
|
|
723
|
+
- Diagrammbearbeitung: Benutzer können Diagramme aus Excel-Dateien erstellen, bearbeiten und löschen, um Datenanalyse- und Visualisierungsanforderungen zu erfüllen.
|
|
724
|
+
- Tabellenverarbeitung: Bietet robuste Verarbeitungsfunktionen für verschiedene Formularoperationen wie Erstellung, Bearbeitung, Formatierung und Konvertierung, die unterschiedliche Anforderungen an die Formularverarbeitung erfüllen.
|
|
725
|
+
- Datenvalidierung: Enthält Datenvalidierungsfunktionen zum Festlegen von Zellendatentyp, Bereich und Eindeutigkeit, um die Genauigkeit und Integrität der Daten sicherzustellen.
|
|
726
|
+
- Stapelverarbeitung: Unterstützt die Stapelverarbeitung mehrerer Excel-Dokumente, z. B. Stapelformatkonvertierung, Datenextraktion und Stilanwendung.
|
|
727
|
+
- Import/Export: Ermöglicht den Import von Daten aus verschiedenen Quellen in Tabellen und den Export von Tabellendaten in andere Formate.
|
|
728
|
+
- Sicherheitsverwaltung: Bietet eine Reihe von Sicherheitsfunktionen wie Datenverschlüsselung, Zugriffskontrolle und Berechtigungsverwaltung zum Schutz der Sicherheit und Integrität von Tabellendaten.
|
|
729
|
+
|
|
730
|
+
## Funktionen & Erweiterungen in Version 26.8
|
|
731
|
+
|
|
732
|
+
Vollständige Liste der Probleme, die alle Änderungen in dieser Version abdecken:
|
|
733
|
+
|
|
734
|
+
| **Zusammenfassung** | **Kategorie** |
|
|
735
|
+
| :--------------------------------------------------------------------------- | :------------ |
|
|
736
|
+
| Enchent smart template feature. | Improvement |
|
|
737
|
+
| A new AI data analysis API has been added. | New Feature |
|
|
738
|
+
|
|
739
|
+
## Verfügbare SDK
|
|
740
|
+
|
|
741
|
+
Das Aspose.Cells Cloud SDK ist in mehreren gängigen Programmiersprachen verfügbar und ermöglicht Entwicklern die Integration von Tabellenkalkulationsfunktionen in verschiedene Entwicklungsumgebungen.
|
|
742
|
+
|
|
743
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go) [](https://pkg.go.dev/github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25)
|
|
744
|
+
|
|
745
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/Aspose.Cells.Cloud.pom.xml)
|
|
746
|
+
|
|
747
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet) [](https://www.nuget.org/packages/Aspose.cells-Cloud/#readme-body-tab)
|
|
748
|
+
|
|
749
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node) [](https://www.npmjs.com/package/asposecellscloud)
|
|
750
|
+
|
|
751
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl) [](https://metacpan.org/dist/AsposeCellsCloud-CellsApi)
|
|
752
|
+
|
|
753
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php) [](https://packagist.org/packages/aspose/cells-sdk-php)
|
|
754
|
+
|
|
755
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python) [](https://pypi.org/project/asposecellscloud/)
|
|
756
|
+
|
|
757
|
+
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
758
|
+
|
|
759
|
+
## [Versionsverlauf](CHANGELOG.md)
|
|
@@ -80,6 +80,14 @@ module AsposeCellsCloud
|
|
|
80
80
|
return data
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
# AI-powered data categorization: Automatically classifies spreadsheet column data into logical groups.
|
|
84
|
+
|
|
85
|
+
def categorize_spreadsheet( categorize_spreadsheet_request, opts = {})
|
|
86
|
+
|
|
87
|
+
data, _status_code, _headers = categorize_spreadsheet_request.create_http_request(@api_client,opts )
|
|
88
|
+
return data
|
|
89
|
+
end
|
|
90
|
+
|
|
83
91
|
# The Aggregate by Color API provides a convenient way to perform calculations on cells that share the same fill or font color. This API supports a range of aggregate operations, including count, sum, maximum value, minimum value, and average value, enabling you to analyze and summarize data based on color distinctions.
|
|
84
92
|
|
|
85
93
|
def aggregate_cells_by_color( aggregate_cells_by_color_request, opts = {})
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="CategorizeSpreadsheet_request.rb.cs">
|
|
4
|
+
Copyright (c) 2026 Aspose.Cells Cloud
|
|
5
|
+
</copyright>
|
|
6
|
+
<summary>
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
</summary>
|
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
26
|
+
=end
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require "uri"
|
|
30
|
+
|
|
31
|
+
module AsposeCellsCloud
|
|
32
|
+
class CategorizeSpreadsheetRequest
|
|
33
|
+
|
|
34
|
+
attr_accessor :spreadsheet
|
|
35
|
+
attr_accessor :target_column
|
|
36
|
+
attr_accessor :sheet_name
|
|
37
|
+
attr_accessor :new_column_name
|
|
38
|
+
attr_accessor :region
|
|
39
|
+
attr_accessor :password
|
|
40
|
+
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
46
|
+
|
|
47
|
+
if attributes.has_key?(:'Spreadsheet')
|
|
48
|
+
self.spreadsheet = attributes[:'Spreadsheet']
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
if attributes.has_key?(:'targetColumn')
|
|
52
|
+
self.target_column = attributes[:'targetColumn']
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
if attributes.has_key?(:'sheetName')
|
|
56
|
+
self.sheet_name = attributes[:'sheetName']
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
if attributes.has_key?(:'newColumnName')
|
|
60
|
+
self.new_column_name = attributes[:'newColumnName']
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
if attributes.has_key?(:'region')
|
|
64
|
+
self.region = attributes[:'region']
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
if attributes.has_key?(:'password')
|
|
68
|
+
self.password = attributes[:'password']
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
end
|
|
72
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
73
|
+
def self.attribute_map
|
|
74
|
+
{
|
|
75
|
+
:'spreadsheet' => :'Spreadsheet',
|
|
76
|
+
:'target_column' => :'targetColumn',
|
|
77
|
+
:'sheet_name' => :'sheetName',
|
|
78
|
+
:'new_column_name' => :'newColumnName',
|
|
79
|
+
:'region' => :'region',
|
|
80
|
+
:'password' => :'password'
|
|
81
|
+
}
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Attribute type mapping.
|
|
85
|
+
def self.swagger_types
|
|
86
|
+
{
|
|
87
|
+
:'spreadsheet' => :'String',
|
|
88
|
+
:'target_column' => :'String',
|
|
89
|
+
:'sheet_name' => :'String',
|
|
90
|
+
:'new_column_name' => :'String',
|
|
91
|
+
:'region' => :'String',
|
|
92
|
+
:'password' => :'String'
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def create_http_request(api_client,opts = {})
|
|
97
|
+
if api_client.config.debugging
|
|
98
|
+
api_client.config.logger.debug "Calling API: CellsApi.categorize_spreadsheet ..."
|
|
99
|
+
end
|
|
100
|
+
api_client.request_token_if_needed
|
|
101
|
+
# verify the required parameter 'spreadsheet' is set
|
|
102
|
+
if api_client.config.client_side_validation && spreadsheet.nil?
|
|
103
|
+
fail ArgumentError, "Missing the required parameter 'spreadsheet' when calling CellsApi.categorize_spreadsheet "
|
|
104
|
+
end
|
|
105
|
+
# verify the required parameter 'target_column' is set
|
|
106
|
+
if api_client.config.client_side_validation && target_column.nil?
|
|
107
|
+
fail ArgumentError, "Missing the required parameter 'target_column' when calling CellsApi.categorize_spreadsheet "
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# resource path
|
|
111
|
+
local_var_path = "v4.0/cells/ai/categorize/spreadsheet"
|
|
112
|
+
# query parameters
|
|
113
|
+
query_params = {}
|
|
114
|
+
query_params[:'targetColumn'] = self.target_column if !self.target_column.nil?
|
|
115
|
+
query_params[:'sheetName'] = self.sheet_name if !self.sheet_name.nil?
|
|
116
|
+
query_params[:'newColumnName'] = self.new_column_name if !self.new_column_name.nil?
|
|
117
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
|
118
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
|
119
|
+
|
|
120
|
+
# header parameters
|
|
121
|
+
header_params = {}
|
|
122
|
+
# HTTP header 'Accept' (if needed)
|
|
123
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
|
124
|
+
# HTTP header 'Content-Type'
|
|
125
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
|
126
|
+
|
|
127
|
+
# form parameters
|
|
128
|
+
form_params = {}
|
|
129
|
+
post_body = nil
|
|
130
|
+
|
|
131
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
132
|
+
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
133
|
+
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
#auth_names = []
|
|
137
|
+
auth_names = ['JWT']
|
|
138
|
+
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
139
|
+
:header_params => header_params,
|
|
140
|
+
:query_params => query_params,
|
|
141
|
+
:form_params => form_params,
|
|
142
|
+
:body => post_body,
|
|
143
|
+
:auth_names => auth_names,
|
|
144
|
+
:return_type => 'File')
|
|
145
|
+
if api_client.config.debugging
|
|
146
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.categorize_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
147
|
+
end
|
|
148
|
+
return data, status_code, headers
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
end
|
data/lib/aspose_cells_cloud.rb
CHANGED
|
@@ -491,6 +491,7 @@ require 'aspose_cells_cloud/requests/translate_spreadsheet_request'
|
|
|
491
491
|
require 'aspose_cells_cloud/requests/translate_text_file_request'
|
|
492
492
|
require 'aspose_cells_cloud/requests/report_ai_analysis_request'
|
|
493
493
|
require 'aspose_cells_cloud/requests/summarize_spreadsheet_request'
|
|
494
|
+
require 'aspose_cells_cloud/requests/categorize_spreadsheet_request'
|
|
494
495
|
require 'aspose_cells_cloud/requests/aggregate_cells_by_color_request'
|
|
495
496
|
require 'aspose_cells_cloud/requests/math_calculate_request'
|
|
496
497
|
require 'aspose_cells_cloud/requests/calculation_formula_request'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aspose_cells_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '26.
|
|
4
|
+
version: '26.8'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aspose Cells Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -698,6 +698,7 @@ files:
|
|
|
698
698
|
- lib/aspose_cells_cloud/requests/add_worksheet_to_spreadsheet_request.rb
|
|
699
699
|
- lib/aspose_cells_cloud/requests/aggregate_cells_by_color_request.rb
|
|
700
700
|
- lib/aspose_cells_cloud/requests/calculation_formula_request.rb
|
|
701
|
+
- lib/aspose_cells_cloud/requests/categorize_spreadsheet_request.rb
|
|
701
702
|
- lib/aspose_cells_cloud/requests/check_cloud_service_health_request.rb
|
|
702
703
|
- lib/aspose_cells_cloud/requests/check_workbook_formula_errors_request.rb
|
|
703
704
|
- lib/aspose_cells_cloud/requests/check_wrokbook_external_reference_request.rb
|