السجل THPDFLoadedTextReplacementPlan

تحمل حالة معاينة أو تطبيق استبدال نص واحد لصفحة محملة

THPDFLoadedTextReplacementPlan = record
  PageIndex: Integer;
  Needle, Replacement: UnicodeString;
  MatchCase: Boolean;
  SourceFingerprint: AnsiString;
  Options: THPDFLoadedTextReplacementOptions;
  Results: THPDFLoadedTextReplacementResults;
  MatchedCount, ReadyCount, AppliedCount, RejectedCount: Integer;
end;

The unit is HPDFDoc; the plan records the searched page, needle, replacement, case sensitivity, and the source fingerprint a later apply must present to prove the page is unchanged

Results lists one entry per match with status, rectangle, and font details, and the four counters summarize the outcome

A plan is produced by THotPDF.PreviewLoadedPageTextReplacement and consumed by THotPDF.ApplyLoadedPageTextReplacement

معاينة استبدال النص Unicode