CommitStructTreeTransaction

태그 PDF, 구조 복구

설명

트랜잭션 구조 편집 후 문서의 ParentTree, ParentTreeNextKey, IDTree를 정규화·검증하고 필요하면 정합합니다

구문

Delphi

Function TPDFlib.CommitStructTreeTransaction(ReconcileParentTree: Integer= 1): Integer;

매개변수

ReconcileParentTree0은 정규화만, 1은 엄격한 ParentTree 정합(기본), 2는 복구 모드 ParentTree 정합

반환 값

모든 편집이 깨끗이 커밋되면 1. 검증이나 엄격 정합이 실패하면 0(그 경우 트랜잭션 이전 문서 상태로 자동 복원합니다)

비고

0이 반환되면 GetLastStructTreeDiagnostics에서 conflicting_mcid_owner나 duplicate_id 같은 JSON 상세를 확인하세요