feat(design): 디자인 충실도 — 셀 변별 테두리/수직정렬/여백/줄간격 (0.22.0) - #6
Merged
Conversation
hwp 변환 (표 번호 = 한컴 스펙): - BORDER_FILL 전체 해석(표 18/20/21): 좌/우/상/하 **변별 stroke(실선/대시/ 점선/이중/없음)·굵기(mm 표)·색** → w:tcBorders (sz=1/8pt). '테두리 없음'(stroke 0)은 nil — 한글 표의 무테두리 셀이 그대로 나온다 - 셀 수직 정렬: 표 60 listflags bits5-6 → w:vAlign (한글 기본 = 가운데) - 셀 안쪽 여백: 표 75 padding → w:tcMar - 문단 모양(표 38): 줄간격(RATIO %) → line_spacing, 문단 앞/뒤 간격(doubled margin) → space_before/after docx_pages 렌더: - w:tcBorders 변별 렌더 — 변마다 <line> (dash 패턴, 이중선 2선 근사, nil 은 그리지 않음). tcBorders 없는 문서는 기존 회색 격자 유지 - w:tcMar per-cell 안쪽 여백, w:spacing 줄간격 배수(_Line.spacing_mult) + 문단 앞/뒤 간격 — 본문/셀 모두 검증: 픽스처에 테두리 3종(실선/대시/없음)·valign·여백·줄간격 200% 추가 (신규 5건) + 렌더 단위 2건. pyhwp 실파일 36개 스윕 34/2/0 유지 — 실파일 표가 변별 테두리 선(<line>)으로 렌더됨 확인. 921 passed.
This was referenced Aug 31, 2026
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.
hwp 표가 '구조는 맞지만 디자인이 밋밋한' 상태를 벗어난다:
렌더 엔진은 tcBorders 없는 문서에서 기존 회색 격자를 유지(하위호환). 픽스처 5건+렌더 2건 추가, pyhwp 실파일 36개 스윕 34/2/0, 921 passed.
🤖 Generated with Claude Code