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