wmjordan / wmjordan/PDFPatcher

根据pdf文件名批量自动合并pdf

Open
#252 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

合并 改进
Dominant language
C#
Stars
12.7k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

以下是用户电邮发来的功能请求:

使用场景
合并文件

功能应该怎样实现
关于PDF合并有一个功能看是否能加入,【批处理】自动根据pdf文件名批量自动合并pdf(可选页码交叉、不交叉)V2.0 - 吾爱破解 - 52pojie.cn,类似于该作者开发的功能      。

应用场景1--------(合并前缀相同后面变换,即去掉后面字符):
合并这种末尾变化的情况,文件格式是
S1 好好学习-01.pdf
S1 好好学习-02.pdf
S1 好好学习-03.pdf
S2 天天向上-01.pdf
S2 天天向上-02.pdf

动态末尾字符数据输入是 3

==================
合并结果:
S1 好好学习.pdf
S2 天天向上.pdf

==================================================

应用场景2-----------------(合并前缀变换后面固定,去掉前面比如2个字符)

1-天天向上.pdf
2-天天向上.pdf
3-天天向上.pdf

输入前面占位字符是2个

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing PDF merge entry point in PDFPatcher and review how input files and output names are currently selected. Implement the filename-prefix grouping and configurable character removal described in the two examples, then verify that the listed files produce the requested merged filenames and ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.