feat(转换能力): 补齐目录导入,规范导航转换
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-10-09 20:45:54 +08:00
1 parent 60b8b44eca
commit 65a839f1e8
3 files changed
+131

No files matched your search

+3
View File
@@ -215,6 +215,9 @@ func ImportPDF(ctx context.Context, source io.ReaderAt, size int64, options PDFI
}
if len(editor.pages) != 0 {
importer.page = -1
if err := importer.outlines(ctx); err != nil {
return nil, PDFImportReport{}, fmt.Errorf("import PDF outlines: %w", err)
}
if err := importer.documentOpenActions(ctx); err != nil {
return nil, PDFImportReport{}, fmt.Errorf("import PDF document actions: %w", err)
}