feat: PPTX/HWPX/XLSX 조건·표현식·필터 (docx Jinja 통일)#16
Merged
Conversation
궁극 로드맵 #5(생성급 parity) 1차 증분. 단순 {{key}} 만 지원하던 pptx/hwpx/xlsx 에 조건({% if %})·표현식({{ a*b }})·필터({{ x|length }})를 추가한다. - base._render_text_block: 표현식/조건이 있으면 jinja2(셀/문단 단위, on_missing 은 jinja undefined 로 매핑)로, 단순 {{key}} 만 있으면 기존 빠른 치환 경로 보존 (_needs_jinja 로 라우팅 — backward-compatible). pptx/hwpx/xlsx 가 공유. - jinja2 를 명시적 런타임 의존성으로 추가(기존 docxtpl 경유 설치됨). 제약: 구조적 표 행 루프({%tr%})는 여전히 DOCX(docxtpl) 전용. pptx/hwpx/xlsx 의 조건/표현식은 한 셀/문단 블록 내부 범위. 검증: 3포맷 × 조건(참/거짓)·표현식·필터·단순 보존 회귀 테스트. 86개 통과. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
궁극 로드맵 #5 1차 증분. pptx/hwpx/xlsx 에 조건({% if %})·표현식({{a*b}})·필터 추가. 단순 {{key}} 빠른 경로 보존(backward-compatible). 구조적 행 루프는 docx 전용. 86개 통과.
🤖 Generated with Claude Code