bauerelizabeth07139/dsh-plugin-dxpdf ↗★ 0

dsh-plugin-dxpdf

无需Office将Word文档转换为PDF 适合需要在本地快速、高质量转换DOCX文件的用户。

包名
dsh-plugin-dxpdf
兼容性
待验证
Harness 依赖范围
>=0.1.5-rc.1 <0.2.0-0 || >=0.2.0-rc.0 <0.3.0-0
Cordis 依赖范围
>=4.0.2
版本
1.3.0
许可证
MIT
最近更新
2026年10月6日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/dsh-plugin-dxpdf

Configuration

Every field is optional; the row in cordis.patch.yml needs no config block. To override a default, add one:

- insert:
    - id: dsh-plugin-dxpdf
      name: 'dsh-plugin-dxpdf'
      config:
        timeoutMs: 300000
        pythonPath: 'C:\Python312\python.exe'
        cliPath: 'C:\Python312\Scripts\dxpdf_cli.py'
        duplicatePolicy: first
        announcePolicy: true
FieldDefaultMeaning
timeoutMs120000Wall-clock budget for one conversion.
paginateTimeoutMs2700000Budget for the pagination pass, which runs the engine once per parity section. Must exceed roughly 20 s × the section count.
maxPaginateSections48Refuse the pagination pass beyond this many parity breaks, reporting paginationSkipped instead.
matchWordPaginationtrueConverge odd/even section breaks onto Word's pagination. Documents with no such break are detected by a byte scan and cost nothing.
duplicatePolicyfirstWhich occurrence of a repeated property the repair keeps: first or last.
announcePolicytrueWhether to register the standing DOCX-to-PDF system-prompt section.
pythonPathunsetExplicit interpreter, tried first.
cliPathunsetExplicit CLI script, tried first (paired with pythonPath).
executableunsetExplicit dxpdf shim, tried in the cmd.exe row.

The two booleans are disabled only by false; duplicatePolicy is first unless it is exactly last; a non-positive or non-numeric timeout or cap falls back to its default. announcePolicy: false suppresses the standing DOCX→PDF system-prompt section — dxpdf:docx-to-pdf-policy, order 1250 — that makes this plugin the deployment's converter.