Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

功能请求:载入PDF文件后尝试自动加载已有目录 #34

Closed
qwinsi opened this issue Jun 5, 2024 · 2 comments
Closed

功能请求:载入PDF文件后尝试自动加载已有目录 #34

qwinsi opened this issue Jun 5, 2024 · 2 comments

Comments

@qwinsi
Copy link

qwinsi commented Jun 5, 2024

比如说,myfile.pdf 本来是就是有 bookmark 的,那么在载入文件后,自动在左侧的「目录文本」区域加载好现有的 bookmark。

这样的话,在已有 bookmark 的基础上进行简单的修改就方便许多了。

以我浅显的了解,好像 PDF 的 bookmark 数据结构中的一个 item 对应的位置信息不只是简单的 pageNumber ,好像还可以精确到页内的一个点的坐标,要照顾到后者这种情况就比较费劲。但我想至少照顾到前者的 pageNumber 情况应该是比较好实现的,尤其是当 myfile.pdf 本来就曾经是由本软件 pdfdir 输出的的时候。

@chroming
Copy link
Owner

chroming commented Jun 7, 2024

很好的建议! 我有空研究下怎么实现

@qwinsi
Copy link
Author

qwinsi commented Jul 10, 2024

发现 从 v0.3.0-beta22 开始 已经实现了此功能了啊,向作者的付出表示感谢!
(这个 issue 应该可以 close 了)

@qwinsi qwinsi closed this as completed Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants