HPDFConvertLoadedToPDFA4PreservingFile Function

Unit: HPDFArchivalConversion

أنشئ ملف PDF/A-4 مفحوصًا يحفظ النص الأصلي ومحتوى صفحات المتجهات، مع استبدال ذري للهدف بعد تحويل وفحوص حفظ ناجحين

function HPDFConvertLoadedToPDFA4PreservingFile(Source: THotPDF;
  const TargetFileName: string; const SRGBProfile: TBytes;
  const Options: THPDFArchivalPreservationOptions;
  out Report: THPDFArchivalPreservationReport): Boolean;

هذا الغلاف يستخدم HPDFConvertLoadedToPDFA4Preserving لتجهيز المستند كاملًا في ملف مؤقت حصري بجوار الهدف

It rejects aliases of the loaded source, flushes the temporary file, checks cancellation, and replaces the target with MoveFileEx using replacement and write-through flags

Conversion, validation, preservation, cancellation, flush, and replacement failures retain the existing target and remove the temporary output; the return value and Report.Conversion.Succeeded are false

Report.TextAndVectorContentPreserved is also cleared when publication fails, while diagnostic and validation evidence remains available

راجع ملف الحفظ للخطوط والألوان المدعومة وقواعد المظاهر والخسائر الصريحة وميزانيات عمل التدفقات التراكمية وضمانات النشر وحدود التحقق