احفظ ملف XLSX بتنسيق XLT في Perl
API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs
يعد حفظ تنسيقات الملفات من XLSX بتنسيق XLT مهمة معقدة. يتم تنفيذ جميع التحولات من تنسيق XLSX إلى XLT بواسطة Perl SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات XLSX المصدر. تعد مكتبتنا Perl حلاً احترافيًا لحفظ XLSX كملفات XLT عبر الإنترنت. يوفر Cloud SDK هذا لمطوري Perl وظائف قوية ومخرجات XLT مثالية.
Perl مثال على الكود لحفظ XLSX كـ XLT باستخدام REST API
# For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/
my $config = AsposeCellsCloud::Configuration->new( client_id => $ENV{'ProductClientId'}, client_secret => $ENV{'ProductClientSecret'});
my $instance = AsposeCellsCloud::CellsApi->new(AsposeCellsCloud::ApiClient->new( $config));
my $name = 'Book1.xlsx';
my $save_options = undef;
my $folder = 'CellsTests';
my $newfilename = 'Book1Saveas.xlt';
$result = $instance->cells_save_as_post_document_save_as(name => $name,save_options => $save_options, newfilename => $newfilename, folder => $folder);
كيفية حفظ XLSX كـ XLT باستخدام مكتبة Cells Cloud Perl.
- تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
- قم بتثبيت مكتبة Perl وأضف المرجع (استيراد المكتبة) إلى مشروعك.
- افتح الملف المصدر في Perl.
- اتصل بالبريد_دفتر العمل_طريقة save_as للحصول على الدفق الناتج
متطلبات النظام
- Perl 5