fix(layout): #3658 중첩 표 분할 종료 조각의 꼬리 문단 유실 수정 - #3718
Closed
kevin9327 wants to merge 3 commits into
Closed
Conversation
컷이 빈 end_cut 으로 완료를 선언한 종료 조각에서, 렌더가 start_row 를
처음부터 재적층해 행 그리드보다 커지고(75544 pi=527: 766px vs 747px),
초과한 꼬리 줄이 "셀 하단 초과 줄 드롭"(다음 쪽 소속 줄 제외용)에 걸려
어느 쪽에도 렌더되지 않았다 — 이어받을 continuation 이 없어 영구 유실.
수정: NestedTableSplit 에 terminal(마지막 유닛까지 포함한 컷) 플래그를
도입해 종료 조각은
(1) 이전 쪽에 이미 보인 start_row 상단 밴드만큼 offset_within_start 를
부여해 잔여 콘텐츠가 행 그리드 안에 들어가게 하고,
(2) 셀 하단 초과 줄 드롭을 적용하지 않는다 — 재적층 드리프트로 수 px
넘치는 마지막 줄은 오버플로를 감수하고 렌더한다.
per-중첩행 컷 경로(table_partial)도 end_cut=[] 이면 종료 조각으로
표시한다. ignored 였던 회귀
nested_table_tail_paragraph_is_rendered 를 활성화(red→green 실증).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
근인(종료 조각 재적층 766px vs 행 그리드 747px → 셀 하단 드롭에 걸려 영구 유실)·해법(terminal 플래그: 기표시 밴드 오프셋 + 드롭 면제)· red→green 검증·인접 회귀 무회귀·시각 전/후를 기록한다. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
열린 PR 11건(제한 10건)으로 개설을 보류하고 초안을 파킹한다. 볼륨이 빠지면 초안 그대로 gh pr create 하면 된다. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
다문단 셀의 중첩 표가 RowBreak 연속 페이지에서 마지막 꼬리 문단을 남긴 채 종료됩니다. #3595/PR #3642 가 행 범위 유도를 고친 뒤에도, 컷이 빈
end_cut으로 완료를 선언하면 continuation 조각이 생성되지 않아 남은 꼬리가 어느 쪽에도 렌더되지 않고 영구 유실됩니다.재현:
samples/task2097/75544_pii_bunseok.hwpxp60 —○○금융회사 대표이사 △△△서명 문단 소실,20 . . .날짜 줄은 셀 하단에 클립.근인
컷 종료 판정 자체는 옳습니다(마지막 유닛까지 포함한 컷이므로 continuation 이 없어야 맞음). 결함은 종료 조각의 렌더 회계에 있습니다.
offset_within_start가 0.0 으로 고정되어 렌더가 start_row 를 처음부터 재적층 — 재적층 높이가 행 그리드보다 커지고(75544 pi=527: 766px vs 747px) 초과분이 셀 하단 밖으로 밀립니다.구현
NestedTableSplit에terminal(이 조각이 셀 콘텐츠의 마지막 조각) 플래그를 도입하고, 종료 조각은:offset_within_start를 부여해 잔여 콘텐츠가 행 그리드 안에 들어가게 합니다(중복 렌더 제거). 표시 상자는 포함 행 그리드 높이를 유지해 셀 클립이 꼬리를 자르지 않게 합니다.per-중첩행 컷 경로(
table_partial.rs)도end_cut=[]이면 종료 조각으로 표시합니다. 1행 표 경로는 종전 규약 그대로입니다.검증 (red→green 실행)
nested_table_tail_paragraph_is_rendered실패 실측 —표의 마지막 문단이 렌더되지 않았다: "○○금융회사대표이사△△△". (종전#[ignore]회귀를 활성화)issue_3595_nested_split_row_identity2/2 통과.issue_1073_nested_table_split(3/3)·issue_2007_nested_cell_pagination(1/1) 통과. origin/devel(f80b910) 리베이스 후 세 타깃 재실행 green. rustfmt(변경 3파일) clean,cargo clippy --lib경고 0. 프로파일 release-test.mydocs/report/task_m100_3658/.시각 전/후 (p60)
closes #3658
🤖 Generated with Claude Code