Files
PDFReaderLite/README.md
T

109 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PDFReaderLite
PDFReaderLite 是一个面向 Windows 的轻量 PDF 阅读与覆盖式编辑工具,目标是提供 Adobe Acrobat 常用功能的轻量替代版。
当前稳定版本:`0.2.1`
## 当前能力
- 多标签打开 PDF。
- 连续阅读、缩放、适应宽度、适应页面、页码跳转。
- 左侧自适应缩略图。
- 阅读、编辑PDF、页面、工具、注释模式切换。
- 文本搜索。
- 高亮、下划线、删除线、批注、自由画笔、矩形、圆形、线条、箭头。
- 注释列表、注释跳转、注释删除。
- 添加文本、放置文本、插入图片、放置图片、遮盖区域。
- 图片签名、放置签名、手写签名。
- 页面旋转、删除、移动、插入、提取、拆分、合并。
- 基础表单填写。
- 导出页面图片、批量导出图片、图片合成 PDF。
- 保存、另存为、加密另存为、移除密码另存为。
- 打印、最近文件、拖拽打开。
- 深色模式、窗口状态记忆、异常日志。
- 单文件 exe 打包。
## 第二版计划
第二版重点提升注释和编辑能力:
- 鼠标选择文本后直接标注。
- 注释属性面板。
- 注释列表筛选和搜索。
- 图章工具。
- 文本框二次编辑。
- 文本、图片、签名、遮盖、图形注释统一对象选择。
- 右键菜单、Esc 取消、Delete 删除、方向键微调。
- 未保存状态进一步完善。
文档入口:
- [开发计划](docs/development_plan.md)
- [V2 注释与编辑专项计划](docs/v2_annotation_edit_plan.md)
- [V2 需求清单](docs/v2_requirements_checklist.md)
- [V1 发布说明](docs/release_v0.2.1.md)
## 本地运行
创建虚拟环境:
```powershell
python -m venv .venv
```
如果 PowerShell 禁止运行激活脚本,可以使用:
```powershell
powershell -ExecutionPolicy Bypass
.\.venv\Scripts\Activate.ps1
```
安装依赖:
```powershell
python -m pip install -r requirements.txt
```
运行:
```powershell
python main.py
```
## 测试
```powershell
python scripts\smoke_test.py
```
## 打包
打包单文件 exe:
```powershell
.\build.ps1
```
如果 PowerShell 禁止直接运行脚本:
```powershell
powershell -ExecutionPolicy Bypass -File .\build.ps1
```
产物位置:
```text
dist\PDFReaderLite.exe
```
## 不纳入范围
- PDF 转 Word 并保持原排版。
- PDF 转 Excel 并保持表格结构。
- OCR 生成高质量可搜索 PDF。
- 扫描件自动版面分析。
- 数字证书签名。
- 敏感信息真正永久擦除。
- 自动更新。
- 单 exe 内置完整 OCR。