aspose_cells_cloud 26.8 → 26.9
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 +4 -4
- data/README.md +49 -39
- data/lib/aspose_cells_cloud/requests/smart_marker_template_request.rb +30 -0
- data/lib/aspose_cells_cloud/requests/translate_spreadsheet_request.rb +24 -0
- data/lib/aspose_cells_cloud/requests/translate_text_file_request.rb +24 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/spec/client_spec.rb +114 -0
- data/spec/configuration_spec.rb +61 -0
- data/spec/form_file_spec.rb +47 -0
- data/spec/model_spec.rb +73 -0
- data/spec/request_spec.rb +87 -0
- data/spec/rich_response_spec.rb +46 -0
- data/spec/sdk_error_spec.rb +27 -0
- data/spec/spec_helper.rb +21 -134
- metadata +9 -78
- data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
- data/spec/TestData/Book1.xlsx +0 -0
- data/spec/TestData/BookCsvDuplicateData.csv +0 -21
- data/spec/TestData/BookDuplicateData.xlsx +0 -0
- data/spec/TestData/BookFormula.xlsx +0 -0
- data/spec/TestData/BookTableL2W.xlsx +0 -0
- data/spec/TestData/BookText.xlsx +0 -0
- data/spec/TestData/CompanySales.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
- data/spec/TestData/Formula tutorial.xlsx +0 -0
- data/spec/TestData/Group.xlsx +0 -0
- data/spec/TestData/Home inventory.xlsx +0 -0
- data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/OLEDoc.docx +0 -0
- data/spec/TestData/ReportData.xml +0 -1
- data/spec/TestData/Simple invoice.xlsx +0 -0
- data/spec/TestData/Template.xlsx +0 -0
- data/spec/TestData/TestCase.xlsx +0 -0
- data/spec/TestData/TestTables.xlsx +0 -0
- data/spec/TestData/WaterMark.png +0 -0
- data/spec/TestData/assemblytest.xlsx +0 -0
- data/spec/TestData/data.xml +0 -1
- data/spec/TestData/datasource.xlsx +0 -0
- data/spec/TestData/myDocument.xlsx +0 -0
- data/spec/TestData/needUnlock.xlsx +0 -0
- data/spec/TestData/needlock.xlsx +0 -0
- data/spec/TestData/roywang.pfx +0 -0
- data/spec/TestData/word.jpg +0 -0
- data/spec/calculate/calculate_spec.rb +0 -29
- data/spec/cells_cloud30/auto_filter_controller_spec.rb +0 -211
- data/spec/cells_cloud30/batch_controller_spec.rb +0 -113
- data/spec/cells_cloud30/cells_controller_spec.rb +0 -627
- data/spec/cells_cloud30/cells_status_controller_spec.rb +0 -43
- data/spec/cells_cloud30/chart_area_controller_spec.rb +0 -58
- data/spec/cells_cloud30/charts_controller_spec.rb +0 -227
- data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +0 -149
- data/spec/cells_cloud30/conversion30_spec.rb +0 -1112
- data/spec/cells_cloud30/data_processing_controller_spec.rb +0 -97
- data/spec/cells_cloud30/hypelinks_controller_spec.rb +0 -104
- data/spec/cells_cloud30/light_cells_spec.rb +0 -1059
- data/spec/cells_cloud30/list_objects_controller_spec.rb +0 -225
- data/spec/cells_cloud30/ole_objects_controller_spec.rb +0 -108
- data/spec/cells_cloud30/page_breaks_controller_spec.rb +0 -163
- data/spec/cells_cloud30/page_setup_controller_spec.rb +0 -149
- data/spec/cells_cloud30/pictures_controller_spec.rb +0 -106
- data/spec/cells_cloud30/pivot_tables_controller_spec.rb +0 -312
- data/spec/cells_cloud30/properties_controller_spec.rb +0 -89
- data/spec/cells_cloud30/ranges_controller_spec.rb +0 -227
- data/spec/cells_cloud30/shapes_controller_spec.rb +0 -139
- data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +0 -104
- data/spec/cells_cloud30/text_processing_controller_spec.rb +0 -67
- data/spec/cells_cloud30/workbook_controller_spec.rb +0 -519
- data/spec/cells_cloud30/worksheet_controller_spec.rb +0 -609
- data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +0 -104
- data/spec/cells_cloud30/xml_controller_spec.rb +0 -48
- data/spec/data_processing/conversion_spec.rb +0 -428
- data/spec/data_processing/import_data_spec.rb +0 -24
- data/spec/data_processing/merger_spec.rb +0 -28
- data/spec/data_processing/protection_spec.rb +0 -29
- data/spec/data_processing/splitter_spec.rb +0 -47
- data/spec/data_processing/transform_spec.rb +0 -43
- data/spec/dynabic/file_controller_spec.rb +0 -60
- data/spec/dynabic/folder_controller_spec.rb +0 -88
- data/spec/dynabic/storage_controller_spec.rb +0 -73
- data/spec/management/management_spec.rb +0 -111
- data/spec/search2_replace/replacer_spec.rb +0 -46
- data/spec/search2_replace/searcher_spec.rb +0 -131
- data/spec/text_processing/add_text_spec.rb +0 -45
- data/spec/text_processing/convert_text_spec.rb +0 -37
- data/spec/text_processing/extract_text_spec.rb +0 -37
- data/spec/text_processing/remove_characters_spec.rb +0 -53
- data/spec/text_processing/split_text_spec.rb +0 -21
- data/spec/text_processing/trim_spreadsheet_spec.rb +0 -29
- data/spec/text_processing/update_word_case_spec.rb +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3a93c5cf4fbd2fdf9e183adcd1b10c23d7e49ed855a730ea4b6632d10fc224b
|
|
4
|
+
data.tar.gz: 1b21a4a28448838101ed9276f7c082359c97e58dd4306ea50151b80a2299e046
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51f6623c1b4b3ae94ccaee70c9b11998c24097266105c5b0998015c14f8e05dcc7308e5ff2c35a27a5a56bd1880bcc3b4cc3b29ef7b706570484e6575bc9bb1a
|
|
7
|
+
data.tar.gz: e68f7f49551a1088c4416f909c6f15d5819efdd2fa5ccb4607d3ca8d8af5835788df40609b08acd48b67c442a9ee48a6cfa3692089827d22ebad213b02ed0520
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
4
|
|
|
@@ -24,7 +24,7 @@ To get started with Aspose.Cells Cloud, here's what you need to do:
|
|
|
24
24
|
- Execute the following command to get the latest Gem package.
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
27
|
+
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Or install directly:
|
|
@@ -157,14 +157,14 @@ graph TB
|
|
|
157
157
|
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
|
|
158
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.
|
|
159
159
|
|
|
160
|
-
## Features & Enhancements in Version 26.
|
|
160
|
+
## Features & Enhancements in Version 26.9
|
|
161
161
|
|
|
162
162
|
Full list of issues covering all changes in this release:
|
|
163
163
|
|
|
164
|
-
| **Summary**
|
|
165
|
-
|
|
|
166
|
-
|
|
|
167
|
-
|
|
|
164
|
+
| **Summary** | **Category** |
|
|
165
|
+
| :------------------------------------------------------------------------------------------------------------ | :----------- |
|
|
166
|
+
| Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
|
|
167
|
+
| Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
|
|
168
168
|
|
|
169
169
|
## Available SDKs
|
|
170
170
|
|
|
@@ -214,7 +214,7 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
|
|
|
214
214
|
- 执行以下命令获取最新的 Gem 包。
|
|
215
215
|
|
|
216
216
|
```console
|
|
217
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
217
|
+
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
或直接安装:
|
|
@@ -273,10 +273,10 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
|
|
|
273
273
|
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML 文件。 | √ | √ |
|
|
274
274
|
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS(OpenDocument 电子表格)。 | √ | √ |
|
|
275
275
|
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | 由 Apple "Numbers" 应用程序创建的文档,属于 Apple iWork 办公套件,运行于 macOS 和 iOS。 | √ | |
|
|
276
|
-
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript
|
|
276
|
+
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
|
|
277
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
|
|
278
|
+
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
|
|
279
|
+
| [XPS](https://docs.fileformat.com/page-description-language/xps/) | XML Paper Specification Format. | | √ |
|
|
280
280
|
| [SVG](https://docs.fileformat.com/page-description-language/svg/) | 可缩放矢量图形格式。 | | √ |
|
|
281
281
|
| [TIFF](https://docs.fileformat.com/image/tiff/) | 标记图像文件格式 | | √ |
|
|
282
282
|
| [PNG](https://docs.fileformat.com/image/png/) | 便携式网络图形格式 | | √ |
|
|
@@ -338,23 +338,23 @@ graph TB
|
|
|
338
338
|
|
|
339
339
|
- 文件操作:用户可以上传、下载、删除和管理存储在云端的 Excel 文件。
|
|
340
340
|
- 格式化:支持对 Excel 文件中的单元格、字体、颜色和对齐模式进行格式化,以满足用户的特定需求。
|
|
341
|
-
-
|
|
341
|
+
- 数据处理:强大的数据处理功能,包括读取、写入、修改单元格数据、执行公式计算以及格式化数据。
|
|
342
342
|
- 公式计算:内置公式引擎处理 Excel 中的复杂公式计算并返回准确结果。
|
|
343
343
|
- 图表操作:用户可以创建、编辑和删除 Excel 文件中的图表,以满足数据分析和可视化需求。
|
|
344
344
|
- 表格处理:为各种表单操作(如创建、编辑、格式化、转换)提供强大的处理能力,满足多样化的表单处理需求。
|
|
345
345
|
- 数据验证:包含数据验证功能,可设置单元格数据类型、范围和唯一性,确保数据的准确性和完整性。
|
|
346
346
|
- 批量处理:支持批量处理多个 Excel 文档,如批量格式转换、数据提取和样式应用。
|
|
347
|
-
-
|
|
347
|
+
- 导入/导出:支持从各种数据源导入数据到电子表格,并将电子表格数据导出到其他格式。
|
|
348
348
|
- 安全管理:提供数据加密、访问控制、权限管理等一系列安全功能,保障电子表格数据的安全性和完整性。
|
|
349
349
|
|
|
350
|
-
## 版本 26.
|
|
350
|
+
## 版本 26.9 的功能与增强
|
|
351
351
|
|
|
352
352
|
涵盖此版本所有更改的完整问题列表:
|
|
353
353
|
|
|
354
|
-
| **摘要**
|
|
355
|
-
|
|
|
356
|
-
|
|
|
357
|
-
|
|
|
354
|
+
| **摘要** | **类别** |
|
|
355
|
+
| :-------------------------------------------------------------------------------------------------------- | :------- |
|
|
356
|
+
| Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
|
|
357
|
+
| Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
|
|
358
358
|
|
|
359
359
|
## 可用的 SDK
|
|
360
360
|
|
|
@@ -404,7 +404,7 @@ Aspose.Cells Cloud を始めるには、以下の手順に従ってください
|
|
|
404
404
|
- 以下のコマンドを実行して最新の Gem パッケージを取得します。
|
|
405
405
|
|
|
406
406
|
```console
|
|
407
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
407
|
+
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
408
408
|
```
|
|
409
409
|
|
|
410
410
|
または直接インストール:
|
|
@@ -476,7 +476,7 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
|
|
|
476
476
|
| [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
|
|
477
477
|
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Markdown ドキュメントを表します。 | | √ |
|
|
478
478
|
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | OpenOffice および StarOffice で使用される XML ベースの形式 | √ | √ |
|
|
479
|
-
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | フラット XML として保存された Open Document
|
|
479
|
+
| [FODS](https://docs.fileformat.com/spreadsheet/fods/) | フラット XML として保存された Open Document 形式 | √ | √ |
|
|
480
480
|
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | Microsoft Word ドキュメントの有名な形式,XML とバイナリファイルを組み合わせています。 | | √ |
|
|
481
481
|
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML プレゼンテーションファイル形式。 | | √ |
|
|
482
482
|
| [OTS](https://docs.fileformat.com/spreadsheet/ots/) | OTS(OpenDocument スプレッドシートテンプレート)。 | √ | √ |
|
|
@@ -534,17 +534,17 @@ graph TB
|
|
|
534
534
|
- テーブル処理:作成、編集、書式設定、変換など、さまざまなフォーム操作に対して堅牢な処理機能を提供し、多様なフォーム処理のニーズに対応します。
|
|
535
535
|
- データ検証:セルのデータ型、範囲、一意性を設定するデータ検証機能を含み、データの正確性と整合性を確保します。
|
|
536
536
|
- バッチ処理:バッチ形式変換、データ抽出、スタイル適用など、複数の Excel ドキュメントのバッチ処理をサポートします。
|
|
537
|
-
-
|
|
537
|
+
- インポート/エクスポート:さまざまなデータソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
|
|
538
538
|
- セキュリティ管理:データ暗号化、アクセス制御、権限管理などのさまざまなセキュリティ機能を提供し、スプレッドシートデータのセキュリティと整合性を保護します。
|
|
539
539
|
|
|
540
|
-
## バージョン 26.
|
|
540
|
+
## バージョン 26.9 の機能と拡張
|
|
541
541
|
|
|
542
542
|
このリリースのすべての変更を含む問題の完全なリスト:
|
|
543
543
|
|
|
544
|
-
| **概要**
|
|
545
|
-
|
|
|
546
|
-
|
|
|
547
|
-
|
|
|
544
|
+
| **概要** | **カテゴリ** |
|
|
545
|
+
| :-------------------------------------------------------------------------------------------------------- | :----------- |
|
|
546
|
+
| Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
|
|
547
|
+
| Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
|
|
548
548
|
|
|
549
549
|
## 利用可能な SDK
|
|
550
550
|
|
|
@@ -594,7 +594,7 @@ Um mit Aspose.Cells Cloud zu beginnen, müssen Sie Folgendes tun:
|
|
|
594
594
|
- Führen Sie den folgenden Befehl aus, um das neueste Gem-Paket zu erhalten.
|
|
595
595
|
|
|
596
596
|
```console
|
|
597
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
597
|
+
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
598
598
|
```
|
|
599
599
|
|
|
600
600
|
Oder direkt installieren:
|
|
@@ -621,6 +621,16 @@ FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')
|
|
|
621
621
|
|
|
622
622
|
4. So laden Sie eine Datei in den Cloud-Speicher hoch.
|
|
623
623
|
|
|
624
|
+
```console
|
|
625
|
+
gem 'aspose_cells_cloud', '~> 26.9.0'
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
oder direkt:
|
|
629
|
+
|
|
630
|
+
```console
|
|
631
|
+
gem install aspose_cells_cloud
|
|
632
|
+
```
|
|
633
|
+
|
|
624
634
|
```ruby
|
|
625
635
|
require 'openssl'
|
|
626
636
|
require 'bundler'
|
|
@@ -646,13 +656,13 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
|
|
|
646
656
|
| [XLTX](https://docs.fileformat.com/spreadsheet/xltx/) | Excel-Vorlage. | √ | √ |
|
|
647
657
|
| [XLTM](https://docs.fileformat.com/spreadsheet/xltm/) | Excel-Vorlage mit Makros. | √ | √ |
|
|
648
658
|
| [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 (
|
|
650
|
-
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (
|
|
659
|
+
| [CSV](https://docs.fileformat.com/spreadsheet/csv/) | CSV (Durch Kommas getrennte Werte) Datei. | √ | √ |
|
|
660
|
+
| [TSV](https://docs.fileformat.com/spreadsheet/tsv/) | TSV (Durch Tabulatoren getrennte Werte) Datei. | √ | √ |
|
|
651
661
|
| [TXT](https://docs.fileformat.com/word-processing/txt/) | Begrenzte reine Textdatei. | √ | √ |
|
|
652
662
|
| [HTML](https://docs.fileformat.com/web/html/) | HTML-Format. | √ | √ |
|
|
653
663
|
| [MHTML](https://docs.fileformat.com/web/mhtml/) | MHTML-Datei. | √ | √ |
|
|
654
664
|
| [ODS](https://docs.fileformat.com/spreadsheet/ods/) | ODS (OpenDocument Spreadsheet). | √ | √ |
|
|
655
|
-
| [Numbers](https://docs.fileformat.com/spreadsheet/numbers/) | Dokument, das mit Apples „Numbers
|
|
665
|
+
| [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
666
|
| [JSON](https://docs.fileformat.com/web/json/) | JavaScript Object Notation | √ | √ |
|
|
657
667
|
| [DIF](https://docs.fileformat.com/spreadsheet/dif/) | Data Interchange Format. | | √ |
|
|
658
668
|
| [PDF](https://docs.fileformat.com/pdf/) | Adobe Portable Document Format. | | √ |
|
|
@@ -662,19 +672,19 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSales
|
|
|
662
672
|
| [PNG](https://docs.fileformat.com/image/png/) | Portable Network Graphics Format | | √ |
|
|
663
673
|
| [BMP](https://docs.fileformat.com/image/bmp/) | Bitmap Image Format | | √ |
|
|
664
674
|
| [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.
|
|
675
|
+
| [JPEG](https://docs.fileformat.com/image/jpeg/) | JPEG ist ein Bildformat, das mit verlustbehafteter Komprimierung gespeichert wird. | | √ |
|
|
666
676
|
| [GIF](https://docs.fileformat.com/image/gif/) | Graphics Interchange Format | | √ |
|
|
667
677
|
| [MARKDOWN](https://docs.fileformat.com/word-processing/md/) | Stellt ein Markdown-Dokument dar. | | √ |
|
|
668
|
-
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | Ein XML-
|
|
678
|
+
| [SXC](https://docs.fileformat.com/spreadsheet/sxc/) | Ein XML-basierter Format, das von OpenOffice und StarOffice verwendet wird | √ | √ |
|
|
669
679
|
| [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.
|
|
680
|
+
| [DOCX](https://docs.fileformat.com/word-processing/docx/) | Ein bekanntes Format für Microsoft Word-Dokumente, das XML und Binärdateien kombiniert. | | √ |
|
|
671
681
|
| [PPTX](https://docs.fileformat.com/presentation/pptx/) | Microsoft PowerPoint Open XML Präsentationsdateiformat. | | √ |
|
|
672
682
|
| [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.
|
|
683
|
+
| [XML](https://docs.fileformat.com/web/xml/) | XML-Datei. | √ | √ |
|
|
684
|
+
| [HTM](https://docs.fileformat.com/web/htm/) | HTM-Datei. | √ | √ |
|
|
675
685
|
| [TIF](https://docs.fileformat.com/image/tiff/) | Tagged Image File Format | | √ |
|
|
676
686
|
| [WMF](https://docs.fileformat.com/image/wmf/) | WMF Image Format | | √ |
|
|
677
|
-
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format
|
|
687
|
+
| [PCL](https://docs.fileformat.com/page-description-language/pcl/) | Printer Command Language Format | | √ |
|
|
678
688
|
| [AZW3](https://docs.fileformat.com/ebook/azw3/) | AZW3/KF8 File Format | | √ |
|
|
679
689
|
| [EPUB](https://docs.fileformat.com/ebook/epub/) | EPUB File Format | | √ |
|
|
680
690
|
| [DBF](https://docs.fileformat.com/database/dbf/) | DBF File Format | | √ |
|
|
@@ -727,14 +737,14 @@ graph TB
|
|
|
727
737
|
- Import/Export: Ermöglicht den Import von Daten aus verschiedenen Quellen in Tabellen und den Export von Tabellendaten in andere Formate.
|
|
728
738
|
- Sicherheitsverwaltung: Bietet eine Reihe von Sicherheitsfunktionen wie Datenverschlüsselung, Zugriffskontrolle und Berechtigungsverwaltung zum Schutz der Sicherheit und Integrität von Tabellendaten.
|
|
729
739
|
|
|
730
|
-
## Funktionen & Erweiterungen in Version 26.
|
|
740
|
+
## Funktionen & Erweiterungen in Version 26.9
|
|
731
741
|
|
|
732
742
|
Vollständige Liste der Probleme, die alle Änderungen in dieser Version abdecken:
|
|
733
743
|
|
|
734
744
|
| **Zusammenfassung** | **Kategorie** |
|
|
735
745
|
| :--------------------------------------------------------------------------- | :------------ |
|
|
736
|
-
|
|
|
737
|
-
|
|
|
746
|
+
| Enhancement CheckCloudServiceHealth: Add Aspose.Cells Cloud information description. | Improvement |
|
|
747
|
+
| Fix code-gen/swagger specification for Aspose.Cells Cloud. | Bug |
|
|
738
748
|
|
|
739
749
|
## Verfügbare SDK
|
|
740
750
|
|
|
@@ -31,6 +31,8 @@ require "uri"
|
|
|
31
31
|
module AsposeCellsCloud
|
|
32
32
|
class SmartMarkerTemplateRequest
|
|
33
33
|
|
|
34
|
+
attr_accessor :datafile
|
|
35
|
+
attr_accessor :templatefile
|
|
34
36
|
attr_accessor :region
|
|
35
37
|
attr_accessor :password
|
|
36
38
|
|
|
@@ -40,6 +42,14 @@ module AsposeCellsCloud
|
|
|
40
42
|
# convert string to symbol for hash key
|
|
41
43
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
42
44
|
|
|
45
|
+
if attributes.has_key?(:'datafile')
|
|
46
|
+
self.datafile = attributes[:'datafile']
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
if attributes.has_key?(:'templatefile')
|
|
50
|
+
self.templatefile = attributes[:'templatefile']
|
|
51
|
+
end
|
|
52
|
+
|
|
43
53
|
if attributes.has_key?(:'region')
|
|
44
54
|
self.region = attributes[:'region']
|
|
45
55
|
end
|
|
@@ -52,6 +62,8 @@ module AsposeCellsCloud
|
|
|
52
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
63
|
def self.attribute_map
|
|
54
64
|
{
|
|
65
|
+
:'datafile' => :'datafile',
|
|
66
|
+
:'templatefile' => :'templatefile',
|
|
55
67
|
:'region' => :'region',
|
|
56
68
|
:'password' => :'password'
|
|
57
69
|
}
|
|
@@ -60,6 +72,8 @@ module AsposeCellsCloud
|
|
|
60
72
|
# Attribute type mapping.
|
|
61
73
|
def self.swagger_types
|
|
62
74
|
{
|
|
75
|
+
:'datafile' => :'String',
|
|
76
|
+
:'templatefile' => :'String',
|
|
63
77
|
:'region' => :'String',
|
|
64
78
|
:'password' => :'String'
|
|
65
79
|
}
|
|
@@ -70,6 +84,14 @@ module AsposeCellsCloud
|
|
|
70
84
|
api_client.config.logger.debug "Calling API: CellsApi.smart_marker_template ..."
|
|
71
85
|
end
|
|
72
86
|
api_client.request_token_if_needed
|
|
87
|
+
# verify the required parameter 'datafile' is set
|
|
88
|
+
if api_client.config.client_side_validation && datafile.nil?
|
|
89
|
+
fail ArgumentError, "Missing the required parameter 'datafile' when calling CellsApi.smart_marker_template "
|
|
90
|
+
end
|
|
91
|
+
# verify the required parameter 'templatefile' is set
|
|
92
|
+
if api_client.config.client_side_validation && templatefile.nil?
|
|
93
|
+
fail ArgumentError, "Missing the required parameter 'templatefile' when calling CellsApi.smart_marker_template "
|
|
94
|
+
end
|
|
73
95
|
|
|
74
96
|
# resource path
|
|
75
97
|
local_var_path = "v4.0/cells/report/smart/template"
|
|
@@ -89,6 +111,14 @@ module AsposeCellsCloud
|
|
|
89
111
|
form_params = {}
|
|
90
112
|
post_body = nil
|
|
91
113
|
|
|
114
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
115
|
+
if !datafile.empty? && File.exist?(datafile )
|
|
116
|
+
form_params[File.basename(datafile)] = ::File.open(datafile,"r")
|
|
117
|
+
end
|
|
118
|
+
if !templatefile.empty? && File.exist?(templatefile )
|
|
119
|
+
form_params[File.basename(templatefile)] = ::File.open(templatefile,"r")
|
|
120
|
+
end
|
|
121
|
+
|
|
92
122
|
#auth_names = []
|
|
93
123
|
auth_names = ['JWT']
|
|
94
124
|
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
@@ -33,6 +33,9 @@ module AsposeCellsCloud
|
|
|
33
33
|
|
|
34
34
|
attr_accessor :spreadsheet
|
|
35
35
|
attr_accessor :target_language
|
|
36
|
+
attr_accessor :custom_endpoint
|
|
37
|
+
attr_accessor :custom_api_key
|
|
38
|
+
attr_accessor :custom_model
|
|
36
39
|
attr_accessor :region
|
|
37
40
|
attr_accessor :password
|
|
38
41
|
|
|
@@ -50,6 +53,18 @@ module AsposeCellsCloud
|
|
|
50
53
|
self.target_language = attributes[:'targetLanguage']
|
|
51
54
|
end
|
|
52
55
|
|
|
56
|
+
if attributes.has_key?(:'customEndpoint')
|
|
57
|
+
self.custom_endpoint = attributes[:'customEndpoint']
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
if attributes.has_key?(:'customApiKey')
|
|
61
|
+
self.custom_api_key = attributes[:'customApiKey']
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
if attributes.has_key?(:'customModel')
|
|
65
|
+
self.custom_model = attributes[:'customModel']
|
|
66
|
+
end
|
|
67
|
+
|
|
53
68
|
if attributes.has_key?(:'region')
|
|
54
69
|
self.region = attributes[:'region']
|
|
55
70
|
end
|
|
@@ -64,6 +79,9 @@ module AsposeCellsCloud
|
|
|
64
79
|
{
|
|
65
80
|
:'spreadsheet' => :'Spreadsheet',
|
|
66
81
|
:'target_language' => :'targetLanguage',
|
|
82
|
+
:'custom_endpoint' => :'customEndpoint',
|
|
83
|
+
:'custom_api_key' => :'customApiKey',
|
|
84
|
+
:'custom_model' => :'customModel',
|
|
67
85
|
:'region' => :'region',
|
|
68
86
|
:'password' => :'password'
|
|
69
87
|
}
|
|
@@ -74,6 +92,9 @@ module AsposeCellsCloud
|
|
|
74
92
|
{
|
|
75
93
|
:'spreadsheet' => :'String',
|
|
76
94
|
:'target_language' => :'String',
|
|
95
|
+
:'custom_endpoint' => :'String',
|
|
96
|
+
:'custom_api_key' => :'String',
|
|
97
|
+
:'custom_model' => :'String',
|
|
77
98
|
:'region' => :'String',
|
|
78
99
|
:'password' => :'String'
|
|
79
100
|
}
|
|
@@ -98,6 +119,9 @@ module AsposeCellsCloud
|
|
|
98
119
|
# query parameters
|
|
99
120
|
query_params = {}
|
|
100
121
|
query_params[:'targetLanguage'] = self.target_language if !self.target_language.nil?
|
|
122
|
+
query_params[:'customEndpoint'] = self.custom_endpoint if !self.custom_endpoint.nil?
|
|
123
|
+
query_params[:'customApiKey'] = self.custom_api_key if !self.custom_api_key.nil?
|
|
124
|
+
query_params[:'customModel'] = self.custom_model if !self.custom_model.nil?
|
|
101
125
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
102
126
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
103
127
|
|
|
@@ -33,6 +33,9 @@ module AsposeCellsCloud
|
|
|
33
33
|
|
|
34
34
|
attr_accessor :spreadsheet
|
|
35
35
|
attr_accessor :target_language
|
|
36
|
+
attr_accessor :custom_endpoint
|
|
37
|
+
attr_accessor :custom_api_key
|
|
38
|
+
attr_accessor :custom_model
|
|
36
39
|
attr_accessor :region
|
|
37
40
|
attr_accessor :password
|
|
38
41
|
|
|
@@ -50,6 +53,18 @@ module AsposeCellsCloud
|
|
|
50
53
|
self.target_language = attributes[:'targetLanguage']
|
|
51
54
|
end
|
|
52
55
|
|
|
56
|
+
if attributes.has_key?(:'customEndpoint')
|
|
57
|
+
self.custom_endpoint = attributes[:'customEndpoint']
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
if attributes.has_key?(:'customApiKey')
|
|
61
|
+
self.custom_api_key = attributes[:'customApiKey']
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
if attributes.has_key?(:'customModel')
|
|
65
|
+
self.custom_model = attributes[:'customModel']
|
|
66
|
+
end
|
|
67
|
+
|
|
53
68
|
if attributes.has_key?(:'region')
|
|
54
69
|
self.region = attributes[:'region']
|
|
55
70
|
end
|
|
@@ -64,6 +79,9 @@ module AsposeCellsCloud
|
|
|
64
79
|
{
|
|
65
80
|
:'spreadsheet' => :'Spreadsheet',
|
|
66
81
|
:'target_language' => :'targetLanguage',
|
|
82
|
+
:'custom_endpoint' => :'customEndpoint',
|
|
83
|
+
:'custom_api_key' => :'customApiKey',
|
|
84
|
+
:'custom_model' => :'customModel',
|
|
67
85
|
:'region' => :'region',
|
|
68
86
|
:'password' => :'password'
|
|
69
87
|
}
|
|
@@ -74,6 +92,9 @@ module AsposeCellsCloud
|
|
|
74
92
|
{
|
|
75
93
|
:'spreadsheet' => :'String',
|
|
76
94
|
:'target_language' => :'String',
|
|
95
|
+
:'custom_endpoint' => :'String',
|
|
96
|
+
:'custom_api_key' => :'String',
|
|
97
|
+
:'custom_model' => :'String',
|
|
77
98
|
:'region' => :'String',
|
|
78
99
|
:'password' => :'String'
|
|
79
100
|
}
|
|
@@ -98,6 +119,9 @@ module AsposeCellsCloud
|
|
|
98
119
|
# query parameters
|
|
99
120
|
query_params = {}
|
|
100
121
|
query_params[:'targetLanguage'] = self.target_language if !self.target_language.nil?
|
|
122
|
+
query_params[:'customEndpoint'] = self.custom_endpoint if !self.custom_endpoint.nil?
|
|
123
|
+
query_params[:'customApiKey'] = self.custom_api_key if !self.custom_api_key.nil?
|
|
124
|
+
query_params[:'customModel'] = self.custom_model if !self.custom_model.nil?
|
|
101
125
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
102
126
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
103
127
|
|
data/spec/client_spec.rb
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'tempfile'
|
|
4
|
+
|
|
5
|
+
RSpec.describe Aspose::Cells::Cloud::AsposeCellsCloudClient do
|
|
6
|
+
subject(:client) { described_class.new('client-id', 'client-secret') }
|
|
7
|
+
|
|
8
|
+
describe 'construction' do
|
|
9
|
+
it 'builds a Configuration with the supplied credentials and default base_url' do
|
|
10
|
+
expect(client.configuration.client_id).to eq('client-id')
|
|
11
|
+
expect(client.configuration.client_secret).to eq('client-secret')
|
|
12
|
+
expect(client.configuration.base_url).to eq('https://api.aspose.cloud')
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
it 'accepts a custom base_url and options' do
|
|
16
|
+
custom = described_class.new('id', 'secret', 'https://example.com', timeout: 10, retries: 2)
|
|
17
|
+
expect(custom.configuration.base_url).to eq('https://example.com')
|
|
18
|
+
expect(custom.configuration.timeout).to eq(10)
|
|
19
|
+
expect(custom.configuration.retries).to eq(2)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
it 'exposes configuration via #get_configuration' do
|
|
23
|
+
expect(client.get_configuration).to be(client.configuration)
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '#build_multipart (private)' do
|
|
28
|
+
it 'embeds a file as a multipart part with its basename' do
|
|
29
|
+
Tempfile.create('book') do |file|
|
|
30
|
+
file.write('spreadsheet-bytes')
|
|
31
|
+
file.flush
|
|
32
|
+
content_type, body = client.send(:build_multipart, 'File' => file.path)
|
|
33
|
+
expect(content_type).to match(%r{^multipart/form-data; boundary=})
|
|
34
|
+
expect(body).to include('name="File"')
|
|
35
|
+
expect(body).to include("filename=\"#{File.basename(file.path)}\"")
|
|
36
|
+
expect(body).to include('spreadsheet-bytes')
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
it 'sends a plain value as a text field' do
|
|
41
|
+
_content_type, body = client.send(:build_multipart, 'note' => 'hello')
|
|
42
|
+
expect(body).to include('name="note"')
|
|
43
|
+
expect(body).to include('hello')
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
it 'accepts an open IO object (File/Tempfile) as a file part' do
|
|
47
|
+
Tempfile.create('book') do |file|
|
|
48
|
+
file.write('from-io')
|
|
49
|
+
file.flush
|
|
50
|
+
_content_type, body = client.send(:build_multipart, 'File' => file)
|
|
51
|
+
expect(body).to include("filename=\"#{File.basename(file.path)}\"")
|
|
52
|
+
expect(body).to include('from-io')
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
it 'accepts a FormFile.from_bytes binary array as a file part' do
|
|
57
|
+
form_file = Aspose::Cells::Cloud::FormFile.from_bytes([0x00, 0x48, 0x49], filename: 'raw.bin')
|
|
58
|
+
_content_type, body = client.send(:build_multipart, 'File' => form_file)
|
|
59
|
+
expect(body).to include('filename="raw.bin"')
|
|
60
|
+
expect(body).to include("\x00HI".b)
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
it 'uses a FormFile content_type when provided' do
|
|
64
|
+
form_file = Aspose::Cells::Cloud::FormFile.from_bytes([0x50, 0x4B], filename: 'a.xlsx',
|
|
65
|
+
content_type: 'application/vnd.ms-excel')
|
|
66
|
+
content_type, body = client.send(:build_multipart, 'File' => form_file)
|
|
67
|
+
expect(content_type).to match(%r{^multipart/form-data; boundary=})
|
|
68
|
+
expect(body).to include('Content-Type: application/vnd.ms-excel')
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
it 'sends a bare integer array as a binary text field' do
|
|
72
|
+
_content_type, body = client.send(:build_multipart, 'blob' => [0x01, 0x02, 0x03])
|
|
73
|
+
expect(body).to include("name=\"blob\"")
|
|
74
|
+
expect(body).to include("\x01\x02\x03".b)
|
|
75
|
+
expect(body).not_to include('filename=')
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
describe '#build_request (private)' do
|
|
80
|
+
let(:uri) { URI.parse('https://api.aspose.cloud/v4.0/cells/convert') }
|
|
81
|
+
|
|
82
|
+
it 'builds a GET request with no body' do
|
|
83
|
+
req = client.send(:build_request, 'GET', uri, {}, nil, nil)
|
|
84
|
+
expect(req).to be_a(Net::HTTP::Get)
|
|
85
|
+
expect(req.body).to be_nil
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
it 'serializes a JSON body' do
|
|
89
|
+
req = client.send(:build_request, 'POST', uri, { 'Content-Type' => 'application/json' },
|
|
90
|
+
{ 'Name' => 'x' }, nil)
|
|
91
|
+
expect(req.body).to eq('{"Name":"x"}')
|
|
92
|
+
expect(req['Content-Type']).to eq('application/json')
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
it 'rejects an unsupported HTTP method' do
|
|
96
|
+
expect { client.send(:build_request, 'PATCH', uri, {}, nil, nil) }
|
|
97
|
+
.to raise_error(Aspose::Cells::Cloud::SDKError, /Unsupported HTTP method/)
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe '#upload_file / #download_file' do
|
|
102
|
+
it 'upload_file builds and executes an UploadFileRequest' do
|
|
103
|
+
response = double('response', success?: true)
|
|
104
|
+
allow(client).to receive(:execute).and_return(response)
|
|
105
|
+
expect(client.upload_file('TestData/In/a.xlsx', 'testdata/a.xlsx')).to be(response)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
it 'download_file returns the response bytes' do
|
|
109
|
+
response = double('response', to_bytes: 'CONTENT')
|
|
110
|
+
allow(client).to receive(:execute).and_return(response)
|
|
111
|
+
expect(client.download_file('TestData/In/a.xlsx')).to eq('CONTENT')
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
RSpec.describe Aspose::Cells::Cloud::Configuration do
|
|
4
|
+
describe 'defaults' do
|
|
5
|
+
subject(:config) { described_class.new }
|
|
6
|
+
|
|
7
|
+
it 'defaults base_url to the production endpoint' do
|
|
8
|
+
expect(config.base_url).to eq('https://api.aspose.cloud')
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
it 'defaults timeout to 30 seconds' do
|
|
12
|
+
expect(config.timeout).to eq(30)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
it 'defaults retries to 0' do
|
|
16
|
+
expect(config.retries).to eq(0)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
it 'defaults api_version to v4.0' do
|
|
20
|
+
expect(config.api_version).to eq('v4.0')
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
it 'leaves credentials nil (no fake defaults)' do
|
|
24
|
+
expect(config.client_id).to be_nil
|
|
25
|
+
expect(config.client_secret).to be_nil
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
it 'starts with an empty header map' do
|
|
29
|
+
expect(config.header_parameters).to eq({})
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
describe '#token_url' do
|
|
34
|
+
it 'derives the OAuth2 endpoint from api_version (v4.0) by default' do
|
|
35
|
+
expect(described_class.new.token_url).to eq('https://api.aspose.cloud/v4.0/cells/connect/token')
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
it 'uses /v3.0/cells/connect/token when api_version is v3.0' do
|
|
39
|
+
config = described_class.new(api_version: 'v3.0')
|
|
40
|
+
expect(config.token_url).to eq('https://api.aspose.cloud/v3.0/cells/connect/token')
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
it 'honours an explicit auth_url override' do
|
|
44
|
+
config = described_class.new(auth_url: 'https://example.com/oauth2/token')
|
|
45
|
+
expect(config.token_url).to eq('https://example.com/oauth2/token')
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
it 'strips a trailing slash from base_url' do
|
|
49
|
+
config = described_class.new(base_url: 'https://api.aspose.cloud/')
|
|
50
|
+
expect(config.token_url).to eq('https://api.aspose.cloud/v4.0/cells/connect/token')
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe '#add_default_header' do
|
|
55
|
+
it 'adds a header to the map' do
|
|
56
|
+
config = described_class.new
|
|
57
|
+
config.add_default_header('X-Custom', 'value')
|
|
58
|
+
expect(config.header_parameters['X-Custom']).to eq('value')
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|