DOC-003 定义支持格式分级 #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
定义文件格式支持等级,形成 docs/supported-formats.md。
支持等级:NativeReader、PlatformPreview、ExternalOpen、Unsupported
格式策略:
Markdown: NativeReader
TXT: NativeReader
PDF: PlatformPreview 优先,Rust 只定义位置模型
图片: NativeReader/原生图片预览
Word/DOCX: PlatformPreview/ExternalOpen
Excel/XLSX: PlatformPreview/ExternalOpen
PPT/PPTX: ExternalOpen
EPUB: 后置
非目标:PDF 不要求 Rust 渲染,Word/Excel/PPT 不进入 Rust 内置解析,图片不做 OCR
完成项
✅ docs/supported-formats.md 已编写并推送
格式支持等级
格式矩阵确认
明确不做
识别策略
使用 infer + mime_guess crate