سويفت API لتصدير LISTOBJECT إلى ملف HTML

مكتبة سويفت لتصدير LISTOBJECT إلى ملف HTML

استخدم Cells تصدير REST API لتصدير سير عمل الكائنات الداخلية لجدول البيانات في Swift. يعد هذا حلاً احترافيًا لتصدير LISTOBJECT إلى ملف بتنسيق HTML من جدول البيانات عبر الإنترنت باستخدام Swift.

تصدير كائن LISTOBJECT إلى ملف بتنسيق HTML في Swift

API
POST
https://api.aspose.cloud/v3.0/cells/export

يعد تصدير كائن LISTOBJECT إلى ملف HTML من جدول البيانات مهمة معقدة. يتم تنفيذ انتقالات تنسيق تصدير LISTOBJECT إلى HTML بواسطة Swift SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات LISTOBJECT المصدر. تعد مكتبة Swift الخاصة بنا حلاً احترافيًا لتصدير كائنات LISTOBJECT إلى ملفات بتنسيق HTML عبر الإنترنت. يوفر Cloud SDK لمطوري Swift وظائف قوية وإخراج HTML مثاليًا.

مثال على التعليمات البرمجية في Swift باستخدام REST API لتصدير LISTOBJECT إلى تنسيق HTML من جدول البيانات

    // For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-swift/
    import AsposeCellsCloud
    let expectation1 = self.expectation(description: "checkAuth")
    AsposeCellsCloudAPI.clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    AsposeCellsCloudAPI.clientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    AuthAspose.checkAuth()
    {
        (authError) in
        guard authError == nil else {
            XCTFail("error checkAuth")
            return
        }
        expectation1.fulfill()
    }
    self.waitForExpectations(timeout: testTimeout, handler: nil)
    let expectation = self.expectation(description: "testpostExport_Workbook")
    let objectType:String = "listobject"
    let format:String = "html"
    var files = Dictionary<String, URL>()
    files[BOOK1] = getURL(BOOK1)
    files[MYDOC] = getURL(MYDOC)        
    LiteCellsAPI.postExport(files: files, objectType: objectType, format: format)
    {
        (response, error) in
        guard error == nil else {
            XCTFail("error testpostExport_Workbook")
            return
        }        
        if let response = response {
            XCTAssertTrue(response is FilesResult)
            expectation.fulfill()
        }
    }
    self.waitForExpectations(timeout: testTimeout, handler: nil)


كيفية استخدام Swift API لتصدير LISTOBJECT إلى HTML

  1. قم بإنشاء حساب علىلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
  2. تهيئة CellsApi باستخدام معرف العميل وسر العميل وعنوان URL الأساسي وإصدار API
  3. استدعاء طريقة postExport للحصول على الدفق الناتج


متطلبات النظام