Skip to content

list_images 完全不列 header/footer 圖片——只有頁首圖的文件回 No images in document(sister concern from #199) #219

Description

@kiki830621

Problem

list_images 的來源是 document.imagesDocument.getImages()),而 ooxml-swift 的 DocxReader 只把 document part 的 image relationships 放進 images;header/footer part 的圖片關係存在各自的 HeaderFooter.relationships 裡,list_images 從不看它們。所以:

Type

feature

Expected

list_images 列出所有 parts 的圖片,每列帶 part:word/document.xml / word/header1.xml …);export_* 同步能以 part-qualified id 匯出。或至少在只有 header/footer 圖時不要回 No images in document,改回「document part 無圖;其他 parts 有 N 張(未列)」。

Actual

No images in document,即使 header 有圖。


Source: surfaced during /idd-implement #199 sister bug sweep (Step 5.7)

Parent context: #199 — 該案的 Scope Changes 明文把 header/footer 圖片排除在列舉之外;本 issue 追蹤那個排除

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions