Speichern Sie FODS als XML

PHP Bibliothek zum Speichern von FODS als XML

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

Speichern Sie eine FODS-Datei als XML unter PHP

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

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

PHP Codebeispiel zum Speichern von FODS als XML 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.fods';
    $saveOptions =new \Aspose\Cells\Cloud\Model\SaveOptions();
    $saveOptions->SaveFormat = "xml";
    $newfilename = "Book1Saveas.xml";
    $isAutoFitRows= 'true';
    $isAutoFitColumns= 'true';
    $folder = "Temp";
    $result = $apiInstance->cellsSaveAsPostDocumentSaveAs($name, $saveOptions, $newfilename,$isAutoFitRows, $isAutoFitColumns, $folder);

So speichern Sie FODS als XML 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