XML als FODS speichern

PHP Bibliothek zum Speichern von XML als FODS

Verwenden Sie SaveAs API von Cells Cloud, um benutzerdefinierte Tabellenkalkulations-Workflows in PHP zu erstellen. Dies ist eine professionelle Lösung, um XML als FODS und andere Dokumentformate online mit PHP zu speichern.

Speichern Sie eine XML-Datei als FODS in PHP

API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs

Das Speichern von Dateiformaten aus XML als FODS ist eine komplexe Aufgabe. Alle Übergänge vom XML- zum FODS-Format werden von unserem SDK PHP durchgeführt, wobei der strukturelle und logische Hauptinhalt der XML-Quelltabelle erhalten bleibt. Unsere PHP-Bibliothek ist eine professionelle Lösung, um XML als FODS-Dateien online zu speichern. Dieses Cloud SDK bietet PHP Entwicklern leistungsstarke Funktionalität und perfekte FODS-Ausgabe.

PHP Codebeispiel zum Speichern von XML als FODS mit REST API

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-php/
    $apiInstance = new CellsApi( getenv("ProductClientId"),getenv("ProductClientSecret") );
    $name ='Book1.xml';
    $saveOptions =new \Aspose\Cells\Cloud\Model\SaveOptions();
    $saveOptions->SaveFormat = "fods";
    $newfilename = "Book1Saveas.fods";
    $isAutoFitRows= 'true';
    $isAutoFitColumns= 'true';
    $folder = "Temp";
    $result = $apiInstance->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns, $folder);

So speichern Sie XML als FODS mit der Cells Cloud PHP-Bibliothek.

  1. Registrieren Sie ein Konto unterArmaturenbrett um ein kostenloses API-Kontingent und Autorisierungsdetails zu erhalten
  2. Installieren Sie die Bibliothek PHP und fügen Sie die Referenz (importieren Sie die Bibliothek) zu Ihrem Projekt hinzu.
  3. Öffnen Sie die Quelldatei in PHP.
  4. Verwenden Sie die Methode `PostWorkbookSaveAs`, um den resultierenden Stream abzurufen.

System Anforderungen

  1. PHP 7.4 oder neuer