# wtpdf-demo
**Repository Path**: mirrors_itext/wtpdf-demo
## Basic Information
- **Project Name**: wtpdf-demo
- **Description**: Examples for creation of Well-Tagged PDF (WTPDF) with iText
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-07-19
- **Last Updated**: 2026-05-16
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# itext-wtpdf-pdfademo
## Introduction
This repository contains the code and resources used to create the Well-Tagged PDF (WTPDF) example posted on https://pdfa.org/wtpdf.
It uses the [pdfHTML](https://github.com/itext/itext-pdfhtml-java) add-on (html2pdf) for the [iText Core](https://github.com/itext/itext-java) PDF library.
## Archived
Note: the Well-Tagged PDF (WTPDF) sample is moved to [itext-publications-examples-java](https://github.com/itext/itext-publications-examples-java/tree/master), and this repository is archived:
| Description | Link |
|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| Create WTPDF document | [Java example](https://github.com/itext/i7js-examples/blob/master/src/main/java/com/itextpdf/samples/sandbox/pdfua/Wtpdf.java) |
## Validation with veraPDF
In addition to WTPDF conformance, the example also conforms to the PDF/A-4 (ISO 19005-1) and PDF/UA-2 (ISO 14289-2) standards. To validate conformance with PDF/A-4 and PDF/UA-2, we used veraPDF.
The veraPDF tool is an open-source, industry-supported PDF/A and PDF/UA validator, and is available as a command-line tool and as a Java library. The tool can be downloaded from https://verapdf.org/software/.
### PDF/A-4 veraPDF report
```xml
-
D:\prototypes\itext-wtpdf-pdfademo\wtpdf.pdf
00:00:00.284
1
0
0
00:00:00.297
```
### PDF/UA-2 veraPDF report
```xml
-
D:\prototypes\itext-wtpdf-pdfademo\wtpdf.pdf
00:00:00.286
1
0
0
00:00:00.301
```