{"id":15824197,"url":"https://github.com/sjefvanleeuwen/openxml-document-generator","last_synced_at":"2026-05-18T00:05:47.671Z","repository":{"id":115780485,"uuid":"145340876","full_name":"sjefvanleeuwen/openxml-document-generator","owner":"sjefvanleeuwen","description":"Generate documents using the openxml generator","archived":false,"fork":false,"pushed_at":"2018-08-31T11:13:15.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-01T01:43:10.427Z","etag":null,"topics":["common-ground","commonground","gemma","openapi","openxml","stuf","vng","zds"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjefvanleeuwen.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":"2018-08-19T22:06:49.000Z","updated_at":"2022-08-30T07:49:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fc88e2a-9569-4f10-8921-8437f4ecea87","html_url":"https://github.com/sjefvanleeuwen/openxml-document-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sjefvanleeuwen/openxml-document-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjefvanleeuwen%2Fopenxml-document-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjefvanleeuwen%2Fopenxml-document-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjefvanleeuwen%2Fopenxml-document-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjefvanleeuwen%2Fopenxml-document-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjefvanleeuwen","download_url":"https://codeload.github.com/sjefvanleeuwen/openxml-document-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjefvanleeuwen%2Fopenxml-document-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: 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":["common-ground","commonground","gemma","openapi","openxml","stuf","vng","zds"],"created_at":"2024-10-05T08:40:44.696Z","updated_at":"2026-05-18T00:05:42.663Z","avatar_url":"https://github.com/sjefvanleeuwen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenXML Document Generator\n![travis build](https://travis-ci.com/sjefvanleeuwen/openxml-document-generator.svg?branch=master)\n\nGenerates documents from html into openxml standard.\n\nThe goal of this generator is to improve efficiency in the UX process.\n\n* Use an open standard XML\n* Use open standard HTML/CSS\n* Generate all document types from one central point\n    * Web site\n    * Print formats\n* Databind from one central point to generate these documents\n* Showcase the document process flow in BPMN Camunda tooling using ZDS.\n\nMore information on ZDS can be found at: \nhttps://github.com/VNG-Realisatie/gemma-zaken\n\n## Status of this project\n\nThe openAPI has a create document function and an /enqueue function, which uses hangfire for queing jobs in case you need to asynchronously generate documents. https://www.hangfire.io/\n\nThe default implementation is currently set to : LiteDB. LiteDB can be found at: https://github.com/mbdavid/LiteDB\n\nmore about hangfire can be found at: \n\nCurrently there's a \"unit\" test in place which generates a docx openxml document and showes that images are resolved in that document.\n\n```csharp\n\n        public void can_convert_html_to_openxml_document()\n        {\n            var doc = File.ReadAllText(@\".\\data\\letter.html\");\n            using (MemoryStream generatedDocument = new MemoryStream())\n            {\n                using (WordprocessingDocument package = WordprocessingDocument.Create(generatedDocument, WordprocessingDocumentType.Document))\n                {\n                    MainDocumentPart mainPart = package.MainDocumentPart;\n                    if (mainPart == null)\n                    {\n                            mainPart = package.AddMainDocumentPart();\n                            new Document(new Body()).Save(mainPart);\n                    }\n                    HtmlConverter converter = new HtmlConverter(mainPart);\n                    converter.ParseHtml(doc);\n                    mainPart.Document.Save();\n                }\n                // visually test this.\n                File.WriteAllBytes(@\".\\test.docx\", generatedDocument.ToArray());\n            }\n        }    \n    }\n```\n\nMore information on the camunda bpmn project (samples) can be found at:\nhttps://github.com/sjefvanleeuwen/camunda-process-examples\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\n* .NET core https://github.com/dotnet/core/releases\n* nuget command line tools available at https://www.nuget.org/downloads\n\n### Building Docker Images\n\n```\ndocker-compose up --build -d\n```\n\nThe API should now be reachable from:\n\n* [SWAGGER](http://localhost:5080/swagger) - Swagger API documentation page\n* [REDOC](http://localhost:5080/redoc) - Redoc API documentation page\n\n## Built With\n\n* [VSCODE](https://code.visualstudio.com/) - The IDE used\n* [DOCKER](https://www.docker.com/) - Build, Ship, and Run Any App, Anywhere\n\n## Contributing\n\nPull requests are accepted\n\n## Authors\n\n* **Sjef van Leeuwen** - *Initial work* - [github](https://github.com/sjefvanleeuwen)\n\n## License\n\nThis project is licensed under the GPL-V3 License - see the [LICENSE.md](LICENSE.md) file for details","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjefvanleeuwen%2Fopenxml-document-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjefvanleeuwen%2Fopenxml-document-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjefvanleeuwen%2Fopenxml-document-generator/lists"}