# ofdrw/ofdrw

OFD Reader & Writer 开源的OFD处理库，支持文档生成、数字签名、文档保护、文档合并、转换、导出等功能，文档格式遵循《GB/T 33190-2016 电子文件存储与交换格式版式文档》。

Repository: https://github.com/ofdrw/ofdrw
Canonical: https://ross.abutalabs.com/products/ofdrw
Homepage: https://github.com/ofdrw/ofdrw
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-04T03:39:58+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 84, longevity 100
- inputs: {"age_days": 2532, "days_push": 29, "days_rel": 29, "gap_med": 79, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1854, forks 488 (observed 2026-08-28T04:05:44.613721+00:00)

## What it is
OFDRW is an open-source Java library for reading, writing, and manipulating OFD (Open Fixed-layout Document) files, a Chinese national standard format defined by GB/T 33190-2016. It supports document generation, digital signatures, encryption, merging, and conversion to other formats like PDF and images.

## Use cases
- generate OFD documents in Java
- parse and extract text from OFD files
- add digital signatures to OFD documents
- convert OFD to PDF or images
- merge or split OFD documents
- validate OFD archive compliance
- process Chinese electronic invoices in OFD format

## When to choose
- your application must create, read, or edit OFD files per the GB/T 33190-2016 standard
- you need digital signatures or GM (Chinese national cryptography) support for OFD documents
- you need to convert OFD documents to PDF or images in a JVM project

## When to avoid
- you only work with PDF or other document formats and never encounter OFD
- you need a non-JVM language implementation
- you need a GUI viewer rather than a programmatic library

## Facets
- artifact type: library
- maturity: active
- function: pdf, parser, serialization, cryptography, image-processing, documentation
- domain: pdf, files, developer-tools, security, e-government
- platform: jvm, cross-platform
- tags: ofd, fixed-layout-documents, digital-signature, gb-t-33190-2016, document-conversion, chinese-national-standard, gm-cryptography, e-invoice, document-merging, maven

## Member repositories
- ofdrw/ofdrw (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.613721+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:16:49.506861+00:00, confidence not recorded.
  - readme: https://github.com/ofdrw/ofdrw (fetched 2026-08-28T04:05:44.613721+00:00, sha 965b69e38657)
  - homepage: https://github.com/ofdrw/ofdrw (fetched 2026-08-29T10:55:46.735251+00:00, sha 7b3a7e659305)
- Data as of 2026-08-30T08:39:29.467469+00:00.
