THPDFPDFA4RepairOptions Record
THPDFPDFA4RepairOptions = record
Profile: THPDFPDFA4Profile;
RepairHeaderVersion: boolean;
RepairTrailerIdentifier: boolean;
RepairMetadataStreams: boolean;
RepairMetadataDictionaries: boolean;
RemoveForbiddenCatalogEntries: boolean;
RemovePresentationEntries: boolean;
RemoveDocumentInformationDictionary: boolean;
RollbackOnErrorRegression: boolean;
RequireFullConformance: boolean;
MaxObjects: Integer;
MaxRepairs: Integer;
MaxIssues: Integer;
MaxDecodedBytes: Int64;
MaxContentTokens: Integer;
class function Default: THPDFPDFA4RepairOptions; static;
end;
Default는 메타데이터 기반 프로필 추론을 선택하고, 픽셀을 보존하는 복구 계열을 활성화하며, 오류 악화 시 롤백하고, 안전한 부분 커밋을 허용하고, trailer Info 제거는 비활성화로 둡니다
기본 하드 예산은 객체 방문 1,000,000회, 뮤테이션 100,000회, 보존되는 검증 이슈 1,024개, 누적 디코드 데이터 64 MiB, 검증 콘텐츠 토큰 4,000,000개를 허용합니다
| 필드 | 목적 |
|---|---|
Profile | 자동 메타데이터 추론 또는 명시적인 base, engineering, associated-file 프로필을 선택합니다 |
RepairHeaderVersion | 로드된 문서 헤더를 PDF 2.0으로 정규화합니다 |
RepairTrailerIdentifier | 기존 식별자를 교체하지 않고 누락된 trailer ID 쌍을 생성합니다 |
RepairMetadataStreams | 누락된 문서 메타데이터를 생성하고 안전한 UTF-8 XMP 식별 속성을 정규화합니다 |
RepairMetadataDictionaries | 메타데이터 스트림의 Type과 Subtype 항목을 정규화합니다 |
RemoveForbiddenCatalogEntries | Catalog의 Requirements와 NeedsRendering을 제거합니다 |
RemovePresentationEntries | 대체 프레젠테이션 이름 트리 항목과 페이지 PresSteps를 제거합니다 |
RemoveDocumentInformationDictionary | trailer Info 딕셔너리 제거를 옵트인합니다 |
RollbackOnErrorRegression | 복구 후 검증에서 추가 오류가 발생하면 트랜잭션을 거부합니다 |
RequireFullConformance | PDF/A-4 검증 오류가 하나라도 남아 있으면 트랜잭션을 거부합니다 |
MaxObjects | 객체 그래프 순회를 제한합니다 |
MaxRepairs | 수락되는 뮤테이션 수를 제한합니다 |
MaxIssues | 보존되는 복구 전/후 진단을 제한합니다 |
MaxDecodedBytes | 누적 디코드 XMP와 검증 데이터를 제한합니다 |
MaxContentTokens | 콘텐츠 재작성을 활성화하지 않고 복구 후 콘텐츠 검증 작업을 제한합니다 |