{"id":15348744,"url":"https://github.com/adangel/java-xml2pdf-example","last_synced_at":"2026-01-28T14:03:10.172Z","repository":{"id":146826402,"uuid":"584805934","full_name":"adangel/java-xml2pdf-example","owner":"adangel","description":"Creating a PDF document using Apache FOP","archived":false,"fork":false,"pushed_at":"2024-10-31T08:14:53.000Z","size":3643,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-02T16:44:23.885Z","etag":null,"topics":["fop","java","pdf"],"latest_commit_sha":null,"homepage":"","language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adangel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-03T15:05:37.000Z","updated_at":"2024-10-31T08:14:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2bfc0ef-b008-4aee-9f94-7300628b3a3d","html_url":"https://github.com/adangel/java-xml2pdf-example","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"cf74ab59d33ccd7fd425451c3ebe62f18d65907e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adangel/java-xml2pdf-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adangel%2Fjava-xml2pdf-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adangel%2Fjava-xml2pdf-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adangel%2Fjava-xml2pdf-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adangel%2Fjava-xml2pdf-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adangel","download_url":"https://codeload.github.com/adangel/java-xml2pdf-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adangel%2Fjava-xml2pdf-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fop","java","pdf"],"created_at":"2024-10-01T11:51:51.221Z","updated_at":"2026-01-28T14:03:05.162Z","avatar_url":"https://github.com/adangel.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-xml2pdf-example\n\n⇨ [accompanying blog post](blogpost.md)\n\nExample of how to use [Apache FOP](https://xmlgraphics.apache.org/fop/) to create a PDF document\nin a simple Java application. The application converts a self-defined XML format using\na XSL stylesheet into [XSL-FO](https://www.w3.org/TR/xsl11/#fo-section) and then into PDF.\n\n**Features:**\n\n* Title page with embedded image\n* Table of contents\n* Bookmarks in PDF\n* Embedded open type fonts\n* Self-contained as an executable jar\n\n## Building and running\n\n```shell\n./mvnw clean verify\njava -jar target/javaxml2pdf-1.0-SNAPSHOT-jar-with-dependencies.jar example/bigdoc.xml\nopen example/bigdoc.pdf\n```\n\n## Examples\n\n* Simple minimal document:\n  * XML: [example/mydoc.xml](example/mydoc.xml)\n  * PDF: [example/mydoc.pdf](example/mydoc.pdf)\n* Bigger document:\n  * XML: [example/bigdoc.xml](example/bigdoc.xml)\n  * PDF: [example/bigdoc.pdf](example/bigdoc.pdf)\n\n## References\n\n* \u003chttps://en.wikipedia.org/wiki/XSLT\u003e\n* \u003chttps://en.wikipedia.org/wiki/XSL_Formatting_Objects\u003e\n* \u003chttps://www.w3.org/TR/xsl11/\u003e\n* \u003chttps://xmlgraphics.apache.org/fop/\u003e\n* \u003chttp://savannah.gnu.org/projects/freefont/\u003e\n* \u003chttps://loremipsum.io\u003e\n\n## License\n\nApache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadangel%2Fjava-xml2pdf-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadangel%2Fjava-xml2pdf-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadangel%2Fjava-xml2pdf-example/lists"}