Erfahren Sie, wie Sie Tabellenkalkulationen in PDF, PPTX, JSON, CSV und mehr mit den Aspose.Cells Cloud Web-APIs konvertieren können.
python
# Konvertieren Sie die Datei EmployeeSalesSummary.xlsx in das PDF-Format.
instance = CellsApi(os.getenv('CellsCloudClientId'), os.getenv('CellsCloudClientSecret'))
instance.convert_spreadsheet(ConvertSpreadsheetRequest('EmployeeSalesSummary.xlsx', 'pdf'), local_outpath="EmployeeSalesSummary.pdf")
### 2. Arbeitsblatt in PDF konvertieren
python
# Konvertieren Sie das Arbeitsblatt "Sales" in der Datei "EmployeeSalesSummary.xlsx" in das PDF-Format.
instance = CellsApi(os.getenv('CellsCloudClientId'), os.getenv('CellsCloudClientSecret'))
instance.convert_worksheet_to_image(
ConvertWorksheetToImageRequest(EmployeeSalesSummaryXlsx, "Sales"),
local_outpath="EmployeeSalesSummary_Sales.pdf")
### 3. Arbeitsblatt-Tabelle in JSON konvertieren
python
# Konvertieren Sie "Table1" in der Datei "EmployeeSalesSummary.xlsx" in das JSON-Format.
instance = CellsApi(os.getenv('CellsCloudClientId'), os.getenv('CellsCloudClientSecret'))
instance.convert_table_to_json(
ConvertTableToJsonRequest(EmployeeSalesSummaryXlsx, "Sales", "Table1"),
local_outpath="EmployeeSalesSummary_Sales_Table.json")
### 4. Arbeitsblatt-Bereich in JSON konvertieren
python
# Konvertieren Sie den Bereich "B5:L36" in der Datei "EmployeeSalesSummary.xlsx" in das JSON-Format.
instance = CellsApi(os.getenv('CellsCloudClientId'), os.getenv('CellsCloudClientSecret'))
instance.convert_range_to_json(
ConvertRangeToJsonRequest(EmployeeSalesSummaryXlsx, "Sales", "B5:L36"),
local_outpath="EmployeeSalesSummary_Sales_area.json")
## Multi-Source-Unterstützung
Cells Cloud 4.0 verarbeitet nicht nur lokale Tabellenkalkulationsdateien, sondern integriert sich auch nahtlos mit Cloud-Speicher. Durch die Integration mit Aspose Cloud Storage unterstützt es verschiedene Plattformen, einschließlich Amazon S3, Azure Blob Storage, Google Cloud Storage und Dropbox.
### 1. Cloud-Datei als CSV exportieren
python
# Konvertieren Sie die Datei "EmployeeSalesSummary.xlsx", die im Aspose Cloud Storage gespeichert ist, in das CSV-Format.
instance = CellsApi(os.getenv('CellsCloudClientId'), os.getenv('CellsCloudClientSecret'))
instance.export_Spreadsheet_as_format(
ExportSpreadsheetAsFormatRequest(EmployeeSalesSummaryXlsx, "csv", folder="PythonSDK"),
local_outpath="EmployeeSalesSummary.csv")
## SDKs-Leitfaden: Installation und Verwendung der Aspose.Cells Cloud SDKs
Optimieren Sie Ihren Entwicklungsworkflow mit unseren mehrsprachigen SDKs für nahtlose Excel-/Tabellenautomatisierung. Beginnen Sie in wenigen Minuten mit diesen erprobten Installationsmethoden.
Umfassende SDK-Installationsmatrix
| Sprache | Paketmanager | Installationsbefehl | Dokumentationslink |
|————|—————–|——————————————|———————————————|
| .NET | NuGet | dotnet add package Aspose.Cells-Cloud
| .NET SDK Schnellstart |
| Java | Maven | mvn repository: https://repository.aspose.cloud/repo/
| Java SDK Schnellstart |
| Python | pip | pip install asposecellscloud
|Python SDK Schnellstart |
| Node.js| npm | npm i asposecellscloud
| Node.js SDK Schnellstart |
| PHP | Composer | composer require aspose/cells-sdk-php
| PHP SDK Schnellstart |
| Go | Go-Module | go install github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25@latest
| GoLang SDK Schnellstart |
| Ruby | RubyGems | gem install aspose_cells_cloud
| Ruby SDK Schnellstart |
| Perl | CPAN | cpanm AsposeCellsCloud::CellsApi
| Perl SDK Schnellstart |
## Fazit
Mit seiner neuen Dokumentenkonvertierungsfunktion bietet Aspose.Cells Cloud 4.0 eine einfache, effiziente und entwicklerfreundliche Lösung zur Konvertierung von Dokumentenformaten. Durch die Annahme eines minimalistischen API-Designs und den Fokus auf einzelne Funktionalität ermöglicht es Low-Code-Integration und erlaubt Entwicklern, Formatkonvertierungen in nur wenigen Codezeilen durchzuführen.
Kombiniert mit der Unterstützung für sowohl lokale als auch cloudbasierte Dokumente und nahtloser Integration mit mehrsprachigen SDKs ist Cells Cloud 4.0 das ideale Werkzeug für moderne Dokumentenverarbeitungs-Workflows.
## FAQ
- Q1: Welche Dateiformate werden in Cells Cloud 4.0 für die Konvertierung unterstützt?
A: Cells Cloud 4.0 unterstützt die gegenseitige Konvertierung zwischen Excel (XLSX/XLS), CSV, PDF, HTML, JSON und Bildformaten wie PNG, JPG, TIFF und SVG.
- Q2: Unterstützt es sowohl Cloud- als auch lokale Dateien?
A: Ja, Cells Cloud 4.0 unterstützt die Konvertierung sowohl lokaler Dateien als auch Dateien, die in Cloud-Plattformen wie Amazon S3, Azure Blob Storage, Google Cloud Storage und Dropbox gespeichert sind.
- Q3: Ist eine komplexe Konfiguration oder eine steile Lernkurve erforderlich?
A: Nein. Cells Cloud 4.0 verwendet ein minimalistisches API-Design – die meisten Operationen erfordern nur 2–3 Parameter – was die Lernkurve für Entwickler erheblich senkt.
- Q4: Wird die ursprüngliche Formatierung während der Konvertierung beeinträchtigt?
A: Nein. Der Konvertierungsprozess bewahrt die Stile, Formeln, Diagramme und Formatierungen des ursprünglichen Dokuments, um die Ausgabepräzision zu gewährleisten.
- Q5: Gibt es einen kostenlosen Testplan?
A: Ja, Aspose.Cells Cloud bietet einen kostenlosen Plan mit einer begrenzten Anzahl von API-Aufrufen für Test- und Entwicklungszwecke.
## Zusätzliche Ressourcen
- Vollständige API-Dokumentation
- Aspose.Cells Cloud API-Referenz
- Produkt-Support-Forum
- Preise & Pläne
Spreadsheet-Konvertierungs-APIs: Optimierte Dokumentenkonvertierungslösung | Aspose.Cells Cloud

Spreadsheet-Konvertierungs-APIs