احفظ ملف XLT بتنسيق XLS في Perl
API
POST
https://api.aspose.cloud/v3.0/cells/{name}/SaveAs
يعد حفظ تنسيقات الملفات من XLT بتنسيق XLS مهمة معقدة. يتم تنفيذ جميع انتقالات تنسيق XLT إلى XLS بواسطة Perl SDK الخاص بنا مع الحفاظ على المحتوى الهيكلي والمنطقي الرئيسي لجدول بيانات XLT المصدر. تعد مكتبتنا Perl حلاً احترافيًا لحفظ XLT كملفات XLS عبر الإنترنت. يوفر Cloud SDK هذا لمطوري Perl وظائف قوية ومخرجات XLS مثالية.
Perl مثال على الكود لحفظ XLT كـ XLS باستخدام 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.xlt';
my $save_options = undef;
my $folder = 'CellsTests';
my $newfilename = 'Book1Saveas.xls';
$result = $instance->cells_save_as_post_document_save_as(name => $name,save_options => $save_options, newfilename => $newfilename, folder => $folder);
كيفية حفظ XLT كـ XLS باستخدام مكتبة Cells Cloud Perl.
- تسجيل حساب فيلوحة القيادة للحصول على تفاصيل الحصص والترخيص API مجانًا
- قم بتثبيت مكتبة Perl وأضف المرجع (استيراد المكتبة) إلى مشروعك.
- افتح الملف المصدر في Perl.
- اتصل بالبريد_دفتر العمل_طريقة save_as للحصول على الدفق الناتج
متطلبات النظام
- Perl 5