Aspose.Cells Cloud SDK for Ruby
Aspose.Cells Cloud SDK for 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.
Built on the Aspose.Cells Cloud Web API, this MIT-licensed SDK supports advanced spreadsheet operations such as:
- Cell formatting, formulas, and data validation
- Pivot tables, charts, hyperlinks, and comments
- Conditional formatting and smart markers
- Worksheet merging, splitting, and protection
- Batch processing and background removal
It seamlessly integrates with AWS, Microsoft Azure, and Google Cloud, ensuring high availability, scalability, and data integrity. Ideal for serverless apps, microservices, and cloud automation workflows.
Quick Start Guide
To get started with Aspose.Cells Cloud, here's what you need to do:
- Sign up for an account at Aspose for Cloud to obtain your application details.
- Install the Aspose.Cells Cloud Ruby Package from RubyGems.
- Execute the following command to get the latest Gem package.
gem 'aspose_cells_cloud', '~> 26.7.0'Or install directly:
gem install aspose_cells_cloud- Use the conversion code provided below as a reference to add or modify your application.
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientId']
CellsCloudClientSecret = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientSecret']
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
response = @instance.convert_spreadsheet(request)
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')- How to upload a file to cloud storage.
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientId']
CellsCloudClientSecret = "..." # Get from https://dashboard.aspose.cloud/#/applications -> Set ENV['CellsCloudClientSecret']
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
@instance.upload_file(request)Supported File Formats
| Format | Description | Load | Save |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 Workbook. | √ | √ |
| XLSX | Office Open XML SpreadsheetML Workbook or template file, with or without macros. | √ | √ |
| XLSB | Excel Binary Workbook. | √ | √ |
| XLSM | Excel Macro-Enabled Workbook. | √ | √ |
| XLT | Excel 97 - Excel 2003 Template. | √ | √ |
| XLTX | Excel Template. | √ | √ |
| XLTM | Excel Macro-Enabled Template. | √ | √ |
| XLAM | An Excel Macro-Enabled Add-In file used to add new functions to Excel. | √ | |
| CSV | CSV (Comma-Separated Values) file. | √ | √ |
| TSV | TSV (Tab-Separated Values) file. | √ | √ |
| TXT | Delimited plain text file. | √ | √ |
| HTML | HTML format. | √ | √ |
| MHTML | MHTML file. | √ | √ |
| ODS | ODS (OpenDocument Spreadsheet). | √ | √ |
| Numbers | Document created by Apple's "Numbers" application, part of Apple's iWork office suite running on macOS and iOS. | √ | |
| JSON | JavaScript Object Notation | √ | √ |
| DIF | Data Interchange Format. | √ | |
| Adobe Portable Document Format. | √ | ||
| XPS | XML Paper Specification Format. | √ | |
| SVG | Scalable Vector Graphics Format. | √ | |
| TIFF | Tagged Image File Format | √ | |
| PNG | Portable Network Graphics Format | √ | |
| BMP | Bitmap Image Format | √ | |
| EMF | Enhanced Metafile Format | √ | |
| JPEG | JPEG is a type of image format saved using lossy compression. | √ | |
| GIF | Graphics Interchange Format | √ | |
| MARKDOWN | Represents a Markdown document. | √ | |
| SXC | An XML-based format used by OpenOffice and StarOffice | √ | √ |
| FODS | An Open Document format stored as flat XML. | √ | √ |
| DOCX | A well-known format for Microsoft Word documents that combines XML and binary files. | √ | |
| PPTX | Microsoft PowerPoint Open XML presentation file format. | √ | |
| OTS | OTS (OpenDocument Spreadsheet Template). | √ | √ |
| XML | XML file. | √ | √ |
| HTM | HTM file. | √ | √ |
| TIF | Tagged Image File Format | √ | |
| WMF | WMF Image Format | √ | |
| PCL | Printer Command Language Format | √ | |
| AZW3 | AZW3/KF8 File Format | √ | |
| EPUB | EPUB File Format | √ | |
| DBF | DBF File Format | √ | |
| XHTML | XHTML File Format | √ |
Architecture
graph TB
subgraph "Client Layer"
C1[Web Application]
C2[Mobile Application]
C3[Desktop Application]
end
subgraph "API Gateway Layer"
G1[Gateway Service]
G2[Authentication Services]
G3[Load Balancing]
end
subgraph "Cloud Microservices Layer"
S1[User Application]
S2[Product Services]
end
C1 & C2 & C3 --> G1
G1 --> S1 & S2
style C1 fill:#e1f5fe
style G1 fill:#f3e5f5
style S1 fill:#e8f5e8
Manipulating Excel and Other Spreadsheet Files in the Cloud
- File Manipulation: Users can upload, download, delete, and manage Excel files stored in the cloud.
- Formatting: Supports formatting of cells, fonts, colors, and alignment modes in Excel files to meet users' specific requirements.
- Data Processing: Powerful functions for data processing including reading, writing, modifying cell data, performing formula calculations, and formatting data.
- Formula Calculation: Built-in formula engine handles complex formula calculations in Excel and returns accurate results.
- Chart Manipulation: Users can create, edit, and delete charts from Excel files for data analysis and visualization needs.
- Table Processing: Offers robust processing capabilities for various form operations such as creation, editing, formatting, and conversion, meeting diverse form processing needs.
- Data Validation: Includes data validation functions to set cell data type, range, and uniqueness, ensuring data accuracy and integrity.
- Batch Processing: Supports batch processing of multiple Excel documents, such as batch format conversion, data extraction, and style application.
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
- 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.
Features & Enhancements in Version 26.7
Full list of issues covering all changes in this release:
| Summary | Category |
|---|---|
| Fix AutoFitsCanAutoFitsAttribute value data type. | Bug |
| Support for the calculation formula in Aspose.Cells Cloud 4.0 Web APIs. | New Feature |
| Support for the smart template in Aspose.Cells Cloud 4.0 Web APIs. | New Feature |
| Fix calc error about MathCalculate Web API. | Bug |
Available SDKs
The Aspose.Cells Cloud SDK is available in multiple popular programming languages, enabling developers to integrate spreadsheet processing capabilities across various development environments.
Aspose.Cells Cloud SDK for Ruby (中文)
Aspose.Cells Cloud SDK for Ruby 是一个云原生 REST API,使 Ruby 开发者能够创建、读取、编辑、转换和修复电子表格文件——包括 Excel(XLS、XLSX、XLSB、XLSM)、OpenDocument Spreadsheet(ODS)、CSV、TSV、JSON、HTML、PDF 等——无需安装 Microsoft Excel 或 Office。
基于 Aspose.Cells Cloud Web API 构建,此 MIT 许可的 SDK 支持高级电子表格操作,例如:
- 单元格格式化、公式和数据验证
- 数据透视表、图表、超链接和注释
- 条件格式和智能标记
- 工作表合并、拆分和保护
- 批量处理和背景移除
它无缝集成 AWS、Microsoft Azure 和 Google Cloud,确保高可用性、可扩展性和数据完整性。非常适合无服务器应用、微服务和云自动化工作流。
快速入门指南
要开始使用 Aspose.Cells Cloud,您需要执行以下操作:
- 在 Aspose for Cloud 注册账户以获取您的应用程序凭证。
- 从 RubyGems 安装 Aspose.Cells Cloud Ruby 包。
- 执行以下命令获取最新的 Gem 包。
gem 'aspose_cells_cloud', '~> 26.7.0'或直接安装:
gem install aspose_cells_cloud- 使用以下转换代码作为参考来添加或修改您的应用程序。
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientId']
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientSecret']
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
response = @instance.convert_spreadsheet(request)
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')- 如何将文件上传到云存储。
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientId']
CellsCloudClientSecret = "..." # 从 https://dashboard.aspose.cloud/#/applications 获取 -> 设置 ENV['CellsCloudClientSecret']
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
@instance.upload_file(request)支持的文件格式
| 格式 | 描述 | 加载 | 保存 |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 工作簿。 | √ | √ |
| XLSX | Office Open XML SpreadsheetML 工作簿或模板文件,带或不带宏。 | √ | √ |
| XLSB | Excel 二进制工作簿。 | √ | √ |
| XLSM | Excel 启用宏的工作簿。 | √ | √ |
| XLT | Excel 97 - Excel 2003 模板。 | √ | √ |
| XLTX | Excel 模板。 | √ | √ |
| XLTM | Excel 启用宏的模板。 | √ | √ |
| XLAM | Excel 启用宏的加载项文件,用于向 Excel 添加新功能。 | √ | |
| CSV | CSV(逗号分隔值)文件。 | √ | √ |
| TSV | TSV(制表符分隔值)文件。 | √ | √ |
| TXT | 分隔纯文本文件。 | √ | √ |
| HTML | HTML 格式。 | √ | √ |
| MHTML | MHTML 文件。 | √ | √ |
| ODS | ODS(OpenDocument 电子表格)。 | √ | √ |
| Numbers | 由 Apple "Numbers" 应用程序创建的文档,属于 Apple iWork 办公套件,运行于 macOS 和 iOS。 | √ | |
| JSON | JavaScript 对象表示法 | √ | √ |
| DIF | 数据交换格式。 | √ | |
| Adobe 便携式文档格式。 | √ | ||
| XPS | XML 纸张规范格式。 | √ | |
| SVG | 可缩放矢量图形格式。 | √ | |
| TIFF | 标记图像文件格式 | √ | |
| PNG | 便携式网络图形格式 | √ | |
| BMP | 位图图像格式 | √ | |
| EMF | 增强型图元文件格式 | √ | |
| JPEG | JPEG 是一种使用有损压缩保存的图像格式。 | √ | |
| GIF | 图形交换格式 | √ | |
| MARKDOWN | 表示 Markdown 文档。 | √ | |
| SXC | OpenOffice 和 StarOffice 使用的基于 XML 的格式 | √ | √ |
| FODS | 以平面 XML 存储的 Open Document 格式。 | √ | √ |
| DOCX | Microsoft Word 文档的知名格式,结合了 XML 和二进制文件。 | √ | |
| PPTX | Microsoft PowerPoint Open XML 演示文稿文件格式。 | √ | |
| OTS | OTS(OpenDocument 电子表格模板)。 | √ | √ |
| XML | XML 文件。 | √ | √ |
| HTM | HTM 文件。 | √ | √ |
| TIF | 标记图像文件格式 | √ | |
| WMF | WMF 图像格式 | √ | |
| PCL | 打印机命令语言格式 | √ | |
| AZW3 | AZW3/KF8 文件格式 | √ | |
| EPUB | EPUB 文件格式 | √ | |
| DBF | DBF 文件格式 | √ | |
| XHTML | XHTML 文件格式 | √ |
架构
graph TB
subgraph "客户端层"
C1[Web 应用]
C2[移动应用]
C3[桌面应用]
end
subgraph "API 网关层"
G1[网关服务]
G2[认证服务]
G3[负载均衡]
end
subgraph "云微服务层"
S1[用户应用]
S2[产品服务]
end
C1 & C2 & C3 --> G1
G1 --> S1 & S2
style C1 fill:#e1f5fe
style G1 fill:#f3e5f5
style S1 fill:#e8f5e8
在云端操作 Excel 及其他电子表格文件
- 文件操作:用户可以上传、下载、删除和管理存储在云端的 Excel 文件。
- 格式化:支持对 Excel 文件中的单元格、字体、颜色和对齐模式进行格式化,以满足用户的特定需求。
- 数据处理:强大的数据处理功能,包括读取、写入、修改单元格数据,执行公式计算以及格式化数据。
- 公式计算:内置公式引擎处理 Excel 中的复杂公式计算并返回准确结果。
- 图表操作:用户可以创建、编辑和删除 Excel 文件中的图表,以满足数据分析和可视化需求。
- 表格处理:为各种表单操作(如创建、编辑、格式化和转换)提供强大的处理能力,满足多样化的表单处理需求。
- 数据验证:包含数据验证功能,可设置单元格数据类型、范围和唯一性,确保数据的准确性和完整性。
- 批量处理:支持批量处理多个 Excel 文档,如批量格式转换、数据提取和样式应用。
- 导入/导出:支持从各种数据源导入数据到电子表格,以及将电子表格数据导出到其他格式。
- 安全管理:提供数据加密、访问控制和权限管理等一系列安全功能,保护电子表格数据的安全性和完整性。
版本 26.7 的功能与增强
涵盖此版本所有更改的完整问题列表:
| 摘要 | 类别 |
|---|---|
| 修复 AutoFitsCanAutoFitsAttribute 值数据类型。 | Bug |
| 在 Aspose.Cells Cloud 4.0 Web API 中支持计算公式。 | 新功能 |
| 在 Aspose.Cells Cloud 4.0 Web API 中支持智能模板。 | 新功能 |
| 修复 MathCalculate Web API 的计算错误。 | Bug |
可用的 SDK
Aspose.Cells Cloud SDK 提供多种主流编程语言版本,使开发人员能够在各种开发环境中集成电子表格处理功能。
Aspose.Cells Cloud SDK for Ruby (日本語)
Aspose.Cells Cloud SDK for Ruby は、Ruby 開発者が Excel(XLS、XLSX、XLSB、XLSM)、OpenDocument Spreadsheet(ODS)、CSV、TSV、JSON、HTML、PDF などのスプレッドシートファイルを Microsoft Excel や Office をインストールせずに作成、読み取り、編集、変換、修復できるクラウドネイティブ REST API です。
Aspose.Cells Cloud Web API 上に構築されたこの MIT ライセンスの SDK は、以下のような高度なスプレッドシート操作をサポートします:
- セルの書式設定、数式、データ検証
- ピボットテーブル、グラフ、ハイパーリンク、コメント
- 条件付き書式とスマートマーカー
- ワークシートの結合、分割、保護
- バッチ処理と背景除去
AWS、Microsoft Azure、Google Cloud とシームレスに統合し、高可用性、スケーラビリティ、データ整合性を確保します。サーバーレスアプリ、マイクロサービス、クラウド自動化ワークフローに最適です。
クイックスタートガイド
Aspose.Cells Cloud を始めるには、以下の手順に従ってください:
- Aspose for Cloud でアカウントを作成し、アプリケーションの詳細を取得します。
- RubyGems から Aspose.Cells Cloud Ruby パッケージをインストールします。
- 以下のコマンドを実行して最新の Gem パッケージを取得します。
gem 'aspose_cells_cloud', '~> 26.7.0'または直接インストール:
gem install aspose_cells_cloud- 以下の変換コードを参考に、アプリケーションを追加または変更します。
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientId'] を設定
CellsCloudClientSecret = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientSecret'] を設定
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
response = @instance.convert_spreadsheet(request)
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')- クラウドストレージにファイルをアップロードする方法。
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientId'] を設定
CellsCloudClientSecret = "..." # https://dashboard.aspose.cloud/#/applications から取得 -> ENV['CellsCloudClientSecret'] を設定
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
@instance.upload_file(request)サポートされているファイル形式
| 形式 | 説明 | 読み込み | 保存 |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 ワークブック。 | √ | √ |
| XLSX | Office Open XML SpreadsheetML ワークブックまたはテンプレートファイル(マクロあり/なし)。 | √ | √ |
| XLSB | Excel バイナリワークブック。 | √ | √ |
| XLSM | Excel マクロ有効ワークブック。 | √ | √ |
| XLT | Excel 97 - Excel 2003 テンプレート。 | √ | √ |
| XLTX | Excel テンプレート。 | √ | √ |
| XLTM | Excel マクロ有効テンプレート。 | √ | √ |
| XLAM | Excel に新しい関数を追加するために使用される Excel マクロ有効アドインファイル。 | √ | |
| CSV | CSV(カンマ区切り値)ファイル。 | √ | √ |
| TSV | TSV(タブ区切り値)ファイル。 | √ | √ |
| TXT | 区切り付きプレーンテキストファイル。 | √ | √ |
| HTML | HTML 形式。 | √ | √ |
| MHTML | MHTML ファイル。 | √ | √ |
| ODS | ODS(OpenDocument スプレッドシート)。 | √ | √ |
| Numbers | Apple の iWork オフィススイートの一部である「Numbers」アプリケーションで作成されたドキュメント(macOS および iOS で動作)。 | √ | |
| JSON | JavaScript Object Notation | √ | √ |
| DIF | Data Interchange Format。 | √ | |
| Adobe Portable Document Format。 | √ | ||
| XPS | XML Paper Specification Format。 | √ | |
| SVG | Scalable Vector Graphics Format。 | √ | |
| TIFF | Tagged Image File Format | √ | |
| PNG | Portable Network Graphics Format | √ | |
| BMP | Bitmap Image Format | √ | |
| EMF | Enhanced Metafile Format | √ | |
| JPEG | JPEG は非可逆圧縮方式で保存される画像形式です。 | √ | |
| GIF | Graphics Interchange Format | √ | |
| MARKDOWN | Markdown ドキュメントを表します。 | √ | |
| SXC | OpenOffice および StarOffice で使用される XML ベースの形式 | √ | √ |
| FODS | フラット XML として保存された Open Document 形式。 | √ | √ |
| DOCX | XML とバイナリファイルを組み合わせた Microsoft Word ドキュメントの有名な形式。 | √ | |
| PPTX | Microsoft PowerPoint Open XML プレゼンテーションファイル形式。 | √ | |
| OTS | OTS(OpenDocument スプレッドシートテンプレート)。 | √ | √ |
| XML | XML ファイル。 | √ | √ |
| HTM | HTM ファイル。 | √ | √ |
| TIF | Tagged Image File Format | √ | |
| WMF | WMF Image Format | √ | |
| PCL | Printer Command Language Format | √ | |
| AZW3 | AZW3/KF8 File Format | √ | |
| EPUB | EPUB File Format | √ | |
| DBF | DBF File Format | √ | |
| XHTML | XHTML File Format | √ |
アーキテクチャ
graph TB
subgraph "クライアント層"
C1[Web アプリケーション]
C2[モバイルアプリケーション]
C3[デスクトップアプリケーション]
end
subgraph "API ゲートウェイ層"
G1[ゲートウェイサービス]
G2[認証サービス]
G3[負荷分散]
end
subgraph "クラウドマイクロサービス層"
S1[ユーザーアプリケーション]
S2[製品サービス]
end
C1 & C2 & C3 --> G1
G1 --> S1 & S2
style C1 fill:#e1f5fe
style G1 fill:#f3e5f5
style S1 fill:#e8f5e8
クラウドでの Excel およびその他のスプレッドシートファイルの操作
- ファイル操作:クラウドに保存されている Excel ファイルのアップロード、ダウンロード、削除、管理が可能です。
- 書式設定:ユーザーの特定の要件に合わせて、Excel ファイル内のセル、フォント、色、配置モードの書式設定をサポートします。
- データ処理:セルデータの読み取り、書き込み、変更、数式計算の実行、データの書式設定など、強力なデータ処理機能を提供します。
- 数式計算:組み込みの数式エンジンが Excel の複雑な数式計算を処理し、正確な結果を返します。
- グラフ操作:データ分析と可視化のニーズに応じて、Excel ファイルからグラフを作成、編集、削除できます。
- テーブル処理:作成、編集、書式設定、変換などのさまざまなフォーム操作に対して堅牢な処理機能を提供し、多様なフォーム処理のニーズに対応します。
- データ検証:セルのデータ型、範囲、一意性を設定するデータ検証機能を含み、データの正確性と整合性を確保します。
- バッチ処理:バッチ形式変換、データ抽出、スタイル適用など、複数の Excel ドキュメントのバッチ処理をサポートします。
- インポート/エクスポート:さまざまなソースからスプレッドシートへのデータのインポート、およびスプレッドシートデータの他の形式へのエクスポートを容易にします。
- セキュリティ管理:データ暗号化、アクセス制御、権限管理などのさまざまなセキュリティ機能を提供し、スプレッドシートデータのセキュリティと整合性を保護します。
バージョン 26.7 の機能と拡張
このリリースのすべての変更を含む問題の完全なリスト:
| 概要 | カテゴリ |
|---|---|
| AutoFitsCanAutoFitsAttribute 値のデータ型を修正。 | Bug |
| Aspose.Cells Cloud 4.0 Web API での計算式のサポート。 | New Feature |
| Aspose.Cells Cloud 4.0 Web API でのスマートテンプレートのサポート。 | New Feature |
| MathCalculate Web API の計算エラーを修正。 | Bug |
利用可能な SDK
Aspose.Cells Cloud SDK は複数の主要なプログラミング言語で利用可能で、開発者はさまざまな開発環境でスプレッドシート処理機能を統合できます。
Aspose.Cells Cloud SDK for Ruby (Deutsch)
Aspose.Cells Cloud SDK for 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.
Aufbauend auf der Aspose.Cells Cloud Web API unterstützt dieses MIT-lizenzierte SDK erweiterte Tabellenkalkulationsoperationen wie:
- Zellformatierung, Formeln und Datenvalidierung
- Pivot-Tabellen, Diagramme, Hyperlinks und Kommentare
- Bedingte Formatierung und Smart Marker
- Arbeitsblatt-Zusammenführung, -Aufteilung und -Schutz
- Stapelverarbeitung und Hintergrundentfernung
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.
Schnellstart-Anleitung
Um mit Aspose.Cells Cloud zu beginnen, müssen Sie Folgendes tun:
- Erstellen Sie ein Konto bei Aspose for Cloud, um Ihre Anwendungsdaten zu erhalten.
- Installieren Sie das Aspose.Cells Cloud Ruby-Paket von RubyGems.
- Führen Sie den folgenden Befehl aus, um das neueste Gem-Paket zu erhalten.
gem 'aspose_cells_cloud', '~> 26.7.0'Oder direkt installieren:
gem install aspose_cells_cloud- Verwenden Sie den folgenden Konvertierungscode als Referenz, um Ihre Anwendung hinzuzufügen oder zu ändern.
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientId'] setzen
CellsCloudClientSecret = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientSecret'] setzen
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::ConvertSpreadsheetRequest.new(:Spreadsheet => 'EmployeeSalesSummary.xlsx', :format => format)
response = @instance.convert_spreadsheet(request)
FileUtils.cp(response.path, 'EmployeeSalesSummary.csv')- So laden Sie eine Datei in den Cloud-Speicher hoch.
require 'openssl'
require 'bundler'
require 'aspose_cells_cloud'
CellsCloudClientId = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientId'] setzen
CellsCloudClientSecret = "..." # Von https://dashboard.aspose.cloud/#/applications abrufen -> ENV['CellsCloudClientSecret'] setzen
@instance = AsposeCellsCloud::CellsApi.new(CellsCloudClientId, CellsCloudClientSecret)
request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles => "EmployeeSalesSummary.xlsx", :path => "TestData/EmployeeSalesSummary.xlsx", :storageName => '')
@instance.upload_file(request)Unterstützte Dateiformate
| Format | Beschreibung | Laden | Speichern |
|---|---|---|---|
| XLS | Excel 95/5.0 - 2003 Arbeitsmappe. | √ | √ |
| XLSX | Office Open XML SpreadsheetML-Arbeitsmappe oder Vorlagendatei, mit oder ohne Makros. | √ | √ |
| XLSB | Excel-Binärarbeitsmappe. | √ | √ |
| XLSM | Excel-Arbeitsmappe mit Makros. | √ | √ |
| XLT | Excel 97 - Excel 2003 Vorlage. | √ | √ |
| XLTX | Excel-Vorlage. | √ | √ |
| XLTM | Excel-Vorlage mit Makros. | √ | √ |
| XLAM | Eine Excel-Add-In-Datei mit Makros, die zum Hinzufügen neuer Funktionen zu Excel verwendet wird. | √ | |
| CSV | CSV (durch Kommas getrennte Werte) Datei. | √ | √ |
| TSV | TSV (durch Tabulatoren getrennte Werte) Datei. | √ | √ |
| TXT | Begrenzte reine Textdatei. | √ | √ |
| HTML | HTML-Format. | √ | √ |
| MHTML | MHTML-Datei. | √ | √ |
| ODS | ODS (OpenDocument Spreadsheet). | √ | √ |
| Numbers | Dokument, das mit Apples „Numbers"-Anwendung erstellt wurde, Teil von Apples iWork-Bürosoftware, die unter macOS und iOS läuft. | √ | |
| JSON | JavaScript Object Notation | √ | √ |
| DIF | Data Interchange Format. | √ | |
| Adobe Portable Document Format. | √ | ||
| XPS | XML Paper Specification Format. | √ | |
| SVG | Scalable Vector Graphics Format. | √ | |
| TIFF | Tagged Image File Format | √ | |
| PNG | Portable Network Graphics Format | √ | |
| BMP | Bitmap Image Format | √ | |
| EMF | Enhanced Metafile Format | √ | |
| JPEG | JPEG ist ein Bildformat, das mit verlustbehafteter Komprimierung gespeichert wird. | √ | |
| GIF | Graphics Interchange Format | √ | |
| MARKDOWN | Stellt ein Markdown-Dokument dar. | √ | |
| SXC | Ein XML-basiertes Format, das von OpenOffice und StarOffice verwendet wird | √ | √ |
| FODS | Ein Open Document-Format, das als flaches XML gespeichert wird. | √ | √ |
| DOCX | Ein bekanntes Format für Microsoft Word-Dokumente, das XML und Binärdateien kombiniert. | √ | |
| PPTX | Microsoft PowerPoint Open XML-Präsentationsdateiformat. | √ | |
| OTS | OTS (OpenDocument Spreadsheet-Vorlage). | √ | √ |
| XML | XML-Datei. | √ | √ |
| HTM | HTM-Datei. | √ | √ |
| TIF | Tagged Image File Format | √ | |
| WMF | WMF Image Format | √ | |
| PCL | Printer Command Language Format | √ | |
| AZW3 | AZW3/KF8 File Format | √ | |
| EPUB | EPUB File Format | √ | |
| DBF | DBF File Format | √ | |
| XHTML | XHTML File Format | √ |
Architektur
graph TB
subgraph "Client-Schicht"
C1[Webanwendung]
C2[Mobile Anwendung]
C3[Desktop-Anwendung]
end
subgraph "API-Gateway-Schicht"
G1[Gateway-Dienst]
G2[Authentifizierungsdienste]
G3[Lastausgleich]
end
subgraph "Cloud-Microservices-Schicht"
S1[Benutzeranwendung]
S2[Produktdienste]
end
C1 & C2 & C3 --> G1
G1 --> S1 & S2
style C1 fill:#e1f5fe
style G1 fill:#f3e5f5
style S1 fill:#e8f5e8
Bearbeiten von Excel und anderen Tabellenkalkulationsdateien in der Cloud
- Dateibearbeitung: Benutzer können in der Cloud gespeicherte Excel-Dateien hochladen, herunterladen, löschen und verwalten.
- Formatierung: Unterstützt die Formatierung von Zellen, Schriftarten, Farben und Ausrichtungsmodi in Excel-Dateien, um den spezifischen Anforderungen der Benutzer gerecht zu werden.
- Datenverarbeitung: Leistungsstarke Funktionen zur Datenverarbeitung, einschließlich Lesen, Schreiben, Ändern von Zellendaten, Durchführen von Formelberechnungen und Formatieren von Daten.
- Formelberechnung: Die integrierte Formel-Engine verarbeitet komplexe Formelberechnungen in Excel und liefert genaue Ergebnisse.
- Diagrammbearbeitung: Benutzer können Diagramme aus Excel-Dateien erstellen, bearbeiten und löschen, um Datenanalyse- und Visualisierungsanforderungen zu erfüllen.
- Tabellenverarbeitung: Bietet robuste Verarbeitungsfunktionen für verschiedene Formularoperationen wie Erstellung, Bearbeitung, Formatierung und Konvertierung, die unterschiedliche Anforderungen an die Formularverarbeitung erfüllen.
- Datenvalidierung: Enthält Datenvalidierungsfunktionen zum Festlegen von Zellendatentyp, Bereich und Eindeutigkeit, um Datengenauigkeit und -integrität sicherzustellen.
- Stapelverarbeitung: Unterstützt die Stapelverarbeitung mehrerer Excel-Dokumente, wie z. B. Stapelformatkonvertierung, Datenextraktion und Stilanwendung.
- Import/Export: Ermöglicht den Import von Daten aus verschiedenen Quellen in Tabellen und den Export von Tabellendaten in andere Formate.
- Sicherheitsverwaltung: Bietet eine Reihe von Sicherheitsfunktionen wie Datenverschlüsselung, Zugriffskontrolle und Berechtigungsverwaltung zum Schutz der Sicherheit und Integrität von Tabellendaten.
Funktionen & Erweiterungen in Version 26.7
Vollständige Liste der Probleme, die alle Änderungen in dieser Version abdecken:
| Zusammenfassung | Kategorie |
|---|---|
| Datentyp des AutoFitsCanAutoFitsAttribute-Werts korrigiert. | Bug |
| Unterstützung für Berechnungsformeln in Aspose.Cells Cloud 4.0 Web-APIs. | New Feature |
| Unterstützung für Smart Templates in Aspose.Cells Cloud 4.0 Web-APIs. | New Feature |
| Berechnungsfehler der MathCalculate Web-API behoben. | Bug |
Verfügbare SDKs
Das Aspose.Cells Cloud SDK ist in mehreren gängigen Programmiersprachen verfügbar und ermöglicht Entwicklern die Integration von Tabellenkalkulationsfunktionen in verschiedene Entwicklungsumgebungen.
