function SaveAsReproducible(Stream: TStream; out Report: TPdfReproducibleReport; AllowSignedDocument: Boolean = False): Boolean;
function SaveAsReproducible(const FileName: string; out Report: TPdfReproducibleReport; AllowSignedDocument: Boolean = False): Boolean;
객체 순서는 이미 안정적이고(객체 번호 오름차순) 콘텐츠 해시 기반 /ID 도출도 결정적이므로, 남은 비결정성은 PDFium이 /Info에 기록하는 실제 시각 /CreationDate와 /ModDate뿐입니다
StripDictionaryEntries는 그 타임스탬프 키를 /Info 본문에서 제거하고, 재구성된 트레일러는(시각이 담긴 바이트에서 도출되는) 원본 /ID를 생략합니다
도달 불가능한 객체도 SaveAsReachable과 정확히 같은 방식으로 쓸어내지며, 객체 번호와 세대는 안정적으로 유지됩니다
TPdfReproducibleReport는 유지되고 제거된 객체 수와 제거된 타임스탬프 항목 수를 보고합니다AllowSignedDocument를 명시적으로 활성화하지 않는 한 거부됩니다. 전체 다시 쓰기는 기존 서명 바이트 범위를 무효화하기 때문입니다/ID를 완전히 생략합니다. 안정적인 식별자가 필요한 호출자는 출력 바이트에서 하나를 도출할 수 있습니다
Pdf.SaveAsReproducible('stable.pdf', Report);
WriteLn('stripped ', Report.StrippedTimestampCount, ' timestamps');