{"id":20347784,"url":"https://github.com/itext/wtpdf-demo","last_synced_at":"2026-03-19T15:25:36.432Z","repository":{"id":249097791,"uuid":"830453384","full_name":"itext/wtpdf-demo","owner":"itext","description":"Examples for creation of Well-Tagged PDF (WTPDF) with iText","archived":false,"fork":false,"pushed_at":"2024-10-17T09:53:59.000Z","size":663,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-08T09:47:04.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itext.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T09:54:30.000Z","updated_at":"2024-10-17T09:53:51.000Z","dependencies_parsed_at":"2024-11-19T01:48:43.519Z","dependency_job_id":null,"html_url":"https://github.com/itext/wtpdf-demo","commit_stats":null,"previous_names":["itext/wtpdf-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itext/wtpdf-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itext%2Fwtpdf-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itext%2Fwtpdf-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itext%2Fwtpdf-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itext%2Fwtpdf-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itext","download_url":"https://codeload.github.com/itext/wtpdf-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itext%2Fwtpdf-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279068762,"owners_count":26096555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T22:18:05.974Z","updated_at":"2025-10-15T09:49:20.133Z","avatar_url":"https://github.com/itext.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# itext-wtpdf-pdfademo\n\n## Introduction\n\nThis repository contains the code and resources used to create the Well-Tagged PDF (WTPDF) example posted on https://pdfa.org/wtpdf.\nIt 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.\n\n## Archived\n\nNote: 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:\n\n| Description                                | Link                                                                                                                           |\n|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|\n| Create WTPDF document                      | [Java example](https://github.com/itext/i7js-examples/blob/master/src/main/java/com/itextpdf/samples/sandbox/pdfua/Wtpdf.java) |\n\n\n## Validation with veraPDF\nIn 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.\n\nThe 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/.\n\n### PDF/A-4 veraPDF report\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003creport\u003e\n    \u003cbuildInformation\u003e\n        \u003creleaseDetails id=\"core\" version=\"1.26.1\" buildDate=\"2024-05-16T16:30:00+02:00\"\u003e\u003c/releaseDetails\u003e\n        \u003creleaseDetails id=\"validation-model\" version=\"1.26.1\" buildDate=\"2024-05-16T18:13:00+02:00\"\u003e\u003c/releaseDetails\u003e\n        \u003creleaseDetails id=\"gui\" version=\"1.26.2\" buildDate=\"2024-05-19T13:33:00+02:00\"\u003e\u003c/releaseDetails\u003e\n    \u003c/buildInformation\u003e\n    \u003cjobs\u003e\n        \u003cjob\u003e\n            \u003citem size=\"107852\"\u003e\n                \u003cname\u003eD:\\prototypes\\itext-wtpdf-pdfademo\\wtpdf.pdf\u003c/name\u003e\n            \u003c/item\u003e\n            \u003cvalidationReport jobEndStatus=\"normal\" profileName=\"PDF/A-4 validation profile\" statement=\"PDF file is compliant with Validation Profile requirements.\" isCompliant=\"true\"\u003e\n                \u003cdetails passedRules=\"108\" failedRules=\"0\" passedChecks=\"14462\" failedChecks=\"0\"\u003e\u003c/details\u003e\n            \u003c/validationReport\u003e\n            \u003cduration start=\"1721198489436\" finish=\"1721198489720\"\u003e00:00:00.284\u003c/duration\u003e\n        \u003c/job\u003e\n    \u003c/jobs\u003e\n    \u003cbatchSummary totalJobs=\"1\" failedToParse=\"0\" encrypted=\"0\" outOfMemory=\"0\" veraExceptions=\"0\"\u003e\n        \u003cvalidationReports compliant=\"1\" nonCompliant=\"0\" failedJobs=\"0\"\u003e1\u003c/validationReports\u003e\n        \u003cfeatureReports failedJobs=\"0\"\u003e0\u003c/featureReports\u003e\n        \u003crepairReports failedJobs=\"0\"\u003e0\u003c/repairReports\u003e\n        \u003cduration start=\"1721198489430\" finish=\"1721198489727\"\u003e00:00:00.297\u003c/duration\u003e\n    \u003c/batchSummary\u003e\n\u003c/report\u003e\n\n```\n### PDF/UA-2 veraPDF report\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003creport\u003e\n    \u003cbuildInformation\u003e\n        \u003creleaseDetails id=\"core\" version=\"1.26.1\" buildDate=\"2024-05-16T16:30:00+02:00\"\u003e\u003c/releaseDetails\u003e\n        \u003creleaseDetails id=\"validation-model\" version=\"1.26.1\" buildDate=\"2024-05-16T18:13:00+02:00\"\u003e\u003c/releaseDetails\u003e\n        \u003creleaseDetails id=\"gui\" version=\"1.26.2\" buildDate=\"2024-05-19T13:33:00+02:00\"\u003e\u003c/releaseDetails\u003e\n    \u003c/buildInformation\u003e\n    \u003cjobs\u003e\n        \u003cjob\u003e\n            \u003citem size=\"107852\"\u003e\n                \u003cname\u003eD:\\prototypes\\itext-wtpdf-pdfademo\\wtpdf.pdf\u003c/name\u003e\n            \u003c/item\u003e\n            \u003cvalidationReport jobEndStatus=\"normal\" profileName=\"PDF/UA-2 + Tagged PDF validation profile\" statement=\"PDF file is compliant with Validation Profile requirements.\" isCompliant=\"true\"\u003e\n                \u003cdetails passedRules=\"1744\" failedRules=\"0\" passedChecks=\"24382\" failedChecks=\"0\"\u003e\u003c/details\u003e\n            \u003c/validationReport\u003e\n            \u003cduration start=\"1721198712059\" finish=\"1721198712345\"\u003e00:00:00.286\u003c/duration\u003e\n        \u003c/job\u003e\n    \u003c/jobs\u003e\n    \u003cbatchSummary totalJobs=\"1\" failedToParse=\"0\" encrypted=\"0\" outOfMemory=\"0\" veraExceptions=\"0\"\u003e\n        \u003cvalidationReports compliant=\"1\" nonCompliant=\"0\" failedJobs=\"0\"\u003e1\u003c/validationReports\u003e\n        \u003cfeatureReports failedJobs=\"0\"\u003e0\u003c/featureReports\u003e\n        \u003crepairReports failedJobs=\"0\"\u003e0\u003c/repairReports\u003e\n        \u003cduration start=\"1721198712053\" finish=\"1721198712354\"\u003e00:00:00.301\u003c/duration\u003e\n    \u003c/batchSummary\u003e\n\u003c/report\u003e\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitext%2Fwtpdf-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitext%2Fwtpdf-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitext%2Fwtpdf-demo/lists"}