Ofdrw.Net.Cli 0.5.1

dotnet tool install --global Ofdrw.Net.Cli --version 0.5.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Ofdrw.Net.Cli --version 0.5.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Ofdrw.Net.Cli&version=0.5.1
                    
nuke :add-package Ofdrw.Net.Cli --version 0.5.1
                    

Ofdrw.Net

Ofdrw.Net 是 .NET OFD SDK 与 CLI,提供文档生成、读取、编辑、转换和可扩展的签名完整性检查。

阅读文档 · 安装与包选择 · 快速开始 · 能力矩阵

安装

本包版本为 0.5.1。

dotnet add package Ofdrw.Net.Converter --version 0.5.1
dotnet tool install --global Ofdrw.Net.Cli --version 0.5.1

# 可选:只读归档评估、电子病历 OFD-H 写出 profile 与只读评估
dotnet add package Ofdrw.Net.Archival --version 0.5.1
dotnet add package Ofdrw.Net.Medical --version 0.5.1

普通 SDK(含 Archival、Medical)为 netstandard2.0 / netstandard2.1;CLI 需要 .NET 10。同系列包使用精确的同批版本依赖,请一起升级。DOCX 默认 Native,直接保留 OpenXML 原文;PDF 导入默认双层;新生成文档默认声明普通 OFD。0.5.0 起支持 Native DOCX 严格字体嵌入、OFD-A 原件保护与显式派生普通 OFD。Archival 和 Medical 需显式安装;Skia、PDF Vector、SES 和 Password 仍为独立源码扩展。

0.5.1 的变更与限制见发布说明。历史版本见版本差异。

开发与证据

安装 Git LFS 后获取测试所需载荷:

GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 https://github.com/whynpc9/ofdrw.net.git
cd ofdrw.net
git lfs pull --include="e2e/**,tests/**" --exclude=""

历史证据默认保留为小指针,按需下载具名目录。构建产物放在 ignored artifacts/。提交前暂存变更并运行 python3 scripts/check-repository-storage.py。

许可与范围

项目采用 MIT,第三方依赖和字体遵循各自许可,见 THIRD-PARTY-NOTICES。本项目参考 ofdrw/ofdrw 的模块划分及目标,为独立 .NET 实现。

完整国家/行业标准符合性、厂商互认、签章法律效力和任意复杂 Word 保真均超出本版承诺范围。使用前按实际输入、字体、部署方式和阅读器验证结果。

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.5.1 148 11/24/2026
0.5.0 138 11/18/2026
0.4.0 142 11/16/2026
0.3.1 123 11/10/2026
0.3.0 118 11/7/2026
0.2.0 116 11/5/2026
0.1.0-preview.10 82 11/2/2026
0.1.0-preview.9 117 10/18/2026
0.1.0-preview.8 113 9/25/2026
0.1.0-preview.7 133 9/16/2026
0.1.0-preview.6 110 9/15/2026
0.1.0-preview.5 122 8/13/2026
0.1.0-preview.4 125 7/22/2026
0.1.0-preview.3 114 7/18/2026